@opencode/core 0.0.0-dev-19722 → 0.0.0-dev-19728
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{form-paegk39x.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{form-q7z8eg5j.js → persistent-pty-08bhejcc.js} +22 -22
- package/dist/chunks/{form-s5xwt78d.js → persistent-pty-0abzxk01.js} +47 -47
- package/dist/chunks/{form-pspc8cm5.js → persistent-pty-0bjwe8an.js} +10 -10
- package/dist/chunks/{form-yzc1ybb1.js → persistent-pty-0f1em0ez.js} +13 -13
- package/dist/chunks/{form-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/{form-dk99t560.js → persistent-pty-0nvdzmpy.js} +21 -21
- package/dist/chunks/{form-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-123bxv73.js → persistent-pty-0q14gyha.js} +4 -4
- package/dist/chunks/{form-fb1fpzmk.js → persistent-pty-0y4tsv4g.js} +3 -3
- package/dist/chunks/{form-zgbyxqmx.js → persistent-pty-18yg4hgb.js} +5 -5
- package/dist/chunks/{form-y1yns32t.js → persistent-pty-19e86vrr.js} +18 -18
- package/dist/chunks/{form-j5r88r5c.js → persistent-pty-1c6r0v3g.js} +15 -15
- package/dist/chunks/{form-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{form-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{form-ds1shpmw.js → persistent-pty-27kesqea.js} +28 -28
- package/dist/chunks/{form-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-3ke2knzt.js → persistent-pty-2gbsvbx5.js} +12 -12
- package/dist/chunks/{form-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{form-1zcaynmm.js → persistent-pty-2rwww3fn.js} +5 -5
- package/dist/chunks/{form-wmcrt1st.js → persistent-pty-2xh021f3.js} +23 -23
- package/dist/chunks/{form-m9wy7qrr.js → persistent-pty-2y34zzjz.js} +6 -6
- package/dist/chunks/{form-frgxj14f.js → persistent-pty-3dnp56pr.js} +13 -13
- package/dist/chunks/{form-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-pcfkrm12.js → persistent-pty-3hdyanjz.js} +4 -4
- package/dist/chunks/{form-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-s5m7kyfr.js → persistent-pty-3kzm2gg7.js} +15 -15
- package/dist/chunks/{form-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-4yx3jwba.js → persistent-pty-43v53x48.js} +14 -14
- package/dist/chunks/{form-v6sjgekt.js → persistent-pty-43vp44v8.js} +47 -47
- package/dist/chunks/{form-knb7evpn.js → persistent-pty-44ke2mar.js} +2 -2
- package/dist/chunks/{form-51k3edb6.js → persistent-pty-46h4yk7y.js} +9 -9
- package/dist/chunks/{form-djh0wnq1.js → persistent-pty-476xsedq.js} +10 -10
- package/dist/chunks/{form-ph842b28.js → persistent-pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{form-1mh1pa0n.js → persistent-pty-4kqw14kn.js} +12 -12
- package/dist/chunks/{form-v8smxmkf.js → persistent-pty-4scff3yx.js} +74 -74
- package/dist/chunks/{form-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
- package/dist/chunks/{form-ndse717j.js → persistent-pty-58b33b18.js} +6 -6
- package/dist/chunks/{form-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{form-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{form-2z6bt0qv.js → persistent-pty-5hj37ers.js} +42 -42
- package/dist/chunks/{form-pyjvt50m.js → persistent-pty-5qzy05yz.js} +18 -18
- package/dist/chunks/{form-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-0xqsxkmj.js → persistent-pty-5v97j575.js} +26 -26
- package/dist/chunks/{form-brdc8pwf.js → persistent-pty-5vmxkdvd.js} +11 -11
- package/dist/chunks/{form-5scws4da.js → persistent-pty-5yp8twyc.js} +31 -31
- package/dist/chunks/{form-1mp736cy.js → persistent-pty-623746t2.js} +13 -13
- package/dist/chunks/{form-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{form-6j14v2fb.js → persistent-pty-66dyjrem.js} +18 -18
- package/dist/chunks/{form-vg97gbar.js → persistent-pty-69qp09he.js} +4 -4
- package/dist/chunks/{form-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-wb8xftrw.js → persistent-pty-6nagbv76.js} +15 -15
- package/dist/chunks/{form-00ng8n3z.js → persistent-pty-7158h6s7.js} +37 -37
- package/dist/chunks/{form-tgk60dca.js → persistent-pty-74esd9zg.js} +11 -11
- package/dist/chunks/{form-1p6fhqdr.js → persistent-pty-78b8afjy.js} +10 -10
- package/dist/chunks/{form-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-02qtkc6q.js → persistent-pty-7kjjtcaz.js} +9 -9
- package/dist/chunks/{form-yn2zynef.js → persistent-pty-7p76c24s.js} +3 -3
- package/dist/chunks/{form-t75shx2w.js → persistent-pty-7vnscw7e.js} +26 -26
- package/dist/chunks/{form-k1mgq8ee.js → persistent-pty-7x79k76q.js} +31 -31
- package/dist/chunks/{form-rtm6hva4.js → persistent-pty-7ycevcb9.js} +11 -11
- package/dist/chunks/{form-wrr2dsh1.js → persistent-pty-8106cjk8.js} +27 -27
- package/dist/chunks/{form-30ymphpy.js → persistent-pty-85htkvce.js} +12 -12
- package/dist/chunks/{form-gdcqfse8.js → persistent-pty-8byt1a1f.js} +83 -83
- package/dist/chunks/{form-55bqhy0m.js → persistent-pty-8ckeceky.js} +23 -23
- package/dist/chunks/{form-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-c9r0qqmq.js → persistent-pty-8da4efp4.js} +11 -11
- package/dist/chunks/{form-mygetyvg.js → persistent-pty-8hwhcqqg.js} +20 -20
- package/dist/chunks/{form-8xzhb90e.js → persistent-pty-8p23sgx2.js} +26 -26
- package/dist/chunks/{form-6bdq8ts9.js → persistent-pty-8v94ed5m.js} +38 -38
- package/dist/chunks/{form-4zfmn4g8.js → persistent-pty-94n6ez7z.js} +21 -21
- package/dist/chunks/{form-b4hevyhm.js → persistent-pty-9c8f3b19.js} +4 -4
- package/dist/chunks/{form-xn5rvdk3.js → persistent-pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{form-7bvhz5nb.js → persistent-pty-9kzytzbk.js} +44 -44
- package/dist/chunks/{form-wb20vckk.js → persistent-pty-9p9te0yq.js} +25 -25
- package/dist/chunks/{form-ptjffwzk.js → persistent-pty-9y5n8jnt.js} +21 -21
- package/dist/chunks/{form-f4fd4709.js → persistent-pty-9ytqehrq.js} +11 -11
- package/dist/chunks/{form-xmx935ns.js → persistent-pty-9zmt1vx9.js} +33 -33
- package/dist/chunks/{form-b07rpg7m.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{form-9ay37035.js → persistent-pty-a4bygxwv.js} +22 -22
- package/dist/chunks/{form-xet44gk7.js → persistent-pty-a6ydtnj7.js} +25 -25
- package/dist/chunks/{form-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{form-c488s98d.js → persistent-pty-ab8cnxkj.js} +12 -12
- package/dist/chunks/{form-pecb0brz.js → persistent-pty-af04s6ss.js} +5 -5
- package/dist/chunks/{form-baaqp4zd.js → persistent-pty-afdssyjb.js} +4 -4
- package/dist/chunks/{form-9jdpp6jh.js → persistent-pty-ah4kcnx7.js} +9 -9
- package/dist/chunks/{form-k9p5yhm6.js → persistent-pty-ahpfebvr.js} +20 -20
- package/dist/chunks/{form-6xnvya9b.js → persistent-pty-ahszpzb1.js} +1 -1
- package/dist/chunks/{form-m9d03vsf.js → persistent-pty-akrnn5pm.js} +8 -8
- package/dist/chunks/{form-444dyaxb.js → persistent-pty-aw8xkpzd.js} +23 -23
- package/dist/chunks/{form-wwzd5x98.js → persistent-pty-b5ew5r0t.js} +165 -165
- package/dist/chunks/{form-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-ynq1hvy6.js → persistent-pty-ba82ctx4.js} +50 -50
- package/dist/chunks/{form-actekbgt.js → persistent-pty-be0xfwc6.js} +13 -13
- package/dist/chunks/{form-vncycja5.js → persistent-pty-bf0ztrs3.js} +4 -4
- package/dist/chunks/{form-aaejwfe7.js → persistent-pty-bkzets0h.js} +5 -5
- package/dist/chunks/{form-npqb69nf.js → persistent-pty-bp73j9d8.js} +17 -17
- package/dist/chunks/{form-p37cw4rj.js → persistent-pty-br0tr5aq.js} +8 -8
- package/dist/chunks/persistent-pty-btx52nm0.js +478 -0
- package/dist/chunks/{form-tcg29b4q.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{form-evbgk2k8.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{form-8evs5mkq.js → persistent-pty-c9rej1jf.js} +18 -18
- package/dist/chunks/{form-e4qxcds1.js → persistent-pty-cjzmr2wc.js} +41 -41
- package/dist/chunks/{form-tkm8jh8d.js → persistent-pty-cm8msd5e.js} +18 -18
- package/dist/chunks/{form-3n4a9km5.js → persistent-pty-da6xg5hq.js} +42 -42
- package/dist/chunks/{form-t17qe94z.js → persistent-pty-db85t7kk.js} +11 -11
- package/dist/chunks/{form-6r7cs4se.js → persistent-pty-dbyf6pmq.js} +12 -12
- package/dist/chunks/{form-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{form-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-f2ybna67.js → persistent-pty-dq3nzk0j.js} +19 -19
- package/dist/chunks/{form-6dxwy79b.js → persistent-pty-dws7cgfq.js} +3 -3
- package/dist/chunks/{form-rqgxkayp.js → persistent-pty-dxhjx9yt.js} +14 -14
- package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
- package/dist/chunks/{form-h7rjrdnv.js → persistent-pty-dyyx6kgc.js} +18 -18
- package/dist/chunks/{form-410vamv5.js → persistent-pty-e0k9jqvk.js} +11 -11
- package/dist/chunks/{form-02nrjc1r.js → persistent-pty-eaj1djv9.js} +4 -4
- package/dist/chunks/{form-1gwwh4qq.js → persistent-pty-edcwcjj7.js} +16 -16
- package/dist/chunks/{form-c7z08br2.js → persistent-pty-edjqbjbz.js} +3 -3
- package/dist/chunks/{form-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-7j65je9z.js → persistent-pty-em0daefh.js} +12 -12
- package/dist/chunks/{form-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-g8hjv9k1.js → persistent-pty-fgj0ctqj.js} +24 -24
- package/dist/chunks/{form-gv5zswt9.js → persistent-pty-fwbhdv10.js} +11 -11
- package/dist/chunks/{form-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-qmfpyjxv.js → persistent-pty-fxyabwbq.js} +6 -6
- package/dist/chunks/{form-1bvdzpsq.js → persistent-pty-g06jb19y.js} +7 -7
- package/dist/chunks/{form-hnw6xx8c.js → persistent-pty-ga8ekxq3.js} +8 -8
- package/dist/chunks/{form-vjekra9w.js → persistent-pty-gakcnn0z.js} +10 -10
- package/dist/chunks/{form-5ahb90yt.js → persistent-pty-gcbc03sz.js} +22 -22
- package/dist/chunks/{form-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-9gr8y5ys.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{form-qcga0yma.js → persistent-pty-gq0aze3h.js} +29 -29
- package/dist/chunks/persistent-pty-gsphepnq.js +26 -0
- package/dist/chunks/{form-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-r55vasa2.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{form-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{form-6xscg6ph.js → persistent-pty-hds23wzw.js} +14 -14
- package/dist/chunks/{form-c8meccjk.js → persistent-pty-hmdeq4v3.js} +7 -7
- package/dist/chunks/{form-a2j7cfz2.js → persistent-pty-hp1gy4dq.js} +45 -33
- package/dist/chunks/{form-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{form-fdms3n6w.js → persistent-pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{form-bcvq41jx.js → persistent-pty-j8bvp1fm.js} +22 -22
- package/dist/chunks/{form-xvx59f4a.js → persistent-pty-j8ew5444.js} +5 -5
- package/dist/chunks/{form-fz5j8gap.js → persistent-pty-j92nbs9r.js} +14 -14
- package/dist/chunks/{form-mh4pzb3k.js → persistent-pty-jaqtfry5.js} +15 -15
- package/dist/chunks/{form-91m9hd8f.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{form-gb6mmkm1.js → persistent-pty-jjht5kq7.js} +17 -17
- package/dist/chunks/{form-fxw8zkw9.js → persistent-pty-jqczgfd0.js} +43 -43
- package/dist/chunks/{form-sr90vkc4.js → persistent-pty-jxm7mf79.js} +6 -6
- package/dist/chunks/{form-7s451enq.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{form-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{form-jppvw2tx.js → persistent-pty-k3gnzxs0.js} +5 -5
- package/dist/chunks/{form-b47smg36.js → persistent-pty-k6w2t1ya.js} +4 -4
- package/dist/chunks/{form-xk0tmk9h.js → persistent-pty-k8drj7r5.js} +23 -23
- package/dist/chunks/{form-atknn5gh.js → persistent-pty-kcmy9jxr.js} +24 -24
- package/dist/chunks/{form-xkhhny8h.js → persistent-pty-kgeynd61.js} +15 -15
- package/dist/chunks/{form-yff36nk8.js → persistent-pty-kpfem4ty.js} +5 -5
- package/dist/chunks/{form-7cs7r6hh.js → persistent-pty-kze5qbmf.js} +5 -5
- package/dist/chunks/{form-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{form-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{form-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-e75bvajb.js → persistent-pty-m5tndwkn.js} +18 -18
- package/dist/chunks/{form-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-f527q87f.js → persistent-pty-md1q8d4s.js} +15 -15
- package/dist/chunks/{form-nzx758yy.js → persistent-pty-mdtxnk3g.js} +20 -20
- package/dist/chunks/{form-187249xp.js → persistent-pty-mg83pbjr.js} +6 -6
- package/dist/chunks/{form-yk0fykmp.js → persistent-pty-mnf1jt53.js} +27 -27
- package/dist/chunks/{form-e4atwhdh.js → persistent-pty-mpahdt45.js} +26 -26
- package/dist/chunks/{form-73tb2d7t.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{form-aw26e8fy.js → persistent-pty-mw5jjxyq.js} +36 -36
- package/dist/chunks/{form-9v9zjed9.js → persistent-pty-mxqdc3nz.js} +30 -30
- package/dist/chunks/{form-48tfg22t.js → persistent-pty-mzpz6184.js} +9 -9
- package/dist/chunks/{form-w8atqtkx.js → persistent-pty-nrm3jg5q.js} +39 -39
- package/dist/chunks/{form-rtgzx8gz.js → persistent-pty-nvdt7cxy.js} +10 -10
- package/dist/chunks/persistent-pty-nvh8apkc.js +252 -0
- package/dist/chunks/{form-8s8mxddj.js → persistent-pty-nw2nz702.js} +4 -4
- package/dist/chunks/{form-gfegxbyk.js → persistent-pty-nxmv3qtw.js} +27 -27
- package/dist/chunks/{form-ab8fjaz1.js → persistent-pty-p1rr7jpk.js} +8 -8
- package/dist/chunks/{form-hhpba17j.js → persistent-pty-p5zskvh4.js} +32 -32
- package/dist/chunks/{form-yvsf4n3e.js → persistent-pty-patgj9rf.js} +9 -9
- package/dist/chunks/{form-br3n28nn.js → persistent-pty-pcv9vap9.js} +10 -10
- package/dist/chunks/{form-1jfkr6w1.js → persistent-pty-pg3cx23y.js} +13 -13
- package/dist/chunks/{form-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{form-b0rts0rm.js → persistent-pty-pmqwy1kz.js} +3 -3
- package/dist/chunks/{form-agt2b0z6.js → persistent-pty-pwc6j5c3.js} +47 -47
- package/dist/chunks/{form-jw04p9hx.js → persistent-pty-qbrsjjg8.js} +21 -21
- package/dist/chunks/{form-hbwzw7pp.js → persistent-pty-qbvsdytj.js} +1 -1
- package/dist/chunks/{form-fv5x6695.js → persistent-pty-qcyhmmbj.js} +34 -34
- package/dist/chunks/{form-jw80jp6b.js → persistent-pty-qj8eh1ht.js} +4 -4
- package/dist/chunks/{form-qmqgtz8f.js → persistent-pty-qmqgtz8f.js} +2 -2
- package/dist/chunks/{form-qjnxxf51.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{form-0v04ghmx.js → persistent-pty-qqd25hrc.js} +6 -6
- package/dist/chunks/{form-sjbyn28r.js → persistent-pty-qs8m1hnz.js} +18 -18
- package/dist/chunks/{form-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{form-rrmegkqp.js → persistent-pty-qt01bjqm.js} +6 -6
- package/dist/chunks/{form-xcrtbwk3.js → persistent-pty-r2pbtf1m.js} +11 -11
- package/dist/chunks/{form-pf2hb43r.js → persistent-pty-r33ff4dw.js} +6 -6
- package/dist/chunks/{form-shr9sgda.js → persistent-pty-r72bb3g5.js} +8 -8
- package/dist/chunks/{form-za7g70bh.js → persistent-pty-r88en1p6.js} +4 -4
- package/dist/chunks/{form-1g7epwpd.js → persistent-pty-ratrq7cm.js} +7 -7
- package/dist/chunks/{form-9rp062vg.js → persistent-pty-rbakn429.js} +11 -11
- package/dist/chunks/{form-nf28atj5.js → persistent-pty-rby3xxx1.js} +11 -11
- package/dist/chunks/{form-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-xxx6nk49.js → persistent-pty-re6b68jt.js} +15 -15
- package/dist/chunks/{form-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{form-6ty9sh7a.js → persistent-pty-rma8wxqr.js} +17 -17
- package/dist/chunks/{form-8162hsy1.js → persistent-pty-rpbhrmr0.js} +8 -8
- package/dist/chunks/{form-yy3gmdz3.js → persistent-pty-rtathh62.js} +8 -8
- package/dist/chunks/{form-xqxa373y.js → persistent-pty-ry3ayprc.js} +6 -6
- package/dist/chunks/{form-4fed4tfy.js → persistent-pty-ryn2s76s.js} +27 -27
- package/dist/chunks/{form-0j3nmaep.js → persistent-pty-s96yh66p.js} +20 -20
- package/dist/chunks/{form-7162y86f.js → persistent-pty-sbhenykq.js} +3 -3
- package/dist/chunks/{form-mqyd6z98.js → persistent-pty-sc61929c.js} +26 -26
- package/dist/chunks/{form-gxa7w1k3.js → persistent-pty-sckksdt6.js} +37 -37
- package/dist/chunks/{form-pybvk86w.js → persistent-pty-sdc2ahzz.js} +24 -24
- package/dist/chunks/{form-cp2wg6ks.js → persistent-pty-se3v9tfx.js} +27 -27
- package/dist/chunks/{form-m1zws58h.js → persistent-pty-sv8w2zbm.js} +25 -25
- package/dist/chunks/{form-x458q4ex.js → persistent-pty-t3e2pjga.js} +5 -5
- package/dist/chunks/{form-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-ba7jpweg.js → persistent-pty-tbgrq2h7.js} +9 -9
- package/dist/chunks/{form-56hk4ak4.js → persistent-pty-tbgyadps.js} +8 -8
- package/dist/chunks/{form-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{form-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{form-5st8rbsk.js → persistent-pty-tegm9nvs.js} +15 -15
- package/dist/chunks/{form-dbcrk5ce.js → persistent-pty-tj531n0d.js} +32 -32
- package/dist/chunks/{form-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{form-7sn9dajf.js → persistent-pty-txa68nbj.js} +27 -27
- package/dist/chunks/{form-7xwfm16r.js → persistent-pty-v6p4jrsd.js} +11 -11
- package/dist/chunks/{form-4setp8j6.js → persistent-pty-v8wrdptb.js} +44 -44
- package/dist/chunks/{form-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{form-8kp64gvm.js → persistent-pty-vph6zqr2.js} +11 -11
- package/dist/chunks/{form-ctg144c4.js → persistent-pty-vqxe66hv.js} +10 -10
- package/dist/chunks/{form-q72j6dq6.js → persistent-pty-vr3dsx4b.js} +26 -26
- package/dist/chunks/{form-ed256c4g.js → persistent-pty-vwzsxpqv.js} +24 -24
- package/dist/chunks/{form-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-gac61jch.js → persistent-pty-wbrh8mmr.js} +7 -7
- package/dist/chunks/{form-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{form-qvkscje0.js → persistent-pty-wfbbatkv.js} +10 -10
- package/dist/chunks/{form-6mwsk74p.js → persistent-pty-ww52grw6.js} +16 -16
- package/dist/chunks/{form-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-bwhgaaqb.js → persistent-pty-x31d7mze.js} +9 -9
- package/dist/chunks/{form-g6s8q7z4.js → persistent-pty-x44f4n8q.js} +12 -12
- package/dist/chunks/{form-yvfbr3tw.js → persistent-pty-xajwbek5.js} +4 -4
- package/dist/chunks/{form-j93ydeda.js → persistent-pty-xbw6anr4.js} +13 -13
- package/dist/chunks/{form-g041mfwn.js → persistent-pty-xe4w135j.js} +9 -9
- package/dist/chunks/{form-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{form-zxpe5c4y.js → persistent-pty-xkf2rpbc.js} +32 -32
- package/dist/chunks/{form-cd9k3c4q.js → persistent-pty-xmm5j47e.js} +10 -10
- package/dist/chunks/{form-s10c98f4.js → persistent-pty-xndy1brp.js} +4 -4
- package/dist/chunks/{form-513wy2ae.js → persistent-pty-xtv69tq4.js} +10 -10
- package/dist/chunks/{form-zsv5db02.js → persistent-pty-xv9ma6ry.js} +32 -32
- package/dist/chunks/{form-yr9h6b9g.js → persistent-pty-y0ge2r9f.js} +2 -2
- package/dist/chunks/{form-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-1x75wf9g.js → persistent-pty-y906m0ew.js} +5 -5
- package/dist/chunks/{form-b53c9fhk.js → persistent-pty-y9k7smv5.js} +9 -9
- package/dist/chunks/{form-4w6k0mqf.js → persistent-pty-ya3ej9zv.js} +5 -5
- package/dist/chunks/{form-0dr0g8g1.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{form-0hf9g8pg.js → persistent-pty-ycjb11n5.js} +6 -6
- package/dist/chunks/{form-0ns2f2pf.js → persistent-pty-yn8wfmf6.js} +23 -23
- package/dist/chunks/{form-gsbbpftd.js → persistent-pty-yp8dzd9b.js} +4 -4
- package/dist/chunks/{form-4gvnyy3b.js → persistent-pty-ypyqm45m.js} +14 -14
- package/dist/chunks/{form-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{form-v385x0he.js → persistent-pty-yz5gadm7.js} +68 -68
- package/dist/chunks/{form-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{form-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-g0g7j94m.js → persistent-pty-zgbvzy4h.js} +8 -8
- package/dist/chunks/{form-wakc8mv8.js → persistent-pty-zmpf3yp4.js} +17 -17
- package/dist/chunks/{form-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-gt2mexw9.js → persistent-pty-zsphfh87.js} +15 -15
- package/dist/chunks/{form-fdjyeynq.js → persistent-pty-ztbsr2q6.js} +6 -6
- package/dist/chunks/{form-zxq2ej10.js → persistent-pty-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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +111 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/filesystem.d.ts +10 -2
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/form-4sypej7j.js +0 -26
- package/dist/chunks/form-nvp6bqjw.js +0 -252
- package/dist/chunks/form-sqa21q52.js +0 -478
- package/dist/chunks/form-vnkjks7b.js +0 -18
- /package/dist/chunks/{form-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{form-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-78b8afjy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9c8f3b19.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./persistent-pty-27kesqea.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-sv8w2zbm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-tj531n0d.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node73
|
|
7
|
+
} from "./persistent-pty-476xsedq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
|
+
make: () => make20,
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service67 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -85,8 +85,8 @@ function decrementSession(input, sessionID) {
|
|
|
85
85
|
next.set(sessionID, count - 1);
|
|
86
86
|
return next;
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
const kv = yield*
|
|
88
|
+
var make20 = Effect.gen(function* () {
|
|
89
|
+
const kv = yield* Service69;
|
|
90
90
|
const state = {
|
|
91
91
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
92
|
scope: yield* Scope.Scope
|
|
@@ -315,7 +315,7 @@ var make19 = Effect.gen(function* () {
|
|
|
315
315
|
return recovered;
|
|
316
316
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
317
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
318
|
-
return
|
|
318
|
+
return Service67.of({
|
|
319
319
|
get,
|
|
320
320
|
start,
|
|
321
321
|
wait,
|
|
@@ -327,7 +327,7 @@ var make19 = Effect.gen(function* () {
|
|
|
327
327
|
completeBackground
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
330
|
+
var layer = Layer.effect(Service67, make20);
|
|
331
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node73] });
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { Service67, make20, node71, exports_job };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./persistent-pty-gcbc03sz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make7
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service55;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-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: () => Plugin34,
|
|
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 Plugin34 = 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 Plugin5 = 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, Plugin34, exports_exa };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9c8f3b19.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service17,
|
|
6
|
+
Event5
|
|
7
|
+
} from "./persistent-pty-gq0aze3h.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* Service17;
|
|
33
33
|
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
yield* bus.subscribe(
|
|
62
|
+
yield* bus.subscribe(Event5.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
function environmentNames(provider) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service55,
|
|
3
|
+
node60
|
|
4
|
+
} from "./persistent-pty-gcbc03sz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./persistent-pty-43v53x48.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node59
|
|
12
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service54;
|
|
40
|
+
const watcher = yield* Service55;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node59, FSUtil.node, node60, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./persistent-pty-qbrsjjg8.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./persistent-pty-akrnn5pm.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-r88en1p6.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service54
|
|
16
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin16
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin16 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service54;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin45 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin16, exports_agent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9c8f3b19.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./persistent-pty-27kesqea.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-sv8w2zbm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./persistent-pty-tj531n0d.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-rby3xxx1.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-78b8afjy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service74;
|
|
161
161
|
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|