@opencode/core 0.0.0-dev-177 → 0.0.0-dev-189
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 +84 -83
- package/dist/aisdk-native.js +98 -97
- package/dist/aisdk.js +104 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +80 -79
- package/dist/chunks/{vcs-034tev2y.js → repository-034tev2y.js} +2 -2
- package/dist/chunks/{vcs-t7d5dner.js → repository-037k7tff.js} +23 -23
- package/dist/chunks/{vcs-f12ryszn.js → repository-08rz5a36.js} +14 -14
- package/dist/chunks/{vcs-5x47hebm.js → repository-0av5441t.js} +14 -14
- package/dist/chunks/{vcs-bqxvxs63.js → repository-0evha2wn.js} +31 -31
- package/dist/chunks/{vcs-y9sq7js0.js → repository-0hkk56st.js} +185 -185
- package/dist/chunks/{vcs-hq1wfz6f.js → repository-0hp4fr82.js} +4 -4
- package/dist/chunks/{vcs-d8p3t516.js → repository-0m9q59s6.js} +4 -4
- package/dist/chunks/{vcs-crgewsnq.js → repository-0r3ejwj6.js} +5 -5
- package/dist/chunks/{vcs-e14jxrf8.js → repository-0rtm666e.js} +23 -23
- package/dist/chunks/{vcs-qjgzc4b4.js → repository-11hfp36g.js} +4 -4
- package/dist/chunks/{vcs-r76g6m5d.js → repository-12r92wk3.js} +14 -14
- package/dist/chunks/{vcs-88nacy35.js → repository-13r1xmr6.js} +32 -32
- package/dist/chunks/{vcs-8sqprg4w.js → repository-182gebkv.js} +36 -36
- package/dist/chunks/{vcs-kam05h7r.js → repository-1apn0a4c.js} +27 -27
- package/dist/chunks/{vcs-81e513d9.js → repository-1aypnazc.js} +15 -15
- package/dist/chunks/{vcs-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
- package/dist/chunks/{vcs-5xh13x4p.js → repository-1k4zgc1c.js} +36 -36
- package/dist/chunks/{vcs-dcphv4q7.js → repository-1mde9y8f.js} +11 -11
- package/dist/chunks/{vcs-j3fqds5k.js → repository-1w79wwhg.js} +34 -34
- package/dist/chunks/{vcs-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{vcs-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
- package/dist/chunks/{vcs-204s3925.js → repository-204s3925.js} +1 -1
- package/dist/chunks/{vcs-c603at3t.js → repository-2080gwb7.js} +6 -6
- package/dist/chunks/{vcs-xz2fv4yr.js → repository-2dv9mwt9.js} +17 -17
- package/dist/chunks/{vcs-5qx92zct.js → repository-2kzkh518.js} +31 -31
- package/dist/chunks/{vcs-nqnxqd2r.js → repository-2rgppjw0.js} +19 -19
- package/dist/chunks/{vcs-qatsv5dz.js → repository-2ytvyz2d.js} +25 -25
- package/dist/chunks/{vcs-hqxkkta1.js → repository-2zp5a6yg.js} +3 -3
- package/dist/chunks/{vcs-d8wf4604.js → repository-33ae382d.js} +34 -34
- package/dist/chunks/{vcs-803py63b.js → repository-3e05p5k6.js} +47 -47
- package/dist/chunks/{vcs-bzzy1r12.js → repository-3fa3xdsy.js} +11 -11
- package/dist/chunks/{vcs-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-f01y088k.js → repository-3j1m3tq4.js} +5 -5
- package/dist/chunks/{vcs-hxe8n5wd.js → repository-3njy631w.js} +13 -13
- package/dist/chunks/{vcs-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{vcs-qj0f10hy.js → repository-3t73xeyv.js} +2 -2
- package/dist/chunks/{vcs-n93tr00k.js → repository-3t74rz0k.js} +10 -10
- package/dist/chunks/{vcs-yg76txfd.js → repository-3v8t9fvp.js} +24 -24
- package/dist/chunks/repository-3ygt5d1v.js +257 -0
- package/dist/chunks/{vcs-ym5kwrv0.js → repository-4esa3dv6.js} +31 -31
- package/dist/chunks/{vcs-sp1n9vrr.js → repository-4nc3cf8h.js} +15 -15
- package/dist/chunks/{vcs-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
- package/dist/chunks/{vcs-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{vcs-h7hv4bsx.js → repository-5107fk2n.js} +3 -3
- package/dist/chunks/{vcs-dxf45bfp.js → repository-56ae33c2.js} +31 -31
- package/dist/chunks/{vcs-h871ecej.js → repository-5jv51wq9.js} +27 -27
- package/dist/chunks/{vcs-s3yt9ny0.js → repository-5kgs3fk1.js} +6 -6
- package/dist/chunks/{vcs-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-3012d813.js → repository-5q3h0csw.js} +7 -7
- package/dist/chunks/{vcs-cvc38qdd.js → repository-5r0vxddc.js} +3 -3
- package/dist/chunks/{vcs-9hf7djsb.js → repository-5vtqq6dj.js} +17 -17
- package/dist/chunks/{vcs-f9v35vn9.js → repository-5w0ghgtj.js} +5 -5
- package/dist/chunks/{vcs-8dhx12dr.js → repository-5z598wn3.js} +17 -17
- package/dist/chunks/{vcs-bjhzkqyk.js → repository-61ennm6n.js} +4 -4
- package/dist/chunks/{vcs-3zm80s7d.js → repository-6cv4a685.js} +12 -12
- package/dist/chunks/{vcs-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
- package/dist/chunks/{vcs-vbfgf998.js → repository-6pycad06.js} +12 -12
- package/dist/chunks/{vcs-mvmschgv.js → repository-6pzctp9a.js} +35 -35
- package/dist/chunks/{vcs-3becjr0v.js → repository-6x6r8n8f.js} +17 -17
- package/dist/chunks/{vcs-r4kh5xmg.js → repository-6z1wc5nc.js} +3 -3
- package/dist/chunks/{vcs-axgnp1w7.js → repository-72gawy4v.js} +29 -29
- package/dist/chunks/{vcs-76cb1hcw.js → repository-76cb1hcw.js} +1 -1
- package/dist/chunks/{vcs-nah043kf.js → repository-770pw0s1.js} +4 -4
- package/dist/chunks/{vcs-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-rramyk5b.js → repository-7g779wd2.js} +20 -20
- package/dist/chunks/{vcs-3y5kg779.js → repository-7kehrbx0.js} +2 -2
- package/dist/chunks/{vcs-vp7nv6ts.js → repository-7n5hdcgz.js} +12 -12
- package/dist/chunks/{vcs-ydsespw1.js → repository-7tpyp9vw.js} +6 -6
- package/dist/chunks/{vcs-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{vcs-9ca4th6x.js → repository-82zcwhsx.js} +16 -16
- package/dist/chunks/{vcs-qzze65dp.js → repository-84k97wh8.js} +38 -38
- package/dist/chunks/{vcs-27kvnj30.js → repository-86g12mv6.js} +29 -29
- package/dist/chunks/{vcs-711z6zs4.js → repository-8enexpz6.js} +32 -32
- package/dist/chunks/{vcs-m23nxqzn.js → repository-8hrfnhev.js} +25 -25
- package/dist/chunks/{vcs-s1pbznk9.js → repository-8r2xb3b3.js} +22 -22
- package/dist/chunks/{vcs-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{vcs-90zstvax.js → repository-90zstvax.js} +1 -1
- package/dist/chunks/{vcs-qw6ypx0r.js → repository-97e8yvkm.js} +11 -11
- package/dist/chunks/{vcs-s7vmaqmh.js → repository-98r3g1tv.js} +21 -21
- package/dist/chunks/{vcs-ymz7p2c9.js → repository-9n4vggc2.js} +3 -3
- package/dist/chunks/{vcs-2vmza6bx.js → repository-9n4yzf43.js} +7 -7
- package/dist/chunks/{vcs-hnyptrnw.js → repository-9nzgnp4r.js} +36 -35
- package/dist/chunks/{vcs-s7kyse9r.js → repository-9q8g9sv8.js} +4 -4
- package/dist/chunks/{vcs-66rmjjex.js → repository-9yvzdddr.js} +24 -24
- package/dist/chunks/{vcs-rnkzngrq.js → repository-a23yrjc9.js} +13 -13
- package/dist/chunks/{vcs-w2808p42.js → repository-a44gt5xs.js} +6 -6
- package/dist/chunks/{vcs-7xwxxj51.js → repository-a4sx5s4k.js} +52 -52
- package/dist/chunks/{vcs-ezm7bgte.js → repository-a5jmwq8r.js} +1 -1
- package/dist/chunks/{vcs-cqnqmmbc.js → repository-a792y6s0.js} +22 -22
- package/dist/chunks/{vcs-qjq7p7j6.js → repository-a7jkxg7e.js} +25 -25
- package/dist/chunks/{vcs-2qdnk5gy.js → repository-aar8rcwj.js} +4 -4
- package/dist/chunks/{vcs-8abc36xm.js → repository-abs1shnw.js} +46 -46
- package/dist/chunks/{vcs-xcrtaswj.js → repository-agwv7dq2.js} +11 -11
- package/dist/chunks/{vcs-znxracq4.js → repository-ataenv19.js} +6 -6
- package/dist/chunks/{vcs-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
- package/dist/chunks/{vcs-x1yq370d.js → repository-aytsh6n6.js} +5 -5
- package/dist/chunks/{vcs-b6vsg801.js → repository-b6vsg801.js} +2 -2
- package/dist/chunks/{vcs-kvaqnkh5.js → repository-bda3vcj5.js} +9 -9
- package/dist/chunks/{vcs-bzfazvnd.js → repository-bpa6my4e.js} +27 -27
- package/dist/chunks/{vcs-4ya1zf4j.js → repository-bqh84c2y.js} +9 -9
- package/dist/chunks/{vcs-bstexjd6.js → repository-bstexjd6.js} +1 -1
- package/dist/chunks/{vcs-rq1s007a.js → repository-c2zjjdcb.js} +15 -15
- package/dist/chunks/{vcs-a9qv6y2y.js → repository-c4bknmrm.js} +35 -35
- package/dist/chunks/{vcs-mhhpcp40.js → repository-cbtp3bm0.js} +59 -55
- package/dist/chunks/{vcs-sdv7qrfx.js → repository-cdhs4fq1.js} +8 -8
- package/dist/chunks/{vcs-1y89m7wx.js → repository-ce8850xx.js} +5 -5
- package/dist/chunks/{vcs-gb3x7pd4.js → repository-ck8hq31j.js} +27 -27
- package/dist/chunks/{vcs-xcrax9b3.js → repository-cm490s5r.js} +20 -20
- package/dist/chunks/{vcs-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{vcs-ssfehs1z.js → repository-d2887f8n.js} +4 -4
- package/dist/chunks/{vcs-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{vcs-fw6nb5ck.js → repository-d68w9w8c.js} +34 -34
- package/dist/chunks/{vcs-ncgj4fsm.js → repository-d96fxdz4.js} +9 -9
- package/dist/chunks/{vcs-3kdbrncp.js → repository-dbmp929s.js} +5 -5
- package/dist/chunks/{vcs-yv133y3g.js → repository-dh9dmr4q.js} +329 -329
- package/dist/chunks/{vcs-dzfs5b6c.js → repository-dpgr420w.js} +8 -8
- package/dist/chunks/{vcs-5ww8zx74.js → repository-dsk9ctag.js} +6 -3
- package/dist/chunks/{vcs-g9c34x6f.js → repository-dsxmp27p.js} +14 -14
- package/dist/chunks/{vcs-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{vcs-893ry4nt.js → repository-dvet5ash.js} +13 -13
- package/dist/chunks/{vcs-drmc7326.js → repository-dwmchd07.js} +13 -13
- package/dist/chunks/{vcs-hdfbhhjq.js → repository-dym6dez5.js} +13 -13
- package/dist/chunks/{vcs-jnxh9bnf.js → repository-dz5kpwyf.js} +25 -25
- package/dist/chunks/{vcs-e834z07m.js → repository-e834z07m.js} +1 -1
- package/dist/chunks/{vcs-3sdek3b3.js → repository-e8rkqp2f.js} +58 -58
- package/dist/chunks/{vcs-n39rwvas.js → repository-eag44dyn.js} +1 -1
- package/dist/chunks/{vcs-qgj2y09a.js → repository-ectwy8nt.js} +5 -5
- package/dist/chunks/{vcs-sbanjb5j.js → repository-ehfhc1vp.js} +11 -11
- package/dist/chunks/{vcs-a2jzevxz.js → repository-ektnw284.js} +16 -16
- package/dist/chunks/{vcs-9qdswjvr.js → repository-ems0zhva.js} +12 -12
- package/dist/chunks/{vcs-h9cd45gd.js → repository-esd0f7sy.js} +20 -20
- package/dist/chunks/{vcs-nahhmz6x.js → repository-etamvy03.js} +16 -16
- package/dist/chunks/{vcs-kvkehzzy.js → repository-exd6sskf.js} +11 -11
- package/dist/chunks/{vcs-wx1qd37n.js → repository-fcevtanz.js} +11 -11
- package/dist/chunks/{vcs-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
- package/dist/chunks/{vcs-fg9p65nk.js → repository-fg9p65nk.js} +2 -2
- package/dist/chunks/{vcs-961rs8be.js → repository-fnn8wx3k.js} +12 -12
- package/dist/chunks/{vcs-jxt3q3kf.js → repository-g4wje5yf.js} +11 -11
- package/dist/chunks/{vcs-drvbhkez.js → repository-g6dfma3d.js} +6 -6
- package/dist/chunks/{vcs-m3dz0tc2.js → repository-g9b1jkrx.js} +32 -32
- package/dist/chunks/{vcs-42qb5rv4.js → repository-gadvwfpz.js} +24 -24
- package/dist/chunks/{vcs-tq4ca257.js → repository-gbafzqgw.js} +25 -25
- package/dist/chunks/{vcs-gg8p9cgs.js → repository-gg8p9cgs.js} +3 -3
- package/dist/chunks/{vcs-82j41amh.js → repository-gtbhcp1b.js} +4 -4
- package/dist/chunks/{vcs-1kn6jdkn.js → repository-gtn9c16a.js} +4 -4
- package/dist/chunks/{vcs-8f2h6hsz.js → repository-gvvhvz2q.js} +14 -14
- package/dist/chunks/{vcs-rvr8sh1j.js → repository-h1rcny21.js} +11 -11
- package/dist/chunks/{vcs-aecr8kmf.js → repository-hez1w8bb.js} +39 -39
- package/dist/chunks/{vcs-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
- package/dist/chunks/{vcs-vzmjdaw1.js → repository-hs9b4b47.js} +9 -9
- package/dist/chunks/{vcs-4zjf7cy2.js → repository-j10bffxc.js} +20 -20
- package/dist/chunks/{vcs-9yhxtcx8.js → repository-jcrsb2we.js} +9 -9
- package/dist/chunks/{vcs-jfaecv01.js → repository-jfaecv01.js} +1 -1
- package/dist/chunks/{vcs-96tdjhwb.js → repository-jgcte78g.js} +2 -2
- package/dist/chunks/{vcs-8axx4zpa.js → repository-jkfm927m.js} +12 -12
- package/dist/chunks/{vcs-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
- package/dist/chunks/{vcs-1xxgzegw.js → repository-jz3hgwrm.js} +4 -4
- package/dist/chunks/{vcs-8cr8ejqg.js → repository-k0h7zcy3.js} +8 -8
- package/dist/chunks/{vcs-56exsq7y.js → repository-k1qkeqm0.js} +11 -11
- package/dist/chunks/{vcs-k814nvkf.js → repository-k814nvkf.js} +1 -1
- package/dist/chunks/{vcs-acqpw5y2.js → repository-k8sh24kp.js} +32 -29
- package/dist/chunks/{vcs-4m6wdh0q.js → repository-k93f34r6.js} +14 -14
- package/dist/chunks/{vcs-g67k3az8.js → repository-kex0kwh3.js} +20 -20
- package/dist/chunks/{vcs-96a4eq0m.js → repository-kjrf1av9.js} +27 -27
- package/dist/chunks/{vcs-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{vcs-eke9g6w2.js → repository-m0hczx0h.js} +15 -15
- package/dist/chunks/{vcs-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{vcs-hfgk9wzg.js → repository-m37sd98t.js} +4 -4
- package/dist/chunks/{vcs-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-k6d7f0h0.js → repository-mh6czyn0.js} +33 -33
- package/dist/chunks/{vcs-p5t3gg5q.js → repository-mjyzwzry.js} +11 -11
- package/dist/chunks/{vcs-8e8fnv13.js → repository-mkc3d31y.js} +41 -41
- package/dist/chunks/{vcs-4xy4nqvy.js → repository-mpaxnys6.js} +14 -14
- package/dist/chunks/{vcs-079ccags.js → repository-ms02w4bg.js} +5 -5
- package/dist/chunks/{vcs-4m86bj6y.js → repository-myztnk54.js} +24 -0
- package/dist/chunks/{vcs-0d5zdg09.js → repository-n4zn000z.js} +4 -4
- package/dist/chunks/{vcs-vbhy04yp.js → repository-n7wnam13.js} +8 -8
- package/dist/chunks/{vcs-5x26af84.js → repository-nf3nsvxh.js} +4 -4
- package/dist/chunks/{vcs-7vva77b5.js → repository-nf4jh0jx.js} +27 -27
- package/dist/chunks/repository-nh4v3znn.js +36 -0
- package/dist/chunks/{vcs-dxqpfg1f.js → repository-nhs8pjpx.js} +94 -94
- package/dist/chunks/{vcs-9s8mp9xy.js → repository-nkwqs6wb.js} +6 -6
- package/dist/chunks/{vcs-jbzt06de.js → repository-nscwgnf9.js} +73 -73
- package/dist/chunks/{vcs-jc512s3p.js → repository-nwyfjcs7.js} +8 -8
- package/dist/chunks/{vcs-p015t6z3.js → repository-p015t6z3.js} +2 -2
- package/dist/chunks/{vcs-gcc564ca.js → repository-p16d4jds.js} +51 -51
- package/dist/chunks/{vcs-f3t04jjg.js → repository-p91eqx64.js} +7 -7
- package/dist/chunks/{vcs-t9rnzgt8.js → repository-p9pswzjx.js} +9 -9
- package/dist/chunks/{vcs-shhgqsar.js → repository-pg5757gf.js} +30 -30
- package/dist/chunks/{vcs-tzz7d8n9.js → repository-phy9rbgr.js} +79 -79
- package/dist/chunks/{vcs-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-dc473hq1.js → repository-pkvxjntv.js} +26 -26
- package/dist/chunks/{vcs-8rgb2cvr.js → repository-pnwsrq7c.js} +11 -11
- package/dist/chunks/{vcs-hznj66aq.js → repository-ptht14fh.js} +45 -45
- package/dist/chunks/{vcs-sp5gwvgy.js → repository-ptkgc041.js} +17 -17
- package/dist/chunks/{vcs-4qnt9348.js → repository-pyv44sw6.js} +11 -11
- package/dist/chunks/{vcs-jhrp8x7n.js → repository-q9z0p7gh.js} +16 -16
- package/dist/chunks/{vcs-dzcfjmec.js → repository-qbcktyw0.js} +19 -19
- package/dist/chunks/{vcs-rdssdv87.js → repository-qcb8jahv.js} +34 -34
- package/dist/chunks/{vcs-ede588cb.js → repository-qdvp98ce.js} +5 -5
- package/dist/chunks/{vcs-7jk9ktw7.js → repository-qf65b5pw.js} +42 -42
- package/dist/chunks/{vcs-swjc4wgc.js → repository-qk7rmbj1.js} +8 -8
- package/dist/chunks/{vcs-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{vcs-c6x7d2ts.js → repository-qqg9c0kv.js} +4 -4
- package/dist/chunks/{vcs-zgf2rtvh.js → repository-qt5bw9qd.js} +5 -5
- package/dist/chunks/{vcs-jpf9vszk.js → repository-qwcynr2z.js} +35 -35
- package/dist/chunks/{vcs-r0yr0wbs.js → repository-r0yr0wbs.js} +1 -1
- package/dist/chunks/{vcs-5enarcya.js → repository-r41sfy63.js} +9 -9
- package/dist/chunks/{vcs-r542h3bh.js → repository-r542h3bh.js} +1 -1
- package/dist/chunks/{vcs-rnvx41re.js → repository-r5tkst50.js} +48 -48
- package/dist/chunks/{vcs-k9zkdd2y.js → repository-r94gekwm.js} +4 -4
- package/dist/chunks/{vcs-q85rya1m.js → repository-ra34yqmw.js} +6 -6
- package/dist/chunks/{vcs-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/repository-rgzggw2r.js +33 -0
- package/dist/chunks/{vcs-rvnzb7rd.js → repository-rnd635dt.js} +11 -11
- package/dist/chunks/{vcs-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
- package/dist/chunks/{vcs-9nxy5s5f.js → repository-rw7j67zp.js} +8 -8
- package/dist/chunks/{vcs-y2syk0h5.js → repository-s0dcwz21.js} +10 -10
- package/dist/chunks/{vcs-2660epmj.js → repository-s5b0caas.js} +11 -11
- package/dist/chunks/{vcs-s7gmm2q3.js → repository-s7gmm2q3.js} +3 -3
- package/dist/chunks/{vcs-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
- package/dist/chunks/{vcs-911083wy.js → repository-sdb8g23r.js} +15 -15
- package/dist/chunks/{vcs-2evsnrbc.js → repository-se71yjgd.js} +32 -32
- package/dist/chunks/{vcs-ehm90j5g.js → repository-sjnxn81j.js} +6 -6
- package/dist/chunks/{vcs-mp9ebvmh.js → repository-snn1b1cz.js} +12 -12
- package/dist/chunks/{vcs-sqjzf8x2.js → repository-sqjzf8x2.js} +1 -1
- package/dist/chunks/{vcs-dw6yk4g4.js → repository-ssv9vbjn.js} +19 -19
- package/dist/chunks/{vcs-bh6hwh25.js → repository-sv3cbmwn.js} +5 -5
- package/dist/chunks/{vcs-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{vcs-1941k5sj.js → repository-swe5sap9.js} +32 -32
- package/dist/chunks/{vcs-9d4562qa.js → repository-swv5h1tw.js} +20 -20
- package/dist/chunks/{vcs-nhenvrcv.js → repository-sx391g08.js} +12 -12
- package/dist/chunks/{vcs-zac84x8b.js → repository-t6tqz55s.js} +3 -3
- package/dist/chunks/{vcs-mr1t2pzq.js → repository-tbkdp4xy.js} +27 -27
- package/dist/chunks/{vcs-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{vcs-s11q4rn7.js → repository-tgcnwcew.js} +8 -8
- package/dist/chunks/{vcs-2qr4rt5k.js → repository-ts7mkfs9.js} +3 -3
- package/dist/chunks/{vcs-kvnh73qb.js → repository-tsk01jw9.js} +11 -11
- package/dist/chunks/{vcs-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{vcs-prjhwpt4.js → repository-v1vf4bjp.js} +8 -8
- package/dist/chunks/{vcs-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{vcs-nrtygxmh.js → repository-vaq1yek0.js} +6 -6
- package/dist/chunks/{vcs-x22fevgm.js → repository-vb2gkw1m.js} +33 -33
- package/dist/chunks/{vcs-jcqm84fr.js → repository-vrcsa8qx.js} +9 -9
- package/dist/chunks/{vcs-pzf76rrq.js → repository-vs1fx8n5.js} +32 -32
- package/dist/chunks/{vcs-b8zfksyw.js → repository-vz9e3ctc.js} +12 -12
- package/dist/chunks/{vcs-svxc5mk7.js → repository-w1j2qcct.js} +24 -24
- package/dist/chunks/{vcs-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-w687dnns.js → repository-w687dnns.js} +1 -1
- package/dist/chunks/{vcs-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-2v478qgw.js → repository-wde7vnje.js} +34 -34
- package/dist/chunks/{vcs-4pnypb5f.js → repository-wdmx20pv.js} +5 -5
- package/dist/chunks/{vcs-vj5jshb9.js → repository-we470cqt.js} +16 -16
- package/dist/chunks/{vcs-hrf8w9bv.js → repository-werc16xm.js} +24 -18
- package/dist/chunks/{vcs-10wj17tq.js → repository-wkjtf16h.js} +21 -21
- package/dist/chunks/{vcs-kkmrs84d.js → repository-wmgx0dmg.js} +16 -16
- package/dist/chunks/{vcs-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
- package/dist/chunks/{vcs-e515nszc.js → repository-wrf4qw91.js} +12 -12
- package/dist/chunks/{vcs-3br35akn.js → repository-wvpmhz6e.js} +14 -14
- package/dist/chunks/{vcs-k1cjxzzv.js → repository-x5kjwm05.js} +15 -15
- package/dist/chunks/{vcs-497mjgh5.js → repository-x62nhpqw.js} +28 -28
- package/dist/chunks/{vcs-fne85w7v.js → repository-x9mcs5as.js} +4 -4
- package/dist/chunks/{vcs-rc3e9zq8.js → repository-xa7geska.js} +26 -26
- package/dist/chunks/{vcs-rb35zdj3.js → repository-xck40x38.js} +6 -6
- package/dist/chunks/{vcs-jd4h7jwf.js → repository-xgv24g03.js} +27 -27
- package/dist/chunks/{vcs-sfxc8tsc.js → repository-xj7pfj7j.js} +21 -21
- package/dist/chunks/{vcs-zsd8tnyx.js → repository-xpx9qcwm.js} +14 -14
- package/dist/chunks/{vcs-ph7et01j.js → repository-y21mv437.js} +22 -22
- package/dist/chunks/{vcs-chc0g785.js → repository-y50d8q8d.js} +5 -5
- package/dist/chunks/{vcs-41w1qpn3.js → repository-y624qwvn.js} +9 -9
- package/dist/chunks/{vcs-yara3q77.js → repository-yara3q77.js} +2 -2
- package/dist/chunks/{vcs-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{vcs-9a3x2kz4.js → repository-yckfh1kh.js} +13 -13
- package/dist/chunks/{vcs-z9wg9fq4.js → repository-ycywz2xw.js} +14 -14
- package/dist/chunks/{vcs-ts41tt44.js → repository-ydpqsc0x.js} +18 -18
- package/dist/chunks/{vcs-ckvzbjwj.js → repository-ye2mws6y.js} +25 -25
- package/dist/chunks/{vcs-y2hjk6xz.js → repository-ym290evk.js} +12 -12
- package/dist/chunks/{vcs-m7xh3h0x.js → repository-yqveydy6.js} +4 -4
- package/dist/chunks/{vcs-834xe486.js → repository-ywm3m9q2.js} +9 -9
- package/dist/chunks/{vcs-z38nccrw.js → repository-z38nccrw.js} +1 -1
- package/dist/chunks/{vcs-4jvymcr5.js → repository-z6y50tdx.js} +9 -9
- package/dist/chunks/repository-z7bdqmx5.js +18 -0
- package/dist/chunks/{vcs-p2esgkzz.js → repository-za5evj2v.js} +3 -3
- package/dist/chunks/{vcs-9z9tayqc.js → repository-zgd8t41s.js} +9 -9
- package/dist/chunks/{vcs-w3ghn6yx.js → repository-zqeyh3pg.js} +4 -4
- package/dist/chunks/{vcs-ce5fknq2.js → repository-zw4pk1bw.js} +5 -5
- 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 +90 -89
- package/dist/config/discovery.js +91 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -107
- package/dist/config/plugin/agent.js +124 -123
- package/dist/config/plugin/command.js +222 -221
- package/dist/config/plugin/compaction.js +163 -162
- package/dist/config/plugin/compatibility.js +143 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -122
- package/dist/config/plugin/image.js +122 -121
- package/dist/config/plugin/instruction.js +122 -121
- package/dist/config/plugin/location-watcher.js +122 -121
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +124 -123
- package/dist/config/plugin/shell.js +124 -123
- package/dist/config/plugin/skill-file.js +139 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -145
- package/dist/config/plugin/snapshot.js +122 -121
- package/dist/config/plugin/source.js +125 -124
- package/dist/config/plugin/tool-output.js +123 -122
- package/dist/config/plugin/websearch.js +123 -122
- package/dist/config/plugin/worktree.js +124 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -89
- package/dist/database/database.js +73 -72
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +6 -0
- package/dist/database/migration.gen.js +56 -55
- package/dist/database/migration.js +58 -57
- 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 +96 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +378 -377
- 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 +102 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -80
- package/dist/file-access.js +149 -148
- package/dist/file-mutation.js +103 -102
- 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/file-watch.js +87 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +233 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +113 -112
- package/dist/form.js +83 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -95
- package/dist/generate.js +116 -115
- package/dist/git.js +11 -11
- 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 +100 -99
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +369 -368
- package/dist/instruction-discovery.js +91 -90
- package/dist/instructions/builtins.js +96 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -91
- package/dist/job.js +85 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -79
- package/dist/location-activity.js +167 -166
- package/dist/location-lifecycle.js +143 -142
- package/dist/location-service-map.js +95 -94
- package/dist/location-services.js +366 -365
- package/dist/location.js +94 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -99
- package/dist/mcp/index.js +116 -115
- package/dist/mcp/instructions.js +169 -168
- package/dist/mcp/oauth.js +85 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -99
- package/dist/model-resolver.js +108 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +140 -139
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -81
- package/dist/plugin/agent.js +83 -82
- package/dist/plugin/command.js +111 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +339 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -105
- package/dist/plugin/module.js +124 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +139 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -98
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
- package/dist/plugin/provider/configured.js +118 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -103
- package/dist/plugin/provider/gitlab.js +102 -101
- package/dist/plugin/provider/google-vertex.js +119 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -84
- package/dist/plugin/provider/lmstudio.js +129 -128
- package/dist/plugin/provider/local.js +128 -127
- package/dist/plugin/provider/modal.js +101 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -130
- package/dist/plugin/provider/openai-context-caps.js +99 -98
- package/dist/plugin/provider/openai.js +124 -123
- package/dist/plugin/provider/opencode.js +125 -124
- package/dist/plugin/provider/openrouter.js +100 -99
- package/dist/plugin/provider/poe.js +86 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -120
- package/dist/plugin/provider/vllm.js +131 -130
- package/dist/plugin/provider/xai.js +100 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -171
- package/dist/plugin/sdk.js +79 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -94
- package/dist/plugin/vcs/hg.js +95 -94
- package/dist/plugin/verbosity.js +102 -101
- package/dist/plugin/warming.js +120 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +237 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -92
- package/dist/provider.js +106 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -104
- package/dist/reference/instructions.js +93 -92
- package/dist/reference.js +99 -98
- package/dist/repository-cache.js +89 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +104 -103
- package/dist/rpc.js +95 -94
- package/dist/schedule/sql.js +11 -0
- package/dist/schedule.js +556 -0
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +121 -120
- package/dist/session/command.js +81 -80
- package/dist/session/compaction.js +163 -162
- package/dist/session/context.js +189 -188
- package/dist/session/diff.js +97 -96
- 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 +232 -231
- package/dist/session/execution.js +153 -152
- package/dist/session/generate.js +189 -188
- package/dist/session/history.js +128 -127
- package/dist/session/inbox.js +139 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -156
- package/dist/session/projector.js +135 -134
- package/dist/session/prompt.js +141 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +239 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -108
- package/dist/session/runner/publish-llm-event.js +142 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +155 -154
- package/dist/session/runner/to-llm-message.js +129 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +173 -172
- package/dist/session/shell.js +136 -135
- package/dist/session/skill.js +140 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -79
- package/dist/session/store.js +134 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -192
- package/dist/session/to-session-error.js +141 -140
- package/dist/session/transfer.js +228 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +224 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +138 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -143
- package/dist/skill.js +149 -148
- package/dist/snapshot.js +100 -99
- 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 +166 -165
- package/dist/tool/plugin/edit.js +157 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -160
- package/dist/tool/plugin/grep.js +161 -160
- package/dist/tool/plugin/mcp-resource.js +155 -154
- package/dist/tool/plugin/opencode.js +154 -153
- package/dist/tool/plugin/patch.js +159 -158
- package/dist/tool/plugin/question.js +139 -138
- package/dist/tool/plugin/read.js +162 -161
- package/dist/tool/plugin/shell.js +225 -224
- package/dist/tool/plugin/skill.js +150 -149
- package/dist/tool/plugin/subagent.js +227 -226
- package/dist/tool/plugin/todo.js +146 -145
- package/dist/tool/plugin/webfetch.js +150 -149
- package/dist/tool/plugin/websearch.js +144 -143
- package/dist/tool/plugin/write.js +155 -154
- package/dist/tool/read-filesystem.js +109 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/database/migration/20261026223005_schedule.d.ts +3 -0
- package/dist/types/schedule/sql.d.ts +298 -0
- package/dist/types/schedule.d.ts +129 -0
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/usage-limits.js +96 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -100
- 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 +100 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -97
- package/dist/voice.js +97 -96
- package/dist/websearch.js +91 -90
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -97
- package/dist/worktree.js +105 -104
- package/package.json +8 -8
- package/dist/chunks/vcs-5272mb2r.js +0 -257
- package/dist/chunks/vcs-ev660z6k.js +0 -18
- /package/dist/chunks/{vcs-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1jakw16s.js → repository-1jakw16s.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → repository-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a058387c.js → repository-a058387c.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-ncqqe42p.js → repository-ncqqe42p.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service35, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service35, makeLayer2, layer14, node38, exports_model_transport };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5107fk2n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./repository-jcrsb2we.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-z7bdqmx5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service74
|
|
15
|
+
} from "./repository-n7wnam13.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-5kgs3fk1.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-nkwqs6wb.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service67
|
|
30
|
+
} from "./repository-bpa6my4e.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service74;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service67;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
141
141
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
142
142
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
143
143
|
return { data: Base64.make(data), mime };
|
|
144
|
-
const image = yield*
|
|
144
|
+
const image = yield* Service49;
|
|
145
145
|
const label = attachmentLabel(input);
|
|
146
146
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
147
147
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./repository-vz9e3ctc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event20
|
|
6
|
+
} from "./repository-4esa3dv6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID14
|
|
9
|
+
} from "./repository-5jv51wq9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./repository-k8sh24kp.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
21
21
|
var OpenAIContextCapsPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.openai-context-caps",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const bus = yield*
|
|
24
|
+
const bus = yield* Service85;
|
|
25
25
|
let signedIn = false;
|
|
26
26
|
const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
|
|
27
27
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID13.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-gtn9c16a.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-6pzctp9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service36,
|
|
12
12
|
node39
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-a4sx5s4k.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-vb2gkw1m.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer11,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -65,13 +65,13 @@ var update = (previous, current) => {
|
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
class
|
|
68
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
const mcp = yield*
|
|
72
|
-
return
|
|
70
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
71
|
+
const mcp = yield* Service36;
|
|
72
|
+
return Service27.of({
|
|
73
73
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make22({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -98,6 +98,6 @@ var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
98
98
|
})
|
|
99
99
|
});
|
|
100
100
|
}));
|
|
101
|
-
var
|
|
101
|
+
var node31 = makeLocationNode({ service: Service27, layer: layer11, deps: [node39] });
|
|
102
102
|
|
|
103
|
-
export {
|
|
103
|
+
export { Service27, layer11, node31, exports_instructions3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./repository-s0dcwz21.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-ts7mkfs9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service60,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node63
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service60 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service76;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +343,7 @@ var make23 = Effect.gen(function* () {
|
|
|
343
343
|
next.delete(entry[0]);
|
|
344
344
|
return next;
|
|
345
345
|
})));
|
|
346
|
-
return
|
|
346
|
+
return Service60.of({
|
|
347
347
|
get,
|
|
348
348
|
start,
|
|
349
349
|
wait,
|
|
@@ -356,7 +356,7 @@ var make23 = Effect.gen(function* () {
|
|
|
356
356
|
completeBackground
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
359
|
+
var layer = Layer.effect(Service60, make19);
|
|
360
|
+
var node63 = makeGlobalNode({ service: Service60, layer, deps: [node80] });
|
|
361
361
|
|
|
362
|
-
export {
|
|
362
|
+
export { Service60, make19, node63, exports_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./repository-abs1shnw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./repository-8enexpz6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin37 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service72;
|
|
27
|
+
const snapshot = yield* Service40;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_snapshot };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-1mde9y8f.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service84
|
|
7
|
+
} from "./repository-4esa3dv6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-5jv51wq9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-k8sh24kp.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service84;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./repository-q9z0p7gh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./repository-abs1shnw.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9n4vggc2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make4
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service72;
|
|
36
|
+
const watcher = yield* Service73;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./repository-ycywz2xw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./repository-6pzctp9a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service80;
|
|
57
|
+
const permission = yield* Service68;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name15, description6,
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-m37sd98t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|