blackriver-gateway 3.8.48 → 3.8.49

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.
@@ -1,20 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- /**
4
- * BlackRiver Gateway CLI entry point.
5
- *
6
- * This CLI is distributed as `blackriver-gateway` by BlackRiver AI.
7
- * The `omniroute` binary name is kept as a compatibility shim and will be
8
- * removed in a future major version.
9
- *
10
- * Special bypasses (handled before Commander):
11
- * --mcp Start MCP server over stdio
12
- * reset-encrypted-columns Recovery tool for broken encrypted credentials
13
- * reset-password Reset the admin/management password
14
- *
15
- * All other commands are routed through Commander (bin/cli/program.mjs).
16
- */
17
-
18
3
  import { existsSync, readFileSync } from "node:fs";
19
4
  import { join, dirname } from "node:path";
20
5
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -4,15 +4,15 @@
4
4
  * Password Reset CLI — T-38
5
5
  *
6
6
  * BlackRiver Gateway — distributed as `blackriver-gateway` by BlackRiver AI.
7
- * The `omniroute` binary name is kept as a compatibility shim.
7
+ * The `blackriver-gateway` binary name is kept as a compatibility shim.
8
8
  *
9
9
  * Usage:
10
10
  * node bin/reset-password.mjs
11
11
  * blackriver-gateway reset-password
12
12
  *
13
13
  * Non-interactive / scripted usage (piped stdin, e.g. CI or Docker):
14
- * printf 'NewPass123\nNewPass123\n' | omniroute reset-password
15
- * printf 'NewPass123' | omniroute reset-password --password-stdin
14
+ * printf 'NewPass123\nNewPass123\n' | blackriver-gateway reset-password
15
+ * printf 'NewPass123' | blackriver-gateway reset-password --password-stdin
16
16
  *
17
17
  * Resets the admin password for OmniRoute.
18
18
  * Prompts for a new password (interactive TTY) or reads it from stdin
@@ -124,8 +124,8 @@ async function main() {
124
124
 
125
125
  main()
126
126
  .then(() => {
127
- // Explicit exit(0) so a caller that imports this module (bin/omniroute.mjs
128
- // routes `omniroute reset-password` here) terminates cleanly instead of
127
+ // Explicit exit(0) so a caller that imports this module (bin/blackriver-gateway.mjs
128
+ // routes `blackriver-gateway reset-password` here) terminates cleanly instead of
129
129
  // hanging / exiting with code 13 on an unsettled wrapper await. On POSIX,
130
130
  // console.log to a pipe is synchronous, so the success line is already
131
131
  // flushed by the time we exit.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "blackriver-gateway",
3
- "version": "3.8.48",
3
+ "version": "3.8.49",
4
4
  "description": "BlackRiver Gateway — AI routing infrastructure by BlackRiver AI. 237 providers, one endpoint, auto-fallback, RTK+Caveman compression, MCP/A2A, desktop, PWA, and OpenAI-compatible APIs.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "omniroute": "bin/omniroute.mjs",
8
- "omniroute-reset-password": "bin/reset-password.mjs"
7
+ "blackriver-gateway": "bin/blackriver-gateway.mjs",
8
+ "gateway-reset-password": "bin/gateway-reset-password.mjs"
9
9
  },
10
10
  "files": [
11
11
  "bin/",