@opencode/core 0.0.0-dev-20414 → 0.0.0-dev-20415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{plugin-e6ke0dsv.js → snapshot-03gzk8g1.js} +23 -23
- package/dist/chunks/{plugin-427t97hr.js → snapshot-0bfcnrg1.js} +1 -1
- package/dist/chunks/{plugin-at6hz7dy.js → snapshot-0bwy5sef.js} +9 -9
- package/dist/chunks/{plugin-11memm1s.js → snapshot-0gj48be3.js} +2 -2
- package/dist/chunks/{plugin-1qesfn3a.js → snapshot-0n1dnt07.js} +20 -20
- package/dist/chunks/{plugin-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-njzrbw38.js → snapshot-0pydwf78.js} +11 -11
- package/dist/chunks/{plugin-7sjztwde.js → snapshot-10dmman0.js} +3 -3
- package/dist/chunks/{plugin-2nrn7pcv.js → snapshot-10gbh929.js} +20 -20
- package/dist/chunks/{plugin-pxr9jhng.js → snapshot-17jf303t.js} +9 -9
- package/dist/chunks/{plugin-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-p1np60n0.js → snapshot-1f7sha8m.js} +22 -22
- package/dist/chunks/{plugin-ajzsbz6h.js → snapshot-1pdpjhqt.js} +17 -17
- package/dist/chunks/{plugin-yyb3k5h4.js → snapshot-1sdgb7tk.js} +3 -3
- package/dist/chunks/{plugin-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{plugin-0t85s976.js → snapshot-23hg58zg.js} +17 -17
- package/dist/chunks/{plugin-7qsnhr75.js → snapshot-24a3zfy0.js} +43 -43
- package/dist/chunks/{plugin-y6f0p4jw.js → snapshot-256nx13v.js} +3 -3
- package/dist/chunks/{plugin-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-bxqb3hdk.js → snapshot-2bfndfxk.js} +19 -19
- package/dist/chunks/{plugin-mkn2682r.js → snapshot-2dyhhh90.js} +26 -26
- package/dist/chunks/{plugin-g1sxm558.js → snapshot-2eegacq4.js} +8 -8
- package/dist/chunks/{plugin-57ez7d0k.js → snapshot-2fgn2we9.js} +9 -9
- package/dist/chunks/{plugin-qgn6gcr1.js → snapshot-2k8khapm.js} +5 -5
- package/dist/chunks/{plugin-hyxv9c2g.js → snapshot-2neyagdd.js} +13 -13
- package/dist/chunks/{plugin-v1p7g5sn.js → snapshot-2yafvscw.js} +32 -32
- package/dist/chunks/{plugin-s06s152w.js → snapshot-307p8916.js} +30 -30
- package/dist/chunks/{plugin-wbt9zsn3.js → snapshot-3b9qt4hj.js} +9 -9
- package/dist/chunks/{plugin-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-cmwkp3r5.js → snapshot-3hfr6h8q.js} +8 -8
- package/dist/chunks/{plugin-jhh1k21k.js → snapshot-3q417bh5.js} +1 -1
- package/dist/chunks/{plugin-7k8qyt23.js → snapshot-3qhrqyyv.js} +41 -41
- package/dist/chunks/{plugin-k4ezc13p.js → snapshot-3r0yf28a.js} +71 -71
- package/dist/chunks/{plugin-b95n020p.js → snapshot-3r9b6twn.js} +6 -6
- package/dist/chunks/{plugin-qk1af027.js → snapshot-3rrz40v9.js} +16 -16
- package/dist/chunks/{plugin-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-wtvb30sm.js → snapshot-3sz7qxzc.js} +9 -9
- package/dist/chunks/{plugin-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-fawmbhh7.js → snapshot-3tzsdfpv.js} +25 -25
- package/dist/chunks/{plugin-hny4zpsq.js → snapshot-3ybs83ds.js} +23 -23
- package/dist/chunks/{plugin-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-mzywpf3p.js → snapshot-3zvzca8e.js} +4 -4
- package/dist/chunks/{plugin-j6d0zdmd.js → snapshot-4334bgt9.js} +17 -17
- package/dist/chunks/{plugin-bhdgc465.js → snapshot-43mabc7c.js} +32 -32
- package/dist/chunks/{plugin-nqygpcct.js → snapshot-4dhz4t98.js} +15 -15
- package/dist/chunks/{plugin-g1y398dd.js → snapshot-4fag1waa.js} +6 -6
- package/dist/chunks/{plugin-gq1vhpes.js → snapshot-4k1xdssm.js} +33 -33
- package/dist/chunks/{plugin-hrw2t248.js → snapshot-4ktk9vd4.js} +21 -21
- package/dist/chunks/{plugin-1eg1syt8.js → snapshot-4sj2adm8.js} +10 -10
- package/dist/chunks/{plugin-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-54tcyq79.js → snapshot-54tcyq79.js} +2 -2
- package/dist/chunks/{plugin-xfkkasph.js → snapshot-57b9ws8p.js} +7 -7
- package/dist/chunks/{plugin-j4t6xr1p.js → snapshot-5a93y3sy.js} +22 -22
- package/dist/chunks/{plugin-05eqgg1f.js → snapshot-5d5meks3.js} +44 -44
- package/dist/chunks/{plugin-djszqvmq.js → snapshot-5d607bsg.js} +9 -9
- package/dist/chunks/{plugin-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-5jt7jh4x.js → snapshot-5jvjwpyy.js} +25 -25
- package/dist/chunks/{plugin-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-1fv57ab3.js → snapshot-5xnsj6hr.js} +34 -34
- package/dist/chunks/{plugin-jnmgvrcz.js → snapshot-62hf02vv.js} +12 -12
- package/dist/chunks/{plugin-669tq793.js → snapshot-669tq793.js} +1 -1
- package/dist/chunks/{plugin-pnmknv3a.js → snapshot-66c8v2wk.js} +88 -88
- package/dist/chunks/{plugin-vyamxdws.js → snapshot-677wh403.js} +35 -35
- package/dist/chunks/{plugin-6p0xc422.js → snapshot-68x4nqcm.js} +20 -20
- package/dist/chunks/{plugin-6msgmcgs.js → snapshot-6msgmcgs.js} +1 -1
- package/dist/chunks/snapshot-70jsskm8.js +18 -0
- package/dist/chunks/{plugin-fk4rp2mh.js → snapshot-75qk6qry.js} +7 -7
- package/dist/chunks/{plugin-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-y09xcvme.js → snapshot-7qk8rhpr.js} +11 -11
- package/dist/chunks/{plugin-5qkxfyep.js → snapshot-7w3s9kd0.js} +4 -4
- package/dist/chunks/{plugin-qbqbaz6q.js → snapshot-80scg3y3.js} +4 -4
- package/dist/chunks/{plugin-ag1zf1n2.js → snapshot-8481wm36.js} +11 -11
- package/dist/chunks/{plugin-exkfp83h.js → snapshot-854tx4xh.js} +36 -36
- package/dist/chunks/{plugin-sfzb50zm.js → snapshot-86ed810g.js} +14 -14
- package/dist/chunks/{plugin-fh2psg6v.js → snapshot-88j9wz1v.js} +11 -11
- package/dist/chunks/{plugin-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-15pq7v1x.js → snapshot-8j9zpkvs.js} +11 -11
- package/dist/chunks/{plugin-j54ngk1e.js → snapshot-8jajpcen.js} +30 -30
- package/dist/chunks/{plugin-9ctgc0g7.js → snapshot-8p368dx7.js} +4 -4
- package/dist/chunks/{plugin-be9ya69w.js → snapshot-9214n3wh.js} +17 -17
- package/dist/chunks/{plugin-dp9x5mxp.js → snapshot-9567j1ny.js} +10 -10
- package/dist/chunks/{plugin-vjcy803z.js → snapshot-9fbx4kx9.js} +5 -5
- package/dist/chunks/{plugin-pk1n9ynb.js → snapshot-9kvpeeqc.js} +9 -9
- package/dist/chunks/{plugin-r3fve70j.js → snapshot-9n3zrcy7.js} +55 -55
- package/dist/chunks/{plugin-t6z2tk8y.js → snapshot-9qw84w57.js} +17 -17
- package/dist/chunks/{plugin-3x79pmsk.js → snapshot-9z4vtkcn.js} +184 -184
- package/dist/chunks/{plugin-m88agcr3.js → snapshot-9zmzhm3z.js} +12 -12
- package/dist/chunks/{plugin-24sdwh53.js → snapshot-9zwbaxec.js} +26 -26
- package/dist/chunks/{plugin-jexmq6sz.js → snapshot-a1f4v0xd.js} +13 -13
- package/dist/chunks/{plugin-t4t1jkwq.js → snapshot-a59amn2z.js} +53 -53
- package/dist/chunks/{plugin-febbbnbh.js → snapshot-a75bnxe3.js} +39 -39
- package/dist/chunks/{plugin-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-tqstf8pr.js → snapshot-af5ge50b.js} +30 -30
- package/dist/chunks/{plugin-vemrnhxc.js → snapshot-am47j0ra.js} +8 -8
- package/dist/chunks/{plugin-tvxp8bn7.js → snapshot-amjdg99r.js} +50 -50
- package/dist/chunks/{plugin-vncycja5.js → snapshot-an7cqtb7.js} +4 -4
- package/dist/chunks/{plugin-4xrvpr4d.js → snapshot-atjhh203.js} +23 -23
- package/dist/chunks/{plugin-b1h1c68h.js → snapshot-b1h1c68h.js} +3 -3
- package/dist/chunks/{plugin-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-s29xemwy.js → snapshot-beqdr0be.js} +19 -19
- package/dist/chunks/{plugin-03fbxtag.js → snapshot-bhpxhfr5.js} +8 -8
- package/dist/chunks/{plugin-acne750a.js → snapshot-bj808mf1.js} +40 -40
- package/dist/chunks/{plugin-psnbjtnb.js → snapshot-bjnatea4.js} +25 -25
- package/dist/chunks/{plugin-bjtzbw4r.js → snapshot-bjtzbw4r.js} +3 -3
- package/dist/chunks/{plugin-rxyc52bh.js → snapshot-bmma92f3.js} +6 -6
- package/dist/chunks/{plugin-am9xhf4z.js → snapshot-bxxxz85j.js} +45 -45
- package/dist/chunks/{plugin-w1wprjtr.js → snapshot-ca550x9b.js} +11 -11
- package/dist/chunks/{plugin-wyg24z1h.js → snapshot-cbwqtqsg.js} +48 -48
- package/dist/chunks/{plugin-edbfpfck.js → snapshot-cdm0dq9n.js} +6 -6
- package/dist/chunks/{plugin-cpy6gm2a.js → snapshot-cpy6gm2a.js} +1 -1
- package/dist/chunks/{plugin-cb4gr5k0.js → snapshot-d5sh8vy7.js} +17 -17
- package/dist/chunks/{plugin-cyward61.js → snapshot-djhfsxbz.js} +10 -10
- package/dist/chunks/{plugin-pyg34pey.js → snapshot-dkg4ce5z.js} +5 -5
- package/dist/chunks/{plugin-p9kt6re1.js → snapshot-dmv2xfrr.js} +11 -11
- package/dist/chunks/{plugin-pk9r2dcy.js → snapshot-drf04ez4.js} +26 -26
- package/dist/chunks/{plugin-584wdnyf.js → snapshot-dsc65zn5.js} +20 -20
- package/dist/chunks/{plugin-17fsw95c.js → snapshot-dvx4qakx.js} +16 -16
- package/dist/chunks/{plugin-xk21n9zm.js → snapshot-dx530aca.js} +21 -21
- package/dist/chunks/{plugin-kwaa1xej.js → snapshot-dynf6j01.js} +4 -4
- package/dist/chunks/{plugin-r54g0ayv.js → snapshot-e3q6pnq7.js} +45 -45
- package/dist/chunks/{plugin-zhqmjxee.js → snapshot-ea269xen.js} +8 -8
- package/dist/chunks/{plugin-a1a50ys5.js → snapshot-ead3g9p8.js} +5 -5
- package/dist/chunks/{plugin-4c8bw516.js → snapshot-eeaf82dq.js} +8 -8
- package/dist/chunks/{plugin-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-fv3acgj2.js → snapshot-egawc8yn.js} +10 -10
- package/dist/chunks/{plugin-q6am2fr7.js → snapshot-ehqwh287.js} +16 -16
- package/dist/chunks/{plugin-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-dyyz5283.js → snapshot-f44pksnw.js} +6 -6
- package/dist/chunks/{plugin-hbepx7tp.js → snapshot-fj3qa7ea.js} +16 -16
- package/dist/chunks/{plugin-9nj21xqc.js → snapshot-fqj9nv8j.js} +8 -8
- package/dist/chunks/{plugin-f4vj83tc.js → snapshot-g18tc0s8.js} +36 -36
- package/dist/chunks/{plugin-cg2at24b.js → snapshot-g3351yg9.js} +30 -30
- package/dist/chunks/{plugin-evks0epg.js → snapshot-g4xer9vd.js} +12 -12
- package/dist/chunks/{plugin-s6tfd5w9.js → snapshot-gagf4f4w.js} +30 -30
- package/dist/chunks/{plugin-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-gfvb90ym.js → snapshot-gfvb90ym.js} +2 -2
- package/dist/chunks/{plugin-7cas8v75.js → snapshot-gkh0s2qe.js} +26 -26
- package/dist/chunks/{plugin-0a2a93z6.js → snapshot-gv1j5wqf.js} +21 -21
- package/dist/chunks/{plugin-gvpwdtw4.js → snapshot-gv41g8dd.js} +45 -45
- package/dist/chunks/{plugin-gv6a8nnw.js → snapshot-gv6a8nnw.js} +2 -2
- package/dist/chunks/{plugin-1v844xvg.js → snapshot-gw5e8ddh.js} +22 -22
- package/dist/chunks/{plugin-c9nqsd6p.js → snapshot-h0mtd888.js} +9 -9
- package/dist/chunks/{plugin-qdy6maa1.js → snapshot-h5sthss0.js} +5 -5
- package/dist/chunks/{plugin-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-xxtp1kj0.js → snapshot-hfx8w1xs.js} +21 -21
- package/dist/chunks/{plugin-6gmp4gem.js → snapshot-hkq7z4sp.js} +8 -8
- package/dist/chunks/{plugin-0qya2vv4.js → snapshot-hnda3qbv.js} +19 -19
- package/dist/chunks/{plugin-mp5dqp3x.js → snapshot-hw6pwt30.js} +13 -13
- package/dist/chunks/{plugin-zw04h7y9.js → snapshot-hxvc84z4.js} +7 -7
- package/dist/chunks/{plugin-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-h5x33s9d.js → snapshot-j848kfat.js} +32 -32
- package/dist/chunks/{plugin-xgd6vhan.js → snapshot-jb3y1sqm.js} +4 -4
- package/dist/chunks/{plugin-r73hggny.js → snapshot-jc2v89bd.js} +37 -37
- package/dist/chunks/{plugin-jb3wjpks.js → snapshot-je14njjq.js} +27 -27
- package/dist/chunks/{plugin-v5dkyp31.js → snapshot-jfqtm2ew.js} +4 -4
- package/dist/chunks/{plugin-w0nye3zq.js → snapshot-jhtrm3ps.js} +27 -27
- package/dist/chunks/{plugin-rd120rg1.js → snapshot-jkys4hjv.js} +5 -5
- package/dist/chunks/{plugin-1hzm6jbk.js → snapshot-jmch46td.js} +35 -35
- package/dist/chunks/{plugin-fjcvtvqr.js → snapshot-jsvx8712.js} +4 -4
- package/dist/chunks/{plugin-wr8aqzky.js → snapshot-jt5yp4hn.js} +3 -3
- package/dist/chunks/{plugin-yjptyezs.js → snapshot-jv01nqvq.js} +5 -5
- package/dist/chunks/{plugin-fv4vgvy1.js → snapshot-jv8nkzat.js} +15 -15
- package/dist/chunks/{plugin-2518j0hh.js → snapshot-jxjwgqz9.js} +6 -6
- package/dist/chunks/snapshot-k2ce3sxq.js +26 -0
- package/dist/chunks/{plugin-k3c624dm.js → snapshot-k3c624dm.js} +3 -3
- package/dist/chunks/{plugin-e7vg2kgh.js → snapshot-k3dcyhbs.js} +8 -8
- package/dist/chunks/{plugin-7zpeh0yx.js → snapshot-kb6gw2zp.js} +4 -4
- package/dist/chunks/{plugin-hhz992g6.js → snapshot-kq922fqb.js} +35 -35
- package/dist/chunks/{plugin-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-e28cvq4c.js → snapshot-m43s5s1t.js} +4 -4
- package/dist/chunks/{plugin-m58kmhef.js → snapshot-m58kmhef.js} +2 -2
- package/dist/chunks/{plugin-3176ztkn.js → snapshot-m7xy43fe.js} +20 -20
- package/dist/chunks/{plugin-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-magykp64.js → snapshot-magykp64.js} +1 -1
- package/dist/chunks/{plugin-56gdpj1q.js → snapshot-mfqp6xfm.js} +6 -6
- package/dist/chunks/{plugin-r5x6zcsm.js → snapshot-mvfsc1pv.js} +3 -3
- package/dist/chunks/{plugin-58gyjtks.js → snapshot-n1f1yhbf.js} +32 -32
- package/dist/chunks/{plugin-05y19q8d.js → snapshot-n2g60rat.js} +24 -24
- package/dist/chunks/{plugin-h4ge2txa.js → snapshot-nbt09pg6.js} +5 -5
- package/dist/chunks/{plugin-ckf6s1e3.js → snapshot-nkaerhwd.js} +11 -11
- package/dist/chunks/{plugin-axs6pdy0.js → snapshot-npwy0cf6.js} +5 -5
- package/dist/chunks/{plugin-ybgbsjbh.js → snapshot-ns6q6332.js} +9 -9
- package/dist/chunks/{plugin-dpkg50ah.js → snapshot-nxm207yx.js} +4 -4
- package/dist/chunks/{plugin-09chyfxs.js → snapshot-nz4ntvxj.js} +29 -29
- package/dist/chunks/{plugin-xh8zq66e.js → snapshot-nzqax676.js} +5 -5
- package/dist/chunks/{plugin-q17z9dx8.js → snapshot-p3p972wa.js} +5 -5
- package/dist/chunks/{plugin-jw9x1xkp.js → snapshot-p4ktjkn4.js} +21 -21
- package/dist/chunks/{plugin-dnbh66kg.js → snapshot-p5g2cww3.js} +10 -10
- package/dist/chunks/{plugin-x25ckt5d.js → snapshot-p9rp3h8j.js} +10 -10
- package/dist/chunks/{plugin-r5cdkqmj.js → snapshot-pg46ftp0.js} +17 -17
- package/dist/chunks/{plugin-g3zzmh5g.js → snapshot-pgep8pdp.js} +16 -16
- package/dist/chunks/{plugin-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-58en54fn.js → snapshot-pksev01f.js} +33 -33
- package/dist/chunks/{plugin-ntg2j34t.js → snapshot-pq3gk156.js} +6 -6
- package/dist/chunks/{plugin-psazpmmj.js → snapshot-psazpmmj.js} +2 -2
- package/dist/chunks/{plugin-njce9agh.js → snapshot-pt10z3r8.js} +15 -15
- package/dist/chunks/{plugin-w6deqnwt.js → snapshot-pxdbgzk8.js} +1 -1
- package/dist/chunks/{plugin-9f2zepew.js → snapshot-pzp58xyn.js} +28 -28
- package/dist/chunks/snapshot-pzrc8cp6.js +252 -0
- package/dist/chunks/{plugin-mydmq7vy.js → snapshot-q3m71gvc.js} +5 -5
- package/dist/chunks/{plugin-69tf3796.js → snapshot-q493wdrj.js} +25 -25
- package/dist/chunks/{plugin-ep47vn57.js → snapshot-q6nhz35s.js} +11 -11
- package/dist/chunks/{plugin-mdm0twpa.js → snapshot-qmenprb6.js} +17 -17
- package/dist/chunks/{plugin-heny0ssz.js → snapshot-qqjfeg0r.js} +5 -5
- package/dist/chunks/{plugin-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-9h1zctex.js → snapshot-qzzwx99f.js} +89 -89
- package/dist/chunks/{plugin-6ysrkrkr.js → snapshot-r2vmt3px.js} +8 -8
- package/dist/chunks/{plugin-je1f8dtr.js → snapshot-r4m87v1k.js} +10 -10
- package/dist/chunks/{plugin-7x144p2c.js → snapshot-r9n7san4.js} +15 -15
- package/dist/chunks/{plugin-12r7ywha.js → snapshot-rb9dm3bk.js} +4 -4
- package/dist/chunks/{plugin-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-m2d0j7c0.js → snapshot-rhafb4aa.js} +8 -8
- package/dist/chunks/{plugin-bkhdeahw.js → snapshot-rnwjzppv.js} +27 -27
- package/dist/chunks/{plugin-yqn3ptz9.js → snapshot-rqm8rmge.js} +8 -8
- package/dist/chunks/{plugin-xzme5cs7.js → snapshot-s0pa5bz2.js} +7 -7
- package/dist/chunks/{plugin-syf57q56.js → snapshot-s30fyz93.js} +4 -4
- package/dist/chunks/{plugin-dxm7jqgk.js → snapshot-sacfg4sg.js} +25 -25
- package/dist/chunks/{plugin-sk2hk6tq.js → snapshot-sc24egzq.js} +9 -9
- package/dist/chunks/{plugin-cg6bafnc.js → snapshot-sn7y6hha.js} +18 -18
- package/dist/chunks/{plugin-k074bh7n.js → snapshot-sqg0k73r.js} +19 -19
- package/dist/chunks/{plugin-rz9grs9e.js → snapshot-sqsph7y0.js} +12 -12
- package/dist/chunks/{plugin-rpg9c19m.js → snapshot-t2az9yje.js} +4 -4
- package/dist/chunks/{plugin-5h7tpa83.js → snapshot-t7rktvd6.js} +24 -24
- package/dist/chunks/{plugin-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-vcwynttf.js → snapshot-tckz228n.js} +43 -43
- package/dist/chunks/{plugin-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-8pbv99c3.js → snapshot-tg6hk04s.js} +15 -15
- package/dist/chunks/{plugin-tz2bjj40.js → snapshot-tn0aqsam.js} +5 -5
- package/dist/chunks/{plugin-0hbmy7r1.js → snapshot-tn8awqey.js} +11 -11
- package/dist/chunks/{plugin-v1qjrw5t.js → snapshot-tr3m9qjz.js} +6 -6
- package/dist/chunks/{plugin-zpn7x7ph.js → snapshot-tskp5mae.js} +11 -11
- package/dist/chunks/{plugin-tvtrv512.js → snapshot-tvtrv512.js} +1 -1
- package/dist/chunks/{plugin-975ag91a.js → snapshot-txbrgszf.js} +18 -18
- package/dist/chunks/{plugin-zg1t26g9.js → snapshot-v1twhc4y.js} +3 -3
- package/dist/chunks/{plugin-8zh4h089.js → snapshot-vd7rzxqf.js} +5 -5
- package/dist/chunks/{plugin-0m3kpr1q.js → snapshot-vdr0dfbw.js} +323 -323
- package/dist/chunks/{plugin-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-y5rf7nzv.js → snapshot-vfjhn2wd.js} +4 -4
- package/dist/chunks/{plugin-fn0g176e.js → snapshot-vnewn4av.js} +30 -30
- package/dist/chunks/{plugin-jhnnbcrq.js → snapshot-vnxdrj5k.js} +8 -8
- package/dist/chunks/{plugin-cpxvd5mt.js → snapshot-vq5e3chn.js} +10 -10
- package/dist/chunks/{plugin-vzcthcp8.js → snapshot-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-ndrk8r07.js → snapshot-w17qv5a6.js} +22 -22
- package/dist/chunks/{plugin-84txncab.js → snapshot-w1eejvng.js} +5 -5
- package/dist/chunks/{plugin-88yg0haz.js → snapshot-w2dp4wk5.js} +10 -10
- package/dist/chunks/{plugin-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-py3kkmfq.js → snapshot-w92k2e0p.js} +8 -8
- package/dist/chunks/{plugin-4m263vr9.js → snapshot-wcp7mbp0.js} +22 -22
- package/dist/chunks/{plugin-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-yxzgp43r.js → snapshot-wdestef8.js} +9 -9
- package/dist/chunks/{plugin-qk3qqkg0.js → snapshot-we6m22zh.js} +15 -15
- package/dist/chunks/{plugin-s8d7rejh.js → snapshot-wv396vej.js} +8 -8
- package/dist/chunks/{plugin-khcv1f62.js → snapshot-wzjy4dn9.js} +11 -11
- package/dist/chunks/{plugin-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{plugin-apjtb6ta.js → snapshot-x9xmn89z.js} +3 -3
- package/dist/chunks/{plugin-e21rpbkk.js → snapshot-xa2sxs9e.js} +20 -20
- package/dist/chunks/{plugin-t5xj5z8c.js → snapshot-xamp2hng.js} +11 -11
- package/dist/chunks/{plugin-8pkz3xqw.js → snapshot-xf8pvpmb.js} +3 -3
- package/dist/chunks/{plugin-xkntkrq7.js → snapshot-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-b7eck780.js → snapshot-xm8ge0k0.js} +33 -33
- package/dist/chunks/{plugin-f13tjfqg.js → snapshot-xvtfvepa.js} +26 -26
- package/dist/chunks/{plugin-p3xcgj33.js → snapshot-xxqn0r81.js} +23 -23
- package/dist/chunks/{plugin-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-dnxkq42g.js → snapshot-y6bex35g.js} +4 -4
- package/dist/chunks/{plugin-rhraev7y.js → snapshot-yp2x3t23.js} +4 -4
- package/dist/chunks/{plugin-mxvwwzz5.js → snapshot-yq5q626q.js} +11 -11
- package/dist/chunks/{plugin-q1zezmfs.js → snapshot-yqa2nfff.js} +23 -23
- package/dist/chunks/{plugin-j30qv9ss.js → snapshot-yrfgkje2.js} +28 -28
- package/dist/chunks/{plugin-yrhqyw5v.js → snapshot-yrhqyw5v.js} +1 -1
- package/dist/chunks/{plugin-yrznvahk.js → snapshot-yrznvahk.js} +2 -2
- package/dist/chunks/{plugin-shd19xyq.js → snapshot-yteetj9b.js} +5 -5
- package/dist/chunks/{plugin-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-j11cyqqw.js → snapshot-z25bn3ef.js} +20 -20
- package/dist/chunks/{plugin-b09hzw3k.js → snapshot-z2mtc428.js} +2 -2
- package/dist/chunks/{plugin-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{plugin-brdxpnq2.js → snapshot-zdnh5hv7.js} +34 -34
- package/dist/chunks/{plugin-zeh9ct20.js → snapshot-zeh9ct20.js} +2 -2
- package/dist/chunks/{plugin-bhfwj6wv.js → snapshot-zf8ayb57.js} +11 -11
- package/dist/chunks/{plugin-8rdjafsh.js → snapshot-zjj4zcfa.js} +24 -24
- package/dist/chunks/{plugin-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-49qycnny.js → snapshot-zxab51sp.js} +9 -9
- package/dist/chunks/{plugin-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/plugin-h090amsa.js +0 -252
- package/dist/chunks/plugin-qc068m1q.js +0 -18
- package/dist/chunks/plugin-xc1fzwy2.js +0 -26
- /package/dist/chunks/{plugin-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-922hggd3.js → snapshot-922hggd3.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → snapshot-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-jsvx8712.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info11,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service58,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node62
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info11 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service58 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info11.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service58.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node62 = makeLocationNode({
|
|
75
|
+
service: Service58,
|
|
76
|
+
layer: layer21,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info11, NotFoundError7, ExecutionError2, Service58, layer21, node62, exports_command4, Event9 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./snapshot-24a3zfy0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service26
|
|
6
|
+
} from "./snapshot-amjdg99r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service60;
|
|
28
|
+
const mcp = yield* Service26;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin18, register2, exports_mcp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service57,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service57.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node61 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service57, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node61, exports_select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service64,
|
|
4
|
+
node68
|
|
5
|
+
} from "./snapshot-vnewn4av.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service63,
|
|
16
|
+
node67
|
|
17
|
+
} from "./snapshot-2yafvscw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service59,
|
|
20
|
+
node63
|
|
21
|
+
} from "./snapshot-tn8awqey.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service62,
|
|
27
|
+
node66
|
|
28
|
+
} from "./snapshot-43mabc7c.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer17,
|
|
48
|
+
node: () => node38,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID7,
|
|
59
|
+
modelID: ID6,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID7,
|
|
69
|
+
modelID: ID6,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID7,
|
|
80
|
+
modelID: ID6,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID7,
|
|
91
|
+
modelID: ID6,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID7,
|
|
103
|
+
modelID: ID6,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID7,
|
|
113
|
+
modelID: ID6,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service36 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service63;
|
|
263
|
+
const models = yield* Service62;
|
|
264
|
+
const integrations = yield* Service64;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service59;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service36.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node38 = makeLocationNode({
|
|
314
|
+
service: Service36,
|
|
315
|
+
layer: layer17,
|
|
316
|
+
deps: [node67, node66, node68, Npm.node, node63]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service36, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node38, exports_model_resolver };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node6, exports_location_watcher_policy };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./snapshot-dx530aca.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./snapshot-fj3qa7ea.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./snapshot-24a3zfy0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service57,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-5a93y3sy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./snapshot-66c8v2wk.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make11
|
|
20
|
+
} from "./snapshot-tskp5mae.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin13
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin13 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service60;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin4 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service57;
|
|
60
|
+
const sessions = yield* Service14;
|
|
61
|
+
const agents = yield* Service78;
|
|
62
|
+
const subagents = yield* make11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin4 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin13, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|