@opencode/core 0.0.0-dev-21631 → 0.0.0-dev-21641
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +3 -3
- package/dist/bus.js +71 -71
- package/dist/chunks/{workspace-kqf87fk8.js → instance-00v81f22.js} +23 -23
- package/dist/chunks/{workspace-py5bb3qg.js → instance-019pepzp.js} +6 -6
- package/dist/chunks/{workspace-3wmzcy16.js → instance-01trdk4e.js} +1 -1
- package/dist/chunks/{workspace-034tev2y.js → instance-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-avpraz00.js → instance-03rv3xxr.js} +45 -45
- package/dist/chunks/{workspace-tpm1qpxt.js → instance-0421tmwc.js} +9 -9
- package/dist/chunks/{workspace-tgqd2fy6.js → instance-057a905h.js} +22 -22
- package/dist/chunks/{workspace-7j753ka9.js → instance-062ja7nb.js} +21 -21
- package/dist/chunks/{workspace-gjzbapea.js → instance-07pgb3x5.js} +4 -4
- package/dist/chunks/{workspace-dk5xnaxx.js → instance-0p88zpcm.js} +4 -4
- package/dist/chunks/{workspace-bx934t5c.js → instance-0pv52n9j.js} +12 -12
- package/dist/chunks/{workspace-vjeddzcj.js → instance-0rvbv8dn.js} +9 -9
- package/dist/chunks/{workspace-5crety7g.js → instance-0ss1ygn7.js} +3 -3
- package/dist/chunks/{workspace-9djkex7c.js → instance-0t1mekc8.js} +8 -8
- package/dist/chunks/{workspace-n0tvgbk4.js → instance-10kkr2v5.js} +11 -11
- package/dist/chunks/{workspace-2jq4ff38.js → instance-184a1rnm.js} +7 -7
- package/dist/chunks/{workspace-gcjdgkn2.js → instance-18g90bpv.js} +9 -9
- package/dist/chunks/{workspace-1ep2p91f.js → instance-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-r9ycgn4k.js → instance-1narx8j0.js} +9 -9
- package/dist/chunks/{workspace-1x2knyw4.js → instance-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-q86pf388.js → instance-21eye7vx.js} +46 -46
- package/dist/chunks/{workspace-xtr5ejb8.js → instance-263kv34p.js} +27 -27
- package/dist/chunks/{workspace-bqwdyg2t.js → instance-26qqh6c2.js} +9 -9
- package/dist/chunks/{workspace-6qbtkmgq.js → instance-29fq8x7w.js} +23 -23
- package/dist/chunks/{workspace-mb90wd2d.js → instance-2e0h6wjp.js} +23 -23
- package/dist/chunks/{workspace-w9geygzy.js → instance-2xjd1gex.js} +45 -45
- package/dist/chunks/{workspace-2z1j29yd.js → instance-2z1j29yd.js} +1 -1
- package/dist/chunks/{workspace-gpnxvr2a.js → instance-2zj16vbw.js} +6 -6
- package/dist/chunks/{workspace-qwn3jvah.js → instance-39x48ya0.js} +16 -16
- package/dist/chunks/{workspace-dcdr9dg7.js → instance-3dfnask5.js} +6 -6
- package/dist/chunks/{workspace-gc7zkq2j.js → instance-3g836nb0.js} +15 -15
- package/dist/chunks/{workspace-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-tmc7xdjs.js → instance-3nnrz6f6.js} +4 -4
- package/dist/chunks/{workspace-as4kdtne.js → instance-3tfzn32a.js} +7 -7
- package/dist/chunks/{workspace-dhndgb5g.js → instance-40d435vb.js} +5 -5
- package/dist/chunks/{workspace-amv93mrg.js → instance-4h8x6jdk.js} +14 -14
- package/dist/chunks/{workspace-kncbdffz.js → instance-4jwczs9z.js} +11 -11
- package/dist/chunks/{workspace-9tvpxs1q.js → instance-4tqs0jzk.js} +4 -4
- package/dist/chunks/{workspace-4v008n1t.js → instance-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-sh8baf55.js → instance-4w3nch3z.js} +15 -15
- package/dist/chunks/{workspace-4xvmh7wp.js → instance-4xvmh7wp.js} +3 -3
- package/dist/chunks/{workspace-wvsk6hkh.js → instance-4z5wzpcn.js} +7 -7
- package/dist/chunks/{workspace-1wct354y.js → instance-5dnx8fh9.js} +11 -11
- package/dist/chunks/{workspace-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-cwyfam04.js → instance-5mjn8n6s.js} +4 -4
- package/dist/chunks/{workspace-2hntn1k8.js → instance-5se3rbtp.js} +12 -12
- package/dist/chunks/{workspace-9jh1w38s.js → instance-5t0rc2x5.js} +11 -11
- package/dist/chunks/{workspace-x95sfgj8.js → instance-5t7qnrbf.js} +3 -3
- package/dist/chunks/{workspace-fbjqxkhq.js → instance-6285fq4d.js} +8 -8
- package/dist/chunks/{workspace-xbjtm4mb.js → instance-635rwy07.js} +81 -81
- package/dist/chunks/{workspace-d8wk2jpt.js → instance-643ga4pe.js} +56 -56
- package/dist/chunks/{workspace-ka3ebb26.js → instance-66a4zrw5.js} +10 -10
- package/dist/chunks/{workspace-6esdw8yj.js → instance-6esdw8yj.js} +1 -1
- package/dist/chunks/{workspace-6pjqjmy2.js → instance-6pjqjmy2.js} +1 -1
- package/dist/chunks/{workspace-5qjar1cd.js → instance-6wz3wy1g.js} +2 -2
- package/dist/chunks/{workspace-p9aj7t6q.js → instance-6xzp1e9z.js} +14 -14
- package/dist/chunks/instance-6zjm2phc.js +18 -0
- package/dist/chunks/{workspace-3nh05435.js → instance-71sd8a42.js} +1 -1
- package/dist/chunks/{workspace-76cb1hcw.js → instance-76cb1hcw.js} +1 -1
- package/dist/chunks/{workspace-nah043kf.js → instance-770pw0s1.js} +4 -4
- package/dist/chunks/{workspace-10nvmenf.js → instance-7772sstq.js} +28 -28
- package/dist/chunks/{workspace-gnqppa8v.js → instance-79ascwz8.js} +30 -30
- package/dist/chunks/{workspace-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-tdbp9pqc.js → instance-7h8n1k9e.js} +33 -33
- package/dist/chunks/{workspace-7w2ypzdf.js → instance-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-3kdbrncp.js → instance-7xg2jm5b.js} +5 -5
- package/dist/chunks/{workspace-rtq7m3w5.js → instance-8dqwvc3g.js} +43 -43
- package/dist/chunks/{workspace-w8xq4g1c.js → instance-8h479pk7.js} +4 -4
- package/dist/chunks/{workspace-5w9qrcma.js → instance-8jb2vj22.js} +14 -14
- package/dist/chunks/{workspace-fg9knja8.js → instance-8pw73atm.js} +4 -4
- package/dist/chunks/{workspace-n3mhfr60.js → instance-8rhgew23.js} +20 -20
- package/dist/chunks/{workspace-tasvem1v.js → instance-8sxdqgb0.js} +6 -6
- package/dist/chunks/{workspace-f5wtb4x0.js → instance-8w97pe4x.js} +11 -11
- package/dist/chunks/{workspace-8wtp7s3z.js → instance-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-1216qybz.js → instance-9150gt3p.js} +34 -34
- package/dist/chunks/{workspace-91rj84md.js → instance-91rj84md.js} +1 -1
- package/dist/chunks/{workspace-4rk46c4y.js → instance-932en0hc.js} +18 -18
- package/dist/chunks/{workspace-fk80w04t.js → instance-93pnaaqa.js} +40 -40
- package/dist/chunks/{workspace-geys63pa.js → instance-9622d4vt.js} +25 -25
- package/dist/chunks/{workspace-4hrd0f0s.js → instance-96has99t.js} +183 -183
- package/dist/chunks/{workspace-x6vkv6xs.js → instance-97pvg7tb.js} +7 -7
- package/dist/chunks/{workspace-998yhzzq.js → instance-998yhzzq.js} +3 -3
- package/dist/chunks/{workspace-4txypjtm.js → instance-9abypapv.js} +40 -40
- package/dist/chunks/{workspace-ty5gqdvp.js → instance-9e6f5ka6.js} +8 -8
- package/dist/chunks/{workspace-t1sb82cf.js → instance-9kfxcdfw.js} +2 -2
- package/dist/chunks/{workspace-scvn2zk3.js → instance-9kgv9zpv.js} +23 -23
- package/dist/chunks/{workspace-p1fymgqq.js → instance-9nmmcy3f.js} +7 -7
- package/dist/chunks/{workspace-wd1ggha8.js → instance-9qtzb502.js} +15 -15
- package/dist/chunks/{workspace-trnc4ezg.js → instance-9y5b6854.js} +13 -13
- package/dist/chunks/{workspace-m4smrk82.js → instance-9yw7q74z.js} +13 -13
- package/dist/chunks/{workspace-gphf8qkn.js → instance-a41wq1zg.js} +15 -15
- package/dist/chunks/{workspace-we1bjw9z.js → instance-a465j6ww.js} +8 -8
- package/dist/chunks/{workspace-hr99w7g5.js → instance-abbph779.js} +17 -17
- package/dist/chunks/{workspace-edxck1ff.js → instance-aef5n06x.js} +32 -32
- package/dist/chunks/{workspace-0x14psyd.js → instance-agyjn1qf.js} +37 -37
- package/dist/chunks/{workspace-wd649kc4.js → instance-aj7g8w0t.js} +24 -24
- package/dist/chunks/{workspace-c80g5ddr.js → instance-ak0aewvz.js} +17 -17
- package/dist/chunks/{workspace-vdcmvetk.js → instance-aq1tnhw0.js} +5 -5
- package/dist/chunks/{workspace-ayjs7tqn.js → instance-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-b0mv4wxm.js → instance-b0mv4wxm.js} +2 -2
- package/dist/chunks/{workspace-4hhqfxrb.js → instance-b3qt6n5e.js} +18 -18
- package/dist/chunks/{workspace-e48jzpsf.js → instance-b5szyexk.js} +18 -18
- package/dist/chunks/{workspace-b6vsg801.js → instance-b6vsg801.js} +2 -2
- package/dist/chunks/{workspace-ka29x1p3.js → instance-b7jk63p6.js} +17 -17
- package/dist/chunks/{workspace-f2zvcq77.js → instance-benw8c0p.js} +21 -21
- package/dist/chunks/{workspace-sphke738.js → instance-bgdafpbn.js} +50 -50
- package/dist/chunks/{workspace-ay6kp039.js → instance-bstch1wt.js} +4 -4
- package/dist/chunks/{workspace-xd9cc171.js → instance-bstexjd6.js} +5 -5
- package/dist/chunks/{workspace-0zcnfd18.js → instance-bw4xbwfn.js} +11 -11
- package/dist/chunks/{workspace-hzrfc1p4.js → instance-c2sed5cq.js} +2 -2
- package/dist/chunks/{workspace-3bnf6a24.js → instance-c3cfh5w6.js} +9 -9
- package/dist/chunks/{workspace-pm22z908.js → instance-c4ktk0av.js} +34 -34
- package/dist/chunks/{workspace-eyamc8wk.js → instance-c4wf1ysj.js} +16 -16
- package/dist/chunks/{workspace-7vpzw89w.js → instance-c9nxf8hy.js} +19 -19
- package/dist/chunks/{workspace-c9t2ty9q.js → instance-c9t2ty9q.js} +1 -1
- package/dist/chunks/{workspace-cjkc2yd9.js → instance-ccqcnw0e.js} +27 -27
- package/dist/chunks/{workspace-wr22rtgw.js → instance-cgwkqn27.js} +35 -35
- package/dist/chunks/{workspace-r4zhn8a3.js → instance-cs87y13h.js} +8 -8
- package/dist/chunks/{workspace-cq3z49j9.js → instance-cvg4qkkk.js} +32 -32
- package/dist/chunks/{workspace-7en38gq0.js → instance-cvkqj1s3.js} +12 -12
- package/dist/chunks/{workspace-5pk0xbgp.js → instance-cyw0hgcw.js} +27 -27
- package/dist/chunks/{workspace-1y0wdj51.js → instance-d2dx6a7h.js} +4 -4
- package/dist/chunks/{workspace-d4v9tmah.js → instance-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-a7hcemwv.js → instance-d8qd4w10.js} +8 -8
- package/dist/chunks/{workspace-48qd1d8y.js → instance-dgyds9m6.js} +10 -10
- package/dist/chunks/{workspace-q0wxm0f4.js → instance-dhdpjt8g.js} +26 -26
- package/dist/chunks/{workspace-7scgcvrf.js → instance-dsfs4g6t.js} +13 -13
- package/dist/chunks/{workspace-gmkqkmgg.js → instance-dwa4y1he.js} +13 -13
- package/dist/chunks/{workspace-xk4x8fp8.js → instance-dytf95nn.js} +1 -1
- package/dist/chunks/{workspace-d5agj1pv.js → instance-dz0r9je1.js} +29 -29
- package/dist/chunks/{workspace-q5ksxkha.js → instance-dzd5qgxq.js} +6 -6
- package/dist/chunks/{workspace-ts03qaq4.js → instance-e191mv4p.js} +40 -40
- package/dist/chunks/{workspace-jpff4b81.js → instance-e3xe61ee.js} +26 -26
- package/dist/chunks/{workspace-xr5njmxy.js → instance-e526twks.js} +3 -3
- package/dist/chunks/{workspace-jchrqzf6.js → instance-e5dqjz6v.js} +4 -4
- package/dist/chunks/{workspace-n3795dyb.js → instance-e6d4carx.js} +28 -28
- package/dist/chunks/{workspace-e834z07m.js → instance-e834z07m.js} +1 -1
- package/dist/chunks/{workspace-6wx80czs.js → instance-ebdpzygg.js} +19 -19
- package/dist/chunks/{workspace-5445pja8.js → instance-ee15qck3.js} +29 -29
- package/dist/chunks/{workspace-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-9ahp1agz.js → instance-end80c8k.js} +3 -3
- package/dist/chunks/{workspace-ydsespw1.js → instance-enkpkfwx.js} +8 -8
- package/dist/chunks/{workspace-gcs2fc5m.js → instance-es4ckx34.js} +16 -16
- package/dist/chunks/{workspace-3k5f8s26.js → instance-esgjes53.js} +2 -2
- package/dist/chunks/{workspace-sy8vt3wj.js → instance-etaatxhn.js} +23 -23
- package/dist/chunks/{workspace-p7vhpwh8.js → instance-f35f93zp.js} +5 -5
- package/dist/chunks/{workspace-xxzvbbkc.js → instance-f8b6bmk9.js} +82 -82
- package/dist/chunks/{workspace-3ge5rx21.js → instance-fekxwpm0.js} +11 -11
- package/dist/chunks/{workspace-fffv3p7h.js → instance-fffv3p7h.js} +1 -1
- package/dist/chunks/{workspace-9qg9bmww.js → instance-fka6syst.js} +6 -6
- package/dist/chunks/{workspace-0ygh9k6m.js → instance-fme36196.js} +20 -20
- package/dist/chunks/{workspace-esgjzs5t.js → instance-fp2av3pw.js} +15 -15
- package/dist/chunks/{workspace-8y2wmcqs.js → instance-fv41sqmf.js} +17 -17
- package/dist/chunks/{workspace-qw2pz74r.js → instance-fxn4g1bv.js} +5 -5
- package/dist/chunks/{workspace-g5h9c0rr.js → instance-g5h9c0rr.js} +2 -2
- package/dist/chunks/{workspace-2hxpq778.js → instance-gcnhbd6s.js} +7 -7
- package/dist/chunks/{workspace-q9nya8vj.js → instance-gsjs8xe3.js} +24 -24
- package/dist/chunks/{workspace-p3rr1xh3.js → instance-gtghw66j.js} +39 -39
- package/dist/chunks/{workspace-xxfhxe4r.js → instance-gxna9qj8.js} +28 -28
- package/dist/chunks/{workspace-wy92yfz2.js → instance-h1krfj2j.js} +28 -28
- package/dist/chunks/{workspace-kgq6c069.js → instance-h2xt6wet.js} +6 -6
- package/dist/chunks/{workspace-5f9y7f7a.js → instance-hfnmjrv2.js} +9 -9
- package/dist/chunks/{workspace-5083qcyj.js → instance-j0sbyfgz.js} +32 -32
- package/dist/chunks/{workspace-j113cymg.js → instance-j113cymg.js} +1 -1
- package/dist/chunks/instance-j2jyevz2.js +257 -0
- package/dist/chunks/{workspace-yp2qyq5j.js → instance-jb5x7epa.js} +15 -15
- package/dist/chunks/{workspace-9y24x8tm.js → instance-jc8qqhy4.js} +3 -3
- package/dist/chunks/{workspace-4z3n7x5k.js → instance-jfm41t20.js} +3 -3
- package/dist/chunks/{workspace-jf7rv2bq.js → instance-jmjdpnd3.js} +18 -18
- package/dist/chunks/{workspace-k814nvkf.js → instance-k814nvkf.js} +1 -1
- package/dist/chunks/{workspace-ep3cfgsw.js → instance-ka99wkw2.js} +2 -2
- package/dist/chunks/{workspace-1pzczgek.js → instance-kkp7zrme.js} +4 -4
- package/dist/chunks/{workspace-6qjs3j48.js → instance-kt6jvn8v.js} +22 -22
- package/dist/chunks/{workspace-5agv5pnb.js → instance-m03db124.js} +9 -9
- package/dist/chunks/{workspace-m1714858.js → instance-m1714858.js} +1 -1
- package/dist/chunks/{workspace-a710j6jq.js → instance-m8z5e2ce.js} +17 -17
- package/dist/chunks/{workspace-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{workspace-at43vtwn.js → instance-mb1ys4h0.js} +12 -12
- package/dist/chunks/{workspace-067bn7k9.js → instance-mdvh07w7.js} +18 -18
- package/dist/chunks/{workspace-0zwx71ns.js → instance-mf1ymtqj.js} +24 -24
- package/dist/chunks/{workspace-actym6sp.js → instance-mkcmjcp5.js} +8 -8
- package/dist/chunks/{workspace-k4rvgcwk.js → instance-mksvdkta.js} +8 -8
- package/dist/chunks/{workspace-rxrz6b15.js → instance-mn6tycs6.js} +2 -2
- package/dist/chunks/{workspace-gq1ys0xw.js → instance-mnx6182w.js} +326 -326
- package/dist/chunks/{workspace-d1bhb9nv.js → instance-mpjpcg5e.js} +10 -10
- package/dist/chunks/{workspace-rmm45jmv.js → instance-mtrbqqrq.js} +5 -5
- package/dist/chunks/{workspace-n0p0277s.js → instance-n0p0277s.js} +1 -1
- package/dist/chunks/{workspace-jhx8zsag.js → instance-n1nj23tb.js} +21 -21
- package/dist/chunks/{workspace-dhjhcs6c.js → instance-n26ndsk8.js} +4 -4
- package/dist/chunks/{workspace-tge03dzs.js → instance-nc72wgnk.js} +26 -26
- package/dist/chunks/{workspace-vsbjkqn0.js → instance-nd09pmcx.js} +19 -19
- package/dist/chunks/{workspace-xv6vex0v.js → instance-ndtgrced.js} +14 -14
- package/dist/chunks/{workspace-75cp5h68.js → instance-ndz5nh7p.js} +25 -25
- package/dist/chunks/{workspace-ngyanjke.js → instance-ngyanjke.js} +2 -2
- package/dist/chunks/{workspace-32mwzrrd.js → instance-nhxzfzhp.js} +10 -10
- package/dist/chunks/{workspace-xmss3g6h.js → instance-nqsqkrgf.js} +27 -27
- package/dist/chunks/{workspace-qgarn9by.js → instance-nskgx1xy.js} +8 -8
- package/dist/chunks/{workspace-p015t6z3.js → instance-p015t6z3.js} +2 -2
- package/dist/chunks/{workspace-xbp4jbh1.js → instance-p2skkwsg.js} +35 -35
- package/dist/chunks/{workspace-rfshxc0v.js → instance-p3bdjd75.js} +23 -23
- package/dist/chunks/{workspace-3paf0x2w.js → instance-p5jsan2v.js} +20 -20
- package/dist/chunks/{workspace-38vyv955.js → instance-pfam02kk.js} +5 -5
- package/dist/chunks/{workspace-fkjz51h9.js → instance-pkmkbjbs.js} +51 -50
- package/dist/chunks/{workspace-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-kmr8mv8d.js → instance-py2y684m.js} +11 -11
- package/dist/chunks/{workspace-75sznh19.js → instance-q1mbbp6t.js} +19 -19
- package/dist/chunks/{workspace-rvqdw07f.js → instance-q45e6md9.js} +16 -16
- package/dist/chunks/{workspace-e1my15k2.js → instance-qdvsamhb.js} +32 -32
- package/dist/chunks/{workspace-kfh17eq6.js → instance-qfeyg0ce.js} +12 -12
- package/dist/chunks/{workspace-qjgzc4b4.js → instance-qjgzc4b4.js} +1 -1
- package/dist/chunks/{workspace-2g8e9hha.js → instance-qkm1qb3q.js} +4 -4
- package/dist/chunks/{workspace-r10bp8tk.js → instance-qrmqkw27.js} +18 -18
- package/dist/chunks/{workspace-b6ejp4av.js → instance-qs8dqg3k.js} +36 -36
- package/dist/chunks/{workspace-kp0f5nz1.js → instance-qvg0xc96.js} +26 -26
- package/dist/chunks/instance-qxc5czc4.js +26 -0
- package/dist/chunks/{workspace-z885xrfv.js → instance-qz6fnwq9.js} +4 -4
- package/dist/chunks/{workspace-e5fabfm1.js → instance-r0wpwzbc.js} +13 -13
- package/dist/chunks/{workspace-r0yr0wbs.js → instance-r0yr0wbs.js} +1 -1
- package/dist/chunks/{workspace-r1k9m3eb.js → instance-r6wgv8c9.js} +4 -4
- package/dist/chunks/{workspace-e6xa1h83.js → instance-r6xrhh99.js} +21 -21
- package/dist/chunks/{workspace-rb9dy4dg.js → instance-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-57zfgywe.js → instance-rhng211m.js} +10 -10
- package/dist/chunks/{workspace-rt5dr6hb.js → instance-rt5dr6hb.js} +1 -1
- package/dist/chunks/{workspace-1vwr1yzz.js → instance-s2e6s221.js} +13 -13
- package/dist/chunks/{workspace-zjwxeyqe.js → instance-s389g6rp.js} +2 -2
- package/dist/chunks/{workspace-sg9szeyg.js → instance-skmar0xn.js} +17 -17
- package/dist/chunks/{workspace-p83ne5gv.js → instance-smzpb4qx.js} +10 -10
- package/dist/chunks/{workspace-xbt735bc.js → instance-sn4dp65s.js} +26 -26
- package/dist/chunks/{workspace-sqjzf8x2.js → instance-sqjzf8x2.js} +1 -1
- package/dist/chunks/{workspace-02ggbb5g.js → instance-sx4k8dnq.js} +18 -18
- package/dist/chunks/{workspace-tczq8hjw.js → instance-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-rv0yz615.js → instance-tdptfwvd.js} +5 -5
- package/dist/chunks/{workspace-1vf54b5a.js → instance-tfnjv676.js} +25 -25
- package/dist/chunks/{workspace-22yhmnjg.js → instance-tge5hkw0.js} +11 -11
- package/dist/chunks/{workspace-n823y48s.js → instance-thtq1t3d.js} +21 -21
- package/dist/chunks/{workspace-tw8zr1ps.js → instance-tw8zr1ps.js} +1 -1
- package/dist/chunks/{workspace-twv2r8f4.js → instance-twv2r8f4.js} +2 -2
- package/dist/chunks/{workspace-v2r1d0zg.js → instance-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-paepwcm2.js → instance-vb1hb692.js} +6 -6
- package/dist/chunks/{workspace-vd3b3yk9.js → instance-vd3b3yk9.js} +1 -1
- package/dist/chunks/{workspace-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-g7esga4v.js → instance-vmfhgzt5.js} +5 -5
- package/dist/chunks/{workspace-811sm8q5.js → instance-vsbb40rd.js} +9 -9
- package/dist/chunks/{workspace-59rjxnhk.js → instance-vy2h0p7t.js} +11 -11
- package/dist/chunks/{workspace-w2eysc6j.js → instance-w2eysc6j.js} +2 -2
- package/dist/chunks/{workspace-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-1xvjm3kc.js → instance-w47qp9je.js} +15 -15
- package/dist/chunks/{workspace-k1q14wnz.js → instance-w5t2v68b.js} +35 -35
- package/dist/chunks/{workspace-66c7hxbd.js → instance-w6cgdp5v.js} +18 -18
- package/dist/chunks/{workspace-t01mmk0e.js → instance-wa9sj95e.js} +10 -10
- package/dist/chunks/{workspace-wakvkjy4.js → instance-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-py09vape.js → instance-wkataeax.js} +11 -11
- package/dist/chunks/{workspace-w687dnns.js → instance-wr3re1en.js} +4 -4
- package/dist/chunks/{workspace-r23mryza.js → instance-wxxnmnk9.js} +32 -32
- package/dist/chunks/{workspace-rvqxvq6d.js → instance-x2pp485p.js} +11 -11
- package/dist/chunks/{workspace-eq3fc1qc.js → instance-x3t9xer4.js} +5 -5
- package/dist/chunks/{workspace-xjcqxx9h.js → instance-xc7x0jwv.js} +66 -66
- package/dist/chunks/{workspace-esf33pnx.js → instance-xcmymtr1.js} +16 -16
- package/dist/chunks/{workspace-ey8jy4js.js → instance-xd2vqhy1.js} +25 -25
- package/dist/chunks/{workspace-3z36edkt.js → instance-xewy3d53.js} +8 -8
- package/dist/chunks/{workspace-8xgvjc3j.js → instance-xg8ch27q.js} +24 -24
- package/dist/chunks/{workspace-6c1s406r.js → instance-xh28yaa3.js} +7 -7
- package/dist/chunks/{workspace-tmsfm4tn.js → instance-xt6gvx32.js} +11 -11
- package/dist/chunks/{workspace-2xea8x11.js → instance-y3nk2kzt.js} +16 -16
- package/dist/chunks/{workspace-yb20nhc3.js → instance-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-af16rb46.js → instance-ybc5hkqb.js} +4 -4
- package/dist/chunks/{workspace-nv2qnfza.js → instance-ybq2x5w5.js} +8 -8
- package/dist/chunks/{workspace-gxhbx1gv.js → instance-ykhahs5v.js} +35 -35
- package/dist/chunks/{workspace-ky596kc3.js → instance-yqveydy6.js} +4 -4
- package/dist/chunks/{workspace-v6hd4jx6.js → instance-yx2krnhd.js} +9 -9
- package/dist/chunks/{workspace-fy7vwem6.js → instance-yy9yh1zy.js} +15 -15
- package/dist/chunks/{workspace-d01ndws9.js → instance-yyk2zdd2.js} +47 -47
- package/dist/chunks/{workspace-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-z38nccrw.js → instance-z38nccrw.js} +1 -1
- package/dist/chunks/{workspace-ctyy7ctv.js → instance-z52esc5y.js} +7 -7
- package/dist/chunks/{workspace-skb5eq6z.js → instance-z827xawd.js} +24 -24
- package/dist/chunks/{workspace-rrad2nt9.js → instance-zba5tm1j.js} +4 -4
- package/dist/chunks/{workspace-zkg84ctx.js → instance-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +133 -133
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +154 -86
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/database/v1-migration.bun.d.ts +4 -2
- package/dist/types/project.d.ts +6 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/workspace-csdtf696.js +0 -26
- package/dist/chunks/workspace-n3r3rt18.js +0 -18
- package/dist/chunks/workspace-w4nncpsp.js +0 -257
- /package/dist/chunks/{workspace-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5fjb7ams.js → instance-5fjb7ams.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a058387c.js → instance-a058387c.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./instance-21eye7vx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./instance-mf1ymtqj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./instance-ndtgrced.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service68
|
|
19
|
+
} from "./instance-03rv3xxr.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service33,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-mdvh07w7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-kt6jvn8v.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service27
|
|
37
|
+
} from "./instance-yyk2zdd2.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service13
|
|
40
|
+
} from "./instance-f8b6bmk9.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./instance-9nmmcy3f.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instance-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin2,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name2 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input2 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin2 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service13;
|
|
124
|
+
const jobs = yield* Service46;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service40;
|
|
127
|
+
const access = yield* Service33;
|
|
128
|
+
const shell = yield* Service27;
|
|
129
|
+
const shellSelect = yield* Service65;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service68;
|
|
132
|
+
const config = yield* Service48;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin4 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin4 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name2,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin4 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name2,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input2,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin4 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name2,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name2];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin2, exports_shell };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-m8z5e2ce.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-e5dqjz6v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service23,
|
|
19
|
+
node: () => node27
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service82;
|
|
29
|
+
return Service23.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node86] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service23, node27, exports_builtins };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
11
|
Service: () => Service22,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
15
|
node: () => node26
|
|
16
16
|
});
|
|
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* ()
|
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
370
|
return Service22.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = 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 node26 = makeGlobalNode({ service: Service22, layer:
|
|
375
|
+
var node26 = makeGlobalNode({ service: Service22, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export { Service22, makeLayer2,
|
|
377
|
+
export { Service22, makeLayer2, layer12, node26, exports_model_transport };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-m8z5e2ce.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service55,
|
|
17
|
+
node: () => node58
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service55 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service82;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service55.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node58 = makeLocationNode({
|
|
91
|
+
service: Service55,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node86, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service55, node58, exports_formatter2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/affinity.ts
|
|
6
6
|
var exports_affinity = {};
|
|
7
7
|
__export(exports_affinity, {
|
|
8
8
|
SessionAffinity: () => exports_affinity,
|
|
9
|
-
get: () =>
|
|
9
|
+
get: () => get5
|
|
10
10
|
});
|
|
11
|
-
var
|
|
11
|
+
var get5 = (session) => session.parentID ?? session.fork?.sessionID ?? session.id;
|
|
12
12
|
|
|
13
|
-
export {
|
|
13
|
+
export { get5, exports_affinity };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5mjn8n6s.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-2e0h6wjp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
Event13
|
|
10
|
+
} from "./instance-wxxnmnk9.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service74;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-dzd5qgxq.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-03rv3xxr.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-e6d4carx.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-agyjn1qf.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-s2e6s221.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./instance-m8z5e2ce.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-2e0h6wjp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service48
|
|
10
|
+
} from "./instance-21eye7vx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service40
|
|
13
|
+
} from "./instance-mf1ymtqj.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-vb1hb692.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service48;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service40);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service82);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instance-aj7g8w0t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./instance-03rv3xxr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name15,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name15 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ 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* Service79;
|
|
57
|
+
const permission = yield* Service68;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name15,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin46
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin46 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin48 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin46, exports_mcp_codemode_defaults };
|