@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
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-p1evykhm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service48,
|
|
31
|
+
configured: () => configured8,
|
|
32
|
+
layer: () => layer20,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service48 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make18({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service48.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured8(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service48,
|
|
110
|
+
layer: layer20(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node51 = configured8();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event10, Options9, Service48, layer20, configured8, node51, exports_instruction_discovery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured9,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer24,
|
|
12
12
|
make: () => make19,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node65,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node65 = configured9();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make19, useragent2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer24, configured9, node65, exports_app };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./job-vv3vvt2q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-pfs3k8ss.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service74
|
|
14
|
-
} from "./generate-8j75q05v.js";
|
|
10
|
+
Service17
|
|
11
|
+
} from "./job-seh2r5vn.js";
|
|
15
12
|
import {
|
|
16
13
|
Service57
|
|
17
|
-
} from "./
|
|
14
|
+
} from "./job-w21yv6g6.js";
|
|
15
|
+
import {
|
|
16
|
+
Service15
|
|
17
|
+
} from "./job-d5m8kxt2.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input5,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin6,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name5,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name5 = "write";
|
|
39
|
+
var Input5 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin6 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service17;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input5,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name5, Input5, Output3, toModelContent3, Plugin6, exports_write };
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./job-bywpc8rd.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin30
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin30 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service39;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service47;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin32 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin30, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service64 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service64.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node67 = makeLocationNode({
|
|
143
|
+
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node67, exports_tool_output2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-p1evykhm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./job-3n0cajew.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./job-vv3vvt2q.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service69,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node72
|
|
20
|
+
} from "./job-7td7z3fp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node64
|
|
24
|
+
} from "./job-428ep8fh.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service38,
|
|
27
|
+
node41
|
|
28
|
+
} from "./job-sm965ndy.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./job-7w99qc9d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service39,
|
|
35
|
+
node42
|
|
36
|
+
} from "./job-9fh0ezmp.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./job-g7jvb7c9.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./job-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service37,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service37 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service83;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service69;
|
|
94
|
+
const environment = yield* Service78;
|
|
95
|
+
const hooks = yield* Service62;
|
|
96
|
+
const environments = yield* Service38;
|
|
97
|
+
const config = yield* Service39;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError4({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service37.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service37,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node87,
|
|
324
|
-
|
|
324
|
+
node84,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node72,
|
|
327
|
+
node81,
|
|
328
|
+
node64,
|
|
329
|
+
node41,
|
|
330
|
+
node42,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gfd92byg.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-38sk3nar.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service35,
|
|
3
|
+
node38
|
|
4
|
+
} from "./job-69tmfbbf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service35;
|
|
64
|
+
return Service24.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make18({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node38] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service24, node27, exports_instructions2 };
|