@opencode/core 0.0.0-dev-20464 → 0.0.0-dev-20467
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{image-c61xtve1.js → job-01tr0krm.js} +20 -20
- package/dist/chunks/{image-0k944k3j.js → job-03ezm56f.js} +11 -11
- package/dist/chunks/{image-4eehw1ga.js → job-03js8bwe.js} +50 -50
- package/dist/chunks/{image-ca74j1r2.js → job-05pde662.js} +4 -4
- package/dist/chunks/{image-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-q2b1ymqp.js → job-0v53mg2y.js} +4 -4
- package/dist/chunks/{image-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-84h8c373.js → job-1dvck2a7.js} +2 -2
- package/dist/chunks/{image-f422tj0t.js → job-1j8srcya.js} +22 -22
- package/dist/chunks/{image-zt6rd191.js → job-1qv75xms.js} +2 -2
- package/dist/chunks/{image-m3kj9yrs.js → job-1twmk53z.js} +44 -44
- package/dist/chunks/{image-2j8mnjbv.js → job-1yms2fw9.js} +35 -35
- package/dist/chunks/{image-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{image-hkxn87db.js → job-2817rfhq.js} +47 -47
- package/dist/chunks/{image-7rdvab6p.js → job-28xeqk3p.js} +41 -41
- package/dist/chunks/{image-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/job-2kc3w70s.js +252 -0
- package/dist/chunks/{image-mqzwkyay.js → job-2mbds3pf.js} +6 -6
- package/dist/chunks/{image-vf6bps2h.js → job-2mdpkgg5.js} +3 -3
- package/dist/chunks/{image-wtphr49s.js → job-2n22hf6m.js} +33 -33
- package/dist/chunks/{image-42497aj7.js → job-2t2s42cy.js} +9 -9
- package/dist/chunks/{image-kyhmjvgm.js → job-2xewgrj1.js} +20 -20
- package/dist/chunks/{image-aa1twyr9.js → job-2ya97f74.js} +4 -4
- package/dist/chunks/{image-8rrj4k8n.js → job-35ggyzt3.js} +32 -32
- package/dist/chunks/{image-aqhyrthb.js → job-38k392wv.js} +31 -31
- package/dist/chunks/{image-86mmp9h0.js → job-3byaa1ve.js} +185 -185
- package/dist/chunks/{image-d13vq5ht.js → job-3dyf1mr4.js} +92 -92
- package/dist/chunks/{image-cc5gsnw6.js → job-3f358k6q.js} +35 -35
- package/dist/chunks/{image-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-3v5tjer0.js → job-3v5tjer0.js} +2 -2
- package/dist/chunks/{image-vdwrjv7p.js → job-3w7t9sjm.js} +9 -9
- package/dist/chunks/{image-6gz6jn5b.js → job-3yk74dhc.js} +24 -24
- package/dist/chunks/{image-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-m52hejx6.js → job-429nfpe8.js} +14 -14
- package/dist/chunks/{image-m4ke77ch.js → job-44jtbah9.js} +19 -19
- package/dist/chunks/{image-hn98ts76.js → job-45bncrr3.js} +39 -39
- package/dist/chunks/{image-9hwaqfsw.js → job-47jkzegy.js} +5 -5
- package/dist/chunks/{image-zzfd9are.js → job-47r9vgy9.js} +24 -24
- package/dist/chunks/{image-kr7k13qe.js → job-4b64be2k.js} +19 -19
- package/dist/chunks/{image-rrpq0de9.js → job-4bk00v8h.js} +12 -12
- package/dist/chunks/{image-tjedn1bk.js → job-4bm5ja14.js} +4 -4
- package/dist/chunks/{image-05qndnz8.js → job-4j59rn7m.js} +13 -13
- package/dist/chunks/{image-5dkmmgqv.js → job-4k23khte.js} +3 -3
- package/dist/chunks/{image-jmyv0skj.js → job-4m975yph.js} +40 -40
- package/dist/chunks/{image-chp1bn5t.js → job-4sq8dz1s.js} +15 -15
- package/dist/chunks/{image-4ts7tf6z.js → job-4ts7tf6z.js} +2 -2
- package/dist/chunks/{image-rnr5nq63.js → job-53jw4c93.js} +19 -19
- package/dist/chunks/{image-vecbk87r.js → job-543tcfte.js} +2 -2
- package/dist/chunks/{image-1ygqh575.js → job-56gdpj1q.js} +9 -9
- package/dist/chunks/{image-xfkkasph.js → job-57b9ws8p.js} +7 -7
- package/dist/chunks/{image-t0ycnkdp.js → job-5cgyhv0x.js} +13 -13
- package/dist/chunks/{image-djszqvmq.js → job-5d607bsg.js} +9 -9
- package/dist/chunks/{image-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5fykfdj7.js → job-5fykfdj7.js} +2 -2
- package/dist/chunks/{image-pm8wv035.js → job-5gqmj51j.js} +22 -22
- package/dist/chunks/{image-ffseywqd.js → job-5m938806.js} +24 -24
- package/dist/chunks/{image-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-gr36eqey.js → job-5vf6q9hk.js} +14 -14
- package/dist/chunks/{image-98wz219e.js → job-627bxgqg.js} +11 -11
- package/dist/chunks/{image-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{image-tcj6tfcg.js → job-69802pc5.js} +86 -86
- package/dist/chunks/{image-rh68v6pd.js → job-6axb150g.js} +17 -17
- package/dist/chunks/{image-1s3p39g4.js → job-6ersrjne.js} +4 -4
- package/dist/chunks/{image-3hapy7hd.js → job-6j1e9nf7.js} +15 -15
- package/dist/chunks/{image-6c2x04qg.js → job-6rnxzzj3.js} +9 -9
- package/dist/chunks/{image-qhrpv7ts.js → job-6yzefp2f.js} +5 -5
- package/dist/chunks/{image-cscmj1zk.js → job-7190fypv.js} +23 -23
- package/dist/chunks/{image-f75zav2x.js → job-71az546q.js} +2 -2
- package/dist/chunks/{image-msh8crmm.js → job-73tvmyfv.js} +22 -22
- package/dist/chunks/{image-tbe244gn.js → job-7bjzq7me.js} +3 -3
- package/dist/chunks/{image-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-p7fpkw5j.js → job-7g97gkh1.js} +26 -26
- package/dist/chunks/{image-z8ye16b1.js → job-7pgtzthj.js} +17 -17
- package/dist/chunks/{image-80xbwfe7.js → job-7pt3mq3f.js} +49 -49
- package/dist/chunks/{image-m96306pw.js → job-7tjzpfcg.js} +7 -7
- package/dist/chunks/{image-2wqsmy18.js → job-8024jtgr.js} +22 -22
- package/dist/chunks/{image-84txncab.js → job-84txncab.js} +1 -1
- package/dist/chunks/{image-f0c8m7at.js → job-88t5zxn4.js} +5 -5
- package/dist/chunks/{image-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-h6jawyz7.js → job-8hnrp9rd.js} +43 -43
- package/dist/chunks/{image-y30wg3jc.js → job-918zktfr.js} +13 -13
- package/dist/chunks/{image-tn8117tr.js → job-92decmfr.js} +1 -1
- package/dist/chunks/{image-yp9bahc3.js → job-94yjm49g.js} +5 -5
- package/dist/chunks/{image-m7y2j1m1.js → job-992nq899.js} +9 -9
- package/dist/chunks/{image-0sm3r10n.js → job-9b9nbw19.js} +9 -9
- package/dist/chunks/{image-gbsz0qsk.js → job-9caaefn6.js} +13 -13
- package/dist/chunks/{image-kb9j3d72.js → job-9e5bzkjp.js} +3 -3
- package/dist/chunks/{image-r58jdwrp.js → job-9emfjjbd.js} +32 -32
- package/dist/chunks/{image-7ha321xz.js → job-9sd3eyxn.js} +24 -24
- package/dist/chunks/{image-apnpp3zq.js → job-a2g813f4.js} +22 -22
- package/dist/chunks/{image-s3sykjag.js → job-a38e8hjq.js} +26 -26
- package/dist/chunks/{image-4j4tgtq5.js → job-a81kfqvn.js} +4 -4
- package/dist/chunks/{image-50mzsvk4.js → job-a8bn8zg0.js} +4 -4
- package/dist/chunks/{image-kqs9gk44.js → job-a9ng4de9.js} +9 -9
- package/dist/chunks/{image-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{image-mc7td6e3.js → job-abpxsdsw.js} +38 -38
- package/dist/chunks/{image-w5n9q6z9.js → job-afchkqsm.js} +13 -13
- package/dist/chunks/{image-1yswt5ka.js → job-akem1a8a.js} +5 -5
- package/dist/chunks/{image-s5nt2pgb.js → job-am5nqmeq.js} +9 -9
- package/dist/chunks/{image-a89mz3cp.js → job-ax9bm1ha.js} +29 -29
- package/dist/chunks/{image-ky6yw5g0.js → job-b1amcvf2.js} +20 -20
- package/dist/chunks/{image-scgrse2b.js → job-b3f8fkhc.js} +5 -5
- package/dist/chunks/{image-grb7vy93.js → job-b3y7b6qs.js} +28 -28
- package/dist/chunks/{image-aj9wrhbp.js → job-b5s7ngqs.js} +3 -3
- package/dist/chunks/{image-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-3ykdjwsk.js → job-b7egtpmm.js} +8 -8
- package/dist/chunks/{image-ksm31ved.js → job-b8086ece.js} +29 -29
- package/dist/chunks/{image-w9vf9qqj.js → job-bezhzanq.js} +9 -9
- package/dist/chunks/{image-r4dz3w7d.js → job-bf95p6h4.js} +11 -11
- package/dist/chunks/{image-050747bh.js → job-bggp43b6.js} +15 -15
- package/dist/chunks/{image-j6vvxpwj.js → job-bsx5pfav.js} +9 -9
- package/dist/chunks/{image-4wrkd8nn.js → job-ck8npcm5.js} +11 -11
- package/dist/chunks/{image-38x80653.js → job-cn024ves.js} +14 -14
- package/dist/chunks/{image-rhy99zhc.js → job-cz1dxj5r.js} +35 -35
- package/dist/chunks/{image-kmz19h6b.js → job-d8qe6v8f.js} +19 -19
- package/dist/chunks/{image-71sy1pc3.js → job-dg9snmj0.js} +37 -37
- package/dist/chunks/{image-nxdkcg0t.js → job-dj7kyw3v.js} +3 -3
- package/dist/chunks/{image-dpkg50ah.js → job-dpkg50ah.js} +1 -1
- package/dist/chunks/{image-pcj7ew95.js → job-dqpy1reh.js} +16 -16
- package/dist/chunks/{image-52rqy9p1.js → job-dv5gdg8y.js} +8 -8
- package/dist/chunks/{image-w12sp0d5.js → job-e9gt32vs.js} +41 -41
- package/dist/chunks/{image-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-mn3wcm04.js → job-efzy2153.js} +20 -20
- package/dist/chunks/{image-aeadqpms.js → job-ehmk23mz.js} +32 -32
- package/dist/chunks/{image-a1gpj94z.js → job-eq1pz5kg.js} +3 -3
- package/dist/chunks/{image-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-fzj1jff2.js → job-f4b577p5.js} +20 -20
- package/dist/chunks/{image-s5m2kygz.js → job-fb5svenv.js} +16 -16
- package/dist/chunks/{image-wwz3fet9.js → job-ffvz0ga5.js} +10 -10
- package/dist/chunks/{image-ep0szcwf.js → job-fg73yfg0.js} +21 -21
- package/dist/chunks/{image-g6k5sbhh.js → job-fj6b9xaq.js} +13 -13
- package/dist/chunks/{image-v6vttxdm.js → job-fpgyhkd2.js} +11 -11
- package/dist/chunks/{image-kh7dws7q.js → job-fq4w78be.js} +23 -23
- package/dist/chunks/{image-pbfwh0cy.js → job-fqb2p7cx.js} +7 -7
- package/dist/chunks/{image-k1gkpfdk.js → job-fqtvmpfq.js} +8 -8
- package/dist/chunks/{image-yxwwqrqy.js → job-fvntyxag.js} +20 -20
- package/dist/chunks/{image-qq8ybhxb.js → job-fy752efe.js} +5 -5
- package/dist/chunks/{image-0ebn0ftm.js → job-fzzzkraz.js} +32 -32
- package/dist/chunks/{image-8sgt1317.js → job-g74p4268.js} +18 -18
- package/dist/chunks/{image-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-f5fbtp4g.js → job-gf9ymecw.js} +7 -7
- package/dist/chunks/{image-hd8vw2pw.js → job-gg3hnhsj.js} +1 -1
- package/dist/chunks/{image-6eyqb1k2.js → job-gjeq5cpe.js} +33 -33
- package/dist/chunks/{image-a1aswydz.js → job-gpz58nsd.js} +4 -4
- package/dist/chunks/{image-q2yq2gjj.js → job-gt0w2r94.js} +9 -9
- package/dist/chunks/{image-xnb8j3dt.js → job-gv16kyf6.js} +6 -6
- package/dist/chunks/{image-hmyqrp7v.js → job-gzhfsf6w.js} +25 -25
- package/dist/chunks/{image-0wnna5q9.js → job-h12zvjj7.js} +15 -15
- package/dist/chunks/{image-3cegwx68.js → job-h2b79v29.js} +2 -2
- package/dist/chunks/{image-6kgskxtw.js → job-h4ckqw4f.js} +8 -8
- package/dist/chunks/{image-c8qaf2dv.js → job-h4g2rx11.js} +32 -32
- package/dist/chunks/{image-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-srcme16r.js → job-h8p16smg.js} +4 -4
- package/dist/chunks/{image-thcn4j4g.js → job-hde6z15e.js} +11 -11
- package/dist/chunks/{image-mgffa9p1.js → job-hgzv9kjc.js} +11 -11
- package/dist/chunks/{image-c18t40wb.js → job-hhve2k50.js} +36 -36
- package/dist/chunks/{image-6d7r2zbw.js → job-hm1626ap.js} +10 -10
- package/dist/chunks/{image-zvt5dnpc.js → job-hn57h045.js} +4 -4
- package/dist/chunks/{image-3cb0t53g.js → job-hqmgd24m.js} +20 -20
- package/dist/chunks/job-ht5y0zrb.js +18 -0
- package/dist/chunks/{image-wtxvck1s.js → job-htrkr43w.js} +5 -5
- package/dist/chunks/{image-zy8gc5xd.js → job-hw2mxkc7.js} +18 -18
- package/dist/chunks/{image-7qzq4r78.js → job-hws959dx.js} +22 -22
- package/dist/chunks/{image-jafr5hga.js → job-hxt36cq1.js} +13 -13
- package/dist/chunks/{image-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{image-2wv53gaq.js → job-j7rjbbc7.js} +9 -9
- package/dist/chunks/{image-3pp23jbc.js → job-jsb4t09t.js} +25 -25
- package/dist/chunks/{image-jtc0ez1y.js → job-jwv3hh80.js} +11 -11
- package/dist/chunks/{image-cm0bbx3s.js → job-jykystv5.js} +28 -28
- package/dist/chunks/{image-g94yrgwb.js → job-jyx3h9m7.js} +19 -19
- package/dist/chunks/{image-cs4cg7d7.js → job-k4x3mqg7.js} +5 -5
- package/dist/chunks/{image-fc2ee7ty.js → job-k6cg1ypx.js} +7 -7
- package/dist/chunks/{image-k70p9jzb.js → job-k70p9jzb.js} +2 -2
- package/dist/chunks/{image-p28xhz3t.js → job-k8cmjhch.js} +11 -11
- package/dist/chunks/{image-pd029kdh.js → job-kjccmbts.js} +33 -33
- package/dist/chunks/{image-60gn6qh1.js → job-kwtzvpvj.js} +3 -3
- package/dist/chunks/{image-5a1rh38j.js → job-m1zhmj85.js} +1 -1
- package/dist/chunks/{image-dhs430jm.js → job-m269jyxt.js} +7 -7
- package/dist/chunks/{image-kwemrkca.js → job-m2jqcmq0.js} +11 -11
- package/dist/chunks/{image-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-faqa2exm.js → job-m625ddq6.js} +8 -8
- package/dist/chunks/{image-21g07xqr.js → job-m8vw0nde.js} +21 -21
- package/dist/chunks/{image-mvvpz48z.js → job-m973ek6z.js} +23 -23
- package/dist/chunks/{image-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-pdysjfwk.js → job-m9w3n0mg.js} +18 -18
- package/dist/chunks/{image-mazbtkaa.js → job-mazbtkaa.js} +2 -2
- package/dist/chunks/{image-mqxcq9ag.js → job-mb942295.js} +6 -6
- package/dist/chunks/{image-7ssjw8ge.js → job-mnatkcvs.js} +18 -18
- package/dist/chunks/{image-zchy057q.js → job-mvsyj89v.js} +16 -16
- package/dist/chunks/{image-4npmrd5n.js → job-n5cwecme.js} +8 -8
- package/dist/chunks/{image-7fz4jeqr.js → job-n6zvr2de.js} +12 -12
- package/dist/chunks/{image-yf10kn3d.js → job-ncjresk4.js} +8 -8
- package/dist/chunks/{image-xxynqx5z.js → job-ndmv45hp.js} +3 -3
- package/dist/chunks/{image-jp9apkzt.js → job-nmj4sc10.js} +44 -44
- package/dist/chunks/{image-vzbxwz1d.js → job-nyq4a4fc.js} +11 -11
- package/dist/chunks/{image-fjtfhqwy.js → job-p2nvpx2k.js} +4 -4
- package/dist/chunks/{image-p37cw4rj.js → job-p37cw4rj.js} +1 -1
- package/dist/chunks/{image-16bw4kza.js → job-p4qpgq5w.js} +13 -13
- package/dist/chunks/{image-n9j51zqt.js → job-p66spjd3.js} +23 -23
- package/dist/chunks/{image-r9yc2pp4.js → job-pdbycm33.js} +7 -7
- package/dist/chunks/{image-a6ty810w.js → job-pe6nkb5a.js} +11 -11
- package/dist/chunks/{image-8gzt5gq5.js → job-pjcgw4ep.js} +23 -23
- package/dist/chunks/{image-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{image-21tvpp2c.js → job-pkqb68ka.js} +4 -4
- package/dist/chunks/{image-q0xm7vwc.js → job-q0xm7vwc.js} +2 -2
- package/dist/chunks/{image-ddxj6fcx.js → job-q9tmrnjs.js} +44 -44
- package/dist/chunks/{image-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{image-brnq6xsh.js → job-qhev78dh.js} +24 -24
- package/dist/chunks/{image-8mfdap3f.js → job-qm7jrdpz.js} +8 -8
- package/dist/chunks/{image-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{image-gk0hf70s.js → job-r56c9npx.js} +18 -18
- package/dist/chunks/{image-54ma36ye.js → job-r94pvvab.js} +4 -4
- package/dist/chunks/{image-44ak30pa.js → job-ra4n65wq.js} +4 -4
- package/dist/chunks/{image-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-5yycg6pq.js → job-rmvwey32.js} +12 -12
- package/dist/chunks/{image-vwgbk249.js → job-s1d9451n.js} +8 -8
- package/dist/chunks/{image-spq0309d.js → job-s4bzjdtc.js} +72 -72
- package/dist/chunks/{image-6wmcyxva.js → job-s8fpqbyp.js} +30 -30
- package/dist/chunks/{image-t71v2ka4.js → job-sfkj0ta1.js} +5 -5
- package/dist/chunks/{image-0ztm1jns.js → job-sjv6995p.js} +36 -36
- package/dist/chunks/{image-k2e0zhht.js → job-sn1m68sv.js} +6 -6
- package/dist/chunks/{image-dm3wn0ce.js → job-sph0c6my.js} +6 -6
- package/dist/chunks/{image-7jkt0fxj.js → job-sre7hmsk.js} +44 -44
- package/dist/chunks/{image-8r69rzf5.js → job-szfn71ha.js} +18 -18
- package/dist/chunks/{image-exb05pns.js → job-t46632zz.js} +27 -27
- package/dist/chunks/{image-dfe9pek6.js → job-t6gerxyh.js} +24 -24
- package/dist/chunks/{image-h59rdxvh.js → job-t70rm84y.js} +5 -5
- package/dist/chunks/{image-z1qyan5f.js → job-t7rnasjk.js} +317 -317
- package/dist/chunks/{image-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{image-2xh2tc1m.js → job-txjd4fkc.js} +7 -7
- package/dist/chunks/{image-1xsshfr0.js → job-v3f136vv.js} +33 -33
- package/dist/chunks/{image-ecawf14c.js → job-v9trm35v.js} +5 -5
- package/dist/chunks/{image-5qkxfyep.js → job-va5qff5x.js} +4 -4
- package/dist/chunks/{image-cte04r2d.js → job-veaa2jnh.js} +8 -8
- package/dist/chunks/{image-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{image-2z8cmg4f.js → job-vmmb59q1.js} +48 -48
- package/dist/chunks/{image-909p1r3q.js → job-vqfzq50h.js} +6 -6
- package/dist/chunks/{image-74he8rv4.js → job-vrzvd6vk.js} +16 -16
- package/dist/chunks/{image-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-zhp5xvv1.js → job-w3kkect8.js} +27 -27
- package/dist/chunks/{image-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-8sze2n9a.js → job-w92k2e0p.js} +4 -4
- package/dist/chunks/{image-5ht2nh62.js → job-wc8m6r6z.js} +17 -17
- package/dist/chunks/{image-761m9ptj.js → job-wcb5wh0w.js} +5 -5
- package/dist/chunks/{image-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{image-ga8sz7qh.js → job-wdbgrp5e.js} +57 -57
- package/dist/chunks/{image-2t6f5hr5.js → job-wpc8vrn3.js} +29 -29
- package/dist/chunks/{image-s8d7rejh.js → job-wv396vej.js} +8 -8
- package/dist/chunks/{image-aeknpwjp.js → job-x05ygdqx.js} +18 -18
- package/dist/chunks/{image-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-ejsrhqvc.js → job-x389qe1e.js} +3 -3
- package/dist/chunks/{image-mc1ma7x5.js → job-xb9w92bz.js} +23 -23
- package/dist/chunks/{image-dbv05mm3.js → job-xf0nr9dv.js} +4 -4
- package/dist/chunks/{image-5r8zah6f.js → job-xg80ng6d.js} +25 -25
- package/dist/chunks/{image-f62qkzqr.js → job-xjtsx636.js} +5 -5
- package/dist/chunks/{image-dmqcgk4z.js → job-xkntkrq7.js} +5 -5
- package/dist/chunks/{image-aq70pd4y.js → job-xpja5686.js} +3 -3
- package/dist/chunks/{image-11dqjexa.js → job-xrpg47n6.js} +9 -9
- package/dist/chunks/{image-xyafkbt0.js → job-xyafkbt0.js} +3 -3
- package/dist/chunks/{image-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-sn66a7hz.js → job-y3agzp4d.js} +15 -15
- package/dist/chunks/{image-dnxkq42g.js → job-y6bex35g.js} +4 -4
- package/dist/chunks/{image-jg0gax7x.js → job-yamh1021.js} +6 -6
- package/dist/chunks/{image-aepy4w1n.js → job-ycp453gp.js} +28 -28
- package/dist/chunks/{image-3frwt2gp.js → job-yg038512.js} +18 -18
- package/dist/chunks/{image-1acjjqhc.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{image-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-mjrr4cxq.js → job-yrmrwfkv.js} +30 -30
- package/dist/chunks/{image-15nepkqg.js → job-yvvvp4gn.js} +8 -8
- package/dist/chunks/job-yztwdbt3.js +26 -0
- package/dist/chunks/{image-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-gw4p2be1.js → job-zh63pyfs.js} +5 -5
- package/dist/chunks/{image-zga9tyk5.js → job-zhcr9qtq.js} +17 -17
- package/dist/chunks/{image-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-xg914bgd.js → job-zr8gyxhx.js} +35 -35
- package/dist/chunks/{image-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +94 -94
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- 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 +1 -1
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +105 -105
- 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 +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/image-9sh4wc5j.js +0 -18
- package/dist/chunks/image-k9hpsh7n.js +0 -26
- package/dist/chunks/image-s3cjcvsp.js +0 -252
- package/dist/id/id.js +0 -56
- package/dist/types/id/id.d.ts +0 -19
- /package/dist/chunks/{image-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
node51
|
|
7
|
+
} from "./job-47r9vgy9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-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: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
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 Service15 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(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service48;
|
|
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(Service21, 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 Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node51] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./job-v3f136vv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y6bex35g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./job-mvsyj89v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./job-3f358k6q.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-gjeq5cpe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./job-1yms2fw9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./job-v3f136vv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./job-hws959dx.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-n5cwecme.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./job-qhev78dh.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./job-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID10.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service67;
|
|
167
|
+
const bus = yield* Service82;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID9.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
248
248
|
}));
|
|
249
249
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
250
250
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
251
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
251
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID9.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID9.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID9.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./job-dqpy1reh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./job-nmj4sc10.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./job-fg73yfg0.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin15
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin15 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service45;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service52;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin47 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin15, exports_worktree };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service61,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node65,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service61 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service61.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node65 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node65, exports_select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-ndmv45hp.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service71,
|
|
3
|
+
node75,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-9b9nbw19.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service41,
|
|
8
|
+
node43
|
|
9
|
+
} from "./job-vqfzq50h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./job-hhve2k50.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-2kc3w70s.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service71, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service70);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node43.replace(Layer.succeed(Service41, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node75.replace(Layer.succeed(Service71, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node6, exports_location_watcher_policy };
|