@opencode/core 0.0.0-dev-19316 → 0.0.0-dev-19323
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{workspace-sp5zyyma.js → formatter-00832hy7.js} +8 -8
- package/dist/chunks/{workspace-f4x3f9y9.js → formatter-05dy3mmw.js} +26 -26
- package/dist/chunks/{workspace-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-0cmfkvjr.js → formatter-0rz3ymjm.js} +30 -30
- package/dist/chunks/{workspace-wgq3akg3.js → formatter-0zmbch9c.js} +29 -29
- package/dist/chunks/{workspace-e4k3fffr.js → formatter-15cfnja2.js} +19 -19
- package/dist/chunks/{workspace-g5twr0sp.js → formatter-15v2jbpx.js} +14 -14
- package/dist/chunks/{workspace-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-1dfhrqqs.js → formatter-1dfhrqqs.js} +2 -2
- package/dist/chunks/{workspace-1jyjw0dy.js → formatter-1djm1bap.js} +11 -11
- package/dist/chunks/{workspace-srvat6zp.js → formatter-1dxndaps.js} +6 -6
- package/dist/chunks/{workspace-36jkazxa.js → formatter-1s5bbqd2.js} +5 -5
- package/dist/chunks/{workspace-33w4ejhs.js → formatter-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-6h73sxmp.js → formatter-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-jwqth68t.js → formatter-24yrwg43.js} +19 -19
- package/dist/chunks/{workspace-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-4dg124c5.js → formatter-2cmv458r.js} +5 -5
- package/dist/chunks/{workspace-93hpb89x.js → formatter-2f04pwep.js} +3 -3
- package/dist/chunks/{workspace-dj9sq318.js → formatter-2f0bjgcj.js} +5 -5
- package/dist/chunks/{workspace-317x7tvz.js → formatter-2g93c721.js} +16 -16
- package/dist/chunks/{workspace-8hpffc5d.js → formatter-2kahp3dy.js} +12 -12
- package/dist/chunks/{workspace-rrjgssxh.js → formatter-2m5q4n8f.js} +46 -46
- package/dist/chunks/{workspace-dgmwn8ez.js → formatter-2nbt55tc.js} +8 -8
- package/dist/chunks/{workspace-qkek724z.js → formatter-2q8hwwwc.js} +11 -11
- package/dist/chunks/{workspace-cjsvwj1q.js → formatter-2re99ccz.js} +15 -15
- package/dist/chunks/{workspace-7k17nv4j.js → formatter-2ymxn29j.js} +22 -22
- package/dist/chunks/{workspace-ej8xv5ds.js → formatter-2z1344gj.js} +3 -3
- package/dist/chunks/{workspace-h2gyv3sg.js → formatter-380vjcmd.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-ya5s98jd.js → formatter-3mea1sze.js} +11 -11
- package/dist/chunks/{workspace-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-bkqaqtv1.js → formatter-3sv4a4je.js} +27 -27
- package/dist/chunks/{workspace-6st33d4x.js → formatter-3swc72ss.js} +25 -25
- package/dist/chunks/{workspace-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-mrk2ms14.js → formatter-3vq9ncec.js} +41 -41
- package/dist/chunks/{workspace-2nyvck04.js → formatter-44c3xn2h.js} +9 -9
- package/dist/chunks/{workspace-rtv6ahp9.js → formatter-456sctqq.js} +8 -8
- package/dist/chunks/{workspace-zka56nxw.js → formatter-4999spj6.js} +29 -29
- package/dist/chunks/{workspace-3trbxeqx.js → formatter-4b6bntqd.js} +1 -1
- package/dist/chunks/{workspace-p129658b.js → formatter-4bajp7bm.js} +15 -15
- package/dist/chunks/{workspace-v84z85pp.js → formatter-4gaxfmfs.js} +17 -17
- package/dist/chunks/{workspace-rjqwr5dw.js → formatter-4vbphvac.js} +24 -24
- package/dist/chunks/{workspace-n51qh0r9.js → formatter-4wxgrd29.js} +6 -6
- package/dist/chunks/{workspace-4t57t1en.js → formatter-507eqkq3.js} +14 -14
- package/dist/chunks/{workspace-yagmabmz.js → formatter-54r2pn5z.js} +4 -4
- package/dist/chunks/{workspace-3v77a270.js → formatter-56n5z1rw.js} +24 -24
- package/dist/chunks/{workspace-ve0zfa78.js → formatter-58gq70n5.js} +11 -11
- package/dist/chunks/{workspace-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5aktmhjp.js → formatter-5fs2kqn8.js} +15 -15
- package/dist/chunks/{workspace-7gb606e6.js → formatter-5hzqjfjf.js} +9 -9
- package/dist/chunks/{workspace-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-wwhdthxc.js → formatter-5zrbqe2b.js} +24 -24
- package/dist/chunks/{workspace-mw6ans9c.js → formatter-5zx2pz03.js} +5 -5
- package/dist/chunks/{workspace-2yamwwtx.js → formatter-608425eb.js} +7 -7
- package/dist/chunks/{workspace-pq4st5kv.js → formatter-63bt3mag.js} +2 -2
- package/dist/chunks/{workspace-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{workspace-s5g9mpsf.js → formatter-67kygeqd.js} +4 -4
- package/dist/chunks/{workspace-jxn2j4b1.js → formatter-69vs0mm5.js} +6 -6
- package/dist/chunks/{workspace-5kmnb5g6.js → formatter-6cybjkxz.js} +15 -15
- package/dist/chunks/{workspace-2fsj26k1.js → formatter-6ef2pfss.js} +16 -16
- package/dist/chunks/{workspace-h7ygw6q4.js → formatter-6jnybvqn.js} +9 -9
- package/dist/chunks/{workspace-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-40ztfmwz.js → formatter-6nm7gc1x.js} +17 -17
- package/dist/chunks/{workspace-s2bazk07.js → formatter-6ppv86n3.js} +24 -24
- package/dist/chunks/{workspace-61tdtcny.js → formatter-6s6gjz7c.js} +10 -10
- package/dist/chunks/{workspace-4zb7zm34.js → formatter-6xkfsm7b.js} +6 -6
- package/dist/chunks/{workspace-71q4at8m.js → formatter-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-42h2bxtq.js → formatter-77tatc9x.js} +7 -7
- package/dist/chunks/{workspace-awz7xhfp.js → formatter-78hqr335.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-dffz74yj.js → formatter-7czvajng.js} +26 -26
- package/dist/chunks/{workspace-1s80jvpe.js → formatter-7eze2gq5.js} +30 -30
- package/dist/chunks/{workspace-4jmdj23e.js → formatter-7t5cqd0r.js} +9 -9
- package/dist/chunks/{workspace-fq1h1v14.js → formatter-7ybwwvvx.js} +3 -3
- package/dist/chunks/{workspace-rme5v0wm.js → formatter-7zdm33ac.js} +10 -10
- package/dist/chunks/{workspace-asmz7wyz.js → formatter-844ef7ks.js} +8 -8
- package/dist/chunks/{workspace-19g3xj2s.js → formatter-85tfjvz5.js} +30 -30
- package/dist/chunks/{workspace-2vg72gbq.js → formatter-85w66kng.js} +9 -9
- package/dist/chunks/{workspace-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-wn4kdw9q.js → formatter-8fawk0wq.js} +4 -4
- package/dist/chunks/{workspace-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-97s80yy3.js → formatter-8stavsj4.js} +23 -23
- package/dist/chunks/{workspace-9mbwqz4q.js → formatter-8zt8zdpt.js} +30 -30
- package/dist/chunks/{workspace-b94pmmqr.js → formatter-90wxkfyp.js} +296 -296
- package/dist/chunks/{workspace-kfdzm4dd.js → formatter-9aw1sd75.js} +19 -19
- package/dist/chunks/{workspace-ayjzdqkx.js → formatter-9ph45b3w.js} +4 -4
- package/dist/chunks/{workspace-c82pnra3.js → formatter-9tv941ec.js} +29 -29
- package/dist/chunks/{workspace-9zswys26.js → formatter-9zswys26.js} +2 -2
- package/dist/chunks/{workspace-66j98p5d.js → formatter-9zyah8pv.js} +16 -16
- package/dist/chunks/{workspace-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-fvr7jna4.js → formatter-a2rjx51z.js} +13 -13
- package/dist/chunks/{workspace-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-wzkwse1s.js → formatter-aasq3zsm.js} +13 -13
- package/dist/chunks/{workspace-4d61g8er.js → formatter-aatmr98r.js} +42 -42
- package/dist/chunks/{workspace-w23a9fg2.js → formatter-apjqksq4.js} +3 -3
- package/dist/chunks/{workspace-v1cqtm69.js → formatter-as2ntxq9.js} +17 -17
- package/dist/chunks/{workspace-gk38wydt.js → formatter-at0srrj9.js} +17 -17
- package/dist/chunks/{workspace-q265yh5d.js → formatter-ax3qyspe.js} +10 -10
- package/dist/chunks/{workspace-e3b0d0gy.js → formatter-b0stxe20.js} +9 -9
- package/dist/chunks/{workspace-9k2v62xn.js → formatter-b2jx7zxs.js} +1 -1
- package/dist/chunks/{workspace-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-r7x04355.js → formatter-b7c0s4y2.js} +36 -36
- package/dist/chunks/{workspace-95x6xbkr.js → formatter-bha4atvq.js} +4 -4
- package/dist/chunks/{workspace-1yafz2c2.js → formatter-bjkwvj0b.js} +21 -21
- package/dist/chunks/{workspace-v9ct93z2.js → formatter-bkb79wpa.js} +5 -5
- package/dist/chunks/{workspace-cgnjyr8a.js → formatter-bn7csmb0.js} +42 -42
- package/dist/chunks/{workspace-yyhgy33t.js → formatter-c23pbdtg.js} +8 -8
- package/dist/chunks/{workspace-r0nnab1q.js → formatter-c2p1vz36.js} +26 -26
- package/dist/chunks/{workspace-bgqpk6ej.js → formatter-cap7pekz.js} +5 -5
- package/dist/chunks/{workspace-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-d53dp3ny.js → formatter-cmaetz9z.js} +11 -11
- package/dist/chunks/{workspace-zqpyhaa2.js → formatter-d0b9w6zn.js} +15 -15
- package/dist/chunks/{workspace-t7b1xacm.js → formatter-d1kz70d9.js} +12 -12
- package/dist/chunks/{workspace-60stz191.js → formatter-d481hhja.js} +30 -30
- package/dist/chunks/{workspace-beamd2gc.js → formatter-d9mhv265.js} +7 -7
- package/dist/chunks/{workspace-gj9xpvv3.js → formatter-dep21bfz.js} +8 -8
- package/dist/chunks/{workspace-8761qpcg.js → formatter-dkg5h5h7.js} +39 -39
- package/dist/chunks/{workspace-f5agypy8.js → formatter-dkp9jbyh.js} +16 -16
- package/dist/chunks/{workspace-pkjnw8xf.js → formatter-dmec30x4.js} +27 -27
- package/dist/chunks/{workspace-z9xz7t7m.js → formatter-dsxwnv8x.js} +24 -24
- package/dist/chunks/{workspace-50p99xk2.js → formatter-dyjcz8ay.js} +56 -56
- package/dist/chunks/{workspace-nhy5jxhy.js → formatter-e82z9tr0.js} +7 -7
- package/dist/chunks/{workspace-0s5v0p6k.js → formatter-e93dqa41.js} +56 -56
- package/dist/chunks/{workspace-0gdmqesm.js → formatter-eaj1djv9.js} +8 -8
- package/dist/chunks/{workspace-5jfbnsm9.js → formatter-eesadx08.js} +48 -48
- package/dist/chunks/{workspace-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-mtd5x7py.js → formatter-ezkasqsa.js} +19 -19
- package/dist/chunks/{workspace-12jdhdht.js → formatter-f464wbzp.js} +9 -9
- package/dist/chunks/{workspace-f828m53h.js → formatter-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-43bvnm0c.js → formatter-fbv7gz6y.js} +32 -32
- package/dist/chunks/{workspace-jab8rdhp.js → formatter-fcmtdmz7.js} +6 -6
- package/dist/chunks/{workspace-0jwsre1p.js → formatter-fcrkznn8.js} +5 -5
- package/dist/chunks/{workspace-540a1fgr.js → formatter-fewmpqq2.js} +33 -33
- package/dist/chunks/{workspace-mpxhxrb2.js → formatter-feyq9nz9.js} +20 -20
- package/dist/chunks/{workspace-3q6hd4jt.js → formatter-fmwg5sj2.js} +16 -16
- package/dist/chunks/{workspace-wmqmw210.js → formatter-ft2ydrms.js} +8 -8
- package/dist/chunks/{workspace-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-xwwm14an.js → formatter-fythdanz.js} +9 -9
- package/dist/chunks/{workspace-86jav2f7.js → formatter-g1qe0q0d.js} +32 -32
- package/dist/chunks/formatter-gbadjzag.js +4 -0
- package/dist/chunks/{workspace-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-3fc6dm20.js → formatter-gdvy8fx6.js} +4 -4
- package/dist/chunks/{workspace-awhdw3pf.js → formatter-gkammdw2.js} +68 -68
- package/dist/chunks/{workspace-wynthrjp.js → formatter-gv6qs0q8.js} +6 -6
- package/dist/chunks/{workspace-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-a2vj9kk6.js → formatter-h11qs7jk.js} +17 -17
- package/dist/chunks/{workspace-wkwfxgj3.js → formatter-h1n238ac.js} +4 -4
- package/dist/chunks/{workspace-a68v6zx7.js → formatter-h2r7bbkd.js} +8 -8
- package/dist/chunks/{workspace-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-b8gwhbay.js → formatter-hden6f01.js} +24 -24
- package/dist/chunks/{workspace-qzyph8ek.js → formatter-hmq6fc40.js} +11 -11
- package/dist/chunks/{workspace-baaqp4zd.js → formatter-hn57h045.js} +4 -4
- package/dist/chunks/{workspace-4rd6evxz.js → formatter-hz7rxrk4.js} +20 -20
- package/dist/chunks/{workspace-0qnka9n6.js → formatter-j08z5txv.js} +17 -17
- package/dist/chunks/{workspace-ak2adswv.js → formatter-j3xb24h1.js} +18 -18
- package/dist/chunks/{workspace-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-7gvp9cq5.js → formatter-j6mvre0g.js} +19 -19
- package/dist/chunks/{workspace-k1hbjbhr.js → formatter-jakejc1k.js} +41 -41
- package/dist/chunks/{workspace-bsxfqzhc.js → formatter-jbfk6qbe.js} +11 -11
- package/dist/chunks/{workspace-48hw3qw3.js → formatter-jg7bke4g.js} +20 -20
- package/dist/chunks/{workspace-5cwvq4ff.js → formatter-jqb8tpfq.js} +2 -2
- package/dist/chunks/{workspace-84tssp1s.js → formatter-jtp7wgq3.js} +8 -8
- package/dist/chunks/{workspace-nrdmrqsx.js → formatter-jw80jp6b.js} +4 -4
- package/dist/chunks/{workspace-eh4km76q.js → formatter-jy5b41x9.js} +30 -30
- package/dist/chunks/{workspace-9cex7hp6.js → formatter-jz0y62hq.js} +59 -59
- package/dist/chunks/{workspace-vze96k0n.js → formatter-k52252t7.js} +4 -4
- package/dist/chunks/{workspace-5yrg3hxm.js → formatter-k6f2n2fy.js} +8 -8
- package/dist/chunks/{workspace-c4t116nm.js → formatter-k7d0894y.js} +6 -6
- package/dist/chunks/{workspace-vypqtakx.js → formatter-kcwf74x3.js} +1 -1
- package/dist/chunks/{workspace-323qkwbp.js → formatter-ke5bg3pe.js} +7 -7
- package/dist/chunks/{workspace-eramvw3w.js → formatter-kfpqrvxm.js} +16 -16
- package/dist/chunks/{workspace-kg06axw8.js → formatter-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-1tbv6t5g.js → formatter-km6tcm3q.js} +43 -43
- package/dist/chunks/{workspace-4zbs3q2b.js → formatter-kr779903.js} +32 -32
- package/dist/chunks/{workspace-0hf9g8pg.js → formatter-kzd68pqg.js} +6 -6
- package/dist/chunks/{workspace-pn6nrrpr.js → formatter-m5gt6gr4.js} +27 -27
- package/dist/chunks/{workspace-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-rdz2tx67.js → formatter-mhj2gpj9.js} +3 -3
- package/dist/chunks/{workspace-eq1pz5kg.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-dvzjgrza.js → formatter-mmtbb532.js} +41 -41
- package/dist/chunks/{workspace-bh0wyjv7.js → formatter-mqh1m71v.js} +6 -6
- package/dist/chunks/{workspace-ntgxvp5h.js → formatter-mvb3ydwb.js} +11 -11
- package/dist/chunks/{workspace-hrhrxexm.js → formatter-nek9n16k.js} +4 -4
- package/dist/chunks/{workspace-8p83gb6h.js → formatter-nvwrp1re.js} +6 -6
- package/dist/chunks/{workspace-cwtysmh4.js → formatter-nwd5g3n7.js} +12 -12
- package/dist/chunks/{workspace-15pjexzy.js → formatter-nxm2phx8.js} +13 -13
- package/dist/chunks/{workspace-5kptn8c0.js → formatter-p1wf2k30.js} +9 -9
- package/dist/chunks/{workspace-af04s6ss.js → formatter-p44d8wdy.js} +5 -5
- package/dist/chunks/{workspace-mxj2eewr.js → formatter-p5reg5b3.js} +20 -20
- package/dist/chunks/{workspace-s7731dqm.js → formatter-p72z5xx6.js} +2 -2
- package/dist/chunks/{workspace-81czwxpn.js → formatter-paegk39x.js} +4 -4
- package/dist/chunks/{workspace-k19spz14.js → formatter-pbxc810x.js} +4 -4
- package/dist/chunks/{workspace-t6qa8pj9.js → formatter-pj6fq5pb.js} +18 -18
- package/dist/chunks/{workspace-xp88wr07.js → formatter-pjmw00w1.js} +9 -9
- package/dist/chunks/{workspace-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-4tq5d7x2.js → formatter-pm66mswd.js} +20 -20
- package/dist/chunks/{workspace-q2b1ymqp.js → formatter-pmr4s4kc.js} +4 -4
- package/dist/chunks/{workspace-c0mtdgpv.js → formatter-ptdz73pj.js} +16 -16
- package/dist/chunks/{workspace-vabb23s0.js → formatter-q1c4k7jk.js} +1 -1
- package/dist/chunks/{workspace-90qgvd9n.js → formatter-q3m0pvtr.js} +23 -23
- package/dist/chunks/{workspace-d5a42mez.js → formatter-qkcr7fg6.js} +22 -22
- package/dist/chunks/{workspace-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-qn4ba14w.js → formatter-qte5z7bc.js} +5 -5
- package/dist/chunks/{workspace-ewztbjbx.js → formatter-rbbz2e5e.js} +163 -163
- package/dist/chunks/{workspace-7mz653pd.js → formatter-rdz329w6.js} +18 -18
- package/dist/chunks/{workspace-j6rj9xt6.js → formatter-reydm93y.js} +43 -43
- package/dist/chunks/{workspace-6gfd5xf8.js → formatter-rndh4q5e.js} +23 -23
- package/dist/chunks/{workspace-esdnemd6.js → formatter-rstnkd3y.js} +1 -1
- package/dist/chunks/{workspace-s6jr34qb.js → formatter-s2vccmkj.js} +28 -28
- package/dist/chunks/{workspace-83q95eg7.js → formatter-sa2p75cm.js} +9 -9
- package/dist/chunks/{workspace-bt8hdx22.js → formatter-sdewe3f0.js} +17 -17
- package/dist/chunks/{workspace-qqbqqn54.js → formatter-snkd7br7.js} +38 -38
- package/dist/chunks/{workspace-t6msp11s.js → formatter-spqcpneg.js} +6 -6
- package/dist/chunks/{workspace-kxpygcw9.js → formatter-ss0awb04.js} +6 -6
- package/dist/chunks/{workspace-gsyxgrq8.js → formatter-svnm6nqs.js} +35 -35
- package/dist/chunks/{workspace-q3jq24j1.js → formatter-swg097y1.js} +14 -14
- package/dist/chunks/{workspace-rztdx977.js → formatter-sxtajyff.js} +9 -9
- package/dist/chunks/{workspace-1vtz46z8.js → formatter-t8bhz2vr.js} +8 -8
- package/dist/chunks/{workspace-mrw4weg4.js → formatter-t8r3ep1g.js} +5 -5
- package/dist/chunks/{workspace-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-zyzp2298.js → formatter-tfkarycn.js} +9 -9
- package/dist/chunks/{workspace-gv6a8nnw.js → formatter-th5km1p3.js} +5 -5
- package/dist/chunks/{workspace-7vbk9m4e.js → formatter-tnt0rc0p.js} +18 -18
- package/dist/chunks/{workspace-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-kma43rbx.js → formatter-v13qk5h6.js} +28 -28
- package/dist/chunks/formatter-v1faaxn9.js +18 -0
- package/dist/chunks/{workspace-gf3khw20.js → formatter-v219cx7c.js} +20 -20
- package/dist/chunks/{workspace-0yq4eb34.js → formatter-v2e5xjra.js} +24 -24
- package/dist/chunks/{workspace-g8d3gcyj.js → formatter-v5dkyp31.js} +7 -7
- package/dist/chunks/{workspace-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-f10twq9w.js → formatter-vjdqq2ps.js} +11 -11
- package/dist/chunks/{workspace-eds7zwp6.js → formatter-vykq01h1.js} +24 -24
- package/dist/chunks/{workspace-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-39mbwg99.js → formatter-w1fjdxqa.js} +19 -19
- package/dist/chunks/{workspace-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-xmh8jj88.js → formatter-w79zsp0s.js} +1 -1
- package/dist/chunks/{workspace-j69p6wmc.js → formatter-w8bn9h5m.js} +28 -28
- package/dist/chunks/{workspace-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-0em1p5dp.js → formatter-wf7cxbta.js} +80 -80
- package/dist/chunks/{workspace-93dyhyad.js → formatter-wpdn7j4k.js} +21 -21
- package/dist/chunks/{workspace-awaee7qt.js → formatter-wzz0kxab.js} +9 -9
- package/dist/chunks/{workspace-mqy0jkn2.js → formatter-x0511brf.js} +4 -4
- package/dist/chunks/{workspace-gwwc15b8.js → formatter-x0sgqvmj.js} +12 -12
- package/dist/chunks/{workspace-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-91xp5nbf.js → formatter-x1vyefq1.js} +7 -7
- package/dist/chunks/{workspace-x43y2vfs.js → formatter-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-9a52esse.js → formatter-x6erhwpm.js} +23 -23
- package/dist/chunks/{workspace-1s5kemrg.js → formatter-x77360f3.js} +25 -25
- package/dist/chunks/{workspace-kenqsagb.js → formatter-xgwcrf73.js} +9 -9
- package/dist/chunks/{workspace-ed1arge1.js → formatter-xnqgmrgw.js} +18 -18
- package/dist/chunks/{workspace-rs226bz6.js → formatter-xsdh20fb.js} +5 -5
- package/dist/chunks/formatter-xyxwga5q.js +22 -0
- package/dist/chunks/{workspace-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-fmah640z.js → formatter-y1jmkgm7.js} +24 -20
- package/dist/chunks/formatter-y4zsdjyj.js +247 -0
- package/dist/chunks/{workspace-5pq3v0sk.js → formatter-y4zwryx6.js} +15 -15
- package/dist/chunks/{workspace-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-9n5bgjha.js → formatter-y7sdqeac.js} +3 -3
- package/dist/chunks/{workspace-9m6qag95.js → formatter-ydmx1k2a.js} +26 -26
- package/dist/chunks/{workspace-1ev0k7s6.js → formatter-yjhz1ss9.js} +8 -8
- package/dist/chunks/{workspace-1acjjqhc.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{workspace-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-bskx12th.js → formatter-yyaa3q2x.js} +7 -7
- package/dist/chunks/{workspace-5nzafj0m.js → formatter-yzxhg32c.js} +11 -11
- package/dist/chunks/{workspace-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-xkzbfh0m.js → formatter-z2g5x8r4.js} +13 -13
- package/dist/chunks/{workspace-z63w68vq.js → formatter-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-zke2pdp6.js → formatter-z817eph2.js} +11 -11
- package/dist/chunks/{workspace-wv6yb1rv.js → formatter-zbgrd7e9.js} +1 -1
- package/dist/chunks/{workspace-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-10dffqyq.js → formatter-zy6n9aja.js} +22 -22
- 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 +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +68 -68
- package/dist/file-access.js +99 -99
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- 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 +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- 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 +86 -86
- package/dist/model.js +10 -10
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- 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 +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +109 -109
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- 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 +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +115 -115
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +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/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 +7 -7
- 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 +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-q509s3k3.js +0 -18
- package/dist/chunks/workspace-x04nape8.js +0 -247
- package/dist/chunks/workspace-y31r8zkp.js +0 -22
- /package/dist/chunks/{workspace-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → formatter-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → formatter-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → formatter-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./formatter-as2ntxq9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./formatter-v2e5xjra.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service46
|
|
15
|
+
} from "./formatter-swg097y1.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-j6mvre0g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./formatter-dyjcz8ay.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service48
|
|
27
|
+
} from "./formatter-xnqgmrgw.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input10,
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin42,
|
|
39
39
|
name: () => name10,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -55,28 +55,28 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin42 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service52;
|
|
70
|
+
const ripgrep = yield* Service46;
|
|
71
|
+
const location = yield* Service73;
|
|
72
|
+
const access = yield* Service48;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
78
|
input: Input10,
|
|
79
|
-
output:
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { name10, Input10,
|
|
128
|
+
export { name10, Input10, Output6, toModelContent5, Plugin42, exports_glob };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service24,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service24 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service24.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service24, awaitActivation2, exports_service };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service35,
|
|
3
|
+
node40
|
|
4
|
+
} from "./formatter-s2vccmkj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service33,
|
|
20
|
+
node: () => node37
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service33 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service35;
|
|
64
|
+
return Service33.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node40] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service33, node37, exports_instructions5 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service73,
|
|
18
|
+
node78
|
|
19
|
+
} from "./formatter-as2ntxq9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service53,
|
|
22
|
+
node57
|
|
23
|
+
} from "./formatter-7czvajng.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service52,
|
|
33
|
+
node: () => node56
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service52,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node56,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service52 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
|
+
const workspace = yield* Service53;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service52.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node56 = makeLocationNode({
|
|
71
|
+
service: Service52,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node78, node57]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service52, node56, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./formatter-km6tcm3q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./formatter-vykq01h1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin40 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin16, exports_compaction };
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-y7sdqeac.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-8fawk0wq.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-paegk39x.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-yjhz1ss9.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-w79zsp0s.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-rndh4q5e.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-pbxc810x.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-nvwrp1re.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./formatter-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./formatter-tdstcens.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./formatter-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service7,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
|
-
layer: () =>
|
|
61
|
-
node: () =>
|
|
60
|
+
layer: () => layer6,
|
|
61
|
+
node: () => node10,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
123
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
124
124
|
`).filter((line) => line.startsWith("##"));
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
127
127
|
}
|
|
128
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
129
129
|
var estimateTokens2 = (input) => {
|
|
@@ -291,7 +291,7 @@ var buildPrompt2 = (update) => {
|
|
|
291
291
|
};
|
|
292
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
293
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
294
|
-
var
|
|
294
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
295
295
|
const bus = yield* Service79;
|
|
296
296
|
const llm = yield* LLMClient.Service;
|
|
297
297
|
const db = (yield* Service80).db;
|
|
@@ -574,7 +574,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
574
574
|
}
|
|
575
575
|
}));
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service7.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
enabled: () => state.get().auto,
|
|
@@ -583,10 +583,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
583
583
|
compactManual
|
|
584
584
|
});
|
|
585
585
|
}));
|
|
586
|
-
var
|
|
587
|
-
service:
|
|
588
|
-
layer:
|
|
586
|
+
var node10 = makeLocationNode({
|
|
587
|
+
service: Service7,
|
|
588
|
+
layer: layer6,
|
|
589
589
|
deps: [node84, node85, llmClient2]
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
export {
|
|
592
|
+
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node78
|
|
4
|
+
} from "./formatter-as2ntxq9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service73;
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node78] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service29, node33, exports_builtins };
|