@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-5mjn8n6s.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-pkmkbjbs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./instance-m8z5e2ce.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-vd3b3yk9.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info15,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service62,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node65
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service62 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
62
|
const bus = yield* Service85;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service62.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node65 = makeLocationNode({
|
|
191
|
+
service: Service62,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node86, node89]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, InitializeError2, Service62, node65, exports_vcs };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./instance-nc72wgnk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./instance-21eye7vx.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service48);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -29,9 +29,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
31
|
function make14(tools) {
|
|
32
|
-
return
|
|
32
|
+
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render3(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export { make14,
|
|
49
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-jfm41t20.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-e5dqjz6v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -61,7 +61,7 @@ class Service20 extends Context.Service()("@opencode/InstructionEntry") {
|
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -112,4 +112,4 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
112
112
|
}));
|
|
113
113
|
var node24 = makeLocationNode({ service: Service20, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node24, exports_instruction_entry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./instance-21eye7vx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./instance-kt6jvn8v.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const shell = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin23 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin16, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-m8z5e2ce.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./instance-21eye7vx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./instance-n1nj23tb.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin22
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service59;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin16 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin22, exports_worktree };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-5mjn8n6s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service25,
|
|
7
|
+
node29
|
|
8
|
+
} from "./instance-8dqwvc3g.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service68,
|
|
14
|
+
node71
|
|
15
|
+
} from "./instance-03rv3xxr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service61,
|
|
18
|
+
node64
|
|
19
|
+
} from "./instance-tfnjv676.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service32,
|
|
22
|
+
node35
|
|
23
|
+
} from "./instance-5t0rc2x5.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-r6xrhh99.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service16,
|
|
36
|
+
layer: () => layer10,
|
|
37
|
+
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node19
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service16 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service25;
|
|
54
|
+
const tools = yield* Service61;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service68;
|
|
57
|
+
const toolOutput = yield* Service32;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name14(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service16.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node19 = makeLocationNode({
|
|
148
|
+
service: Service16,
|
|
149
|
+
layer: layer10,
|
|
150
|
+
deps: [node64, node29, node89, node71, node35]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name14, Service16, layer10, node19, exports_mcp3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-d2dx6a7h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./instance-d8qd4w10.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info10
|
|
12
|
+
} from "./instance-184a1rnm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info9
|
|
15
|
+
} from "./instance-x3t9xer4.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-f35f93zp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info11
|
|
21
|
+
} from "./instance-7xg2jm5b.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-qz6fnwq9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info9, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|