@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,18 +1,18 @@
|
|
|
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
|
+
Service15
|
|
9
|
+
} from "./job-d5m8kxt2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service9
|
|
12
|
+
} from "./job-9fgr0hdb.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./job-v1k3ebp3.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin4,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin4 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin10 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin4, toModelContent2, exports_read };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-gana4wwq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-p1evykhm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./job-vy4zg7qh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-0gdmqesm.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-z07pqspn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./job-rg2xem1e.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID12.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./job-3n0cajew.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service77,
|
|
10
|
+
node80
|
|
11
|
+
} from "./job-940kd8g7.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service20,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node22,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service20 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const ripgrep = yield* Service77;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service20.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service20, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service20.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service20, layer: layer9(options), deps: [node84, node80] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node22 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service20, ripgrepLayer2, fffLayer2, layer9, configured3, node22, exports_search };
|
|
@@ -1,66 +1,66 @@
|
|
|
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
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./job-hr9dp009.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service69,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node72
|
|
16
|
+
} from "./job-7td7z3fp.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput3,
|
|
28
|
+
Event: () => Event15,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info25,
|
|
31
|
+
NotFoundError: () => NotFoundError9,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service68,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node71
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event15 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info25 = Pty.Info;
|
|
45
|
+
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError9 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID11
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID11
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service68 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const shell = yield* Service69;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID11.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service68.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node71 = makeLocationNode({
|
|
274
|
+
service: Service68,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87,
|
|
276
|
+
deps: [node87, node84, node72]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info25, CreateInput3, UpdateInput2, NotFoundError9, ExitedError2, Service68, node71, exports_pty, Event15 };
|