@opencode/core 0.0.0-dev-19726 → 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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-w1k39n5e.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{websearch-ntzn41cr.js → persistent-pty-08bhejcc.js} +24 -24
- package/dist/chunks/{websearch-9mspnbyh.js → persistent-pty-0abzxk01.js} +47 -47
- package/dist/chunks/{websearch-95srxab2.js → persistent-pty-0bjwe8an.js} +7 -7
- package/dist/chunks/{websearch-1t6x3rcf.js → persistent-pty-0f1em0ez.js} +17 -17
- package/dist/chunks/{websearch-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{websearch-k7xyn1d6.js → persistent-pty-0nvdzmpy.js} +26 -26
- package/dist/chunks/{websearch-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-j3vbzy50.js → persistent-pty-0q14gyha.js} +4 -4
- package/dist/chunks/{websearch-y5pxcw36.js → persistent-pty-0y4tsv4g.js} +3 -3
- package/dist/chunks/{websearch-kbyydvt3.js → persistent-pty-18yg4hgb.js} +5 -5
- package/dist/chunks/{websearch-ad2rxyny.js → persistent-pty-19e86vrr.js} +32 -32
- package/dist/chunks/{websearch-6494ngt7.js → persistent-pty-1c6r0v3g.js} +15 -15
- package/dist/chunks/{websearch-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{websearch-1b53cfnj.js → persistent-pty-27kesqea.js} +28 -28
- package/dist/chunks/{websearch-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-ff7vxqds.js → persistent-pty-2gbsvbx5.js} +12 -12
- package/dist/chunks/{websearch-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{websearch-amcw3xe5.js → persistent-pty-2rwww3fn.js} +5 -5
- package/dist/chunks/{websearch-7sg42d4j.js → persistent-pty-2xh021f3.js} +20 -20
- package/dist/chunks/{websearch-4jv7e9dq.js → persistent-pty-2y34zzjz.js} +9 -9
- package/dist/chunks/{websearch-nesqjncw.js → persistent-pty-3dnp56pr.js} +13 -13
- package/dist/chunks/{websearch-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-35m7c38y.js → persistent-pty-3hdyanjz.js} +4 -4
- package/dist/chunks/{websearch-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3cx63w9k.js → persistent-pty-3kzm2gg7.js} +15 -15
- package/dist/chunks/{websearch-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-wyfky7qa.js → persistent-pty-43v53x48.js} +14 -14
- package/dist/chunks/{websearch-3prwhemk.js → persistent-pty-43vp44v8.js} +42 -42
- package/dist/chunks/{websearch-fkjmw100.js → persistent-pty-44ke2mar.js} +6 -6
- package/dist/chunks/{websearch-7mncpb7s.js → persistent-pty-46h4yk7y.js} +9 -9
- package/dist/chunks/{websearch-hmhpp73g.js → persistent-pty-476xsedq.js} +10 -10
- package/dist/chunks/{websearch-5cp6651z.js → persistent-pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{websearch-11fbehs9.js → persistent-pty-4kqw14kn.js} +13 -13
- package/dist/chunks/{websearch-34ngepqf.js → persistent-pty-4scff3yx.js} +92 -92
- package/dist/chunks/{websearch-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{websearch-mdcbk6e4.js → persistent-pty-58b33b18.js} +7 -7
- package/dist/chunks/{websearch-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{websearch-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-tn7wjcpc.js → persistent-pty-5hj37ers.js} +44 -44
- package/dist/chunks/{websearch-ac4r481x.js → persistent-pty-5qzy05yz.js} +20 -20
- package/dist/chunks/{websearch-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-1pxnjy9w.js → persistent-pty-5v97j575.js} +21 -21
- package/dist/chunks/{websearch-x3ea811x.js → persistent-pty-5vmxkdvd.js} +11 -11
- package/dist/chunks/{websearch-44ryhxgb.js → persistent-pty-5yp8twyc.js} +33 -33
- package/dist/chunks/{websearch-tqde4kee.js → persistent-pty-623746t2.js} +13 -13
- package/dist/chunks/{websearch-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{websearch-fkv8g0v1.js → persistent-pty-66dyjrem.js} +25 -25
- package/dist/chunks/{websearch-2kkb54wy.js → persistent-pty-69qp09he.js} +4 -4
- package/dist/chunks/{websearch-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-vb47znx6.js → persistent-pty-6nagbv76.js} +17 -17
- package/dist/chunks/{websearch-w9fh9rp1.js → persistent-pty-7158h6s7.js} +35 -35
- package/dist/chunks/{websearch-j0xwbvkd.js → persistent-pty-74esd9zg.js} +11 -11
- package/dist/chunks/{websearch-r1nzxzk3.js → persistent-pty-78b8afjy.js} +11 -11
- package/dist/chunks/{websearch-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-e2e54bcg.js → persistent-pty-7kjjtcaz.js} +9 -9
- package/dist/chunks/{websearch-h0kkfn6x.js → persistent-pty-7p76c24s.js} +3 -3
- package/dist/chunks/{websearch-fvm632bv.js → persistent-pty-7vnscw7e.js} +28 -28
- package/dist/chunks/{websearch-6v90sdn8.js → persistent-pty-7x79k76q.js} +33 -33
- package/dist/chunks/{websearch-pwhxjrkr.js → persistent-pty-7ycevcb9.js} +8 -8
- package/dist/chunks/{websearch-mfbsr9ym.js → persistent-pty-8106cjk8.js} +22 -22
- package/dist/chunks/{websearch-hykm20ba.js → persistent-pty-85htkvce.js} +9 -9
- package/dist/chunks/{websearch-0cr4wcw3.js → persistent-pty-8byt1a1f.js} +88 -88
- package/dist/chunks/{websearch-fdyxrhgm.js → persistent-pty-8ckeceky.js} +23 -23
- package/dist/chunks/{websearch-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-y53nxhnd.js → persistent-pty-8da4efp4.js} +11 -11
- package/dist/chunks/{websearch-b6ba80dv.js → persistent-pty-8hwhcqqg.js} +20 -20
- package/dist/chunks/{websearch-fjshgbpx.js → persistent-pty-8p23sgx2.js} +26 -26
- package/dist/chunks/{websearch-wek9cs2v.js → persistent-pty-8v94ed5m.js} +38 -38
- package/dist/chunks/{websearch-1bc1vam0.js → persistent-pty-94n6ez7z.js} +18 -18
- package/dist/chunks/{websearch-a1pdeahv.js → persistent-pty-9c8f3b19.js} +4 -4
- package/dist/chunks/{websearch-8n69n882.js → persistent-pty-9ex8f1cq.js} +8 -8
- package/dist/chunks/{websearch-0jdsmxy0.js → persistent-pty-9kzytzbk.js} +43 -43
- package/dist/chunks/{websearch-atm3m4cm.js → persistent-pty-9p9te0yq.js} +26 -26
- package/dist/chunks/{websearch-xgzkh95h.js → persistent-pty-9y5n8jnt.js} +21 -21
- package/dist/chunks/{websearch-n9n6b8bc.js → persistent-pty-9ytqehrq.js} +11 -11
- package/dist/chunks/{websearch-g6dazs8d.js → persistent-pty-9zmt1vx9.js} +33 -33
- package/dist/chunks/{websearch-s8610hey.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{websearch-2df97718.js → persistent-pty-a4bygxwv.js} +20 -20
- package/dist/chunks/{websearch-wz6c4wjy.js → persistent-pty-a6ydtnj7.js} +22 -22
- package/dist/chunks/{websearch-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-74rrnwt7.js → persistent-pty-ab8cnxkj.js} +12 -12
- package/dist/chunks/{websearch-p44d8wdy.js → persistent-pty-af04s6ss.js} +5 -5
- package/dist/chunks/{websearch-hn57h045.js → persistent-pty-afdssyjb.js} +4 -4
- package/dist/chunks/{websearch-p9199vqh.js → persistent-pty-ah4kcnx7.js} +9 -9
- package/dist/chunks/{websearch-bcrtfppw.js → persistent-pty-ahpfebvr.js} +20 -20
- package/dist/chunks/{websearch-tpq2hd4z.js → persistent-pty-ahszpzb1.js} +1 -1
- package/dist/chunks/{websearch-wf538q6w.js → persistent-pty-akrnn5pm.js} +6 -6
- package/dist/chunks/{websearch-5qqj1w64.js → persistent-pty-aw8xkpzd.js} +29 -29
- package/dist/chunks/{websearch-hbmnenma.js → persistent-pty-b5ew5r0t.js} +175 -175
- package/dist/chunks/{websearch-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-s6dasder.js → persistent-pty-ba82ctx4.js} +55 -55
- package/dist/chunks/{websearch-wmc81avc.js → persistent-pty-be0xfwc6.js} +13 -13
- package/dist/chunks/{websearch-ve4pfa0n.js → persistent-pty-bf0ztrs3.js} +4 -4
- package/dist/chunks/{websearch-pjz7yeqt.js → persistent-pty-bkzets0h.js} +5 -5
- package/dist/chunks/{websearch-vhw1ncwr.js → persistent-pty-bp73j9d8.js} +17 -17
- package/dist/chunks/{websearch-6f890ccd.js → persistent-pty-br0tr5aq.js} +8 -8
- package/dist/chunks/persistent-pty-btx52nm0.js +478 -0
- package/dist/chunks/{websearch-4jc5c4h4.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{websearch-t0fxg8b9.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{websearch-v27dtnaa.js → persistent-pty-c9rej1jf.js} +18 -18
- package/dist/chunks/{websearch-a50trx6m.js → persistent-pty-cjzmr2wc.js} +41 -41
- package/dist/chunks/{websearch-z1y8m30d.js → persistent-pty-cm8msd5e.js} +24 -24
- package/dist/chunks/{websearch-v760n2zd.js → persistent-pty-da6xg5hq.js} +54 -54
- package/dist/chunks/{websearch-76wb4w8g.js → persistent-pty-db85t7kk.js} +11 -11
- package/dist/chunks/{websearch-jawc5a8y.js → persistent-pty-dbyf6pmq.js} +12 -12
- package/dist/chunks/{websearch-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{websearch-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{websearch-azx168sb.js → persistent-pty-dq3nzk0j.js} +19 -19
- package/dist/chunks/{websearch-8h6enw4p.js → persistent-pty-dws7cgfq.js} +3 -3
- package/dist/chunks/{websearch-7k56d7ba.js → persistent-pty-dxhjx9yt.js} +18 -18
- package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
- package/dist/chunks/{websearch-w8mfkrd2.js → persistent-pty-dyyx6kgc.js} +18 -18
- package/dist/chunks/{websearch-71tstvm5.js → persistent-pty-e0k9jqvk.js} +11 -11
- package/dist/chunks/{websearch-02nrjc1r.js → persistent-pty-eaj1djv9.js} +4 -4
- package/dist/chunks/{websearch-jnfdvecq.js → persistent-pty-edcwcjj7.js} +16 -16
- package/dist/chunks/{websearch-p1kt70e2.js → persistent-pty-edjqbjbz.js} +3 -3
- package/dist/chunks/{websearch-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-hra6zdse.js → persistent-pty-em0daefh.js} +12 -12
- package/dist/chunks/{websearch-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-khybfek0.js → persistent-pty-fgj0ctqj.js} +24 -24
- package/dist/chunks/{websearch-rxph5gcs.js → persistent-pty-fwbhdv10.js} +11 -11
- package/dist/chunks/{websearch-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-468ms2xs.js → persistent-pty-fxyabwbq.js} +6 -6
- package/dist/chunks/{websearch-qfc3vy0d.js → persistent-pty-g06jb19y.js} +7 -7
- package/dist/chunks/{websearch-f2jpp01n.js → persistent-pty-ga8ekxq3.js} +8 -8
- package/dist/chunks/{websearch-fj7pky7r.js → persistent-pty-gakcnn0z.js} +10 -10
- package/dist/chunks/{websearch-34f9jsxp.js → persistent-pty-gcbc03sz.js} +22 -22
- package/dist/chunks/{websearch-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-fxqygnfa.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{websearch-g8wxz3bw.js → persistent-pty-gq0aze3h.js} +29 -29
- package/dist/chunks/{websearch-fe7nnn6e.js → persistent-pty-gsphepnq.js} +8 -8
- package/dist/chunks/{websearch-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{websearch-nzyhnfxz.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{websearch-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{websearch-42xr5rts.js → persistent-pty-hds23wzw.js} +14 -14
- package/dist/chunks/{websearch-4qxmcfde.js → persistent-pty-hmdeq4v3.js} +18 -18
- package/dist/chunks/{websearch-vg2wyg4e.js → persistent-pty-hp1gy4dq.js} +36 -24
- package/dist/chunks/{websearch-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-hwjyn0yt.js → persistent-pty-j58c5xyq.js} +9 -9
- package/dist/chunks/{websearch-x5rjwhsa.js → persistent-pty-j8bvp1fm.js} +22 -22
- package/dist/chunks/{websearch-t4rghkh8.js → persistent-pty-j8ew5444.js} +5 -5
- package/dist/chunks/{websearch-p4tf5mma.js → persistent-pty-j92nbs9r.js} +16 -16
- package/dist/chunks/{websearch-kg8nd7j6.js → persistent-pty-jaqtfry5.js} +18 -18
- package/dist/chunks/{websearch-2f04pwep.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/{websearch-1qr8tbft.js → persistent-pty-jjht5kq7.js} +15 -15
- package/dist/chunks/{websearch-annhxna8.js → persistent-pty-jqczgfd0.js} +39 -39
- package/dist/chunks/{websearch-217w27pp.js → persistent-pty-jxm7mf79.js} +6 -6
- package/dist/chunks/{websearch-4e8vs6eh.js → persistent-pty-k1gkpfdk.js} +8 -8
- package/dist/chunks/{websearch-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-jppvw2tx.js → persistent-pty-k3gnzxs0.js} +5 -5
- package/dist/chunks/{websearch-nnj5g5ts.js → persistent-pty-k6w2t1ya.js} +4 -4
- package/dist/chunks/{websearch-ydejvqxg.js → persistent-pty-k8drj7r5.js} +23 -23
- package/dist/chunks/{websearch-b60qvk9z.js → persistent-pty-kcmy9jxr.js} +24 -24
- package/dist/chunks/{websearch-fyk0ct8p.js → persistent-pty-kgeynd61.js} +12 -12
- package/dist/chunks/{websearch-wyqjvnh3.js → persistent-pty-kpfem4ty.js} +5 -5
- package/dist/chunks/{websearch-75kkhfb0.js → persistent-pty-kze5qbmf.js} +5 -5
- package/dist/chunks/{websearch-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{websearch-j3s2z371.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{websearch-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-cej0pycs.js → persistent-pty-m5tndwkn.js} +15 -15
- package/dist/chunks/{websearch-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-vgmr4sc2.js → persistent-pty-md1q8d4s.js} +17 -17
- package/dist/chunks/{websearch-r16jvtnf.js → persistent-pty-mdtxnk3g.js} +18 -18
- package/dist/chunks/{websearch-jswts1sh.js → persistent-pty-mg83pbjr.js} +6 -6
- package/dist/chunks/{websearch-zfqkckys.js → persistent-pty-mnf1jt53.js} +22 -22
- package/dist/chunks/{websearch-s153yc2g.js → persistent-pty-mpahdt45.js} +26 -26
- package/dist/chunks/{websearch-j028xdjb.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{websearch-gxz9ze6g.js → persistent-pty-mw5jjxyq.js} +36 -36
- package/dist/chunks/{websearch-xyhjwr2g.js → persistent-pty-mxqdc3nz.js} +32 -32
- package/dist/chunks/{websearch-fz2zwq67.js → persistent-pty-mzpz6184.js} +11 -11
- package/dist/chunks/{websearch-qpb9pvhg.js → persistent-pty-nrm3jg5q.js} +40 -40
- package/dist/chunks/{websearch-8rs26fy9.js → persistent-pty-nvdt7cxy.js} +10 -10
- package/dist/chunks/persistent-pty-nvh8apkc.js +252 -0
- package/dist/chunks/{websearch-ec8389mk.js → persistent-pty-nw2nz702.js} +4 -4
- package/dist/chunks/{websearch-5w2mrjnt.js → persistent-pty-nxmv3qtw.js} +27 -27
- package/dist/chunks/{websearch-ftt1jkvy.js → persistent-pty-p1rr7jpk.js} +6 -6
- package/dist/chunks/{websearch-3jx0dxz6.js → persistent-pty-p5zskvh4.js} +28 -28
- package/dist/chunks/{websearch-jvvc3tfq.js → persistent-pty-patgj9rf.js} +9 -9
- package/dist/chunks/{websearch-xrfmzwy2.js → persistent-pty-pcv9vap9.js} +10 -10
- package/dist/chunks/{websearch-688skcs6.js → persistent-pty-pg3cx23y.js} +13 -13
- package/dist/chunks/{websearch-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-aw25f9k7.js → persistent-pty-pmqwy1kz.js} +3 -3
- package/dist/chunks/{websearch-y4emhg5s.js → persistent-pty-pwc6j5c3.js} +46 -46
- package/dist/chunks/{websearch-cs9qt30b.js → persistent-pty-qbrsjjg8.js} +21 -21
- package/dist/chunks/{websearch-pe48638c.js → persistent-pty-qbvsdytj.js} +1 -1
- package/dist/chunks/{websearch-pxy915q0.js → persistent-pty-qcyhmmbj.js} +33 -33
- package/dist/chunks/{websearch-qj8eh1ht.js → persistent-pty-qj8eh1ht.js} +1 -1
- package/dist/chunks/{websearch-5d607bsg.js → persistent-pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{websearch-e6hmchc5.js → persistent-pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{websearch-r3m778ec.js → persistent-pty-qqd25hrc.js} +3 -3
- package/dist/chunks/{websearch-4rdyqzv9.js → persistent-pty-qs8m1hnz.js} +18 -18
- package/dist/chunks/{websearch-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-fy3543da.js → persistent-pty-qt01bjqm.js} +9 -9
- package/dist/chunks/{websearch-ed7s7zhg.js → persistent-pty-r2pbtf1m.js} +11 -11
- package/dist/chunks/{websearch-e6hd9jay.js → persistent-pty-r33ff4dw.js} +6 -6
- package/dist/chunks/{websearch-grmms9d3.js → persistent-pty-r72bb3g5.js} +8 -8
- package/dist/chunks/{websearch-xysdzrga.js → persistent-pty-r88en1p6.js} +4 -4
- package/dist/chunks/{websearch-ratrq7cm.js → persistent-pty-ratrq7cm.js} +1 -1
- package/dist/chunks/{websearch-cm436xz1.js → persistent-pty-rbakn429.js} +11 -11
- package/dist/chunks/{websearch-jb663h59.js → persistent-pty-rby3xxx1.js} +11 -11
- package/dist/chunks/{websearch-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-xft5dqkh.js → persistent-pty-re6b68jt.js} +15 -15
- package/dist/chunks/{websearch-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{websearch-v8fm89qw.js → persistent-pty-rma8wxqr.js} +17 -17
- package/dist/chunks/{websearch-bky6c04a.js → persistent-pty-rpbhrmr0.js} +5 -5
- package/dist/chunks/{websearch-ednp5hmx.js → persistent-pty-rtathh62.js} +5 -5
- package/dist/chunks/{websearch-qm8d4hv1.js → persistent-pty-ry3ayprc.js} +6 -6
- package/dist/chunks/{websearch-84v7aq1v.js → persistent-pty-ryn2s76s.js} +27 -27
- package/dist/chunks/{websearch-c8qk7tts.js → persistent-pty-s96yh66p.js} +17 -17
- package/dist/chunks/{websearch-femjt155.js → persistent-pty-sbhenykq.js} +3 -3
- package/dist/chunks/{websearch-00dr1njp.js → persistent-pty-sc61929c.js} +26 -26
- package/dist/chunks/{websearch-53jp9rw5.js → persistent-pty-sckksdt6.js} +32 -32
- package/dist/chunks/{websearch-0e4y66cd.js → persistent-pty-sdc2ahzz.js} +22 -22
- package/dist/chunks/{websearch-bpennfjx.js → persistent-pty-se3v9tfx.js} +22 -22
- package/dist/chunks/{websearch-mwdc51q5.js → persistent-pty-sv8w2zbm.js} +25 -25
- package/dist/chunks/{websearch-p2mak7at.js → persistent-pty-t3e2pjga.js} +3 -3
- package/dist/chunks/{websearch-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-1nsem4zt.js → persistent-pty-tbgrq2h7.js} +7 -7
- package/dist/chunks/{websearch-tnaxe9ds.js → persistent-pty-tbgyadps.js} +8 -8
- package/dist/chunks/{websearch-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-23bndme8.js → persistent-pty-tegm9nvs.js} +15 -15
- package/dist/chunks/{websearch-vfz7kkm7.js → persistent-pty-tj531n0d.js} +32 -32
- package/dist/chunks/{websearch-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-7w2s7zn9.js → persistent-pty-txa68nbj.js} +27 -27
- package/dist/chunks/{websearch-k6my4ra7.js → persistent-pty-v6p4jrsd.js} +8 -8
- package/dist/chunks/{websearch-d4kjnek0.js → persistent-pty-v8wrdptb.js} +44 -44
- package/dist/chunks/{websearch-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-cgjkw3zm.js → persistent-pty-vph6zqr2.js} +11 -11
- package/dist/chunks/{websearch-1b82cgey.js → persistent-pty-vqxe66hv.js} +10 -10
- package/dist/chunks/{websearch-7k11q7g3.js → persistent-pty-vr3dsx4b.js} +25 -25
- package/dist/chunks/{websearch-p84a3xwz.js → persistent-pty-vwzsxpqv.js} +21 -21
- package/dist/chunks/{websearch-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-7jf4j9cq.js → persistent-pty-wbrh8mmr.js} +7 -7
- package/dist/chunks/{websearch-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-djepkcha.js → persistent-pty-wfbbatkv.js} +10 -10
- package/dist/chunks/{websearch-t4dnb9f7.js → persistent-pty-ww52grw6.js} +16 -16
- package/dist/chunks/{websearch-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-f1msgtjz.js → persistent-pty-x31d7mze.js} +9 -9
- package/dist/chunks/{websearch-qn369vj2.js → persistent-pty-x44f4n8q.js} +16 -16
- package/dist/chunks/{websearch-028j0zm0.js → persistent-pty-xajwbek5.js} +4 -4
- package/dist/chunks/{websearch-ckdbnr1m.js → persistent-pty-xbw6anr4.js} +13 -13
- package/dist/chunks/{websearch-w7s0zwfz.js → persistent-pty-xe4w135j.js} +9 -9
- package/dist/chunks/{websearch-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{websearch-2f0scwtq.js → persistent-pty-xkf2rpbc.js} +30 -30
- package/dist/chunks/{websearch-tvx0j432.js → persistent-pty-xmm5j47e.js} +5 -5
- package/dist/chunks/{websearch-67b1spex.js → persistent-pty-xndy1brp.js} +4 -4
- package/dist/chunks/{websearch-hyrpm5nn.js → persistent-pty-xtv69tq4.js} +10 -10
- package/dist/chunks/{websearch-savs1ssj.js → persistent-pty-xv9ma6ry.js} +32 -32
- package/dist/chunks/{websearch-3aytj4vb.js → persistent-pty-y0ge2r9f.js} +2 -2
- package/dist/chunks/{websearch-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-0nde5ztd.js → persistent-pty-y906m0ew.js} +5 -5
- package/dist/chunks/{websearch-704r4sk8.js → persistent-pty-y9k7smv5.js} +11 -11
- package/dist/chunks/{websearch-84vhy5z7.js → persistent-pty-ya3ej9zv.js} +5 -5
- package/dist/chunks/{websearch-7p797550.js → persistent-pty-ybhbtxjg.js} +6 -6
- package/dist/chunks/{websearch-vqfzq50h.js → persistent-pty-ycjb11n5.js} +6 -6
- package/dist/chunks/{websearch-a0c6s8q1.js → persistent-pty-yn8wfmf6.js} +23 -23
- package/dist/chunks/{websearch-3bq31pq3.js → persistent-pty-yp8dzd9b.js} +4 -4
- package/dist/chunks/{websearch-ty4014gx.js → persistent-pty-ypyqm45m.js} +14 -14
- package/dist/chunks/{websearch-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-b2pmyqha.js → persistent-pty-yz5gadm7.js} +69 -69
- package/dist/chunks/{websearch-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{websearch-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-4k3vs3bj.js → persistent-pty-zgbvzy4h.js} +8 -8
- package/dist/chunks/{websearch-j5r5s5y1.js → persistent-pty-zmpf3yp4.js} +17 -17
- package/dist/chunks/{websearch-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-j9evh2x0.js → persistent-pty-zsphfh87.js} +16 -16
- package/dist/chunks/{websearch-1ahfdqym.js → persistent-pty-ztbsr2q6.js} +6 -6
- package/dist/chunks/{websearch-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 +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +129 -129
- 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 +141 -141
- 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 +127 -127
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- 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 +103 -103
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +93 -93
- 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 +138 -138
- 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 +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- 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 +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +129 -129
- package/dist/session/projector.js +85 -85
- 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 +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- 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 +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +12 -12
- 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 +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- 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/websearch-j9ykbwb6.js +0 -478
- package/dist/chunks/websearch-kckcqb9a.js +0 -252
- package/dist/chunks/websearch-q509s3k3.js +0 -18
- package/dist/chunks/websearch-qapv375x.js +0 -4
- /package/dist/chunks/{websearch-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-9c8f3b19.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./persistent-pty-43v53x48.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node78,
|
|
20
|
+
Event16
|
|
21
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,25 +29,25 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event15,
|
|
33
33
|
Family: () => Family2,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID12,
|
|
35
|
+
Info: () => Info26,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service73,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
43
|
-
parse: () =>
|
|
42
|
+
node: () => node77,
|
|
43
|
+
parse: () => parse5
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
50
|
-
var
|
|
49
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
50
|
+
var ID12 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
53
53
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
55
55
|
var Capabilities2 = Model.Capabilities;
|
|
56
56
|
var Cost2 = Model.Cost;
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
|
-
var
|
|
58
|
+
var Info26 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const providers = yield*
|
|
62
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
63
|
+
const providers = yield* Service74;
|
|
64
64
|
const bus = yield* Service82;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
let input;
|
|
67
67
|
const state = create3({
|
|
68
68
|
name: "model",
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
107
107
|
const models = writable(providerID);
|
|
108
108
|
if (!models)
|
|
109
109
|
return;
|
|
110
|
-
const model = draft(providerID, modelID) ??
|
|
110
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
111
111
|
update(model);
|
|
112
112
|
model.id = modelID;
|
|
113
113
|
model.providerID = providerID;
|
|
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
198
198
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
199
199
|
});
|
|
200
200
|
});
|
|
201
|
-
yield* bus.subscribe(
|
|
202
|
-
return
|
|
201
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
202
|
+
return Service73.of({
|
|
203
203
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
204
204
|
reload,
|
|
205
205
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
218
218
|
})
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
|
-
var
|
|
221
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node86, node82] });
|
|
222
222
|
function compatibility2(input) {
|
|
223
223
|
if (typeof input === "string")
|
|
224
224
|
return { reasoningField: input };
|
|
@@ -226,12 +226,12 @@ function compatibility2(input) {
|
|
|
226
226
|
return;
|
|
227
227
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function parse5(input) {
|
|
230
230
|
const index = input.indexOf("/");
|
|
231
231
|
return {
|
|
232
|
-
providerID:
|
|
233
|
-
modelID:
|
|
232
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
233
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
export {
|
|
237
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-9c8f3b19.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./persistent-pty-mpahdt45.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./persistent-pty-43v53x48.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service63,
|
|
16
|
+
node67
|
|
17
|
+
} from "./persistent-pty-ba82ctx4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service39,
|
|
20
|
+
node43
|
|
21
|
+
} from "./persistent-pty-3kzm2gg7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service38,
|
|
31
|
+
node: () => node42
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service38 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service82;
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
40
|
+
const location = yield* Service78;
|
|
41
|
+
const permission = yield* Service63;
|
|
42
|
+
const forms = yield* Service77;
|
|
43
|
+
const rpc = yield* Service39;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service38.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node42 = makeLocationNode({
|
|
60
|
+
service: Service38,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node86,
|
|
62
|
+
deps: [node86, node82, node67, node81, node43]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service38, node42, exports_location_lifecycle };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./persistent-pty-gcbc03sz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-yp8dzd9b.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
@@ -24,9 +24,9 @@ import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
|
24
24
|
var Plugin17 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service55;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75,
|
|
4
|
+
node79
|
|
5
|
+
} from "./persistent-pty-sv8w2zbm.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node78
|
|
16
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node76
|
|
20
|
+
} from "./persistent-pty-e0k9jqvk.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service73,
|
|
26
|
+
node77
|
|
27
|
+
} from "./persistent-pty-tj531n0d.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service71,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer23,
|
|
47
|
+
node: () => node75,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID13,
|
|
58
|
+
modelID: ID12,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID13,
|
|
68
|
+
modelID: ID12,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID13,
|
|
79
|
+
modelID: ID12,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID13,
|
|
90
|
+
modelID: ID12,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID13,
|
|
102
|
+
modelID: ID12,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID13,
|
|
112
|
+
modelID: ID12,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer23 = Layer.effect(Service71, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service74;
|
|
262
|
+
const models = yield* Service73;
|
|
263
|
+
const integrations = yield* Service75;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service72;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service71.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node75 = makeLocationNode({
|
|
308
|
+
service: Service71,
|
|
309
|
+
layer: layer23,
|
|
310
|
+
deps: [node78, node77, node79, Npm.node, node76]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node75, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service34
|
|
7
|
+
} from "./persistent-pty-9zmt1vx9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const snapshot = yield* Service34;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin25 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin27, exports_snapshot };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-xv9ma6ry.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service54
|
|
8
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-dws7cgfq.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin18
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin18 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service54;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
|
|
|
200
200
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
export {
|
|
203
|
+
export { Plugin18, exports_provider };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./persistent-pty-qbrsjjg8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./persistent-pty-43v53x48.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./persistent-pty-9kzytzbk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service52,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-zsphfh87.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./persistent-pty-4scff3yx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make5
|
|
20
|
+
} from "./persistent-pty-mzpz6184.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin22
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin22 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service54;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin28 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service78;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service52;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service66;
|
|
62
|
+
const subagents = yield* make5;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin28 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin22, exports_command };
|