@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gana4wwq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-p1evykhm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node56
|
|
12
|
+
} from "./job-yf4jcbx9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service81,
|
|
19
|
+
node85
|
|
20
|
+
} from "./job-t4fqw5qd.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-3n0cajew.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service61,
|
|
26
|
+
node63
|
|
27
|
+
} from "./job-etgnvgyw.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./job-2e96adxv.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./job-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service52
|
|
39
|
+
} from "./job-rpg9c19m.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service59,
|
|
42
|
+
node61
|
|
43
|
+
} from "./job-5fe0qwa6.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service53,
|
|
48
|
+
node55,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./job-1nyxs106.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service51,
|
|
53
|
+
node54
|
|
54
|
+
} from "./job-1kmjydgr.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./job-5gn5ht9q.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./job-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node30
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service81;
|
|
92
|
+
const locations = yield* Service61;
|
|
93
|
+
const store = yield* Service59;
|
|
94
|
+
const execution = yield* Service51;
|
|
95
|
+
const instances = yield* Service54;
|
|
96
|
+
const admission = yield* Service53;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service52.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node30 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node85,
|
|
173
|
+
node63,
|
|
174
|
+
node61,
|
|
175
|
+
node54,
|
|
176
|
+
node56,
|
|
177
|
+
node55,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./job-9fh0ezmp.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./job-vv3vvt2q.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./job-zx0k7w1w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./job-w21yv6g6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-d5m8kxt2.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service69,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-7td7z3fp.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./job-g7ypg50b.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./job-hfejrwd3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-2j95z75a.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./job-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin5,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin5 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service22;
|
|
122
|
+
const jobs = yield* Service67;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service78;
|
|
125
|
+
const access = yield* Service15;
|
|
126
|
+
const shell = yield* Service37;
|
|
127
|
+
const shellSelect = yield* Service69;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service57;
|
|
130
|
+
const config = yield* Service39;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin14 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin14 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin14 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin5, exports_shell };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./job-3n0cajew.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./job-9fh0ezmp.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-69tmfbbf.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service39;
|
|
35
|
+
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin16, exports_reference };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-p1evykhm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./job-wnrrgv3v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event20,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service74,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node77,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service74 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event20 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service75;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event20.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service74.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event20.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event20.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node77 = makeGlobalNode({ service: Service74, layer, deps: [httpClient, node78, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service74, Event20, inspect2, resolve4, node77, exports_wellknown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./job-rg2xem1e.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/google-vertex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.provider.transform((evt) => {
|
|
26
26
|
for (const item of evt.list()) {
|
|
27
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
27
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
28
28
|
continue;
|
|
29
29
|
const project = resolveProject(item.provider.settings ?? {});
|
|
30
30
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
42
42
|
});
|
|
43
43
|
yield* ctx.model.transform((models) => {
|
|
44
44
|
for (const item of models.provider.list()) {
|
|
45
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
45
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
46
46
|
continue;
|
|
47
47
|
const project = resolveProject(item.provider.settings ?? {});
|
|
48
48
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
62
|
-
if (evt.model.providerID !==
|
|
62
|
+
if (evt.model.providerID !== ID12.googleVertex)
|
|
63
63
|
return;
|
|
64
64
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
65
65
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./job-4796t406.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-7w99qc9d.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-2e96adxv.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service45;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./job-rg2xem1e.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-7w99qc9d.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|