@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./snapshot-9n3zrcy7.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin39,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin39 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service74;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin22 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin39, extractTextFromHTML2, exports_webfetch };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-wv396vej.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-jsvx8712.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-y6bex35g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event15
|
|
9
|
+
} from "./snapshot-307p8916.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID8
|
|
12
|
+
} from "./snapshot-vnewn4av.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID7,
|
|
15
|
+
Service63
|
|
16
|
+
} from "./snapshot-2yafvscw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./snapshot-atjhh203.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service63;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-jsvx8712.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./snapshot-fj3qa7ea.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service63,
|
|
20
|
+
node67,
|
|
21
|
+
Event12
|
|
22
|
+
} from "./snapshot-2yafvscw.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service62,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node66,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
51
|
+
var ID6 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service62 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service63;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service62.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node67, node87, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service62, node66, compatibility2, parse4, exports_model2, Event11 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./snapshot-1f7sha8m.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-wv396vej.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./snapshot-wcp7mbp0.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./snapshot-fj3qa7ea.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service82;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service61;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin9, exports_instruction };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-jsvx8712.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service37,
|
|
6
|
+
Event4
|
|
7
|
+
} from "./snapshot-677wh403.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service37;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node40
|
|
5
|
+
} from "./snapshot-88j9wz1v.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-s30fyz93.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./snapshot-2eegacq4.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9n3zrcy7.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-8481wm36.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./snapshot-q493wdrj.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service24,
|
|
28
|
+
node27
|
|
29
|
+
} from "./snapshot-dmv2xfrr.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make14
|
|
32
|
+
} from "./snapshot-57b9ws8p.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./snapshot-0bfcnrg1.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service23,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer9,
|
|
48
|
+
node: () => node26,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -172,11 +172,11 @@ var boundImages2 = (messages) => {
|
|
|
172
172
|
}));
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
176
176
|
}
|
|
177
|
-
var
|
|
178
|
-
const hooks = yield*
|
|
179
|
-
const transport = yield*
|
|
177
|
+
var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
178
|
+
const hooks = yield* Service77;
|
|
179
|
+
const transport = yield* Service24;
|
|
180
180
|
const app = yield* Metadata2;
|
|
181
181
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
182
182
|
const session = input.session;
|
|
@@ -184,7 +184,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
184
184
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
185
185
|
const tools = input.tools ?? {
|
|
186
186
|
definitions: [],
|
|
187
|
-
execute: () => new
|
|
187
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
188
188
|
};
|
|
189
189
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
190
190
|
const shaped = yield* shape({
|
|
@@ -282,17 +282,17 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
282
282
|
};
|
|
283
283
|
});
|
|
284
284
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
285
|
-
return
|
|
285
|
+
return Service23.of({
|
|
286
286
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
287
287
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
288
288
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
289
289
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
290
290
|
});
|
|
291
291
|
}));
|
|
292
|
-
var
|
|
293
|
-
service:
|
|
294
|
-
layer:
|
|
295
|
-
deps: [
|
|
292
|
+
var node26 = makeLocationNode({
|
|
293
|
+
service: Service23,
|
|
294
|
+
layer: layer9,
|
|
295
|
+
deps: [node81, node27, node40]
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
298
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer9, node26, exports_model_request };
|