mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-18 05:34:00 +00:00
OmniRoute v3.8.26 — see CHANGELOG.md [3.8.26] for the full notes. Highlights: Vertex AI media generation (#3929), GLM-5.2 effort-tier routing (#3885), sticky round-robin combos (#3846), OpenRouter connection presets (#3878), compression prompt-cache fix (#3936/#3890), and a security pass (form-data/vite + workflow hardening, #3949). Co-authored-by: artickc <artickc@users.noreply.github.com> Co-authored-by: rdself <rdself@users.noreply.github.com> Co-authored-by: herjarsa <herjarsa@users.noreply.github.com> Co-authored-by: Jack Smith <16862258+YunyunZhai@users.noreply.github.com> Co-authored-by: dhaern <dhaern@users.noreply.github.com> Co-authored-by: adivekar-utexas <adivekar-utexas@users.noreply.github.com> Co-authored-by: megamen32 <megamen32@users.noreply.github.com> Co-authored-by: zhiru <zhiru@users.noreply.github.com> Co-authored-by: insoln <insoln@users.noreply.github.com> Co-authored-by: diego-anselmo <diego-anselmo@users.noreply.github.com>
20 lines
552 B
TypeScript
20 lines
552 B
TypeScript
import { defineConfig } from "tsup";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts"],
|
|
format: ["esm"],
|
|
dts: true,
|
|
clean: true,
|
|
sourcemap: false,
|
|
splitting: false,
|
|
treeshake: false,
|
|
target: "node22",
|
|
outDir: "dist",
|
|
minify: false,
|
|
cjsInterop: false,
|
|
// Bundle runtime deps so the .tgz / npm install is self-contained.
|
|
// `zod` is required at runtime by the options schema and would otherwise
|
|
// need a peer install when the plugin is loaded directly from a file path
|
|
// in opencode.jsonc.
|
|
noExternal: ["zod"],
|
|
});
|