@opencode/core 0.0.0-dev-21013 → 0.0.0-dev-21014
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{formatter-6t4hr8r6.js → file-retention-0br3sbwn.js} +4 -4
- package/dist/chunks/{formatter-pxs52935.js → file-retention-0ew4pgvh.js} +29 -29
- package/dist/chunks/{formatter-ajdjch6h.js → file-retention-0jq9fyba.js} +2 -2
- package/dist/chunks/{formatter-te3mz5kp.js → file-retention-0qp554p5.js} +5 -5
- package/dist/chunks/{formatter-0vbcp93d.js → file-retention-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-8hac7c6g.js → file-retention-0z8qyv6e.js} +11 -11
- package/dist/chunks/{formatter-pzxf2myn.js → file-retention-12jxavrd.js} +31 -31
- package/dist/chunks/{formatter-1qh5f7t0.js → file-retention-14g0fqd9.js} +12 -12
- package/dist/chunks/{formatter-b0w5rcd3.js → file-retention-14ss4vbv.js} +9 -9
- package/dist/chunks/{formatter-xxtm58em.js → file-retention-169nkwk8.js} +21 -21
- package/dist/chunks/{formatter-zpcg010g.js → file-retention-1q8v9ebw.js} +22 -22
- package/dist/chunks/{formatter-899eqk77.js → file-retention-1t590k4r.js} +18 -18
- package/dist/chunks/{formatter-v0es1rhs.js → file-retention-28qsb1ph.js} +9 -9
- package/dist/chunks/{formatter-v3ttaphs.js → file-retention-317g7k6g.js} +35 -35
- package/dist/chunks/{formatter-31xfzrxg.js → file-retention-31xfzrxg.js} +2 -2
- package/dist/chunks/{formatter-bsysq0ez.js → file-retention-33gt55zk.js} +20 -20
- package/dist/chunks/{formatter-fg1z6pp1.js → file-retention-343b8twr.js} +35 -35
- package/dist/chunks/{formatter-sz4t6e64.js → file-retention-35f1txve.js} +4 -4
- package/dist/chunks/{formatter-qhvzx7pk.js → file-retention-3a90axj9.js} +24 -24
- package/dist/chunks/{formatter-dqgx37xb.js → file-retention-3dj4nk9r.js} +10 -10
- package/dist/chunks/{formatter-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-be7qvw84.js → file-retention-3rtxz4nr.js} +8 -8
- package/dist/chunks/{formatter-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-wsvg2szn.js → file-retention-3wadahsr.js} +13 -13
- package/dist/chunks/{formatter-gqtdsdt7.js → file-retention-3y377wv9.js} +4 -4
- package/dist/chunks/{formatter-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-vjv51mvx.js → file-retention-41jpfhb3.js} +32 -32
- package/dist/chunks/{formatter-c1kp7gpd.js → file-retention-45z6fg85.js} +36 -36
- package/dist/chunks/{formatter-7wnqvywx.js → file-retention-494866tp.js} +25 -25
- package/dist/chunks/{formatter-8c2qsf3t.js → file-retention-4as0pac5.js} +14 -14
- package/dist/chunks/{formatter-7c576772.js → file-retention-4jf5r3d7.js} +25 -25
- package/dist/chunks/{formatter-d6h3yzf0.js → file-retention-4nq780rr.js} +8 -8
- package/dist/chunks/{formatter-qhw583k0.js → file-retention-4qxa3b8n.js} +13 -13
- package/dist/chunks/{formatter-dxxkxqr1.js → file-retention-4r8pgdq5.js} +33 -33
- package/dist/chunks/{formatter-tsyk5zzk.js → file-retention-4x4e769q.js} +23 -23
- package/dist/chunks/{formatter-bgmkc152.js → file-retention-4z07f7n3.js} +28 -28
- package/dist/chunks/{formatter-0nfx68vs.js → file-retention-4zys1a3z.js} +8 -8
- package/dist/chunks/{formatter-r94pvvab.js → file-retention-54ma36ye.js} +4 -4
- package/dist/chunks/{formatter-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-vxspw9yr.js → file-retention-5qmd8552.js} +4 -4
- package/dist/chunks/{formatter-ygtkbg8j.js → file-retention-5wbvgj8p.js} +9 -9
- package/dist/chunks/{formatter-cp57n86a.js → file-retention-5yg5wf9b.js} +38 -38
- package/dist/chunks/{formatter-p37cw4rj.js → file-retention-5yzzbxa7.js} +8 -8
- package/dist/chunks/file-retention-5z5w0mbt.js +26 -0
- package/dist/chunks/{formatter-k9jhr1nj.js → file-retention-5zj8cc1q.js} +17 -17
- package/dist/chunks/{formatter-mpmevjqk.js → file-retention-6b6wpy4c.js} +13 -13
- package/dist/chunks/{formatter-3p7s2r2p.js → file-retention-6bdav48n.js} +89 -89
- package/dist/chunks/{formatter-z2qvtray.js → file-retention-6bh6zht1.js} +6 -6
- package/dist/chunks/{formatter-b0f1bdm2.js → file-retention-6na3g6pg.js} +58 -58
- package/dist/chunks/{formatter-kfgdhbhb.js → file-retention-6vf2fsqw.js} +17 -17
- package/dist/chunks/{formatter-wg7azwjh.js → file-retention-6x7z2ytp.js} +22 -22
- package/dist/chunks/{formatter-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-gs412db5.js → file-retention-70vxy3y5.js} +22 -22
- package/dist/chunks/{formatter-q5eaxa6y.js → file-retention-71dexq5d.js} +11 -11
- package/dist/chunks/{formatter-fmzzfcx7.js → file-retention-76pbprbn.js} +15 -15
- package/dist/chunks/{formatter-775gj3j1.js → file-retention-775gj3j1.js} +2 -2
- package/dist/chunks/{formatter-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-fcrkznn8.js → file-retention-7dqw4kz8.js} +5 -5
- package/dist/chunks/{formatter-f3cxnthp.js → file-retention-7e57dx7y.js} +193 -193
- package/dist/chunks/{formatter-8svxbds8.js → file-retention-7f00463b.js} +20 -20
- package/dist/chunks/{formatter-dwf3tdgd.js → file-retention-7k2e2df9.js} +10 -10
- package/dist/chunks/{formatter-6xhm7n2c.js → file-retention-7ky6n90g.js} +13 -13
- package/dist/chunks/{formatter-rhy9k1rp.js → file-retention-7nz7jn0r.js} +19 -19
- package/dist/chunks/{formatter-yb185ac2.js → file-retention-7yatdfkd.js} +35 -35
- package/dist/chunks/{formatter-cc6b32k2.js → file-retention-801ybqbd.js} +5 -5
- package/dist/chunks/{formatter-zpa94q1q.js → file-retention-82dw7q9y.js} +46 -46
- package/dist/chunks/{formatter-nd4tfyg0.js → file-retention-8hxtpvs0.js} +9 -9
- package/dist/chunks/{formatter-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-j26nqjmz.js → file-retention-8s0xtqnd.js} +20 -20
- package/dist/chunks/{formatter-rkprpv83.js → file-retention-8sze2n9a.js} +6 -6
- package/dist/chunks/{formatter-xk0yahwt.js → file-retention-8vas296z.js} +5 -5
- package/dist/chunks/{formatter-4mwpykj0.js → file-retention-909p1r3q.js} +6 -6
- package/dist/chunks/{formatter-1h867pj6.js → file-retention-98c5f06f.js} +15 -15
- package/dist/chunks/{formatter-d796kbef.js → file-retention-9aqq5nvv.js} +34 -34
- package/dist/chunks/{formatter-6vyn749n.js → file-retention-9jjvh5yj.js} +36 -36
- package/dist/chunks/{formatter-2wh84egx.js → file-retention-9p0txavt.js} +5 -5
- package/dist/chunks/{formatter-twpzn2hm.js → file-retention-9tw73w2d.js} +27 -27
- package/dist/chunks/{formatter-ygfnawd1.js → file-retention-9zd2w1n5.js} +15 -15
- package/dist/chunks/{formatter-7f82f210.js → file-retention-a4pc9c5c.js} +51 -51
- package/dist/chunks/{formatter-kvesanzg.js → file-retention-aa7e2tv8.js} +31 -31
- package/dist/chunks/{formatter-q1f4s60w.js → file-retention-ab62emgm.js} +11 -11
- package/dist/chunks/{formatter-3hnj3vj9.js → file-retention-afk6yey1.js} +50 -50
- package/dist/chunks/{formatter-nrd63j21.js → file-retention-apkf47ca.js} +6 -6
- package/dist/chunks/{formatter-mfd36709.js → file-retention-aqc38cqd.js} +16 -16
- package/dist/chunks/{formatter-sq4kkv30.js → file-retention-aqkhk00p.js} +18 -18
- package/dist/chunks/{formatter-48kw51zw.js → file-retention-arz7hw7x.js} +3 -3
- package/dist/chunks/{formatter-zw5d2dnw.js → file-retention-as4mgesb.js} +35 -35
- package/dist/chunks/{formatter-xgaedbr8.js → file-retention-awk6knb3.js} +15 -15
- package/dist/chunks/{formatter-9ddcqjst.js → file-retention-b0em60tq.js} +3 -3
- package/dist/chunks/{formatter-scgrse2b.js → file-retention-b3f8fkhc.js} +5 -5
- package/dist/chunks/{formatter-f26e9619.js → file-retention-b4bz9kxw.js} +1 -1
- package/dist/chunks/{formatter-3n40wvxh.js → file-retention-b4nzaj04.js} +5 -5
- package/dist/chunks/{formatter-c2gyfhkp.js → file-retention-b70ztsq5.js} +18 -18
- package/dist/chunks/{formatter-x40w4ms9.js → file-retention-b7tkvae9.js} +18 -18
- package/dist/chunks/{formatter-3rj6f3np.js → file-retention-bcjdeyqn.js} +33 -33
- package/dist/chunks/{formatter-4s59bs54.js → file-retention-berr4p9f.js} +41 -41
- package/dist/chunks/{formatter-wjr9rjd7.js → file-retention-bjx1sjef.js} +6 -6
- package/dist/chunks/{formatter-xzdszenr.js → file-retention-bn2z0vx7.js} +3 -3
- package/dist/chunks/{formatter-6p31tnqt.js → file-retention-bwg67q4g.js} +31 -31
- package/dist/chunks/{formatter-6zddjdst.js → file-retention-c0ntss9e.js} +22 -22
- package/dist/chunks/{formatter-c1fqxshp.js → file-retention-c1fqxshp.js} +3 -3
- package/dist/chunks/file-retention-c3ahp5cr.js +253 -0
- package/dist/chunks/{formatter-v0267kdd.js → file-retention-cf7mn8e9.js} +22 -22
- package/dist/chunks/{formatter-twkrdnw7.js → file-retention-ck51dxh3.js} +17 -17
- package/dist/chunks/{formatter-wr0g8n2t.js → file-retention-cn90h94x.js} +37 -37
- package/dist/chunks/{formatter-ft3hqk2c.js → file-retention-cpneeje0.js} +9 -9
- package/dist/chunks/{formatter-50gtqem5.js → file-retention-csx4qebp.js} +9 -9
- package/dist/chunks/{formatter-7ccd9sgx.js → file-retention-czy1bpjs.js} +17 -17
- package/dist/chunks/{formatter-jzrhc3ay.js → file-retention-d002rr2p.js} +30 -30
- package/dist/chunks/{formatter-0x81qgcv.js → file-retention-d46xqbnr.js} +28 -28
- package/dist/chunks/{formatter-1edxb1vv.js → file-retention-d6yjde1r.js} +19 -19
- package/dist/chunks/{formatter-2353axak.js → file-retention-d8efssg2.js} +30 -30
- package/dist/chunks/{formatter-jh6atg41.js → file-retention-d9hmp2ka.js} +11 -11
- package/dist/chunks/{formatter-v6c6rcwe.js → file-retention-dhbnfacn.js} +14 -14
- package/dist/chunks/{formatter-3m9w5d4q.js → file-retention-djbp5nh2.js} +6 -6
- package/dist/chunks/{formatter-dqxsqydv.js → file-retention-dqxsqydv.js} +1 -1
- package/dist/chunks/{formatter-jkfbaykb.js → file-retention-dr4d52gw.js} +32 -32
- package/dist/chunks/{formatter-cz2py90e.js → file-retention-dtyzwnrk.js} +5 -5
- package/dist/chunks/file-retention-dxj72tfx.js +18 -0
- package/dist/chunks/{formatter-afe0v1cd.js → file-retention-dz866tjr.js} +11 -11
- package/dist/chunks/{formatter-y6mhz57t.js → file-retention-eahhehpg.js} +4 -4
- package/dist/chunks/{formatter-qa3qhgw8.js → file-retention-edrmdtr5.js} +7 -7
- package/dist/chunks/{formatter-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-fjgg99jy.js → file-retention-eh0pg0ss.js} +12 -12
- package/dist/chunks/{formatter-662wwg4x.js → file-retention-ej40pes1.js} +23 -23
- package/dist/chunks/{formatter-ygz1yfbt.js → file-retention-ejvnp2ks.js} +11 -11
- package/dist/chunks/{formatter-0h27695m.js → file-retention-es27v6nt.js} +14 -14
- package/dist/chunks/{formatter-7qbbv60v.js → file-retention-f3myw4xv.js} +24 -24
- package/dist/chunks/{formatter-z1bgcsag.js → file-retention-fb37tdxn.js} +12 -12
- package/dist/chunks/{formatter-a6rx491g.js → file-retention-fbtsrrmm.js} +4 -4
- package/dist/chunks/{formatter-z3yc4nfw.js → file-retention-fe7xgvze.js} +24 -24
- package/dist/chunks/{formatter-0d2vgyq6.js → file-retention-fg399ztj.js} +36 -36
- package/dist/chunks/{formatter-g4t5e3me.js → file-retention-fq2e6s3p.js} +24 -24
- package/dist/chunks/{formatter-ysftav9z.js → file-retention-fs90qe41.js} +6 -6
- package/dist/chunks/{formatter-4xpgt2w9.js → file-retention-g6yfr6ja.js} +5 -5
- package/dist/chunks/{formatter-7ejdeqms.js → file-retention-g7swxvb3.js} +11 -11
- package/dist/chunks/{formatter-crrxh0px.js → file-retention-ga6dbr11.js} +49 -49
- package/dist/chunks/{formatter-5z5kbpps.js → file-retention-gbqjtqth.js} +25 -25
- package/dist/chunks/{formatter-x3c01j44.js → file-retention-gbwx0srj.js} +45 -45
- package/dist/chunks/{formatter-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-p0gzq3ww.js → file-retention-ghgmervw.js} +13 -13
- package/dist/chunks/{formatter-ev42yzt1.js → file-retention-gsahz1ss.js} +8 -8
- package/dist/chunks/{formatter-j7mctfem.js → file-retention-gwjvbrnw.js} +3 -3
- package/dist/chunks/{formatter-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-kan5fc59.js → file-retention-h748stye.js} +1 -1
- package/dist/chunks/{formatter-q5e7cmwt.js → file-retention-he27pt63.js} +1 -1
- package/dist/chunks/{formatter-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-015f3c81.js → file-retention-hh6d8b15.js} +28 -28
- package/dist/chunks/{formatter-dsdg21fa.js → file-retention-hhreayt7.js} +22 -22
- package/dist/chunks/{formatter-wsgnknpb.js → file-retention-hmkps6ty.js} +23 -23
- package/dist/chunks/{formatter-p53nntgz.js → file-retention-hzw4cxwv.js} +13 -13
- package/dist/chunks/{formatter-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
- package/dist/chunks/{formatter-cb1kb5zz.js → file-retention-j37tk4s1.js} +20 -20
- package/dist/chunks/{formatter-hjkq67zn.js → file-retention-jd9hc5c6.js} +5 -5
- package/dist/chunks/{formatter-r65g850v.js → file-retention-jg32kqvh.js} +19 -19
- package/dist/chunks/{formatter-jk540des.js → file-retention-jk540des.js} +2 -2
- package/dist/chunks/{formatter-wwt5dmw6.js → file-retention-jxgknhbk.js} +5 -5
- package/dist/chunks/{formatter-akvc5q3a.js → file-retention-jz58ycx9.js} +5 -5
- package/dist/chunks/{formatter-rjerygwq.js → file-retention-k28swmkw.js} +45 -45
- package/dist/chunks/{formatter-19nx87eh.js → file-retention-kanpa06r.js} +16 -16
- package/dist/chunks/{formatter-th3em6jy.js → file-retention-kbf0jh97.js} +4 -4
- package/dist/chunks/{formatter-b72rtwfy.js → file-retention-kejp1rz3.js} +53 -53
- package/dist/chunks/{formatter-d9b0f5kc.js → file-retention-kg91cx0t.js} +7 -7
- package/dist/chunks/{formatter-2vs2nh1n.js → file-retention-kne8f3cn.js} +4 -4
- package/dist/chunks/{formatter-c9wbyant.js → file-retention-kqx1b4hy.js} +4 -4
- package/dist/chunks/{formatter-ybqwpdwm.js → file-retention-kr55r1bg.js} +11 -11
- package/dist/chunks/{formatter-hkczk8bw.js → file-retention-kzwbv4nn.js} +11 -11
- package/dist/chunks/{formatter-bs1j93w2.js → file-retention-m5tv4514.js} +3 -3
- package/dist/chunks/{formatter-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-6kskhkf1.js → file-retention-me77td0v.js} +5 -5
- package/dist/chunks/{formatter-f0bxardp.js → file-retention-mf0vtrbq.js} +22 -22
- package/dist/chunks/{formatter-es3cq489.js → file-retention-mmyj435p.js} +22 -22
- package/dist/chunks/{formatter-wg6fdgtk.js → file-retention-mt1habk1.js} +16 -16
- package/dist/chunks/{formatter-56hry5jr.js → file-retention-n9jwdt3t.js} +4 -4
- package/dist/chunks/{formatter-yvgxm2n5.js → file-retention-nay0he7a.js} +27 -27
- package/dist/chunks/{formatter-p6tk73t3.js → file-retention-nj464p1b.js} +15 -15
- package/dist/chunks/{formatter-e80seqcp.js → file-retention-nma959mg.js} +3 -3
- package/dist/chunks/{formatter-hcv80w8f.js → file-retention-npw39rc8.js} +8 -8
- package/dist/chunks/{formatter-rqa1jxse.js → file-retention-nqxj0yn4.js} +2 -2
- package/dist/chunks/{formatter-ykgvx44j.js → file-retention-nrrv6dtp.js} +7 -7
- package/dist/chunks/{formatter-4sfwg2ck.js → file-retention-nvavy7ph.js} +17 -17
- package/dist/chunks/{formatter-f224v0b1.js → file-retention-nxefwe56.js} +17 -17
- package/dist/chunks/{formatter-hq3c8me3.js → file-retention-ny8edt06.js} +4 -4
- package/dist/chunks/{formatter-5aj6czy3.js → file-retention-pezt36hj.js} +11 -11
- package/dist/chunks/{formatter-jfqkz3as.js → file-retention-pfk5wy6h.js} +11 -11
- package/dist/chunks/{formatter-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-332njvv8.js → file-retention-pp9wqrm9.js} +18 -18
- package/dist/chunks/{formatter-kh11x27a.js → file-retention-psy6vzvk.js} +10 -10
- package/dist/chunks/{formatter-q0xm7vwc.js → file-retention-q0xm7vwc.js} +2 -2
- package/dist/chunks/{formatter-55t91gwp.js → file-retention-q2e8ypk4.js} +2 -2
- package/dist/chunks/{formatter-3hdbdc9p.js → file-retention-q6vgk5tx.js} +19 -19
- package/dist/chunks/{formatter-ja2emt1d.js → file-retention-qbfnxdkt.js} +11 -11
- package/dist/chunks/{formatter-je4aj9kh.js → file-retention-qd5nnggg.js} +36 -36
- package/dist/chunks/{formatter-bc2z15ca.js → file-retention-qk98frm8.js} +97 -97
- package/dist/chunks/{formatter-7g29pkaf.js → file-retention-qkhk7ppk.js} +24 -24
- package/dist/chunks/{formatter-cd6h4nzs.js → file-retention-qm3ah3vw.js} +12 -12
- package/dist/chunks/{formatter-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-av61pe84.js → file-retention-qtjfv2pr.js} +14 -14
- package/dist/chunks/{formatter-gbc8mqyx.js → file-retention-qzpyk82z.js} +6 -6
- package/dist/chunks/{formatter-nxm27acf.js → file-retention-r3ww6m9v.js} +14 -14
- package/dist/chunks/{formatter-pdf019mb.js → file-retention-r6k96hsc.js} +17 -17
- package/dist/chunks/{formatter-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-rert0e01.js → file-retention-rert0e01.js} +2 -2
- package/dist/chunks/{formatter-08035mxz.js → file-retention-rf36gdfd.js} +11 -11
- package/dist/chunks/{formatter-02nrjc1r.js → file-retention-rhjbct0v.js} +6 -6
- package/dist/chunks/{formatter-rj3eygr5.js → file-retention-rj3eygr5.js} +2 -2
- package/dist/chunks/{formatter-ad7qy436.js → file-retention-rk6zbwj7.js} +5 -5
- package/dist/chunks/{formatter-g33e3t29.js → file-retention-rnqjhy1g.js} +11 -11
- package/dist/chunks/{formatter-p2zvaqmw.js → file-retention-s68ta6h4.js} +21 -21
- package/dist/chunks/{formatter-sa8ekw3f.js → file-retention-sa8ekw3f.js} +2 -2
- package/dist/chunks/{formatter-283jaw88.js → file-retention-sdjmf92r.js} +25 -25
- package/dist/chunks/{formatter-twwzjqdf.js → file-retention-snf1tfdw.js} +6 -6
- package/dist/chunks/{formatter-syv4x271.js → file-retention-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-txm3e8qz.js → file-retention-sz15zhhw.js} +4 -4
- package/dist/chunks/{formatter-x9269a9z.js → file-retention-t0kc1yrm.js} +38 -38
- package/dist/chunks/{formatter-aqbj56nq.js → file-retention-t8ks3146.js} +13 -13
- package/dist/chunks/{formatter-tcetyb9j.js → file-retention-t9h41g6h.js} +4 -4
- package/dist/chunks/{formatter-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → file-retention-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-v3651974.js → file-retention-tdhvqp0s.js} +8 -8
- package/dist/chunks/{formatter-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-whhqcvh8.js → file-retention-tgvthde2.js} +16 -16
- package/dist/chunks/{formatter-tm0kqsz3.js → file-retention-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-tx6qfw4f.js → file-retention-trya7axm.js} +8 -8
- package/dist/chunks/{formatter-y8ay14br.js → file-retention-ts2hbyr8.js} +23 -23
- package/dist/chunks/{formatter-e4kb0nq8.js → file-retention-ts8jrmeq.js} +4 -4
- package/dist/chunks/{formatter-adfh29v0.js → file-retention-tx96wtwf.js} +5 -5
- package/dist/chunks/{formatter-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-rptf7q9a.js → file-retention-v567a2n9.js} +9 -9
- package/dist/chunks/{formatter-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-ab3n2c3a.js → file-retention-v9aahat3.js} +28 -28
- package/dist/chunks/{formatter-ajp2d162.js → file-retention-vapsbb60.js} +11 -11
- package/dist/chunks/{formatter-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/file-retention-vfbmtatm.js +513 -0
- package/dist/chunks/{formatter-hvzrs0xr.js → file-retention-vsq3m3qh.js} +61 -61
- package/dist/chunks/{formatter-sn62p56x.js → file-retention-vyvgz92x.js} +11 -11
- package/dist/chunks/{formatter-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-84txncab.js → file-retention-w1eejvng.js} +5 -5
- package/dist/chunks/{formatter-04frbxpp.js → file-retention-w2xjjsrc.js} +79 -79
- package/dist/chunks/{formatter-dzw83ac5.js → file-retention-w3nq1sqw.js} +9 -9
- package/dist/chunks/{formatter-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-hxrpfe82.js → file-retention-w4bpjgvx.js} +1 -1
- package/dist/chunks/{formatter-qvcdsk4b.js → file-retention-w9zdepcn.js} +48 -48
- package/dist/chunks/{formatter-s5q76w4b.js → file-retention-wby3r2te.js} +7 -7
- package/dist/chunks/{formatter-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-gg15nyhh.js → file-retention-ww365c1w.js} +33 -33
- package/dist/chunks/{formatter-n4hpj17r.js → file-retention-wwenzjkg.js} +11 -11
- package/dist/chunks/{formatter-rmm45jmv.js → file-retention-x6pyv2yz.js} +5 -5
- package/dist/chunks/{formatter-qvwq1zvz.js → file-retention-x9bqbk5n.js} +13 -13
- package/dist/chunks/{formatter-drwq78ky.js → file-retention-xfkkasph.js} +4 -4
- package/dist/chunks/{formatter-wc72y96k.js → file-retention-xftrays8.js} +52 -52
- package/dist/chunks/{formatter-3frqz641.js → file-retention-xvtgxxrz.js} +32 -32
- package/dist/chunks/{formatter-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-jwcy2c2z.js → file-retention-y71avatq.js} +4 -4
- package/dist/chunks/{formatter-z6c3x22d.js → file-retention-ygdna4kr.js} +5 -5
- package/dist/chunks/{formatter-q1kj48yt.js → file-retention-ymq5q27y.js} +47 -47
- package/dist/chunks/{formatter-yp2x3t23.js → file-retention-yp2x3t23.js} +1 -1
- package/dist/chunks/{formatter-ntvjbsjw.js → file-retention-yrf56wq9.js} +35 -35
- package/dist/chunks/{formatter-ze75yzft.js → file-retention-yw8t9dwe.js} +8 -8
- package/dist/chunks/{formatter-a346vg2z.js → file-retention-z0bka10m.js} +7 -7
- package/dist/chunks/{formatter-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-fqbxrgf0.js → file-retention-z12nrmke.js} +12 -12
- package/dist/chunks/{formatter-ccr708e6.js → file-retention-z407xa8j.js} +13 -13
- package/dist/chunks/{formatter-ex4y3cq4.js → file-retention-z4c2qrqq.js} +8 -8
- package/dist/chunks/{formatter-mvtm0qmf.js → file-retention-z7cwpd0j.js} +13 -13
- package/dist/chunks/{formatter-q45ag0p8.js → file-retention-z7qkgadb.js} +27 -27
- package/dist/chunks/{formatter-g1qebd0t.js → file-retention-zjgmvxsd.js} +19 -19
- package/dist/chunks/{formatter-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-f29mbr7f.js → file-retention-zsr4wwhv.js} +4 -4
- package/dist/chunks/{formatter-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +118 -118
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- 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 +368 -368
- 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 +95 -95
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- 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 +93 -93
- 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 +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +117 -117
- 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 +118 -118
- 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 +127 -127
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- 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 +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +86 -86
- 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 +5 -5
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +128 -128
- 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 +126 -126
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +204 -204
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +14 -14
- 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 +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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 +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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/formatter-2tm8sjbk.js +0 -253
- package/dist/chunks/formatter-9sh4wc5j.js +0 -18
- package/dist/chunks/formatter-qz7awyd3.js +0 -26
- package/dist/chunks/formatter-rz47h1na.js +0 -513
- /package/dist/chunks/{formatter-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → file-retention-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node89
|
|
5
|
+
} from "./file-retention-wby3r2te.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-zsr4wwhv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service72,
|
|
12
|
+
node75
|
|
13
|
+
} from "./file-retention-yw8t9dwe.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-retention-6na3g6pg.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-nrrv6dtp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error5
|
|
22
|
+
} from "./file-retention-f3myw4xv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get5
|
|
25
|
+
} from "./file-retention-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service30,
|
|
28
|
+
node34
|
|
29
|
+
} from "./file-retention-vapsbb60.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./file-retention-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-retention-he27pt63.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service28,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer11,
|
|
48
|
+
node: () => node31,
|
|
49
49
|
outputLimit: () => outputLimit2,
|
|
50
50
|
unsupportedParts: () => unsupportedParts2
|
|
51
51
|
});
|
|
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
|
|
|
83
83
|
return {
|
|
84
84
|
providerMetadataKey,
|
|
85
85
|
system: [
|
|
86
|
-
input.agent.system ? input.agent.system :
|
|
86
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
87
87
|
input.initial
|
|
88
88
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
89
89
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
});
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service72;
|
|
163
|
+
const transport = yield* Service30;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({
|
|
@@ -186,7 +186,7 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
186
186
|
const entries = Object.entries(shaped.options);
|
|
187
187
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
188
188
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
189
|
-
const affinity =
|
|
189
|
+
const affinity = get5(session);
|
|
190
190
|
const base = LLM.request({
|
|
191
191
|
model: model.model,
|
|
192
192
|
http: {
|
|
@@ -265,17 +265,17 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
265
265
|
};
|
|
266
266
|
});
|
|
267
267
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
268
|
-
return
|
|
268
|
+
return Service28.of({
|
|
269
269
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
270
270
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
271
271
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
272
272
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
273
273
|
});
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
277
|
-
layer:
|
|
278
|
-
deps: [
|
|
275
|
+
var node31 = makeLocationNode({
|
|
276
|
+
service: Service28,
|
|
277
|
+
layer: layer11,
|
|
278
|
+
deps: [node75, node34, node89]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
281
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service28, layer11, node31, exports_model_request };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4as0pac5.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node78
|
|
19
|
+
} from "./file-retention-ck51dxh3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service49,
|
|
22
|
+
node51
|
|
23
|
+
} from "./file-retention-12jxavrd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node50
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node50,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
|
+
const workspace = yield* Service49;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node50 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node78, node51]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node50, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./file-retention-kejp1rz3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./file-retention-6na3g6pg.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin48
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin48 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service34;
|
|
26
|
+
const permission = yield* Service68;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin42 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin48, exports_mcp_resource };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-retention-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node39
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service46, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node39 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node39, exports_environment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-fs90qe41.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-gwjvbrnw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service85,
|
|
17
17
|
configured: () => configured12,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
|
-
layer: () =>
|
|
19
|
+
layer: () => layer27,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service85 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service85, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -58,7 +58,7 @@ function lockFor(filename) {
|
|
|
58
58
|
locks.set(filename, lock);
|
|
59
59
|
return lock;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function layer27(options = { path: ":memory:" }) {
|
|
62
62
|
return Layer.unwrap(Effect.gen(function* () {
|
|
63
63
|
const provide = (filename) => databaseLayer(filename === ":memory:" ? Semaphore.make(1) : Effect.succeed(lockFor(filename))).pipe(Layer.provide(sqliteLayer({ filename })));
|
|
64
64
|
const filename = options.path ?? ":memory:";
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured12(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service85, layer: layer27(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service85,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node88 = configured12({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service85, layer27, layerFromClient2, configured12, configuredClient2, node88, exports_database };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status3, key2, exports_connection };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./file-retention-3a90axj9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-retention-hzw4cxwv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./file-retention-awk6knb3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./file-retention-6na3g6pg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./file-retention-b70ztsq5.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service63;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service48;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input8,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output6, toModelContent4, Plugin43, exports_write };
|