@opencode-ai/core 0.0.0-dev-19174 → 0.0.0-dev-19178
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{shell-8g67dwbc.js → kv-07pjb4yj.js} +5 -5
- package/dist/chunks/{shell-7bfdkh1t.js → kv-0drwrr20.js} +15 -15
- package/dist/chunks/{shell-0e0xafbb.js → kv-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-mvhtz5js.js → kv-0kj443hm.js} +5 -5
- package/dist/chunks/{shell-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-et79eehw.js → kv-0pz84dxy.js} +9 -9
- package/dist/chunks/{shell-0s9ayhjt.js → kv-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-zj4p2a1k.js → kv-12fnx30g.js} +8 -8
- package/dist/chunks/{shell-2qrq5jg3.js → kv-14hmenm3.js} +3 -3
- package/dist/chunks/{shell-xay8nyhx.js → kv-14mbnhb1.js} +6 -6
- package/dist/chunks/{shell-jx283wc3.js → kv-16yc1m91.js} +9 -9
- package/dist/chunks/{shell-1ct4r87x.js → kv-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-esp3dmb3.js → kv-1mg2yz7f.js} +3 -3
- package/dist/chunks/{shell-az9b9mm6.js → kv-1r3zydfx.js} +4 -4
- package/dist/chunks/{shell-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{shell-ng39vjdn.js → kv-238pagf0.js} +2 -2
- package/dist/chunks/{shell-2402vzrj.js → kv-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-29x78va6.js → kv-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-h2sw8ea3.js → kv-2bac7mmh.js} +15 -15
- package/dist/chunks/{shell-2ht70gj7.js → kv-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-301db2e0.js → kv-2stffz79.js} +25 -25
- package/dist/chunks/{shell-ddcwh8jf.js → kv-2v1h19tk.js} +3 -3
- package/dist/chunks/{shell-vdxzp0s5.js → kv-31fmz1fp.js} +20 -20
- package/dist/chunks/{shell-gdvy8fx6.js → kv-3fc6dm20.js} +4 -4
- package/dist/chunks/{shell-3jj6bjb6.js → kv-3g2y1byn.js} +5 -5
- package/dist/chunks/{shell-eg1n48gj.js → kv-3gfsa2we.js} +15 -15
- package/dist/chunks/{shell-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3qzbfqsy.js → kv-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-6g84bqmx.js → kv-3rdd7m9r.js} +21 -21
- package/dist/chunks/{shell-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-pjjtcy2p.js → kv-3wfq9j39.js} +12 -12
- package/dist/chunks/{shell-kja6ea6z.js → kv-3z7ymfy8.js} +11 -11
- package/dist/chunks/{shell-454k5vzh.js → kv-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-4pb24dhv.js → kv-496a646b.js} +14 -14
- package/dist/chunks/{shell-75p0zbr9.js → kv-4ga6yzkg.js} +27 -27
- package/dist/chunks/{shell-ztjnpbp4.js → kv-4qf6hhyh.js} +9 -9
- package/dist/chunks/{shell-4r2nyarf.js → kv-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-vkh6dqf1.js → kv-4rsfp5k5.js} +3 -3
- package/dist/chunks/{shell-m4bpwynw.js → kv-4z6b0fg6.js} +6 -6
- package/dist/chunks/{shell-xe4jdaw3.js → kv-57w39xht.js} +5 -5
- package/dist/chunks/{shell-n87qk14a.js → kv-599cnyq5.js} +29 -29
- package/dist/chunks/{shell-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → kv-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-ggysapes.js → kv-5g0p4mxq.js} +26 -26
- package/dist/chunks/{shell-gp4zh27s.js → kv-5ggkvp9f.js} +6 -6
- package/dist/chunks/{shell-hm2ca2ns.js → kv-5gqcqfwy.js} +18 -18
- package/dist/chunks/{shell-5jvc5tg2.js → kv-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-7haxhjsc.js → kv-5k3f87xj.js} +1 -1
- package/dist/chunks/{shell-78h3c2ja.js → kv-5pdq8qgg.js} +6 -6
- package/dist/chunks/{shell-a61ajdq9.js → kv-5wnbjqvg.js} +17 -17
- package/dist/chunks/{shell-nag7dxjf.js → kv-5y6pdc3x.js} +9 -9
- package/dist/chunks/{shell-d8bdgt1m.js → kv-605y5xjw.js} +13 -13
- package/dist/chunks/{shell-a12tcaaf.js → kv-65yprxq5.js} +6 -6
- package/dist/chunks/{shell-rzq71d0k.js → kv-676wedsd.js} +22 -22
- package/dist/chunks/{shell-wdhc4zn8.js → kv-68dvzq1z.js} +8 -8
- package/dist/chunks/{shell-drz01ptw.js → kv-69pzhmr6.js} +28 -28
- package/dist/chunks/{shell-6abnk40k.js → kv-6abnk40k.js} +2 -2
- package/dist/chunks/{shell-mtcjf44p.js → kv-6e958v7x.js} +4 -4
- package/dist/chunks/{shell-6kgc56n8.js → kv-6enr500s.js} +6 -6
- package/dist/chunks/{shell-0sdspkc1.js → kv-6gz15wwc.js} +36 -36
- package/dist/chunks/{shell-806j49yq.js → kv-6hh8tjw2.js} +4 -4
- package/dist/chunks/{shell-ec2yajhv.js → kv-6nmsy562.js} +4 -4
- package/dist/chunks/{shell-zg1tfnff.js → kv-6xz6dfh8.js} +37 -37
- package/dist/chunks/{shell-711hfp6y.js → kv-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-72nftnjy.js → kv-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-344230wv.js → kv-7a2871xe.js} +6 -6
- package/dist/chunks/{shell-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-220n1ymv.js → kv-7c21gvyv.js} +178 -178
- package/dist/chunks/{shell-9kksqv7m.js → kv-7cnkxtbd.js} +9 -9
- package/dist/chunks/{shell-3zzgc37f.js → kv-7hmj7g9f.js} +17 -17
- package/dist/chunks/{shell-pjedbq3k.js → kv-7n2xhmm7.js} +6 -6
- package/dist/chunks/{shell-zvpejf85.js → kv-7r35fj82.js} +46 -46
- package/dist/chunks/{shell-4za3avwx.js → kv-868x4neb.js} +9 -9
- package/dist/chunks/{shell-45t9anda.js → kv-86s3977f.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{shell-axh9mnjf.js → kv-8fgv5w73.js} +18 -18
- package/dist/chunks/{shell-y2cqme3r.js → kv-93a8yfjt.js} +5 -5
- package/dist/chunks/{shell-xnf7zpzd.js → kv-9epfrg2r.js} +11 -11
- package/dist/chunks/{shell-46e97tr7.js → kv-9kbmc1bn.js} +10 -10
- package/dist/chunks/{shell-qy387ach.js → kv-9q10gh9c.js} +11 -11
- package/dist/chunks/{shell-9qm9egsn.js → kv-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-za9jakaj.js → kv-afs1gfwh.js} +9 -9
- package/dist/chunks/{shell-22jc9t4j.js → kv-aj9ffb68.js} +12 -12
- package/dist/chunks/{shell-ajtjthsy.js → kv-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-bf0ztrs3.js → kv-an7cqtb7.js} +4 -4
- package/dist/chunks/{shell-2qzq6ga3.js → kv-ayqzvvm1.js} +11 -11
- package/dist/chunks/{shell-t0z8h93t.js → kv-b1cc60s2.js} +49 -49
- package/dist/chunks/{shell-2nz939r2.js → kv-b2nzchm7.js} +11 -11
- package/dist/chunks/{shell-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-b9wsbatv.js → kv-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-2yzeteq7.js → kv-baw8dctm.js} +13 -13
- package/dist/chunks/{shell-kjrs54vr.js → kv-bv80vwep.js} +16 -16
- package/dist/chunks/{shell-rh6wbg4w.js → kv-bvz5j511.js} +15 -15
- package/dist/chunks/{shell-759pz1a2.js → kv-bw6y50md.js} +8 -8
- package/dist/chunks/{shell-wkjngxy5.js → kv-cq9zegd4.js} +3 -3
- package/dist/chunks/{shell-g2fgb7sn.js → kv-cxmh4q5b.js} +4 -4
- package/dist/chunks/{shell-v623p3vn.js → kv-d09b090m.js} +8 -8
- package/dist/chunks/{shell-jv6tbxxe.js → kv-d4cb5k3p.js} +8 -8
- package/dist/chunks/{shell-d72308c8.js → kv-d72308c8.js} +2 -2
- package/dist/chunks/{shell-hd4bzg4a.js → kv-db49mgn0.js} +23 -23
- package/dist/chunks/{shell-ygtbksd3.js → kv-dcspmnv1.js} +32 -32
- package/dist/chunks/{shell-20k6nhm9.js → kv-dctx0khx.js} +23 -23
- package/dist/chunks/kv-dh0q6p2e.js +247 -0
- package/dist/chunks/{shell-pxz8xz7s.js → kv-dhqg8tcb.js} +9 -9
- package/dist/chunks/{shell-kthrd1n2.js → kv-djkavt39.js} +24 -24
- package/dist/chunks/{shell-c50658qd.js → kv-dmqmcw2r.js} +38 -38
- package/dist/chunks/{shell-58srr6fv.js → kv-e10cy4w0.js} +31 -31
- package/dist/chunks/{shell-bdrwax0s.js → kv-e2jdrf4x.js} +25 -25
- package/dist/chunks/{shell-74jy76yg.js → kv-e5b0qn1c.js} +1 -1
- package/dist/chunks/{shell-hpbyysca.js → kv-ephmsh67.js} +27 -27
- package/dist/chunks/{shell-76scvvk8.js → kv-erz98jwc.js} +32 -32
- package/dist/chunks/{shell-t2cat712.js → kv-f1kgb3zy.js} +17 -17
- package/dist/chunks/{shell-j0h9s30t.js → kv-ffs8r943.js} +13 -13
- package/dist/chunks/{shell-95z3gcrg.js → kv-fhgm40mk.js} +4 -4
- package/dist/chunks/{shell-fqt4fs5w.js → kv-fs7t3exj.js} +11 -11
- package/dist/chunks/{shell-ef5f9nen.js → kv-fv8a344a.js} +8 -8
- package/dist/chunks/{shell-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → kv-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-pbhkjpds.js → kv-fz1pdqz4.js} +5 -5
- package/dist/chunks/{shell-nghta7n5.js → kv-fzf7e7x1.js} +43 -43
- package/dist/chunks/{shell-pxednv00.js → kv-g41n1fn3.js} +5 -5
- package/dist/chunks/{shell-ygrnprnw.js → kv-g54w6h1q.js} +22 -22
- package/dist/chunks/{shell-p563rwwf.js → kv-gcn4jvqh.js} +41 -41
- package/dist/chunks/{shell-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-n3m9wsvh.js → kv-gfvkvwrv.js} +28 -28
- package/dist/chunks/{shell-b94fcmr9.js → kv-gj8036k9.js} +34 -34
- package/dist/chunks/{shell-ca4j1r4e.js → kv-h1f297k2.js} +15 -15
- package/dist/chunks/{shell-nxz3kcv2.js → kv-h5rg6ge7.js} +32 -32
- package/dist/chunks/{shell-m05jjnz9.js → kv-h625df0a.js} +12 -12
- package/dist/chunks/{shell-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-rdq9thdd.js → kv-h73jd86c.js} +24 -24
- package/dist/chunks/{shell-heyhwy2w.js → kv-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-6wf5mw7w.js → kv-hhxcwp9f.js} +31 -31
- package/dist/chunks/{shell-famd3pv6.js → kv-hjrjbgez.js} +5 -5
- package/dist/chunks/{shell-hrvm11jt.js → kv-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-w0nm8ced.js → kv-hv4p2p21.js} +24 -24
- package/dist/chunks/{shell-a9detkdy.js → kv-hw73h5pz.js} +37 -37
- package/dist/chunks/{shell-rpqdjjqf.js → kv-hzecryb5.js} +18 -18
- package/dist/chunks/{shell-2xx188mn.js → kv-jg1zcjqp.js} +37 -37
- package/dist/chunks/{shell-k6p8g4fk.js → kv-jhf9a7kk.js} +64 -64
- package/dist/chunks/{shell-r56wj6jx.js → kv-jm1tdwje.js} +13 -13
- package/dist/chunks/{shell-998dat6d.js → kv-jq2whtdt.js} +11 -11
- package/dist/chunks/{shell-w6h9pbxs.js → kv-js3p9a9k.js} +11 -11
- package/dist/chunks/{shell-5pdbny0n.js → kv-jy629emf.js} +10 -10
- package/dist/chunks/{shell-k4bwy1x5.js → kv-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-hn4sjpb5.js → kv-k6fnztft.js} +2 -2
- package/dist/chunks/{shell-wsnh7t8r.js → kv-k7dwhv72.js} +18 -18
- package/dist/chunks/{shell-31nvjq2v.js → kv-k8x9vhm8.js} +11 -11
- package/dist/chunks/{shell-a9c7wcwq.js → kv-kd8v050h.js} +12 -12
- package/dist/chunks/{shell-ftabj2dg.js → kv-kf8thf07.js} +28 -28
- package/dist/chunks/{shell-kg06axw8.js → kv-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-kvsjn1dr.js → kv-kvsjn1dr.js} +2 -2
- package/dist/chunks/{shell-gd25jggd.js → kv-kw3wy51s.js} +43 -43
- package/dist/chunks/{shell-vh6gf742.js → kv-kwvtfp1b.js} +10 -10
- package/dist/chunks/{shell-rzejcw32.js → kv-m3fm0fm8.js} +5 -5
- package/dist/chunks/{shell-9yq0qydf.js → kv-m4p2ftrf.js} +13 -13
- package/dist/chunks/{shell-cb182ger.js → kv-m60hmjpw.js} +7 -7
- package/dist/chunks/{shell-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-dvf4z69w.js → kv-mav5hcv8.js} +27 -27
- package/dist/chunks/{shell-9t99dw5q.js → kv-mcxg6pmm.js} +1 -1
- package/dist/chunks/{shell-1dh290mh.js → kv-mdnhxyz2.js} +8 -8
- package/dist/chunks/{shell-dpc689ym.js → kv-mfe1qetb.js} +16 -16
- package/dist/chunks/{shell-r7cz99r0.js → kv-mn48t6tr.js} +15 -15
- package/dist/chunks/kv-mq1xgkyh.js +22 -0
- package/dist/chunks/{shell-2pqs5rb6.js → kv-mqds9z8y.js} +28 -28
- package/dist/chunks/{shell-gfz2zenh.js → kv-mqyp5gdj.js} +17 -17
- package/dist/chunks/{shell-ytpzjm8d.js → kv-mwvt73nw.js} +44 -44
- package/dist/chunks/{shell-nxrz604p.js → kv-mxs1xwvp.js} +9 -9
- package/dist/chunks/{shell-76wr4mq2.js → kv-n38qs1ar.js} +5 -5
- package/dist/chunks/{shell-ff1h9ct4.js → kv-n6a7rk8g.js} +20 -20
- package/dist/chunks/kv-n6k242f4.js +18 -0
- package/dist/chunks/{shell-1nqpxsj1.js → kv-n7731ngr.js} +13 -13
- package/dist/chunks/{shell-2cnxy6r2.js → kv-nkkerv85.js} +10 -10
- package/dist/chunks/{shell-tabs974f.js → kv-npzt3p1j.js} +12 -12
- package/dist/chunks/{shell-7p203cgq.js → kv-nr9x74c1.js} +24 -24
- package/dist/chunks/{shell-xxtg5rsy.js → kv-p198ap2v.js} +33 -33
- package/dist/chunks/{shell-8309kjat.js → kv-p425gb1k.js} +10 -10
- package/dist/chunks/{shell-bpcc17t3.js → kv-p66fc0fz.js} +11 -11
- package/dist/chunks/{shell-mjs0kabc.js → kv-p88s56y3.js} +28 -28
- package/dist/chunks/{shell-h8p6xf2n.js → kv-pa8bv90n.js} +22 -22
- package/dist/chunks/{shell-gvphy7jk.js → kv-ph38rbv1.js} +6 -6
- package/dist/chunks/{shell-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-mpcfbaan.js → kv-pk502bdp.js} +16 -16
- package/dist/chunks/{shell-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{shell-0b65z5fp.js → kv-pv5nzn32.js} +10 -10
- package/dist/chunks/{shell-41k9cz4z.js → kv-pwb001t0.js} +32 -32
- package/dist/chunks/{shell-rh6rd7ag.js → kv-py42k196.js} +4 -4
- package/dist/chunks/{shell-c6trbygj.js → kv-q77zht3w.js} +4 -4
- package/dist/chunks/{shell-vnj6vh9c.js → kv-qcz5xzee.js} +32 -32
- package/dist/chunks/{shell-e83y27r5.js → kv-qfja8fnv.js} +7 -7
- package/dist/chunks/{shell-qgn6gcr1.js → kv-qgn6gcr1.js} +1 -1
- package/dist/chunks/{shell-ycn3x014.js → kv-qhwr7wtz.js} +13 -13
- package/dist/chunks/{shell-mn410wgw.js → kv-qnb0t8zm.js} +54 -54
- package/dist/chunks/{shell-rd7fx9p1.js → kv-qnbahbj0.js} +16 -16
- package/dist/chunks/{shell-1h4a14by.js → kv-qqz1053v.js} +72 -72
- package/dist/chunks/{shell-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-6rbe69zm.js → kv-qxsy5p3f.js} +13 -13
- package/dist/chunks/{shell-12t3v3je.js → kv-r0keqwvg.js} +23 -23
- package/dist/chunks/{shell-bcezcar3.js → kv-r5s1f9ds.js} +5 -5
- package/dist/chunks/{shell-73tb2d7t.js → kv-r5x6zcsm.js} +3 -3
- package/dist/chunks/{shell-r8dhm0tv.js → kv-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-83dvd1w2.js → kv-rfjq507z.js} +56 -56
- package/dist/chunks/{shell-02q19v1x.js → kv-rk9sw2av.js} +8 -8
- package/dist/chunks/{shell-8b1vkr5h.js → kv-rkjw441a.js} +290 -290
- package/dist/chunks/{shell-1tq060df.js → kv-rp8jz6x1.js} +6 -6
- package/dist/chunks/{shell-yw9364ag.js → kv-rvhss2m2.js} +4 -4
- package/dist/chunks/{shell-htbxhgrz.js → kv-ry7mz5fv.js} +17 -17
- package/dist/chunks/{shell-w794bvtj.js → kv-rynqx63d.js} +37 -37
- package/dist/chunks/{shell-6smwwksd.js → kv-rz1r1rv7.js} +17 -17
- package/dist/chunks/{shell-hjp2pbpf.js → kv-s2px886z.js} +1 -1
- package/dist/chunks/{shell-vqe9fq18.js → kv-s3eqpch7.js} +1 -1
- package/dist/chunks/{shell-18e1e1p1.js → kv-s4ss2bw5.js} +47 -47
- package/dist/chunks/{shell-7w2wm759.js → kv-sb910js5.js} +4 -4
- package/dist/chunks/{shell-sba4qhjf.js → kv-sba4qhjf.js} +1 -1
- package/dist/chunks/kv-sv33epe9.js +20 -0
- package/dist/chunks/{shell-h9ygsckj.js → kv-syq477mx.js} +46 -46
- package/dist/chunks/{shell-jqrqy21d.js → kv-t1bhb1bg.js} +11 -11
- package/dist/chunks/{shell-292hg6qz.js → kv-t6srx486.js} +7 -7
- package/dist/chunks/{shell-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-s09ja0ad.js → kv-tgaxz472.js} +28 -28
- package/dist/chunks/{shell-ttr1bger.js → kv-tj8gy5c5.js} +22 -22
- package/dist/chunks/{shell-tjykrgmx.js → kv-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-wkqpxhsk.js → kv-tq1jg9v7.js} +7 -7
- package/dist/chunks/{shell-zzv1x10w.js → kv-ts23zk9x.js} +25 -25
- package/dist/chunks/{shell-6w7g5p5h.js → kv-twy610cz.js} +18 -18
- package/dist/chunks/{shell-5qea4ewy.js → kv-v1ggvvtw.js} +39 -39
- package/dist/chunks/{shell-avja4xez.js → kv-v2aawvfd.js} +18 -18
- package/dist/chunks/{shell-fg3wn8a9.js → kv-v4bdvzd3.js} +90 -90
- package/dist/chunks/{shell-z3xgatyd.js → kv-vep9yay1.js} +4 -4
- package/dist/chunks/{shell-yew4gc92.js → kv-vq25wjhh.js} +25 -25
- package/dist/chunks/{shell-863jw130.js → kv-vxz8nws8.js} +11 -11
- package/dist/chunks/{shell-m9q8vvrp.js → kv-vy051p0e.js} +11 -11
- package/dist/chunks/kv-w3vb4krt.js +4 -0
- package/dist/chunks/{shell-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-tmq14ezd.js → kv-w60ndp2z.js} +36 -36
- package/dist/chunks/{shell-sq68wjyr.js → kv-w75j66fn.js} +6 -6
- package/dist/chunks/{shell-4n9v30zw.js → kv-wawr59mw.js} +25 -25
- package/dist/chunks/{shell-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{shell-s440spbv.js → kv-wfvjw4z7.js} +24 -24
- package/dist/chunks/{shell-dsfx0j74.js → kv-wgfc0hft.js} +6 -6
- package/dist/chunks/{shell-dsf572e0.js → kv-wgxn7ww3.js} +4 -4
- package/dist/chunks/{shell-35r8yfzd.js → kv-wkz0j4q5.js} +17 -17
- package/dist/chunks/{shell-ex76qa1h.js → kv-wrvstr67.js} +19 -19
- package/dist/chunks/{shell-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-0h07sdbh.js → kv-x3stwmqx.js} +23 -23
- package/dist/chunks/{shell-74hfp9tv.js → kv-xczcj508.js} +27 -27
- package/dist/chunks/{shell-wn5mwez2.js → kv-xez3q0qn.js} +90 -90
- package/dist/chunks/{shell-gfz9gwkx.js → kv-xf5bdvwx.js} +23 -23
- package/dist/chunks/{shell-xgbmxshw.js → kv-xn9aqqx6.js} +15 -15
- package/dist/chunks/{shell-2xs5s17b.js → kv-xqkm9ax4.js} +4 -4
- package/dist/chunks/{shell-rzyn4jtv.js → kv-xqsy6kp0.js} +1 -1
- package/dist/chunks/{shell-vnwmzs4a.js → kv-xw8eq9f1.js} +5 -5
- package/dist/chunks/{shell-9nb3r9db.js → kv-xxzj7qcx.js} +6 -6
- package/dist/chunks/{shell-s9fwkeje.js → kv-xyvw3pp2.js} +15 -15
- package/dist/chunks/{shell-kyb951k0.js → kv-y18qbtn0.js} +3 -3
- package/dist/chunks/{shell-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-00aww1yf.js → kv-y6nt3k22.js} +2 -2
- package/dist/chunks/{shell-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{shell-yfbd16n1.js → kv-yfbd16n1.js} +2 -2
- package/dist/chunks/{shell-5ctdmadx.js → kv-yhh6951v.js} +8 -8
- package/dist/chunks/{shell-cmwx9h7j.js → kv-ykcesz1b.js} +4 -4
- package/dist/chunks/{shell-5fc6d9pe.js → kv-ykk6pqwd.js} +20 -20
- package/dist/chunks/{shell-ewakhq0j.js → kv-yms21qcc.js} +20 -20
- package/dist/chunks/{shell-5mm0tfy6.js → kv-yydg8tay.js} +8 -8
- package/dist/chunks/{shell-z1k01bn4.js → kv-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-bzsb4ygm.js → kv-z3qt4vrk.js} +29 -29
- package/dist/chunks/{shell-f77xc9wm.js → kv-z89789qm.js} +22 -22
- package/dist/chunks/{shell-6hq5c2qk.js → kv-zess5s1n.js} +31 -31
- package/dist/chunks/{shell-nzfzr9h0.js → kv-zgne66ps.js} +43 -43
- package/dist/chunks/{shell-bh35m6yh.js → kv-zjvrjqxt.js} +7 -7
- package/dist/chunks/{shell-5nzbd5n0.js → kv-zn2pq4p8.js} +5 -5
- package/dist/chunks/{shell-g7csxrs7.js → kv-zqg3qsz2.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +113 -113
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +110 -110
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +130 -130
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error.js +1 -1
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +336 -336
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/shell-3724gxzf.js +0 -247
- package/dist/chunks/shell-4v7qdvcn.js +0 -18
- package/dist/chunks/shell-ep81hxt4.js +0 -20
- package/dist/chunks/shell-mb6dchx6.js +0 -22
- package/dist/chunks/shell-mf5kcrna.js +0 -4
- /package/dist/chunks/{shell-0fabt78z.js → kv-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → kv-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → kv-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → kv-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → kv-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-j935v87r.js → kv-j935v87r.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → kv-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → kv-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → kv-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → kv-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → kv-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → kv-zbjnn3ac.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./kv-5wnbjqvg.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service13
|
|
10
|
+
} from "./kv-pk502bdp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./kv-qnb0t8zm.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service6
|
|
16
|
+
} from "./kv-g54w6h1q.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service5
|
|
31
|
+
} from "./kv-496a646b.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Plugin: () => Plugin12,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name11 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input11 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin12 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service5;
|
|
66
|
+
const mutation = yield* Service13;
|
|
67
|
+
const permission = yield* Service46;
|
|
68
|
+
const sessionInstructions = yield* Service6;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service65;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name11,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
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.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input11,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin4 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name11,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin4 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent5 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name11, Input11, Plugin12, toModelContent5, exports_read };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./kv-mfe1qetb.js";
|
|
5
5
|
import {
|
|
6
6
|
llmClient2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-0e0xafbb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionEvent2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-mntxs535.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-kg06axw8.js";
|
|
14
14
|
import {
|
|
15
15
|
toLLMMessages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-zbjnn3ac.js";
|
|
17
17
|
import {
|
|
18
18
|
baseTranscript2,
|
|
19
19
|
unsupportedParts2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./kv-hhxcwp9f.js";
|
|
21
21
|
import {
|
|
22
22
|
isRetryable2,
|
|
23
23
|
policy2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-r5s1f9ds.js";
|
|
25
25
|
import {
|
|
26
26
|
toSessionError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./kv-6nmsy562.js";
|
|
28
28
|
import {
|
|
29
29
|
estimate2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-h6vf3j39.js";
|
|
31
31
|
import {
|
|
32
32
|
record2,
|
|
33
33
|
add2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./kv-tjykrgmx.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./kv-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/compaction.ts
|
|
40
40
|
var exports_compaction2 = {};
|
|
41
41
|
__export(exports_compaction2, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service8,
|
|
43
43
|
SessionCompaction: () => exports_compaction2,
|
|
44
44
|
buildPrompt: () => buildPrompt2,
|
|
45
45
|
estimateTokens: () => estimateTokens2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer6,
|
|
47
|
+
node: () => node11,
|
|
48
48
|
serializeToolContent: () => serializeToolContent2,
|
|
49
49
|
truncateToolOutput: () => truncateToolOutput2
|
|
50
50
|
});
|
|
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
108
108
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
109
109
|
`).filter((line) => line.startsWith("##"));
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service8 extends Context.Service()("@opencode/SessionCompaction") {
|
|
112
112
|
}
|
|
113
113
|
var estimateTokens2 = (input) => {
|
|
114
114
|
const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
|
|
@@ -262,8 +262,8 @@ var buildPrompt2 = (update) => {
|
|
|
262
262
|
};
|
|
263
263
|
var hasSummarySection = (summary) => summary.split(`
|
|
264
264
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
265
|
-
var
|
|
266
|
-
const bus = yield*
|
|
265
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
266
|
+
const bus = yield* Service76;
|
|
267
267
|
const llm = yield* LLMClient.Service;
|
|
268
268
|
const state = create3({
|
|
269
269
|
name: "session-compaction",
|
|
@@ -479,7 +479,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
479
479
|
})
|
|
480
480
|
}));
|
|
481
481
|
});
|
|
482
|
-
return
|
|
482
|
+
return Service8.of({
|
|
483
483
|
transform: state.transform,
|
|
484
484
|
reload: state.reload,
|
|
485
485
|
enabled: () => state.get().auto,
|
|
@@ -488,10 +488,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
488
488
|
compactManual
|
|
489
489
|
});
|
|
490
490
|
}));
|
|
491
|
-
var
|
|
492
|
-
service:
|
|
493
|
-
layer:
|
|
494
|
-
deps: [
|
|
491
|
+
var node11 = makeLocationNode({
|
|
492
|
+
service: Service8,
|
|
493
|
+
layer: layer6,
|
|
494
|
+
deps: [node81, llmClient2]
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { Service8, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./kv-mfe1qetb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event16,
|
|
18
|
+
ID: () => ID13,
|
|
19
|
+
Info: () => Info27,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service68,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event16 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID13 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID13.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info27 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service76;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info27.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID13.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service68.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID13.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID13.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node73 = makeLocationNode({ service: Service68, layer, deps: [node81, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID13, Name3, defaultID2, Color2, Info27, Service68, node73, exports_agent4, Event16 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./kv-5wnbjqvg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./kv-nr9x74c1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service14,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-qxsy5p3f.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./kv-0drwrr20.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service13
|
|
19
|
+
} from "./kv-pk502bdp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service46
|
|
22
|
+
} from "./kv-qnb0t8zm.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./kv-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input3,
|
|
35
|
+
Output: () => Output2,
|
|
36
|
+
Plugin: () => Plugin4,
|
|
37
|
+
name: () => name3
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name3 = "edit";
|
|
44
|
+
var Input3 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input4 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output2 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin4 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service13;
|
|
111
|
+
const fileMutation = yield* Service14;
|
|
112
|
+
const environment = yield* Service63;
|
|
113
|
+
const formatter = yield* Service15;
|
|
114
|
+
const location = yield* Service65;
|
|
115
|
+
const permission = yield* Service46;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name3,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input3,
|
|
121
|
+
output: Output2,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin5 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name3, Input3, Output2, Plugin4, exports_edit };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID17,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info31
|
|
11
|
+
} from "./kv-3wfq9j39.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode-ai/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
|
|
|
66
66
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
67
67
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
68
68
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
69
|
-
async function
|
|
69
|
+
async function get2(baseURL, headers, existing) {
|
|
70
70
|
const response = await fetch(`${baseURL}/models`, {
|
|
71
71
|
headers,
|
|
72
72
|
signal: AbortSignal.timeout(5000)
|
|
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID17.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info31.make({
|
|
115
|
+
...Info31.default(ID18.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID17.make(remote.id),
|
|
118
|
+
providerID: ID18.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -190,4 +190,4 @@ function variants(remote, messages) {
|
|
|
190
190
|
];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { get2, exports_models };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./kv-5wnbjqvg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./kv-syq477mx.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-xczcj508.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service51;
|
|
35
|
+
const location = yield* Service65;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin21, exports_reference };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-xw8eq9f1.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|