@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service40,
|
|
6
|
+
node43
|
|
7
|
+
} from "./instance-mf1ymtqj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service34,
|
|
17
|
+
node: () => node37,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service34 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service40;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service34.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node37 = makeLocationNode({ service: Service34, layer, deps: [node43] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service34, readText2, syncTextBom2, node37, exports_file_mutation };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-5mjn8n6s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./instance-m8z5e2ce.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service65,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node68
|
|
13
|
+
} from "./instance-kt6jvn8v.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput3,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event10,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
27
|
+
ID: () => ID7,
|
|
28
|
+
Info: () => Info16,
|
|
29
29
|
NotFoundError: () => NotFoundError6,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service64,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node67
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event10 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID7 = Pty.ID;
|
|
43
|
+
var Info16 = Pty.Info;
|
|
44
44
|
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
47
|
class NotFoundError6 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
-
ptyID:
|
|
48
|
+
ptyID: ID7
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID7
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service64 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const shell = yield* Service65;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID7.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service64.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node67 = makeLocationNode({
|
|
273
|
+
service: Service64,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89,
|
|
275
|
+
deps: [node89, node86, node68]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID7, Info16, CreateInput3, UpdateInput2, NotFoundError6, ExitedError2, Service64, node67, exports_pty, Event10 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-c2sed5cq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./instance-q45e6md9.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service75
|
|
7
|
+
} from "./instance-2e0h6wjp.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./instance-21eye7vx.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-c2sed5cq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service46
|
|
17
|
+
} from "./instance-ndtgrced.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service68
|
|
21
|
+
} from "./instance-03rv3xxr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service13
|
|
24
|
+
} from "./instance-f8b6bmk9.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service7
|
|
30
|
+
} from "./instance-nd09pmcx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin10,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
42
|
description: () => description4,
|
|
43
|
-
name: () =>
|
|
43
|
+
name: () => name10
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name10 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input10 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,7 +71,7 @@ var Input6 = Schema.Struct({
|
|
|
71
71
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output7 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
@@ -85,16 +85,16 @@ var description4 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin10 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
|
-
const sessions = yield*
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
96
|
-
const models = yield*
|
|
97
|
-
const subagents = yield*
|
|
91
|
+
const sessions = yield* Service13;
|
|
92
|
+
const jobs = yield* Service46;
|
|
93
|
+
const agents = yield* Service71;
|
|
94
|
+
const config = yield* Service48;
|
|
95
|
+
const permission = yield* Service68;
|
|
96
|
+
const models = yield* Service75;
|
|
97
|
+
const subagents = yield* Service7;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
100
100
|
try: () => Ref2.parse(input),
|
|
@@ -114,11 +114,11 @@ var Plugin6 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name10,
|
|
118
118
|
options: { codemode: false },
|
|
119
119
|
description: description4,
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input10,
|
|
121
|
+
output: Output7,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin6 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name10,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name10];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name10, Input10, Output7, description4, Plugin10, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-5mjn8n6s.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-kt6jvn8v.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Options: () =>
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured7,
|
|
26
|
+
layer: () => layer22,
|
|
27
|
+
node: () => node57
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,13 +34,13 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
@@ -50,9 +50,9 @@ class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError",
|
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service54 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service54.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer22 = makeLayer();
|
|
262
|
+
var configured7 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service54,
|
|
264
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node57 = configured7();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options5, UnavailableError4, NotFoundError5, Service54, layer22, configured7, node57, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-bgdafpbn.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|