@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-jfm41t20.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-5mjn8n6s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./instance-0pv52n9j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-c3cfh5w6.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-ayjs7tqn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service83,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node87,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service83 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event20.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event20.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -247,12 +247,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
247
247
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
248
248
|
return {
|
|
249
249
|
previous,
|
|
250
|
-
id: id ??
|
|
250
|
+
id: id ?? ID17.global,
|
|
251
251
|
directory: worktree,
|
|
252
252
|
vcs: { type: "hg", store: dotHg }
|
|
253
253
|
};
|
|
254
254
|
});
|
|
255
|
-
const resolve = Effect.fn("Project.resolve")(function* (input) {
|
|
255
|
+
const resolve = Effect.fn("Project.resolve")(function* (input, options) {
|
|
256
|
+
const save = (project) => options?.persist === false ? Effect.succeed(project) : persist(project);
|
|
256
257
|
const directory = AbsolutePath2.make(yield* fs.resolve(input));
|
|
257
258
|
const native = yield* fs.up({ targets: [".git", ".hg"], start: directory, mode: "first" }).pipe(Effect.map((matches) => matches[0]), Effect.orElseSucceed(() => {
|
|
258
259
|
return;
|
|
@@ -262,9 +263,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
262
263
|
const previous = yield* cached(repo.commonDirectory);
|
|
263
264
|
const id = (yield* remote(repo)) ?? previous ?? (yield* rootCommit(repo));
|
|
264
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
265
|
-
return yield*
|
|
266
|
+
return yield* save({
|
|
266
267
|
previous,
|
|
267
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
268
269
|
directory: repo.worktree,
|
|
269
270
|
canonical,
|
|
270
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -272,13 +273,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
272
273
|
}
|
|
273
274
|
const hg = native && path.basename(native) === ".hg" ? yield* hgDiscover(AbsolutePath2.make(native)) : undefined;
|
|
274
275
|
if (hg) {
|
|
275
|
-
return yield*
|
|
276
|
+
return yield* save({
|
|
276
277
|
...hg,
|
|
277
278
|
canonical: hg.directory
|
|
278
279
|
});
|
|
279
280
|
}
|
|
280
|
-
return yield*
|
|
281
|
-
id:
|
|
281
|
+
return yield* save({
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
282
283
|
directory,
|
|
283
284
|
canonical: directory,
|
|
284
285
|
vcs: undefined
|
|
@@ -287,7 +288,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
287
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
288
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
289
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
290
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
291
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
292
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
293
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -300,23 +301,23 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
300
301
|
return;
|
|
301
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
302
303
|
if (row)
|
|
303
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
304
305
|
}), { concurrency: 8, discard: true });
|
|
305
306
|
});
|
|
306
|
-
return
|
|
307
|
+
return Service83.of({ list, update, activate, resolve, sweep });
|
|
307
308
|
}));
|
|
308
|
-
var
|
|
309
|
-
service:
|
|
309
|
+
var node87 = makeGlobalNode({
|
|
310
|
+
service: Service83,
|
|
310
311
|
layer,
|
|
311
|
-
deps: [node89, node90, FSUtil.node,
|
|
312
|
+
deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
|
|
312
313
|
});
|
|
313
314
|
var sweepNode2 = makeGlobalNode({
|
|
314
315
|
name: "project-archive-sweep",
|
|
315
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
316
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service83;
|
|
317
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
318
319
|
})),
|
|
319
|
-
deps: [
|
|
320
|
+
deps: [node87]
|
|
320
321
|
});
|
|
321
322
|
|
|
322
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
|
|
@@ -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
|
+
Service32
|
|
7
|
+
} from "./instance-5t0rc2x5.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/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const output = yield* Service32;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin33 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin27, exports_tool_output };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-e5dqjz6v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service31,
|
|
12
|
+
node34
|
|
13
|
+
} from "./instance-9622d4vt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions5 = {};
|
|
20
20
|
__export(exports_instructions5, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service24,
|
|
22
22
|
SkillInstructions: () => exports_instructions5,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node28
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID3,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service24 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service31;
|
|
71
|
+
return Service24.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
|
-
const available =
|
|
74
|
-
return
|
|
73
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
+
return make20({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node34] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service24, node28, exports_instructions5 };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-5mjn8n6s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
17
|
+
Event: () => Event12,
|
|
18
|
+
ID: () => ID11,
|
|
19
19
|
Info: () => Info19,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service71,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node74
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event12 } from "@opencode/schema/agent";
|
|
29
|
+
var ID11 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID11.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
33
|
var Info19 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service71 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service71.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID11.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node89] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID11, Name3, defaultID2, Color2, Info19, Service71, node74, exports_agent4, Event12 };
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-dytf95nn.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-z827xawd.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-fme36196.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-ka99wkw2.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-esgjes53.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-wjj7prxr.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-r0wpwzbc.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-5m9w47nd.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-nqsqkrgf.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-xcmymtr1.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instance-rhng211m.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instance-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./instance-pfam02kk.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./instance-ybc5hkqb.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./instance-a41wq1zg.js";
|
|
52
52
|
import {
|
|
53
53
|
NeonPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./instance-ve7vex1e.js";
|
|
55
55
|
import {
|
|
56
56
|
NvidiaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./instance-24dcb14g.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./instance-07pgb3x5.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIPlugin3
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./instance-fp2av3pw.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./instance-9qtzb502.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./instance-ee15qck3.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./instance-5t7qnrbf.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./instance-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./instance-fxn4g1bv.js";
|
|
79
79
|
import {
|
|
80
80
|
PromptCacheKeyPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./instance-hcxmzztb.js";
|
|
82
82
|
import {
|
|
83
83
|
SapAICorePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./instance-6wz3wy1g.js";
|
|
85
85
|
import {
|
|
86
86
|
VercelPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./instance-01trdk4e.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./instance-n26ndsk8.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./instance-1narx8j0.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./instance-jjkms2e6.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./instance-h2xt6wet.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-6zjm2phc.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-dzd5qgxq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service31
|
|
12
|
+
} from "./instance-9622d4vt.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
19
19
|
__export(exports_skill4, {
|
|
20
20
|
SessionSkill: () => exports_skill4,
|
|
21
|
-
get: () =>
|
|
21
|
+
get: () => get4
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
|
-
var
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
24
|
+
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
+
const instances = yield* Service47;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service31), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
30
30
|
return skill;
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { get4, exports_skill4 };
|