@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,112 +1,112 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-5107fk2n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-gvvhvz2q.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./repository-0evha2wn.js";
|
|
15
15
|
import {
|
|
16
16
|
ID10,
|
|
17
17
|
Service71,
|
|
18
18
|
node75
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-82zcwhsx.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-5kgs3fk1.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-gtn9c16a.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-z6y50tdx.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service69,
|
|
31
|
+
node73
|
|
32
|
+
} from "./repository-snn1b1cz.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-6pzctp9a.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make14
|
|
38
|
+
} from "./repository-7n5hdcgz.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
node61
|
|
42
|
-
} from "./vcs-kam05h7r.js";
|
|
43
|
-
import {
|
|
44
|
-
Service40,
|
|
40
|
+
Service41,
|
|
45
41
|
node44
|
|
46
|
-
} from "./
|
|
47
|
-
import {
|
|
48
|
-
Service46,
|
|
49
|
-
node49
|
|
50
|
-
} from "./vcs-jnxh9bnf.js";
|
|
42
|
+
} from "./repository-1apn0a4c.js";
|
|
51
43
|
import {
|
|
52
44
|
Service33,
|
|
53
|
-
node37
|
|
54
|
-
} from "./vcs-x22fevgm.js";
|
|
55
|
-
import {
|
|
56
|
-
Service32,
|
|
57
45
|
node36
|
|
58
|
-
} from "./
|
|
46
|
+
} from "./repository-wmgx0dmg.js";
|
|
47
|
+
import {
|
|
48
|
+
Service48,
|
|
49
|
+
node51
|
|
50
|
+
} from "./repository-dz5kpwyf.js";
|
|
59
51
|
import {
|
|
60
|
-
|
|
52
|
+
Service28,
|
|
53
|
+
node32
|
|
54
|
+
} from "./repository-vb2gkw1m.js";
|
|
55
|
+
import {
|
|
56
|
+
Service27,
|
|
57
|
+
node31
|
|
58
|
+
} from "./repository-esd0f7sy.js";
|
|
59
|
+
import {
|
|
60
|
+
Service37,
|
|
61
61
|
node40
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./repository-0av5441t.js";
|
|
63
|
+
import {
|
|
64
|
+
Service30,
|
|
65
|
+
node34
|
|
66
|
+
} from "./repository-swv5h1tw.js";
|
|
63
67
|
import {
|
|
64
68
|
Service31,
|
|
65
69
|
node35
|
|
66
|
-
} from "./
|
|
70
|
+
} from "./repository-m0hczx0h.js";
|
|
67
71
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
71
|
-
import {
|
|
72
|
-
Service38,
|
|
73
|
-
node42
|
|
74
|
-
} from "./vcs-hnyptrnw.js";
|
|
72
|
+
Service34,
|
|
73
|
+
node37
|
|
74
|
+
} from "./repository-9nzgnp4r.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service45,
|
|
77
|
+
node47
|
|
78
|
+
} from "./repository-wvpmhz6e.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./repository-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service26,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node30
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service26 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
94
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
95
95
|
const agents = yield* Service71;
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
96
|
+
const builtins = yield* Service33;
|
|
97
|
+
const model = yield* Service77;
|
|
98
98
|
const db = (yield* Service86).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service41;
|
|
100
|
+
const entries = yield* Service31;
|
|
101
|
+
const location = yield* Service81;
|
|
102
|
+
const mcpInstructions = yield* Service27;
|
|
103
|
+
const mcpTools = yield* Service28;
|
|
104
|
+
const models = yield* Service45;
|
|
105
|
+
const request = yield* Service34;
|
|
106
|
+
const referenceInstructions = yield* Service37;
|
|
107
|
+
const skillInstructions = yield* Service30;
|
|
108
|
+
const store = yield* Service69;
|
|
109
|
+
const registry = yield* Service48;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
112
|
const agent = yield* agents.get(ID10.make("title"));
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make14(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service26.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node30 = makeLocationNode({
|
|
203
|
+
service: Service26,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
206
|
node75,
|
|
207
|
-
|
|
207
|
+
node81,
|
|
208
208
|
node90,
|
|
209
|
-
node44,
|
|
210
|
-
node61,
|
|
211
|
-
node41,
|
|
212
|
-
node84,
|
|
213
209
|
node36,
|
|
214
|
-
|
|
215
|
-
node40,
|
|
216
|
-
node58,
|
|
217
|
-
node42,
|
|
218
|
-
node69,
|
|
210
|
+
node44,
|
|
219
211
|
node35,
|
|
220
|
-
|
|
212
|
+
node85,
|
|
213
|
+
node31,
|
|
214
|
+
node32,
|
|
215
|
+
node40,
|
|
216
|
+
node47,
|
|
217
|
+
node37,
|
|
218
|
+
node73,
|
|
219
|
+
node34,
|
|
220
|
+
node51
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service26, node30, exports_context };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./repository-w1j2qcct.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-yckfh1kh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./repository-sdb8g23r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./repository-6pzctp9a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./repository-2ytvyz2d.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
29
|
Output: () => Output7,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name11,
|
|
33
33
|
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -49,23 +49,23 @@ var Output7 = Schema.Struct({
|
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin12 = {
|
|
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* Service14;
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service65;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
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:
|
|
68
|
+
input: Input11,
|
|
69
69
|
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent5, Plugin12, exports_write };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./repository-9q8g9sv8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info18
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info19)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info18, exports_agent4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./repository-5jv51wq9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./repository-k8sh24kp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service51,
|
|
23
|
+
node54
|
|
24
|
+
} from "./repository-jkfm927m.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service77,
|
|
30
|
+
node81,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-0evha2wn.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./repository-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer21,
|
|
52
|
+
node: () => node53,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
|
67
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID13,
|
|
71
|
+
modelID: ID12,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
|
-
providerID:
|
|
81
|
-
modelID:
|
|
80
|
+
providerID: ID13,
|
|
81
|
+
modelID: ID12,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
|
-
providerID:
|
|
92
|
-
modelID:
|
|
91
|
+
providerID: ID13,
|
|
92
|
+
modelID: ID12,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID13,
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID13,
|
|
115
|
+
modelID: ID12,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
|
-
providerID:
|
|
125
|
-
modelID:
|
|
124
|
+
providerID: ID13,
|
|
125
|
+
modelID: ID12,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service50 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
265
265
|
return tokenSettings(specifier, credential.access);
|
|
266
266
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
267
267
|
return { auth: "sigv4" };
|
|
268
|
-
if (model.providerID ===
|
|
268
|
+
if (model.providerID === ID13.azure)
|
|
269
269
|
return tokenSettings(specifier, "azure-cli");
|
|
270
270
|
return {};
|
|
271
271
|
};
|
|
@@ -300,19 +300,19 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer21 = Layer.effect(Service50, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service78;
|
|
305
|
+
const models = yield* Service77;
|
|
306
|
+
const integrations = yield* Service79;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service51;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
312
312
|
};
|
|
313
313
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
314
314
|
const provider = yield* providers.get(selected.providerID);
|
|
315
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
315
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
316
316
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
317
317
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
318
318
|
const runtimeInfo = {
|
|
@@ -348,7 +348,7 @@ var layer26 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service50.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -371,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
371
371
|
const name = packageName2(packageName);
|
|
372
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
service:
|
|
376
|
-
layer:
|
|
377
|
-
deps: [
|
|
374
|
+
var node53 = makeLocationNode({
|
|
375
|
+
service: Service50,
|
|
376
|
+
layer: layer21,
|
|
377
|
+
deps: [node82, node81, node83, Npm.node, node54]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node53, exports_model_resolver };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-1mde9y8f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./repository-vz9e3ctc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./repository-4esa3dv6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-5jv51wq9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./repository-k8sh24kp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-0evha2wn.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service85;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|