@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
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./snapshot-a75bnxe3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin20,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin20 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin42 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin20, exports_exa };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-y6bex35g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jsvx8712.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./snapshot-307p8916.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-vnewn4av.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service63
|
|
20
|
+
} from "./snapshot-2yafvscw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./snapshot-43mabc7c.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./snapshot-w17qv5a6.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-88j9wz1v.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID15
|
|
33
|
+
} from "./snapshot-dx530aca.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID8.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service63;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID7.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID7.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID7.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID7.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-v1twhc4y.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-jsvx8712.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service35
|
|
9
|
+
} from "./snapshot-cdm0dq9n.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-3r9b6twn.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service76
|
|
29
|
+
} from "./snapshot-86ed810g.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service33
|
|
34
|
+
} from "./snapshot-t7rktvd6.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service31
|
|
37
|
+
} from "./snapshot-jc2v89bd.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./snapshot-pgep8pdp.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./snapshot-m7xy43fe.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./snapshot-0bwy5sef.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./snapshot-3sz7qxzc.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service76;
|
|
69
|
+
const instances = yield* Service35;
|
|
70
|
+
const execution = yield* Service31;
|
|
71
|
+
const admission = yield* Service33;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service35, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service35, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service35, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service35, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service43,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service43 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service43.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node46 = makeLocationNode({
|
|
137
|
+
service: Service43,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service43, node46, exports_tool_output2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./snapshot-fj3qa7ea.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service47,
|
|
10
|
+
node50
|
|
11
|
+
} from "./snapshot-9qw84w57.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options5,
|
|
25
|
+
Service: () => Service46,
|
|
26
|
+
configured: () => configured6,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer20,
|
|
29
|
+
node: () => node49,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service47;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service46.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service46.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service46.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured6(options) {
|
|
186
|
+
return makeLocationNode({ service: Service46, layer: layer20(options), deps: [node83, node50] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node49 = configured6();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options5, Service46, ripgrepLayer2, fffLayer2, layer20, configured6, node49, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|