@opencode/core 0.0.0-dev-20115 → 0.0.0-dev-20117
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 +92 -92
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/job-06ecar7p.js +26 -0
- package/dist/chunks/{generate-ge5cpj3r.js → job-06jjyq25.js} +5 -5
- package/dist/chunks/{generate-312csvmh.js → job-09ab4w0b.js} +10 -10
- package/dist/chunks/{generate-eaj1djv9.js → job-0gdmqesm.js} +8 -8
- package/dist/chunks/{generate-sve65ey2.js → job-0gt6hq1h.js} +11 -11
- package/dist/chunks/{generate-7dqw4kz8.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{generate-408p2t6a.js → job-0krj06zv.js} +29 -29
- package/dist/chunks/{generate-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-fjq2vs6z.js → job-0qjqxv8x.js} +6 -6
- package/dist/chunks/{generate-ba3st6n3.js → job-1akzh197.js} +2 -2
- package/dist/chunks/{generate-cybk5p7c.js → job-1bdm6hny.js} +69 -69
- package/dist/chunks/{generate-3v0kbfet.js → job-1bfsfmvc.js} +6 -6
- package/dist/chunks/{generate-kw185j9a.js → job-1bgw19ad.js} +28 -28
- package/dist/chunks/{generate-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-jpv1641y.js → job-1g0g0xr9.js} +8 -8
- package/dist/chunks/{generate-4sx6m46k.js → job-1k1zt28s.js} +7 -7
- package/dist/chunks/{generate-q4qc13yr.js → job-1kmjydgr.js} +35 -35
- package/dist/chunks/{generate-v7twaqy7.js → job-1nyxs106.js} +18 -18
- package/dist/chunks/{generate-gzafw2k2.js → job-1sx3a1q9.js} +18 -18
- package/dist/chunks/{generate-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{generate-cpy6gm2a.js → job-23pqda6t.js} +6 -6
- package/dist/chunks/{generate-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{generate-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-peprph1j.js → job-2ajddff5.js} +28 -28
- package/dist/chunks/{generate-gmjjhz4f.js → job-2e96adxv.js} +6 -6
- package/dist/chunks/{generate-mvk2jfk4.js → job-2j5fagp0.js} +5 -5
- package/dist/chunks/{generate-y7t0d5q6.js → job-2j95z75a.js} +4 -4
- package/dist/chunks/{generate-gcqgchj4.js → job-2ppykmxn.js} +45 -45
- package/dist/chunks/{generate-3n114cxc.js → job-2qyf8db6.js} +17 -17
- package/dist/chunks/{generate-6fra3cd5.js → job-2v6ex66j.js} +5 -5
- package/dist/chunks/{generate-4z9rzteq.js → job-2wb97pj4.js} +21 -21
- package/dist/chunks/{generate-pmw6zdhr.js → job-32b4pke8.js} +4 -4
- package/dist/chunks/{generate-y8adhbbs.js → job-38sk3nar.js} +3 -3
- package/dist/chunks/{generate-e40qhhm8.js → job-39f1va02.js} +7 -7
- package/dist/chunks/{generate-p0b30zvt.js → job-39vcg8gd.js} +11 -11
- package/dist/chunks/{generate-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-7vv29s32.js → job-3gqzmmgb.js} +24 -24
- package/dist/chunks/{generate-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-0rkxpd3w.js → job-3n0cajew.js} +16 -16
- package/dist/chunks/{generate-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-r03v0hjj.js → job-3t33cn62.js} +41 -41
- package/dist/chunks/{generate-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-y4n2nqts.js → job-401gvj9k.js} +8 -8
- package/dist/chunks/{generate-tx9w5tca.js → job-428ep8fh.js} +8 -8
- package/dist/chunks/{generate-gr6sts3c.js → job-45e95j0e.js} +24 -24
- package/dist/chunks/{generate-8whe1ftd.js → job-46dqvkh7.js} +10 -10
- package/dist/chunks/{generate-96av1tye.js → job-4796t406.js} +21 -21
- package/dist/chunks/{generate-dtp9vetf.js → job-49fnb6sh.js} +16 -16
- package/dist/chunks/{generate-44h5tttr.js → job-4dgbcxzg.js} +4 -4
- package/dist/chunks/{generate-nxhqveyz.js → job-4phm5153.js} +5 -5
- package/dist/chunks/job-4v7qdvcn.js +18 -0
- package/dist/chunks/{generate-gghkw5p5.js → job-4weh5bdv.js} +21 -21
- package/dist/chunks/{generate-kwrf6mrp.js → job-56dkfrzf.js} +4 -4
- package/dist/chunks/{generate-33w4ejhs.js → job-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-f9qkrfrz.js → job-56pr2qhb.js} +20 -20
- package/dist/chunks/{generate-2fgn2we9.js → job-57ez7d0k.js} +9 -9
- package/dist/chunks/{generate-hpjt3c9f.js → job-5bgfnzpc.js} +17 -17
- package/dist/chunks/{generate-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-4vd7n6yw.js → job-5ejaqpd2.js} +1 -1
- package/dist/chunks/{generate-5ekn9679.js → job-5ekn9679.js} +1 -1
- package/dist/chunks/{generate-4478d6jr.js → job-5f1n8mnh.js} +21 -21
- package/dist/chunks/{generate-2qd48t7m.js → job-5fe0qwa6.js} +14 -14
- package/dist/chunks/{generate-7fzbbf6p.js → job-5gn5ht9q.js} +18 -18
- package/dist/chunks/{generate-z3nay82g.js → job-5rnnm2b5.js} +9 -9
- package/dist/chunks/{generate-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-7rats573.js → job-5tv109et.js} +17 -17
- package/dist/chunks/{generate-8k1taj4b.js → job-5xmq8hjj.js} +19 -19
- package/dist/chunks/{generate-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{generate-50d7ccq3.js → job-69srdcjj.js} +22 -22
- package/dist/chunks/{generate-7p3fcf52.js → job-69tmfbbf.js} +24 -24
- package/dist/chunks/{generate-500fmqbd.js → job-6c0yxsnx.js} +9 -9
- package/dist/chunks/{generate-aw6rh0e0.js → job-6f98ddea.js} +18 -18
- package/dist/chunks/{generate-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-6pc27hjz.js → job-6pc27hjz.js} +2 -2
- package/dist/chunks/{generate-8exb21m6.js → job-6qge8m99.js} +19 -19
- package/dist/chunks/{generate-tjbwbrpf.js → job-6w1fpe87.js} +8 -8
- package/dist/chunks/{generate-rj7bpn2q.js → job-74r8w3w9.js} +8 -8
- package/dist/chunks/{generate-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-e4670fxf.js → job-7mybjfdf.js} +10 -10
- package/dist/chunks/{generate-4wgvb1zg.js → job-7qqrag4m.js} +6 -6
- package/dist/chunks/{generate-mg9my19h.js → job-7td7z3fp.js} +19 -19
- package/dist/chunks/{generate-q3t37ft6.js → job-7w99qc9d.js} +3 -3
- package/dist/chunks/{generate-wtgzqz62.js → job-7x4p52fy.js} +15 -15
- package/dist/chunks/{generate-mhkvc446.js → job-7yh4e7ss.js} +3 -3
- package/dist/chunks/{generate-0jq9fyba.js → job-82rhge12.js} +9 -9
- package/dist/chunks/{generate-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-s26hbv8p.js → job-8tsdq50x.js} +4 -4
- package/dist/chunks/{generate-36nf603s.js → job-8z7msbkh.js} +22 -22
- package/dist/chunks/{generate-9gz4pnve.js → job-940kd8g7.js} +18 -18
- package/dist/chunks/{generate-94ek1h2f.js → job-94ek1h2f.js} +2 -2
- package/dist/chunks/{generate-ynpb9wcp.js → job-9f725xn7.js} +14 -14
- package/dist/chunks/{generate-g8f2cmxd.js → job-9fgr0hdb.js} +19 -19
- package/dist/chunks/{generate-qb1vw869.js → job-9fh0ezmp.js} +43 -43
- package/dist/chunks/{generate-4yqq56vx.js → job-9tddqe67.js} +27 -27
- package/dist/chunks/{generate-xx13ga85.js → job-a08crfs3.js} +5 -5
- package/dist/chunks/{generate-cavr175a.js → job-a8bn8zg0.js} +4 -4
- package/dist/chunks/{generate-za9cx4qh.js → job-a8zr1srk.js} +5 -5
- package/dist/chunks/{generate-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-htfm5hm2.js → job-abyhcr9s.js} +13 -13
- package/dist/chunks/{generate-djdxfn23.js → job-aw4zpqkp.js} +30 -30
- package/dist/chunks/{generate-rcjabzwr.js → job-azt0254s.js} +5 -5
- package/dist/chunks/{generate-g25em2wa.js → job-b2m4d5y3.js} +6 -6
- package/dist/chunks/{generate-gsxdchbh.js → job-b511808p.js} +9 -9
- package/dist/chunks/{generate-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-2y92msa0.js → job-be2qd2v9.js} +8 -8
- package/dist/chunks/{generate-2tdwad47.js → job-bep4fg8x.js} +13 -13
- package/dist/chunks/{generate-0r7yqxbf.js → job-bgxcxs0p.js} +5 -5
- package/dist/chunks/{generate-e0xdgz0m.js → job-bj2wgt5k.js} +11 -11
- package/dist/chunks/{generate-srn8r8jz.js → job-bywpc8rd.js} +19 -19
- package/dist/chunks/{generate-hehaxqkv.js → job-c651xxjb.js} +4 -4
- package/dist/chunks/{generate-n46we7c3.js → job-cdv7sade.js} +33 -33
- package/dist/chunks/{generate-ckecvw8r.js → job-ckecvw8r.js} +2 -2
- package/dist/chunks/{generate-7d7mc7nn.js → job-cthfxzt4.js} +24 -24
- package/dist/chunks/{generate-na4s0x3w.js → job-d5m8kxt2.js} +18 -18
- package/dist/chunks/{generate-cfsjmcx3.js → job-d6fbzdp8.js} +15 -15
- package/dist/chunks/{generate-5c9sd73s.js → job-df2mqfaw.js} +8 -8
- package/dist/chunks/{generate-zxfgyqze.js → job-dfgmqrc0.js} +9 -9
- package/dist/chunks/{generate-2sejkfem.js → job-djszqvmq.js} +9 -9
- package/dist/chunks/{generate-xkntkrq7.js → job-dmqcgk4z.js} +5 -5
- package/dist/chunks/{generate-nnh0aynp.js → job-dnkkkbd9.js} +19 -19
- package/dist/chunks/{generate-b0rvnc5h.js → job-drq9ktmw.js} +48 -48
- package/dist/chunks/{generate-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-n6f6v89y.js → job-e37tnz3f.js} +11 -11
- package/dist/chunks/job-e6a14sr7.js +252 -0
- package/dist/chunks/{generate-erw5rpbs.js → job-ecfe7b91.js} +17 -3
- package/dist/chunks/{generate-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-z8m5seqj.js → job-ehpd500e.js} +16 -16
- package/dist/chunks/{generate-9sp5ch6w.js → job-enq2arha.js} +35 -35
- package/dist/chunks/{generate-vek5t477.js → job-etgnvgyw.js} +9 -9
- package/dist/chunks/{generate-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-9chjmrjd.js → job-ex87bvhs.js} +20 -20
- package/dist/chunks/{generate-a54cg76a.js → job-ezsddnzd.js} +11 -11
- package/dist/chunks/{generate-9hqhm2d2.js → job-f2dth5q0.js} +25 -25
- package/dist/chunks/{generate-cv19meg5.js → job-feeh42vr.js} +7 -7
- package/dist/chunks/{generate-vrjazymd.js → job-fpm5dfe6.js} +1 -1
- package/dist/chunks/{generate-wp7yrr8t.js → job-ft2kddfv.js} +26 -26
- package/dist/chunks/{generate-1wj59nq5.js → job-g0knnnvb.js} +7 -7
- package/dist/chunks/{generate-05v90r5t.js → job-g3cg405p.js} +32 -32
- package/dist/chunks/{generate-j2gexte7.js → job-g5j1xj6d.js} +15 -15
- package/dist/chunks/{generate-0cgtmc8a.js → job-g7jvb7c9.js} +12 -12
- package/dist/chunks/{generate-3ka6c8fj.js → job-g7ypg50b.js} +47 -47
- package/dist/chunks/{generate-hqax1sk6.js → job-gana4wwq.js} +3 -3
- package/dist/chunks/{generate-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-r3889vak.js → job-gf1a758n.js} +20 -20
- package/dist/chunks/{generate-zcjrg8ya.js → job-gfd92byg.js} +3 -3
- package/dist/chunks/{generate-v1sqp18z.js → job-gkk2vsa1.js} +10 -10
- package/dist/chunks/{generate-0cazcqtd.js → job-gnwttv8c.js} +13 -13
- package/dist/chunks/{generate-dsh6f6yj.js → job-gtqkwj1s.js} +27 -27
- package/dist/chunks/{generate-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-arzv5pyn.js → job-gzxmtk3z.js} +28 -28
- package/dist/chunks/{generate-pbt7bx9c.js → job-h392vsh3.js} +27 -27
- package/dist/chunks/{generate-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-a1fy41p6.js → job-hfejrwd3.js} +89 -89
- package/dist/chunks/{generate-6dxb6f6k.js → job-hfk902bk.js} +26 -26
- package/dist/chunks/job-hr9dp009.js +4 -0
- package/dist/chunks/{generate-k1qrnqst.js → job-hz0q9sdq.js} +8 -8
- package/dist/chunks/{generate-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-vyqn3nqs.js → job-j8zzr2am.js} +6 -6
- package/dist/chunks/{generate-wgzm9wz2.js → job-jfcrfxx5.js} +11 -11
- package/dist/chunks/{generate-a22s65z7.js → job-jn4pd18v.js} +29 -29
- package/dist/chunks/{generate-nzks3jc8.js → job-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-1wqg2ck8.js → job-k4prqeh4.js} +20 -20
- package/dist/chunks/{generate-wwgrxbk4.js → job-k66m888w.js} +10 -10
- package/dist/chunks/{generate-pwaxk50r.js → job-k898cvrw.js} +19 -19
- package/dist/chunks/{generate-swgq8cqr.js → job-kbm1ynj2.js} +9 -9
- package/dist/chunks/{generate-reg6q42h.js → job-kbqjp078.js} +5 -5
- package/dist/chunks/{generate-g26gfjk9.js → job-kgta4zhr.js} +15 -15
- package/dist/chunks/{generate-k8dasee7.js → job-kjfdeayr.js} +8 -8
- package/dist/chunks/{generate-pn9jkae5.js → job-kq97aah5.js} +14 -14
- package/dist/chunks/{generate-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-vpr681xz.js → job-m5w7v0wx.js} +8 -8
- package/dist/chunks/{generate-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-q4fmv0xv.js → job-mjagy123.js} +5 -5
- package/dist/chunks/{generate-hs0gycjv.js → job-mp4h100x.js} +22 -22
- package/dist/chunks/{generate-s375a249.js → job-mpr988h5.js} +14 -14
- package/dist/chunks/{generate-sn6ab8mn.js → job-mt2f285y.js} +22 -22
- package/dist/chunks/{generate-tv09qagv.js → job-mxb1av1c.js} +54 -54
- package/dist/chunks/{generate-d6bnq78f.js → job-n0fqykew.js} +43 -43
- package/dist/chunks/{generate-d97kjvmj.js → job-n0hqrnc7.js} +13 -13
- package/dist/chunks/{generate-hzp6wvvn.js → job-n0ydmhs4.js} +20 -20
- package/dist/chunks/{generate-2z03bkx6.js → job-n3kq8bhs.js} +5 -5
- package/dist/chunks/{generate-fgbmk54h.js → job-nc56ca6n.js} +8 -8
- package/dist/chunks/{generate-gzvxer3a.js → job-nmgmd4cq.js} +5 -5
- package/dist/chunks/{generate-jca4demv.js → job-nng2ktcm.js} +2 -2
- package/dist/chunks/{generate-ysa4kjbr.js → job-nphwwh18.js} +22 -22
- package/dist/chunks/{generate-135dqwpd.js → job-nqxawep0.js} +11 -11
- package/dist/chunks/{generate-qg0jgkcp.js → job-nscznvay.js} +9 -9
- package/dist/chunks/{generate-3dx765w3.js → job-p1evykhm.js} +4 -4
- package/dist/chunks/{generate-ev27g8wa.js → job-p3aee9p2.js} +29 -29
- package/dist/chunks/{generate-kmdz5r4y.js → job-p510kpqb.js} +25 -25
- package/dist/chunks/{generate-g0445xdp.js → job-pa8pe2x7.js} +8 -8
- package/dist/chunks/{generate-058r5a9s.js → job-pbrpzrq7.js} +16 -16
- package/dist/chunks/{generate-m2yg46wj.js → job-pcrgqftn.js} +11 -11
- package/dist/chunks/{generate-jrwd5gjp.js → job-pfs3k8ss.js} +13 -13
- package/dist/chunks/{generate-mnp2fbq7.js → job-pgcg0d1h.js} +15 -15
- package/dist/chunks/{generate-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{generate-ve4pfa0n.js → job-pmr4s4kc.js} +4 -4
- package/dist/chunks/{generate-5na67w3t.js → job-qdpr3s4d.js} +4 -4
- package/dist/chunks/{generate-k8962brh.js → job-qm0v3jhh.js} +4 -4
- package/dist/chunks/{generate-xxyw0hgj.js → job-qmncj327.js} +31 -31
- package/dist/chunks/{generate-y52aqrcn.js → job-qq1zxkvg.js} +5 -5
- package/dist/chunks/{generate-7w8dz25z.js → job-qscej5s3.js} +22 -22
- package/dist/chunks/{generate-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-vz9yhsd3.js → job-r8asybjw.js} +18 -18
- package/dist/chunks/{generate-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-ey7ggjjv.js → job-rg2xem1e.js} +32 -32
- package/dist/chunks/{generate-kh5864kc.js → job-rkdygtmg.js} +17 -17
- package/dist/chunks/{generate-g7nv64e4.js → job-rn2eypzr.js} +19 -19
- package/dist/chunks/{generate-tz4n1mmd.js → job-rpg9c19m.js} +4 -4
- package/dist/chunks/{generate-q8n9d2sh.js → job-rsc9fyh1.js} +5 -5
- package/dist/chunks/{generate-rmebftez.js → job-rw4p1zvs.js} +176 -176
- package/dist/chunks/{generate-yxn70j2j.js → job-ry4pmnah.js} +48 -48
- package/dist/chunks/{generate-vnpwkwtz.js → job-s9p9yhws.js} +25 -25
- package/dist/chunks/{generate-e7shfttd.js → job-sbtd5cqg.js} +9 -9
- package/dist/chunks/{generate-v44xvwz4.js → job-sd9trz6r.js} +27 -27
- package/dist/chunks/{generate-m40fkmb4.js → job-seh2r5vn.js} +15 -15
- package/dist/chunks/{generate-vtpkq4qf.js → job-sfntmzm9.js} +1 -1
- package/dist/chunks/{generate-8aaqm6qj.js → job-sm965ndy.js} +8 -8
- package/dist/chunks/{generate-2fghpfkp.js → job-svwwfx8r.js} +40 -40
- package/dist/chunks/{generate-cpx588df.js → job-sxyw4smr.js} +328 -328
- package/dist/chunks/{generate-5vs0p599.js → job-t158wmyx.js} +27 -27
- package/dist/chunks/{generate-w9m1hehb.js → job-t4fqw5qd.js} +42 -42
- package/dist/chunks/{generate-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-wq4mmp7m.js → job-tazp3vs0.js} +4 -4
- package/dist/chunks/{generate-b5vd5f2s.js → job-tc6r3wck.js} +3 -3
- package/dist/chunks/{generate-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{generate-bt5w0njk.js → job-trvff98g.js} +30 -30
- package/dist/chunks/{generate-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-fpm8vwy4.js → job-txy7cjma.js} +34 -34
- package/dist/chunks/{generate-tn0aqsam.js → job-tz2bjj40.js} +5 -5
- package/dist/chunks/{generate-3gc9tq7p.js → job-v1k3ebp3.js} +15 -15
- package/dist/chunks/{generate-ebhw3mq4.js → job-vannwsbv.js} +4 -4
- package/dist/chunks/{generate-4krywg4p.js → job-vczfdbhq.js} +13 -13
- package/dist/chunks/{generate-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-z2wn3pyy.js → job-vfhxy1jh.js} +30 -30
- package/dist/chunks/{generate-0z594a3n.js → job-vgd8xd9t.js} +86 -86
- package/dist/chunks/{generate-gzre948x.js → job-vkv6409f.js} +12 -12
- package/dist/chunks/{generate-n78y29v0.js → job-vnew14wc.js} +6 -6
- package/dist/chunks/{generate-bfhawprk.js → job-vpvxj1y0.js} +9 -9
- package/dist/chunks/{generate-bgbs76xx.js → job-vv3vvt2q.js} +24 -24
- package/dist/chunks/{generate-y5df08dr.js → job-vy4zg7qh.js} +12 -12
- package/dist/chunks/{generate-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-txcvczgx.js → job-w17zarh3.js} +23 -23
- package/dist/chunks/{generate-8j75q05v.js → job-w21yv6g6.js} +52 -52
- package/dist/chunks/{generate-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-pek3718z.js → job-wa02vkre.js} +11 -11
- package/dist/chunks/{generate-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
- package/dist/chunks/{generate-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{generate-hgs5ny64.js → job-wgwym0w9.js} +11 -11
- package/dist/chunks/{generate-vzbekny8.js → job-wnrrgv3v.js} +10 -10
- package/dist/chunks/{generate-p6frwh1y.js → job-wtfect3k.js} +26 -26
- package/dist/chunks/{generate-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-btbmdjwj.js → job-x3gqap9d.js} +4 -4
- package/dist/chunks/{generate-r06z5h03.js → job-x6vwjax2.js} +23 -23
- package/dist/chunks/{generate-bmbezxvj.js → job-xbpexdxe.js} +12 -12
- package/dist/chunks/{generate-basnvkrt.js → job-xd5w5drf.js} +1 -1
- package/dist/chunks/{generate-tcdcapjr.js → job-xgm5bwxe.js} +3 -3
- package/dist/chunks/{generate-48yaw2g6.js → job-xrkdxzaa.js} +33 -33
- package/dist/chunks/{generate-kjqhhdrj.js → job-xswd2qaz.js} +6 -6
- package/dist/chunks/{generate-ewvdpzth.js → job-y197ptv6.js} +17 -17
- package/dist/chunks/{generate-wcrxxh2z.js → job-y1b5pcbw.js} +32 -32
- package/dist/chunks/{generate-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{generate-8bpcqbtr.js → job-y7pjqeaw.js} +36 -36
- package/dist/chunks/{generate-mqzwkyay.js → job-ydgy0jv4.js} +6 -6
- package/dist/chunks/{generate-j5w2yx54.js → job-yf4jcbx9.js} +6 -6
- package/dist/chunks/{generate-wb66k78e.js → job-yntq0gcf.js} +15 -15
- package/dist/chunks/{generate-yp2x3t23.js → job-yp2x3t23.js} +1 -1
- package/dist/chunks/{generate-3bw4v39f.js → job-ypemt4s4.js} +9 -9
- package/dist/chunks/{generate-ydpvnw0r.js → job-yrhjc6nc.js} +8 -8
- package/dist/chunks/{generate-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-z07pqspn.js → job-z07pqspn.js} +3 -3
- package/dist/chunks/{generate-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-nkttmmpy.js → job-zbk0d8tf.js} +4 -4
- package/dist/chunks/{generate-ahwm19b7.js → job-zed0v9zv.js} +33 -33
- package/dist/chunks/{generate-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-km5mjpbt.js → job-zna012a6.js} +3 -3
- package/dist/chunks/{generate-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-er4hwy7c.js → job-zx0k7w1w.js} +17 -17
- package/dist/chunks/{generate-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +162 -162
- 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 +123 -123
- 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 +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +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/id/id.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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- 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 +106 -106
- package/dist/mcp/instructions.js +128 -128
- 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 +96 -96
- package/dist/model.js +96 -96
- package/dist/models-dev.js +101 -101
- 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 +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 +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- 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 +352 -352
- 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/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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- 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 +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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- 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 +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- 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 +127 -127
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- 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 +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/effect/app-node-platform.d.ts +1 -2
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/generate-0mesazry.js +0 -4
- package/dist/chunks/generate-2tf17v0s.js +0 -26
- package/dist/chunks/generate-phz3h32g.js +0 -18
- package/dist/chunks/generate-q1k3p0aj.js +0 -252
- /package/dist/chunks/{generate-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-p1evykhm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-w21yv6g6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event6,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service36,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -38,9 +38,9 @@ import { Event as Event6 } from "@opencode/schema/skill";
|
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service36 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service36.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node39 = makeLocationNode({
|
|
112
|
+
service: Service36,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service36, node39, exports_skill5, Event6 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./job-zx0k7w1w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service22
|
|
6
|
+
} from "./job-hfejrwd3.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make4
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make4 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service22;
|
|
24
|
+
const jobs = yield* Service67;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make4, exports_subagent_job };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gana4wwq.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-4dgbcxzg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-p1evykhm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./job-aw4zpqkp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-jn4pd18v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./job-rg2xem1e.js";
|
|
21
21
|
import {
|
|
22
22
|
ID7
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-f2dth5q0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./job-dnkkkbd9.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-g0knnnvb.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID13.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service70;
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID12.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID12.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID12.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID12.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID12.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-w21yv6g6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service34,
|
|
12
|
+
node37
|
|
13
|
+
} from "./job-drq9ktmw.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./job-0krj06zv.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service32,
|
|
27
|
+
layer: () => layer13,
|
|
28
|
+
node: () => node35
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service34;
|
|
68
|
+
return Service32.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make18({
|
|
71
|
+
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node35 = makeLocationNode({ service: Service32, layer: layer13, deps: [node37] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service32, layer13, node35, exports_instructions5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./job-5rnnm2b5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./job-yf4jcbx9.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./job-428ep8fh.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-2e96adxv.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service36
|
|
23
|
+
} from "./job-nphwwh18.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service54;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service62;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service36;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service50;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./job-69srdcjj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./job-9fh0ezmp.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-xswd2qaz.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin20
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin20 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service39;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service40;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin47 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin20, exports_compatibility };
|