omnigateway 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/gateway.js +3 -3
  2. package/package.json +1 -1
package/gateway.js CHANGED
@@ -5235,7 +5235,7 @@ var require_dist = __commonJS(function(exports) {
5235
5235
 
5236
5236
  // apps/gateway/src/index.ts
5237
5237
  import { existsSync as existsSync2 } from "fs";
5238
- import { dirname as dirname5, join as join6, resolve as resolve6 } from "path";
5238
+ import { dirname as dirname5, resolve as resolve6 } from "path";
5239
5239
 
5240
5240
  // packages/control/src/adminAuth.ts
5241
5241
  import { hash, verify } from "@node-rs/argon2";
@@ -48493,7 +48493,7 @@ async function loadPlugins(deps) {
48493
48493
  return { plugins, failures };
48494
48494
  }
48495
48495
  for (const id of entries.sort()) {
48496
- const home = join5(deps.root, id);
48496
+ const home = resolve5(deps.root, id);
48497
48497
  const fail2 = (why) => {
48498
48498
  failures.push({ id, reason: why });
48499
48499
  logger2.warn("plugin skipped", { plugin: id, reason: why });
@@ -48686,7 +48686,7 @@ async function main() {
48686
48686
  process.exit(1);
48687
48687
  };
48688
48688
  const installRoot = process.env.OMNI_ROOT ?? dirname5(config2.databasePath);
48689
- const pluginRoot = join6(installRoot, "plugins");
48689
+ const pluginRoot = resolve6(installRoot, "plugins");
48690
48690
  const pluginEvents = createPluginEventBus({ logger: logger2 });
48691
48691
  const loadedPlugins = await loadPlugins({
48692
48692
  root: pluginRoot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omnigateway",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Self-hosted AI gateway with Anthropic- and OpenAI-compatible APIs, an admin console, and a CLI",
5
5
  "license": "MIT",
6
6
  "author": "Harismawan <mail@harismawan.com>",