@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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_app, {
|
|
|
10
10
|
configured: () => configured11,
|
|
11
11
|
layer: () => layer25,
|
|
12
12
|
make: () => make21,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node79,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -30,6 +30,6 @@ function useragent2(app) {
|
|
|
30
30
|
}
|
|
31
31
|
var layer25 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
32
|
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
|
|
33
|
-
var
|
|
33
|
+
var node79 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make21, useragent2, layer25, configured11,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer25, configured11, node79, exports_app };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service49,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer19,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node52,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service49 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer21 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service49.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service49).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service49, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured6(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service49, layer: layer19(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node52 = configured6();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service49, Test3, layer19, testLayer3, nativeLayer2, configured6, node52, exports_watcher };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./instance-m8z5e2ce.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service40
|
|
11
|
+
} from "./instance-mf1ymtqj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service55
|
|
14
|
+
} from "./instance-3g836nb0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service34,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-dwa4y1he.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./instance-03rv3xxr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service33,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-mdvh07w7.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin6,
|
|
42
|
+
name: () => name6,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name6 = "patch";
|
|
89
|
+
var Input6 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin6 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service40;
|
|
112
|
+
const access = yield* Service33;
|
|
113
|
+
const fileMutation = yield* Service34;
|
|
114
|
+
const formatter = yield* Service55;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service68;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin11 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name6, Input6, Applied2, Output5, toModelContent3, Plugin6, exports_patch };
|
|
@@ -1,66 +1,66 @@
|
|
|
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
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service36
|
|
14
|
+
} from "./instance-9kgv9zpv.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin9,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin9 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service68;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service36;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin9, exports_websearch };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin35
|
|
3
|
+
} from "./instance-6285fq4d.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./instance-yx2krnhd.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin38
|
|
9
|
+
} from "./instance-xh28yaa3.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./instance-nskgx1xy.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin39
|
|
15
|
+
} from "./instance-cvkqj1s3.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin35,
|
|
20
|
+
Plugin36,
|
|
21
|
+
Plugin38,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin39
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-nc72wgnk.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-2e0h6wjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qkm1qb3q.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-5mjn8n6s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./instance-h1krfj2j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-e6d4carx.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-nc72wgnk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-2e0h6wjp.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
30
|
var providerID = ID13.make("digitalocean");
|
|
31
|
-
var integrationID =
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./instance-vmfhgzt5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service40,
|
|
8
|
+
node43
|
|
9
|
+
} from "./instance-mf1ymtqj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./instance-cvg4qkkk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry2,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service17,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node20,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry2 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry2),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service17 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry2.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service40;
|
|
335
|
+
return Service17.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node43] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service17, read2, node20, exports_read_filesystem };
|