@opencode/core 0.0.0-dev-19843 → 0.0.0-dev-19846
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/{model-resolver-qye67he0.js → project-02n9c88k.js} +12 -12
- package/dist/chunks/{model-resolver-b9kdhzyq.js → project-0340qvks.js} +15 -15
- package/dist/chunks/{model-resolver-pfzrvarp.js → project-09739knt.js} +4 -4
- package/dist/chunks/{model-resolver-pecb0brz.js → project-0f9afca0.js} +5 -5
- package/dist/chunks/{model-resolver-1t9c4b87.js → project-0p5z90ds.js} +26 -26
- package/dist/chunks/{model-resolver-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-9ag5djza.js → project-0t0zwx0v.js} +5 -5
- package/dist/chunks/{model-resolver-6fmyjk66.js → project-0xqmy87r.js} +21 -21
- package/dist/chunks/{model-resolver-w48fcq56.js → project-0xvyxy1g.js} +15 -15
- package/dist/chunks/{model-resolver-yndsq8dt.js → project-1b59rhj7.js} +38 -38
- package/dist/chunks/{model-resolver-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-e1q5pbg3.js → project-1j0dje54.js} +39 -39
- package/dist/chunks/{model-resolver-dcqzdpn7.js → project-1j8agrvv.js} +11 -11
- package/dist/chunks/{model-resolver-2r8ft4tw.js → project-1jwtn2yg.js} +5 -5
- package/dist/chunks/{model-resolver-rk9t7fxt.js → project-1kq8tgzp.js} +8 -8
- package/dist/chunks/{model-resolver-qxfgkbem.js → project-1pd75zc4.js} +7 -7
- package/dist/chunks/{model-resolver-ss4xmamw.js → project-1znrxg4s.js} +12 -12
- package/dist/chunks/{model-resolver-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → project-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-qxpavsr8.js → project-2e1vq0y7.js} +65 -65
- package/dist/chunks/{model-resolver-8p8fqdjb.js → project-2h05jbbb.js} +6 -6
- package/dist/chunks/{model-resolver-115tzmsk.js → project-2hnm7rwd.js} +3 -3
- package/dist/chunks/{model-resolver-0x7w7yjj.js → project-2ht24x3n.js} +81 -81
- package/dist/chunks/{model-resolver-xkmv5agz.js → project-2jncbks8.js} +17 -17
- package/dist/chunks/{model-resolver-3syvqavp.js → project-2q8c0gm7.js} +9 -9
- package/dist/chunks/{model-resolver-13q063b0.js → project-2re9my94.js} +15 -15
- package/dist/chunks/{model-resolver-ssv7vh4d.js → project-31vws00a.js} +10 -10
- package/dist/chunks/{model-resolver-1ygqh575.js → project-33w4ejhs.js} +6 -6
- package/dist/chunks/{model-resolver-0m0tvs7x.js → project-3838ekre.js} +4 -4
- package/dist/chunks/{model-resolver-npba7pfw.js → project-3ax8ey8r.js} +20 -20
- package/dist/chunks/{model-resolver-btxmggav.js → project-3c3ytqpt.js} +45 -45
- package/dist/chunks/{model-resolver-1fgfndcs.js → project-3df1y0p8.js} +12 -12
- package/dist/chunks/{model-resolver-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-8gw7hntm.js → project-3fvk8wgj.js} +11 -11
- package/dist/chunks/{model-resolver-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-fnq9tzhn.js → project-428dsdgf.js} +24 -24
- package/dist/chunks/{model-resolver-r0tjgr50.js → project-45tdjxr7.js} +22 -22
- package/dist/chunks/{model-resolver-qdbakdjh.js → project-4a6jpjer.js} +5 -5
- package/dist/chunks/{model-resolver-v0y6s5p7.js → project-4cf1csag.js} +44 -44
- package/dist/chunks/{model-resolver-5h6w6v98.js → project-4kthemsz.js} +21 -21
- package/dist/chunks/{model-resolver-xgsfyewx.js → project-4mjrvyqz.js} +4 -4
- package/dist/chunks/{model-resolver-tmvpfzkm.js → project-4rttj77g.js} +3 -3
- package/dist/chunks/{model-resolver-3w4ewrwk.js → project-50w8bcqe.js} +9 -9
- package/dist/chunks/{model-resolver-yjptyezs.js → project-510m7gjw.js} +5 -5
- package/dist/chunks/{model-resolver-1qr453ff.js → project-52571pyr.js} +88 -88
- package/dist/chunks/{model-resolver-2fgn2we9.js → project-57ez7d0k.js} +9 -9
- package/dist/chunks/{model-resolver-06dxphr1.js → project-5c0f1prt.js} +4 -4
- package/dist/chunks/{model-resolver-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-krawv8h4.js → project-5nbh07yk.js} +17 -17
- package/dist/chunks/{model-resolver-z4fy0qdv.js → project-5r3hq516.js} +17 -17
- package/dist/chunks/{model-resolver-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-yw50seq0.js → project-5v0tmc5d.js} +10 -10
- package/dist/chunks/{model-resolver-60as4dx3.js → project-5xnbcw5n.js} +17 -17
- package/dist/chunks/{model-resolver-3fxkvrnp.js → project-637svkes.js} +15 -15
- package/dist/chunks/{model-resolver-pga14111.js → project-65fmhb37.js} +8 -8
- package/dist/chunks/{model-resolver-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-442kn1aa.js → project-684d09rt.js} +24 -24
- package/dist/chunks/project-68vj9s6j.js +252 -0
- package/dist/chunks/{model-resolver-nbxdrwjw.js → project-6bfnyyfc.js} +47 -47
- package/dist/chunks/{model-resolver-gg802qrt.js → project-6frkz0t9.js} +11 -11
- package/dist/chunks/{model-resolver-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-nbzsj80d.js → project-6n88yxkj.js} +8 -8
- package/dist/chunks/{model-resolver-x4zwv76m.js → project-6p35vfa4.js} +4 -4
- package/dist/chunks/{model-resolver-c4wqv7k3.js → project-6ps9zqp2.js} +31 -31
- package/dist/chunks/{model-resolver-wqedn24d.js → project-6qxcg912.js} +9 -9
- package/dist/chunks/{model-resolver-zccdra3h.js → project-6tw46rbw.js} +9 -9
- package/dist/chunks/{model-resolver-cf1x67r7.js → project-72nbf9pp.js} +3 -3
- package/dist/chunks/{model-resolver-scgm85f3.js → project-74rrnwt7.js} +12 -12
- package/dist/chunks/{model-resolver-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qqrtcnkc.js → project-7bx1sm4z.js} +24 -24
- package/dist/chunks/{model-resolver-7j2qha59.js → project-7dbmnfn4.js} +8 -8
- package/dist/chunks/{model-resolver-0wqmnehs.js → project-7dr66c2p.js} +21 -21
- package/dist/chunks/{model-resolver-8e6v1gzw.js → project-7g46xrmt.js} +34 -34
- package/dist/chunks/{model-resolver-afjpdfdw.js → project-7nbswp8v.js} +9 -9
- package/dist/chunks/{model-resolver-vyqn3nqs.js → project-7w3s9kd0.js} +4 -4
- package/dist/chunks/{model-resolver-9rjxcf4s.js → project-7wq30qzy.js} +9 -9
- package/dist/chunks/{model-resolver-8tcwmm4z.js → project-81pha9jc.js} +12 -12
- package/dist/chunks/{model-resolver-3q1d0z61.js → project-81sjjchp.js} +6 -6
- package/dist/chunks/{model-resolver-w52zt19p.js → project-83adyyr5.js} +41 -41
- package/dist/chunks/{model-resolver-b7vycytf.js → project-87kbdynr.js} +16 -16
- package/dist/chunks/{model-resolver-6eqynsgf.js → project-89tr5x57.js} +30 -30
- package/dist/chunks/{model-resolver-gchrb8vs.js → project-8czk929k.js} +5 -5
- package/dist/chunks/{model-resolver-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-8gxqpgph.js → project-8gxqpgph.js} +1 -1
- package/dist/chunks/{model-resolver-cavhxt7x.js → project-8kw72tn7.js} +15 -15
- package/dist/chunks/{model-resolver-xs8wfhd6.js → project-8n7qzcm3.js} +12 -12
- package/dist/chunks/{model-resolver-dj2t23y0.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-2h84f8r1.js → project-8qv6fygy.js} +1 -1
- package/dist/chunks/{model-resolver-9bzvwb7r.js → project-9jw9f6a3.js} +10 -10
- package/dist/chunks/{model-resolver-k7822xv0.js → project-9nf5h2pw.js} +16 -16
- package/dist/chunks/{model-resolver-atw7h3x9.js → project-9y6q7jxd.js} +10 -10
- package/dist/chunks/{model-resolver-bg3244xz.js → project-9zj7b8kh.js} +15 -15
- package/dist/chunks/{model-resolver-5c4hm403.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-b09hzw3k.js → project-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-vjf65k2b.js → project-a9h8knd5.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-302aywek.js → project-ack5b9kg.js} +22 -22
- package/dist/chunks/{model-resolver-vxkc1n72.js → project-ag0gjjxr.js} +29 -29
- package/dist/chunks/{model-resolver-21mj3dgx.js → project-art4n687.js} +44 -44
- package/dist/chunks/{model-resolver-rztfdspk.js → project-as8mjwtf.js} +17 -17
- package/dist/chunks/{model-resolver-1g7epwpd.js → project-b27vhd2z.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-5ge5ntkv.js → project-b836arpr.js} +2 -2
- package/dist/chunks/{model-resolver-qc51xf0a.js → project-b9stce80.js} +20 -20
- package/dist/chunks/{model-resolver-hz1mhzfh.js → project-bcbwapbv.js} +6 -6
- package/dist/chunks/{model-resolver-rejt6bp0.js → project-beva1xqy.js} +35 -35
- package/dist/chunks/{model-resolver-fgq6rdwq.js → project-bgpcryq4.js} +5 -5
- package/dist/chunks/{model-resolver-fjccm0sw.js → project-bm43pffw.js} +22 -22
- package/dist/chunks/{model-resolver-cgm9r2q3.js → project-bxxa70d5.js} +20 -20
- package/dist/chunks/{model-resolver-hw5aqd1g.js → project-bz2stzrr.js} +7 -7
- package/dist/chunks/{model-resolver-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-sqnsaxnr.js → project-cmsgpt83.js} +23 -23
- package/dist/chunks/{model-resolver-47hapfj2.js → project-cscvjawy.js} +18 -18
- package/dist/chunks/{model-resolver-cwa6csj7.js → project-cwa6csj7.js} +2 -2
- package/dist/chunks/{model-resolver-av47bmrc.js → project-czx70qgk.js} +24 -24
- package/dist/chunks/{model-resolver-a0858690.js → project-d21ps0yb.js} +11 -11
- package/dist/chunks/{model-resolver-636gmhwa.js → project-d3r7jxc2.js} +39 -39
- package/dist/chunks/{model-resolver-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-0xghfzx7.js → project-dqpc7aqh.js} +11 -11
- package/dist/chunks/{model-resolver-qqeeq2t9.js → project-drwq78ky.js} +7 -7
- package/dist/chunks/{model-resolver-e66w66e0.js → project-ds1tkbfk.js} +20 -20
- package/dist/chunks/{model-resolver-6m8f443c.js → project-dskjyb59.js} +7 -7
- package/dist/chunks/{model-resolver-9hn6k4tm.js → project-dv1qgsyq.js} +4 -4
- package/dist/chunks/{model-resolver-efgaas88.js → project-dvwx623d.js} +24 -24
- package/dist/chunks/{model-resolver-c48cwedc.js → project-eenk6a9p.js} +5 -5
- package/dist/chunks/{model-resolver-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-1g07qj94.js → project-entwmdpz.js} +35 -35
- package/dist/chunks/{model-resolver-eq1pz5kg.js → project-eq1pz5kg.js} +1 -1
- package/dist/chunks/{model-resolver-erw5rpbs.js → project-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-n9w42s1q.js → project-etbwh060.js} +11 -11
- package/dist/chunks/{model-resolver-rq9sfwah.js → project-etj4zdky.js} +22 -22
- package/dist/chunks/{model-resolver-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-nf80skmj.js → project-f1vhv4y2.js} +16 -16
- package/dist/chunks/{model-resolver-330b90y3.js → project-f3jfe5hw.js} +25 -25
- package/dist/chunks/{model-resolver-x87aptrd.js → project-f80scn8v.js} +12 -12
- package/dist/chunks/{model-resolver-hdnk95c8.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-r8v8adjt.js → project-f9qeaf72.js} +30 -30
- package/dist/chunks/{model-resolver-ye6dhg8n.js → project-fc5rx0ss.js} +28 -28
- package/dist/chunks/{model-resolver-7dqw4kz8.js → project-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-49r2655e.js → project-ft5embp4.js} +10 -10
- package/dist/chunks/{model-resolver-11dqjexa.js → project-fwwk8vbp.js} +9 -9
- package/dist/chunks/{model-resolver-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-smp5hqs3.js → project-fxpfvwpz.js} +8 -8
- package/dist/chunks/{model-resolver-f3r6a36m.js → project-g1dt0wsk.js} +23 -23
- package/dist/chunks/project-gbadjzag.js +4 -0
- package/dist/chunks/{model-resolver-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-xcd0eash.js → project-gjmk74th.js} +5 -5
- package/dist/chunks/{model-resolver-3xxdkst7.js → project-gnxekzmr.js} +15 -15
- package/dist/chunks/{model-resolver-xe6cmgbq.js → project-gp173rva.js} +11 -11
- package/dist/chunks/{model-resolver-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-4dgbcxzg.js → project-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-k31ypr3h.js → project-he710hpz.js} +6 -6
- package/dist/chunks/{model-resolver-kwxm6asy.js → project-hf12faft.js} +4 -4
- package/dist/chunks/{model-resolver-fab8hzt3.js → project-hfdr1yjj.js} +4 -4
- package/dist/chunks/{model-resolver-pnnqzn53.js → project-ht97wvte.js} +8 -8
- package/dist/chunks/{model-resolver-enwhvmwb.js → project-hzps6v82.js} +7 -7
- package/dist/chunks/{model-resolver-z0f6wna2.js → project-hzwch198.js} +11 -11
- package/dist/chunks/{model-resolver-r33ff4dw.js → project-j15mfg1p.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-hz39a88h.js → project-j8q8jte2.js} +27 -27
- package/dist/chunks/{model-resolver-h5cj5dem.js → project-j9kntj8d.js} +25 -25
- package/dist/chunks/{model-resolver-0v8afgdk.js → project-jd632q10.js} +17 -17
- package/dist/chunks/{model-resolver-y6f0p4jw.js → project-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-v27m40rm.js → project-jx33ms3p.js} +26 -26
- package/dist/chunks/{model-resolver-50mzsvk4.js → project-k2h4r4s0.js} +4 -4
- package/dist/chunks/{model-resolver-nzks3jc8.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-cyhsea0k.js → project-k5m0fz1p.js} +8 -8
- package/dist/chunks/{model-resolver-rayjs69j.js → project-kkj9rsjh.js} +22 -22
- package/dist/chunks/{model-resolver-zqx8wcya.js → project-knb7evpn.js} +4 -4
- package/dist/chunks/{model-resolver-0q9638wm.js → project-kt08d52r.js} +27 -27
- package/dist/chunks/{model-resolver-pz7a6r4w.js → project-kvs24rry.js} +5 -5
- package/dist/chunks/project-m01yfwga.js +26 -0
- package/dist/chunks/{model-resolver-5hxd3nfe.js → project-m3ap3m3h.js} +5 -5
- package/dist/chunks/{model-resolver-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-x9159bxd.js → project-m44bfvz1.js} +40 -40
- package/dist/chunks/{model-resolver-vw3e9fxe.js → project-m85m39ae.js} +8 -8
- package/dist/chunks/{model-resolver-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-70y17xeh.js → project-ma48de29.js} +5 -5
- package/dist/chunks/{model-resolver-phqer4q0.js → project-mk02b788.js} +37 -37
- package/dist/chunks/{model-resolver-1eqqj5b6.js → project-mpyeq7xq.js} +22 -22
- package/dist/chunks/{model-resolver-2evyaa68.js → project-mqy0jkn2.js} +4 -4
- package/dist/chunks/{model-resolver-5bdbc12f.js → project-mqzwkyay.js} +6 -6
- package/dist/chunks/{model-resolver-xvw3exqc.js → project-mvhgjtyh.js} +13 -13
- package/dist/chunks/{model-resolver-4rbr99e5.js → project-mwfvmtj3.js} +4 -4
- package/dist/chunks/{model-resolver-43ahs7k8.js → project-mwvxd4dr.js} +3 -3
- package/dist/chunks/{model-resolver-p7nftz6b.js → project-n7bbcbn9.js} +29 -29
- package/dist/chunks/{model-resolver-zejyxjry.js → project-n8rwxk9x.js} +29 -29
- package/dist/chunks/{model-resolver-n93j4s2c.js → project-nk9mvamb.js} +17 -17
- package/dist/chunks/{model-resolver-ppte1p09.js → project-ny0ejabc.js} +23 -23
- package/dist/chunks/{model-resolver-p28j5sbe.js → project-p28j5sbe.js} +2 -2
- package/dist/chunks/{model-resolver-n810d9f4.js → project-p487xezt.js} +11 -11
- package/dist/chunks/{model-resolver-r841few8.js → project-p89rncfr.js} +9 -9
- package/dist/chunks/project-pf31ssb9.js +18 -0
- package/dist/chunks/{model-resolver-4d6kgwwt.js → project-pfcen09k.js} +8 -8
- package/dist/chunks/{model-resolver-srv6jbph.js → project-pfkswgt7.js} +4 -4
- package/dist/chunks/{model-resolver-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-qg0jgkcp.js → project-pnv527nz.js} +9 -9
- package/dist/chunks/{model-resolver-qn9jv2jm.js → project-pq12zp18.js} +32 -32
- package/dist/chunks/{model-resolver-133zv6hb.js → project-prnhk7xm.js} +1 -1
- package/dist/chunks/{model-resolver-t85xqwrf.js → project-pte49nrz.js} +11 -11
- package/dist/chunks/{model-resolver-d9bx1agn.js → project-ptzgakd6.js} +4 -4
- package/dist/chunks/{model-resolver-985n0a3v.js → project-py4hfr94.js} +8 -8
- package/dist/chunks/{model-resolver-xs1r8498.js → project-q5neczsw.js} +13 -13
- package/dist/chunks/{model-resolver-wk759sqm.js → project-q8dgzeae.js} +30 -30
- package/dist/chunks/{model-resolver-d4j0zdza.js → project-qbkfx3nh.js} +16 -16
- package/dist/chunks/{model-resolver-agym5kke.js → project-qnfry43t.js} +47 -47
- package/dist/chunks/{model-resolver-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-30846h32.js → project-qwjmgwmn.js} +8 -8
- package/dist/chunks/{model-resolver-5qsdg0y7.js → project-r1t2j85f.js} +24 -24
- package/dist/chunks/{model-resolver-1acjjqhc.js → project-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-k1c74kvt.js → project-rc52wyyz.js} +30 -30
- package/dist/chunks/{model-resolver-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-pqbcvpxd.js → project-re4grerh.js} +13 -13
- package/dist/chunks/{model-resolver-16xb7hp4.js → project-rk07zaj4.js} +26 -26
- package/dist/chunks/{model-resolver-1n6eeek5.js → project-rmf7mdc6.js} +16 -16
- package/dist/chunks/{model-resolver-vvjdmnc6.js → project-rpzhdcbd.js} +16 -16
- package/dist/chunks/{model-resolver-821by267.js → project-rrc51wka.js} +7 -7
- package/dist/chunks/{model-resolver-hyf7bjak.js → project-rre8h2tn.js} +24 -24
- package/dist/chunks/{model-resolver-1mqp8f91.js → project-s0zv74y6.js} +30 -30
- package/dist/chunks/{model-resolver-rhjbct0v.js → project-s8d7rejh.js} +4 -4
- package/dist/chunks/{model-resolver-nn97278r.js → project-scpykyjp.js} +15 -15
- package/dist/chunks/{model-resolver-e9197vrp.js → project-sgzwzkja.js} +36 -36
- package/dist/chunks/{model-resolver-5hssebmz.js → project-sq85k8fn.js} +11 -11
- package/dist/chunks/{model-resolver-dmsqs59m.js → project-szbzb6j5.js} +5 -5
- package/dist/chunks/{model-resolver-rjy92yfz.js → project-t6dxs0q6.js} +12 -12
- package/dist/chunks/{model-resolver-r04fb0ma.js → project-t6xa7fbd.js} +19 -19
- package/dist/chunks/{model-resolver-cah21tc8.js → project-t809k1vg.js} +10 -10
- package/dist/chunks/{model-resolver-b7rmz7dj.js → project-t96rnwez.js} +14 -14
- package/dist/chunks/{model-resolver-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-fvh6y88j.js → project-tdtg4dez.js} +18 -18
- package/dist/chunks/{model-resolver-xpax8x5w.js → project-tvs0a824.js} +7 -7
- package/dist/chunks/{model-resolver-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-ve4pfa0n.js → project-ve4pfa0n.js} +1 -1
- package/dist/chunks/{model-resolver-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-vstc3933.js → project-vkd0h23s.js} +20 -20
- package/dist/chunks/{model-resolver-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-wkn3809p.js → project-w1095t62.js} +10 -10
- package/dist/chunks/{model-resolver-pyejz7ph.js → project-w2qjgwbm.js} +15 -15
- package/dist/chunks/{model-resolver-f0x0s4x5.js → project-w382z4ym.js} +3 -3
- package/dist/chunks/{model-resolver-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/project-wexrd5e5.js +492 -0
- package/dist/chunks/{model-resolver-nc9v3jx5.js → project-wf8n87rb.js} +176 -176
- package/dist/chunks/{model-resolver-7hjq573z.js → project-whd746f3.js} +15 -15
- package/dist/chunks/{model-resolver-05bpx1t2.js → project-wrn1hqgr.js} +23 -23
- package/dist/chunks/{model-resolver-z491n86c.js → project-wt7cwq24.js} +3 -3
- package/dist/chunks/{model-resolver-5bvvre9n.js → project-wxzxtg60.js} +4 -4
- package/dist/chunks/{model-resolver-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-cf2zwr71.js → project-x3pygry0.js} +22 -22
- package/dist/chunks/{model-resolver-c44r8hhs.js → project-x4srw6h4.js} +17 -17
- package/dist/chunks/{model-resolver-6frsr8qs.js → project-xevgfq4n.js} +15 -15
- package/dist/chunks/{model-resolver-rzd1prf9.js → project-xhrkwm7p.js} +27 -27
- package/dist/chunks/{model-resolver-q29b2gah.js → project-xjf4b6a1.js} +3 -3
- package/dist/chunks/{model-resolver-3gjeg5xr.js → project-xjnr36r5.js} +11 -11
- package/dist/chunks/{model-resolver-ef861y8h.js → project-xjy6841a.js} +19 -19
- package/dist/chunks/{model-resolver-mddgbemq.js → project-xnyswzzw.js} +23 -23
- package/dist/chunks/{model-resolver-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-s2ebsh4k.js → project-y31mwd8k.js} +18 -18
- package/dist/chunks/{model-resolver-x5860ntt.js → project-y7sgk7fq.js} +43 -43
- package/dist/chunks/{model-resolver-e5xpd6yj.js → project-ybhbtxjg.js} +6 -6
- package/dist/chunks/{model-resolver-2bkr1xer.js → project-yqn39ntr.js} +44 -44
- package/dist/chunks/{model-resolver-jw14ppbh.js → project-yr3xevt1.js} +18 -18
- package/dist/chunks/{model-resolver-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-vbfgae2j.js → project-z0aj456m.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-3w0fmcng.js → project-z3pw5915.js} +5 -5
- package/dist/chunks/{model-resolver-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-ahhj99d2.js → project-z9cmzz47.js} +11 -11
- package/dist/chunks/{model-resolver-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-bz85s9hh.js → project-zhq6vg7a.js} +1 -1
- package/dist/chunks/{model-resolver-xnyqt6gv.js → project-zq0jz1g1.js} +9 -9
- package/dist/chunks/{model-resolver-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-y8r1zn9y.js → project-zz1fy56t.js} +6 -6
- 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 +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 +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 +124 -124
- 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 +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 +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 +363 -363
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +3 -3
- 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 +128 -128
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +123 -123
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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/compaction.js +130 -130
- 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 +3 -3
- package/dist/plugin/internal.js +330 -330
- 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 +119 -119
- 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 +73 -73
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +133 -133
- 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 +218 -218
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- 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 +169 -169
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- 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 +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +122 -122
- package/dist/tool/plugin/edit.js +117 -117
- 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 +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +104 -104
- 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 +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/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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-epegjq71.js +0 -252
- package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
- package/dist/chunks/model-resolver-tjen3va7.js +0 -492
- package/dist/chunks/model-resolver-yzmdswv1.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./project-0xqmy87r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./project-qbkfx3nh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service64
|
|
10
|
+
} from "./project-83adyyr5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service61,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-45tdjxr7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./project-2ht24x3n.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./project-1j8agrvv.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin36
|
|
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 Plugin36 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service64;
|
|
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 Plugin39 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service61;
|
|
60
|
+
const sessions = yield* Service18;
|
|
61
|
+
const agents = yield* Service70;
|
|
62
|
+
const subagents = yield* make9;
|
|
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 Plugin39 = 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 { Plugin36, exports_command2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service62,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service62 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service62.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node66 = makeLocationNode({
|
|
143
|
+
service: Service62,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service62, node66, exports_tool_output2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-4mjrvyqz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./project-qbkfx3nh.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./project-89tr5x57.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node78,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service75;
|
|
65
65
|
const bus = yield* Service82;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service74.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node86, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service74, node78, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-mwvxd4dr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-4mjrvyqz.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node82, exports_credential };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-f9qeaf72.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./project-83adyyr5.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-2h05jbbb.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service64;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node9, exports_update };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-p487xezt.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin3 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin3 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin21, exports_tavily };
|