@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node86
|
|
7
|
+
} from "./formatter-wsvg2szn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node85
|
|
11
|
+
} from "./formatter-whhqcvh8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node84
|
|
15
|
+
} from "./formatter-cd6h4nzs.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,12 +98,12 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service81;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
|
+
const db = (yield* Service83).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
304
304
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node83 = makeGlobalNode({
|
|
310
|
+
service: Service80,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service80;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node83]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2,
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service80, node83, sweepNode2, exports_project };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node82
|
|
4
|
+
} from "./formatter-twkrdnw7.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service37,
|
|
19
|
+
node: () => node40
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service37.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node82] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service37, node40, exports_builtins };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-s5q76w4b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./formatter-whhqcvh8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./formatter-je4aj9kh.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
15
|
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-ntvjbsjw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service85
|
|
21
|
+
} from "./formatter-dwf3tdgd.js";
|
|
22
22
|
import {
|
|
23
23
|
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-gg15nyhh.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-v3ttaphs.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID6,
|
|
32
|
+
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-p2zvaqmw.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
57
|
var RemoteResponse = Schema.Struct({
|
|
58
58
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
59
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
60
|
+
providerID: ID6
|
|
61
61
|
}).pipe(Schema.optional),
|
|
62
62
|
mcp: Schema.Struct({
|
|
63
63
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service82;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service85;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -339,7 +339,7 @@ var OpencodePlugin2 = define({
|
|
|
339
339
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
340
340
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
341
341
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
342
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
342
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
343
343
|
query: input.query,
|
|
344
344
|
providerID: descriptor.providerID
|
|
345
345
|
}));
|
|
@@ -397,7 +397,7 @@ var OpencodePlugin2 = define({
|
|
|
397
397
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node86
|
|
4
|
+
} from "./formatter-wsvg2szn.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-jwcy2c2z.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
|
+
configured: () => configured11,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function configured11(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node86],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured11();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured11, node85, exports_bus };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
node88
|
|
4
|
-
} from "./state-vxrbht7e.js";
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
2
|
+
Service82,
|
|
7
3
|
node85
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./formatter-whhqcvh8.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node82
|
|
8
|
+
} from "./formatter-twkrdnw7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service50,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node52
|
|
13
|
+
} from "./formatter-rhy9k1rp.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
31
|
Service: () => Service17,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
59
|
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
60
|
+
const bus = yield* Service82;
|
|
61
|
+
const location = yield* Service79;
|
|
62
|
+
const shell = yield* Service50;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
269
269
|
});
|
|
270
270
|
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
273
|
service: Service17,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node85, node82, node52]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node85
|
|
5
|
+
} from "./formatter-whhqcvh8.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-rdw6cm16.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event8,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
26
|
+
Options: () => Options6,
|
|
27
|
+
Service: () => Service49,
|
|
28
|
+
configured: () => configured6,
|
|
29
29
|
layer: () => layer20,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node51
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key4.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event8 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options6 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var layer20 = (options) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,9 +69,9 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service49.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured6(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
106
|
+
service: Service49,
|
|
107
107
|
layer: layer20(options),
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node85]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node51 = configured6();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event8, Options6, Service49, layer20, configured6, node51, exports_instruction_discovery };
|