mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-21 06:12:17 +03:00
Compare commits
123 Commits
fix/12692-
...
docs/agent
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce0b2bb122 | ||
|
|
602161d7bc | ||
|
|
856051901d | ||
|
|
3d5baf13f4 | ||
|
|
f89e188a9f | ||
|
|
416c736bb9 | ||
|
|
683a552fcb | ||
|
|
5acac8021d | ||
|
|
7ad270ca7a | ||
|
|
c1338f1e78 | ||
|
|
84149b93e3 | ||
|
|
53e3e23c13 | ||
|
|
f781fd038b | ||
|
|
bb45fb8ede | ||
|
|
840ae79612 | ||
|
|
466d0306be | ||
|
|
3f239717b5 | ||
|
|
3bcb181cc2 | ||
|
|
a2c6f7188d | ||
|
|
00860f3278 | ||
|
|
2f0a01d75c | ||
|
|
f1e7148c19 | ||
|
|
a928ea8762 | ||
|
|
bd8a12f304 | ||
|
|
af2002a493 | ||
|
|
a16705344e | ||
|
|
502e614850 | ||
|
|
c1ed830eb9 | ||
|
|
1cf8e4bcc6 | ||
|
|
c4293e28e2 | ||
|
|
f653a6f94e | ||
|
|
23c5772ccb | ||
|
|
421d1ff912 | ||
|
|
88d5e0cde6 | ||
|
|
86b8bbfd3e | ||
|
|
63070bec32 | ||
|
|
68b9fc21a5 | ||
|
|
9250a231c5 | ||
|
|
76b037c2e7 | ||
|
|
b269821c83 | ||
|
|
3df5d50619 | ||
|
|
c099892ac5 | ||
|
|
4621842d93 | ||
|
|
9cc077ef55 | ||
|
|
4591476141 | ||
|
|
ac32cea4f0 | ||
|
|
ff493da805 | ||
|
|
bc36b1d1aa | ||
|
|
7dbe850daa | ||
|
|
5847c43922 | ||
|
|
c8d102179d | ||
|
|
20c6d89c2d | ||
|
|
9ce43850b7 | ||
|
|
80828fc88a | ||
|
|
ba274b616a | ||
|
|
309b635740 | ||
|
|
515bf8ce3b | ||
|
|
1510fb0d62 | ||
|
|
ed2e22197a | ||
|
|
e7999c477b | ||
|
|
9d9284417c | ||
|
|
9e36dde2f7 | ||
|
|
060f331264 | ||
|
|
7f496c79d0 | ||
|
|
1cb4c82071 | ||
|
|
5faf44f975 | ||
|
|
ec98525326 | ||
|
|
0cc0169360 | ||
|
|
b4f51b2e9e | ||
|
|
54f19c7742 | ||
|
|
cdcde97c70 | ||
|
|
19b9d05e08 | ||
|
|
47032e7769 | ||
|
|
8939ccbae3 | ||
|
|
5ff85c6db6 | ||
|
|
8f6205e36a | ||
|
|
694c1b74eb | ||
|
|
9578eeb380 | ||
|
|
da58ce590f | ||
|
|
9342e4bf68 | ||
|
|
aeba6b1a04 | ||
|
|
0dbd7f47d2 | ||
|
|
74e44d7630 | ||
|
|
0459c6dc0a | ||
|
|
94220af289 | ||
|
|
05b44fa48e | ||
|
|
f5501cf9a3 | ||
|
|
57f41f5dd1 | ||
|
|
d2fadb01bc | ||
|
|
842c32f6f0 | ||
|
|
ad4d286c85 | ||
|
|
edeb76b96f | ||
|
|
5d1f4687eb | ||
|
|
2e2dff79f2 | ||
|
|
2bbe6e575b | ||
|
|
68927fc711 | ||
|
|
675ab1875e | ||
|
|
0ba661ed97 | ||
|
|
61d6152699 | ||
|
|
d7d518a873 | ||
|
|
79c4197f07 | ||
|
|
b33c00b0b6 | ||
|
|
9e53fadc47 | ||
|
|
771c4ce513 | ||
|
|
3fd2440f8a | ||
|
|
8e3d06bd9f | ||
|
|
c06ac9aafa | ||
|
|
4de71978b3 | ||
|
|
5574eab259 | ||
|
|
7ca64796ed | ||
|
|
e7214c72fc | ||
|
|
f36fcd8c31 | ||
|
|
d7d010b102 | ||
|
|
6ef0f1c06c | ||
|
|
c68b7f58c2 | ||
|
|
d6a0460bd6 | ||
|
|
d589e6b76e | ||
|
|
2b3847e775 | ||
|
|
67f6c039f3 | ||
|
|
4902ac8128 | ||
|
|
ce98c30cfb | ||
|
|
79ebbb525f | ||
|
|
d4835c512c |
53
.env.example
53
.env.example
@@ -112,8 +112,9 @@ DISABLE_SQLITE_AUTO_BACKUP=false
|
||||
# Example: redis://localhost:6379 (or redis://redis:6379 in Docker)
|
||||
# REDIS_URL=redis://localhost:6379
|
||||
# Namespace prefix for ALL OmniRoute Redis keys (rate limiter + auth cache +
|
||||
# quota store). Prevents key collisions when OmniRoute shares a Redis instance
|
||||
# with other apps (e.g. on 127.0.0.1:6379). Default when unset: omniroute:
|
||||
# quota store + warmup circuit breaker). Prevents key collisions when OmniRoute
|
||||
# shares a Redis instance with other apps (e.g. on 127.0.0.1:6379). Default when
|
||||
# unset: omniroute:
|
||||
# REDIS_KEY_PREFIX=omniroute:
|
||||
# Host interface docker-compose publishes the Redis sidecar on.
|
||||
# Default: 127.0.0.1 (loopback only). The compose Redis runs WITHOUT
|
||||
@@ -1040,6 +1041,12 @@ PROVIDER_LIMITS_SYNC_SPACING_MS=1500
|
||||
# Used by: src/lib/jobs/reasoningCacheCleanupJob.ts.
|
||||
#OMNIROUTE_REASONING_CACHE_CLEANUP_INTERVAL_MS=1800000
|
||||
|
||||
# Opt-in minimum output budget (tokens) for reasoning models (#10281 follow-up).
|
||||
# When set, a caller max_tokens in [256, floor) on a thinking-capable model is
|
||||
# raised to the floor so reasoning tokens cannot consume the whole budget
|
||||
# (zero-content finish_reason=length turns). Unset = never enlarge client budgets (#9507).
|
||||
#OMNIROUTE_REASONING_MIN_BUDGET=4096
|
||||
|
||||
# Spend write batcher cadence (ms) and buffer size before forced flush.
|
||||
# Used by: src/lib/spend/batchWriter.ts. Defaults: 60000 ms / 1000 entries.
|
||||
#OMNIROUTE_SPEND_FLUSH_INTERVAL_MS=60000
|
||||
@@ -1155,12 +1162,34 @@ PROVIDER_LIMITS_SYNC_SPACING_MS=1500
|
||||
#OMNIROUTE_WAL_GUARD_MAX_MB=256
|
||||
|
||||
# Minimum rows a cleanup must delete before the post-cleanup VACUUM runs. Default: 1000.
|
||||
# 0 always vacuums when rows were freed. Used by: src/lib/db/cleanup.ts.
|
||||
# 0 always vacuums when rows were freed. The post-cleanup VACUUM also runs when the
|
||||
# reclaimable-space threshold below is met, whichever comes first (either signal fires it).
|
||||
# Used by: src/lib/db/cleanup.ts::shouldVacuumAfterCleanup().
|
||||
#OMNIROUTE_VACUUM_MIN_DELETED_ROWS=1000
|
||||
|
||||
# Minimum reclaimable space (MB) that alone justifies a full-database VACUUM after a
|
||||
# cleanup, even when the row-count threshold above was not met (a handful of oversized
|
||||
# blob rows can free far more space than thousands of tiny rows). VACUUM is synchronous
|
||||
# and blocks the entire process. Default: 100. 0 always vacuums after any deletion.
|
||||
# Used by: src/lib/db/cleanup.ts::getVacuumMinReclaimableBytes().
|
||||
#OMNIROUTE_VACUUM_MIN_RECLAIMABLE_MB=100
|
||||
|
||||
# Explicit path to sql-wasm.wasm for the sql.js fallback adapter. Default: auto-detect.
|
||||
# Used by: src/lib/db/adapters/sqljsAdapter.ts.
|
||||
#OMNIROUTE_SQLJS_WASM_PATH=
|
||||
# Days a terminal (completed/failed/cancelled/expired) Batch API job's checkpoints,
|
||||
# referenced files, and row are kept by the automatic cleanup sweep. Default: 30
|
||||
# (matches OpenAI's own Batch API output retention window). Only takes effect once
|
||||
# BATCH_AND_FILE_AUTO_CLEANUP_ENABLED is turned on.
|
||||
# Used by: src/lib/db/cleanup.ts::getBatchRetentionDays().
|
||||
#OMNIROUTE_BATCH_RETENTION_DAYS=30
|
||||
|
||||
# Let the automatic cleanup sweep delete terminal Batch API jobs (and their
|
||||
# checkpoints) past OMNIROUTE_BATCH_RETENTION_DAYS, and clear the content of
|
||||
# uploaded files past their own expires_at. Off by default: every existing
|
||||
# install keeps this data exactly as before until an operator opts in.
|
||||
# Used by: src/lib/db/cleanup.ts (feature flag; see docs/reference/FEATURE_FLAGS.md).
|
||||
#BATCH_AND_FILE_AUTO_CLEANUP_ENABLED=false
|
||||
|
||||
# Skip the Redis-backed auth cache used by API key lookups (forces DB reads).
|
||||
# Used by: src/lib/db/apiKeys.ts. Set to 1 to disable. Default: enabled.
|
||||
@@ -2357,6 +2386,10 @@ APP_LOG_TO_FILE=true
|
||||
# Cursor stream idle timeout (ms). Default: 300000 (5 min).
|
||||
# Used by: open-sse/executors/cursor.ts.
|
||||
# CURSOR_STREAM_TIMEOUT_MS=300000
|
||||
# Grace window (ms) after a composer kv_after_text soft terminator when bytes remain
|
||||
# buffered — gives a trailing exec_mcp tool call time to complete its frame. 2s covers
|
||||
# every exec_mcp-behind-kv ordering observed live.
|
||||
# CURSOR_KV_GRACE_MS=2000
|
||||
|
||||
# Cursor tool-commit directive toggle. Default-on: when a request declares
|
||||
# tools, a directive is prepended so composer-2.5 reliably issues tool calls
|
||||
@@ -2748,6 +2781,13 @@ APP_LOG_TO_FILE=true
|
||||
# tokens (accessToken / refreshToken / providerSpecificData). Default OFF —
|
||||
# only non-credential metadata is synced. See docs/security/SOCKET_DEV_FINDINGS.md §5.
|
||||
# OMNIROUTE_CLOUD_SYNC_SECRETS=false
|
||||
#
|
||||
# Set to "true" to reject an UNSIGNED Cloud sync response when no local secret
|
||||
# is configured (#13679). Default OFF keeps v3.8.x back-compat for peers that
|
||||
# have not rotated in a shared secret yet; v3.9 flips the default to enforced.
|
||||
# A signature that IS present is always verified, and always rejected when
|
||||
# OMNIROUTE_CLOUD_SYNC_SECRET is unset, regardless of this flag.
|
||||
# OMNIROUTE_CLOUD_SYNC_ENFORCE_SIGNATURE=false
|
||||
|
||||
# ─── Zed import legacy compat (v3.8.6) ──────────────────────────────────────
|
||||
# Set to "true" to fall back to the v3.8.5 one-step "import everything from
|
||||
@@ -3043,6 +3083,13 @@ QUOTA_STORE_DRIVER=sqlite
|
||||
# CHATGPT_WEB_CODEX_CHROME_PATH=/usr/bin/chromium
|
||||
# CHROME_PATH=/usr/bin/chromium
|
||||
# CHATGPT_WEB_CODEX_CDP_URL=http://chatgpt-web-codex-browser:9223
|
||||
# CDP_PROXY_TOKEN required by docker/chatgpt-web-codex-browser/cdp-proxy.mjs (#13679):
|
||||
# when set, every request to the CDP proxy sidecar must present it as an
|
||||
# `X-Omni-Cdp-Token` header. Left unset, the proxy keeps forwarding requests
|
||||
# unauthenticated (network isolation via docker-compose.yml's dedicated
|
||||
# `chatgpt-web-codex-net` is the default mitigation). Generate with:
|
||||
# `openssl rand -hex 32`
|
||||
# CDP_PROXY_TOKEN=
|
||||
# CHATGPT_WEB_CODEX_TUNNEL_ID=tunnel_0123456789abcdef0123456789abcdef
|
||||
# CHATGPT_WEB_CODEX_RUNTIME_KEY=
|
||||
# CHATGPT_WEB_CODEX_CONNECTOR_NAME=OmniRoute Codex v2
|
||||
|
||||
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -533,6 +533,20 @@ jobs:
|
||||
env:
|
||||
BASE_REF: ${{ github.base_ref && format('origin/{0}', github.base_ref) || '' }}
|
||||
run: node scripts/i18n/check-new-key-coverage.mjs
|
||||
# Absolute complement of the two gates above: every locale must carry exactly the key
|
||||
# set of en.json, whatever the age of the key. A locale batch is generated from the
|
||||
# en.json of the day the branch is cut and translates for days while the base keeps
|
||||
# adding keys — the batch PR adds no key itself, so the new-key gate stays silent and
|
||||
# 43 absent keys out of ~13,000 still read 99.7 % coverage. Incident 2026-09-15:
|
||||
# batch 1 (#13044) landed 43 keys short in nine locales, batch 2 (#13660) 10 keys short
|
||||
# in eight. Fix is `sync-ui-keys --locale=<codes> --translate-markers`.
|
||||
- name: i18n key completeness (every locale carries every en.json key)
|
||||
run: node scripts/i18n/check-key-completeness.mjs
|
||||
# Same gate for the CLI catalogs (bin/cli/locales). check:cli-i18n only compares
|
||||
# pt-BR / zh-CN / zh-TW; 38 locales shipped with 1–24 of 830 keys for months
|
||||
# (audit 2026-09-16) and the CLI silently fell back to English for them.
|
||||
- name: i18n key completeness (CLI catalogs)
|
||||
run: node scripts/i18n/check-key-completeness.mjs --catalog=cli
|
||||
|
||||
# #8038: cheap glossary/protected-terms consistency gate —
|
||||
# complements i18n-ui-coverage (key parity) and the ICU `i18n` job below
|
||||
|
||||
69
.github/workflows/docker-publish.yml
vendored
69
.github/workflows/docker-publish.yml
vendored
@@ -411,16 +411,12 @@ jobs:
|
||||
path: /tmp/digests/bun-web
|
||||
merge-multiple: true
|
||||
|
||||
- name: Create Docker Hub manifest
|
||||
- name: Create Docker Hub version manifests
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
create_manifest() {
|
||||
local image="$1" suffix="$2" dir="$3" optional="${4:-}"
|
||||
local tags=(-t "${image}:${VERSION}${suffix}")
|
||||
if [ "$PROMOTE_LATEST" = "true" ]; then
|
||||
tags+=(-t "${image}:latest${suffix}")
|
||||
fi
|
||||
local refs=()
|
||||
while IFS= read -r digest_file; do
|
||||
refs+=("${image}@sha256:$(basename "$digest_file")")
|
||||
@@ -433,7 +429,7 @@ jobs:
|
||||
echo "No image digests in $dir" >&2
|
||||
exit 1
|
||||
fi
|
||||
docker buildx imagetools create "${tags[@]}" "${refs[@]}"
|
||||
docker buildx imagetools create -t "${image}:${VERSION}${suffix}" "${refs[@]}"
|
||||
}
|
||||
|
||||
create_manifest "${IMAGE_NAME}" "" /tmp/digests/base
|
||||
@@ -441,16 +437,12 @@ jobs:
|
||||
create_manifest "${IMAGE_NAME}" "-bun" /tmp/digests/bun-base optional
|
||||
create_manifest "${IMAGE_NAME}" "-web-bun" /tmp/digests/bun-web optional
|
||||
|
||||
- name: Create GHCR manifest
|
||||
- name: Create GHCR version manifests
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
create_manifest() {
|
||||
local image="$1" suffix="$2" dir="$3" optional="${4:-}"
|
||||
local tags=(-t "${image}:${VERSION}${suffix}")
|
||||
if [ "$PROMOTE_LATEST" = "true" ]; then
|
||||
tags+=(-t "${image}:latest${suffix}")
|
||||
fi
|
||||
local refs=()
|
||||
while IFS= read -r digest_file; do
|
||||
refs+=("${image}@sha256:$(basename "$digest_file")")
|
||||
@@ -463,7 +455,7 @@ jobs:
|
||||
echo "No image digests in $dir" >&2
|
||||
exit 1
|
||||
fi
|
||||
docker buildx imagetools create "${tags[@]}" "${refs[@]}"
|
||||
docker buildx imagetools create -t "${image}:${VERSION}${suffix}" "${refs[@]}"
|
||||
}
|
||||
|
||||
create_manifest "${GHCR_IMAGE_NAME}" "" /tmp/digests/base
|
||||
@@ -471,6 +463,59 @@ jobs:
|
||||
create_manifest "${GHCR_IMAGE_NAME}" "-bun" /tmp/digests/bun-base optional
|
||||
create_manifest "${GHCR_IMAGE_NAME}" "-web-bun" /tmp/digests/bun-web optional
|
||||
|
||||
- name: Smoke-test published Docker image
|
||||
if: needs.prepare.outputs.version != 'main'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
container="omniroute-smoke-${VERSION//[^a-zA-Z0-9_.-]/-}"
|
||||
trap 'docker rm -f "$container" >/dev/null 2>&1 || true' EXIT
|
||||
docker run --detach --name "$container" "${IMAGE_NAME}:${VERSION}"
|
||||
for attempt in $(seq 1 30); do
|
||||
status="$(docker inspect --format '{{.State.Health.Status}}' "$container")"
|
||||
if [ "$status" = "healthy" ]; then
|
||||
exit 0
|
||||
fi
|
||||
if [ "$status" = "unhealthy" ] || [ "$(docker inspect --format '{{.State.Status}}' "$container")" = "exited" ]; then
|
||||
docker logs "$container"
|
||||
exit 1
|
||||
fi
|
||||
sleep 2
|
||||
done
|
||||
docker logs "$container"
|
||||
exit 1
|
||||
|
||||
- name: Promote Docker Hub latest tags
|
||||
if: needs.prepare.outputs.promote_latest == 'true'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
promote_tag() {
|
||||
local suffix="$1"
|
||||
docker buildx imagetools create -t "${IMAGE_NAME}:latest${suffix}" "${IMAGE_NAME}:${VERSION}${suffix}"
|
||||
}
|
||||
promote_tag ""
|
||||
promote_tag "-web"
|
||||
for suffix in -bun -web-bun; do
|
||||
if docker buildx imagetools inspect "${IMAGE_NAME}:${VERSION}${suffix}" >/dev/null 2>&1; then
|
||||
promote_tag "$suffix"
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Promote GHCR latest tags
|
||||
if: needs.prepare.outputs.promote_latest == 'true'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
promote_tag() {
|
||||
local suffix="$1"
|
||||
docker buildx imagetools create -t "${GHCR_IMAGE_NAME}:latest${suffix}" "${GHCR_IMAGE_NAME}:${VERSION}${suffix}"
|
||||
}
|
||||
promote_tag ""
|
||||
promote_tag "-web"
|
||||
for suffix in -bun -web-bun; do
|
||||
if docker buildx imagetools inspect "${GHCR_IMAGE_NAME}:${VERSION}${suffix}" >/dev/null 2>&1; then
|
||||
promote_tag "$suffix"
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Inspect image
|
||||
if: needs.prepare.outputs.version != 'main'
|
||||
run: |
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"clean": "rm -rf dist",
|
||||
"test": "node --import tsx/esm --test tests/scaffold.test.ts tests/auth.test.ts tests/options-schema.test.ts tests/multi-instance.test.ts tests/fetch-interceptor.test.ts tests/telemetry.test.ts tests/provider.test.ts tests/gemini-sanitize.test.ts tests/combos.test.ts tests/config-shim.test.ts tests/features.test.ts tests/feature-defaults.test.ts tests/usable-combo.test.ts tests/disk-snapshot-perms.test.ts tests/fork-features.test.ts tests/auto-combo-context.test.ts tests/provider-id-routing.test.ts tests/management-read-token.test.ts tests/auto-sync.test.ts tests/model-allowlist.test.ts tests/log-level.test.ts tests/effort-tier-variants.test.ts tests/naming.test.ts tests/free-budget-magnitude.test.ts tests/models-fetcher.test.ts",
|
||||
"test": "node --import tsx/esm --test tests/scaffold.test.ts tests/auth.test.ts tests/options-schema.test.ts tests/multi-instance.test.ts tests/fetch-interceptor.test.ts tests/telemetry.test.ts tests/provider.test.ts tests/gemini-sanitize.test.ts tests/combos.test.ts tests/config-shim.test.ts tests/features.test.ts tests/feature-defaults.test.ts tests/usable-combo.test.ts tests/disk-snapshot-perms.test.ts tests/fork-features.test.ts tests/auto-combo-context.test.ts tests/provider-id-routing.test.ts tests/management-read-token.test.ts tests/auto-sync.test.ts tests/model-allowlist.test.ts tests/log-level.test.ts tests/effort-tier-variants.test.ts tests/naming.test.ts tests/free-budget-magnitude.test.ts tests/models-fetcher.test.ts tests/issue-13000-cold-start-combo-limit.test.ts",
|
||||
"prepublishOnly": "npm run clean && npm run build && npm test"
|
||||
},
|
||||
"keywords": [
|
||||
|
||||
@@ -4631,9 +4631,21 @@ export function buildStaticProviderEntry(
|
||||
.map((m) => m.max_output_tokens)
|
||||
.filter((v): v is number => typeof v === "number" && v > 0);
|
||||
|
||||
if (contextValues.length > 0 && outputValues.length > 0) {
|
||||
// Prefer the server-computed aggregate (accounts for explicit
|
||||
// context_length overrides and members outside memberEntries, e.g.
|
||||
// not yet resolved in /v1/models) over the raw Math.min(member)
|
||||
// lower bound. Mirrors mapComboToModelV2's limit.context logic
|
||||
// (#13000) so the static catalog and the dynamic hook agree.
|
||||
const preferredContext =
|
||||
typeof combo.computed_context_length === "number" && combo.computed_context_length > 0
|
||||
? combo.computed_context_length
|
||||
: contextValues.length > 0
|
||||
? Math.min(...contextValues)
|
||||
: undefined;
|
||||
|
||||
if (preferredContext !== undefined && outputValues.length > 0) {
|
||||
entry.limit = {
|
||||
context: Math.min(...contextValues),
|
||||
context: preferredContext,
|
||||
output: Math.min(...outputValues),
|
||||
};
|
||||
}
|
||||
@@ -5511,6 +5523,32 @@ export function createOmniRouteConfigHook(
|
||||
|
||||
const modelsFetchOk = !modelsFetchThrew && localRawModels.length > 0;
|
||||
|
||||
// Snapshot backfill for computed_context_length: a live /api/combos
|
||||
// response can come back without this field (server hasn't finished
|
||||
// recomputing it yet, e.g. just after a restart) even though the
|
||||
// combo's members and identity are otherwise unchanged. When that
|
||||
// happens, prefer the last-known-good value from the warm disk
|
||||
// snapshot over the Math.min(member) fallback in
|
||||
// mapComboToModelV2() — never overwrite any other combo field
|
||||
// (models/name/etc.) with stale data, only this one derived number.
|
||||
if (warmSnapshot) {
|
||||
const snapshotComboById = new Map(warmSnapshot.rawCombos.map((c) => [c.id, c]));
|
||||
for (const combo of localRawCombos) {
|
||||
const hasLive =
|
||||
typeof combo.computed_context_length === "number" &&
|
||||
combo.computed_context_length > 0;
|
||||
if (hasLive) continue;
|
||||
const stale = snapshotComboById.get(combo.id);
|
||||
if (
|
||||
stale &&
|
||||
typeof stale.computed_context_length === "number" &&
|
||||
stale.computed_context_length > 0
|
||||
) {
|
||||
combo.computed_context_length = stale.computed_context_length;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Disk-cache fallback (cold first run, no warm snapshot): when the
|
||||
// live fetch returned no models AND features.diskCache !== false,
|
||||
// hydrate from the last-known-good snapshot so OC still surfaces a
|
||||
@@ -5518,9 +5556,17 @@ export function createOmniRouteConfigHook(
|
||||
if (modelsFetchThrew && wantDiskCache && !warmSnapshot) {
|
||||
const snapshot = await diskSnapshotReader(resolved.providerId, snapshotFingerprint);
|
||||
if (snapshot && snapshot.rawModels.length > 0) {
|
||||
// Report snapshot age like the warm-startup path already does:
|
||||
// "stale" alone reads as a transient blip, so a week-old catalog
|
||||
// is indistinguishable from a five-minute-old one.
|
||||
const snapshotAge = snapshot.writtenAt;
|
||||
const snapshotAgeLabel =
|
||||
typeof snapshotAge === "number"
|
||||
? `${Math.round((Date.now() - snapshotAge) / 3_600_000)}h`
|
||||
: "unknown";
|
||||
logAt(
|
||||
"warn",
|
||||
`config shim: /v1/models unreachable; using stale disk cache (${snapshot.rawModels.length} models)`
|
||||
`config shim: /v1/models unreachable; using stale disk cache (${snapshot.rawModels.length} models, age ${snapshotAgeLabel})`
|
||||
);
|
||||
localRawModels = snapshot.rawModels;
|
||||
localRawCombos = snapshot.rawCombos;
|
||||
|
||||
@@ -481,10 +481,7 @@ test("config: combos fetcher throws → emit models-only catalog (no combos in m
|
||||
];
|
||||
assert.ok(entry);
|
||||
const ids = Object.keys(entry.models).sort();
|
||||
assert.deepEqual(ids, [
|
||||
"claude-sonnet-4-6",
|
||||
"gemini-3-flash",
|
||||
]);
|
||||
assert.deepEqual(ids, ["claude-sonnet-4-6", "gemini-3-flash"]);
|
||||
assert.equal(entry.models["claude-tier"], undefined, "no combo entry");
|
||||
assert.ok(
|
||||
logger.entries.some((e) => String(e[0]).includes("/api/combos fetch failed")),
|
||||
@@ -1041,11 +1038,7 @@ test("config: features.enrichment=false skips enrichment fetch + keeps raw-id na
|
||||
];
|
||||
assert.ok(entry);
|
||||
assert.equal(enrichmentFetcher.callCount(), 0, "enrichment fetch suppressed by feature flag");
|
||||
assert.equal(
|
||||
entry.models["claude-sonnet-4-6"].name,
|
||||
"claude-sonnet-4-6",
|
||||
"raw id retained"
|
||||
);
|
||||
assert.equal(entry.models["claude-sonnet-4-6"].name, "claude-sonnet-4-6", "raw id retained");
|
||||
});
|
||||
|
||||
test("config: enrichment fetcher throws → soft-fail (warn + raw-id static catalog)", async () => {
|
||||
@@ -1068,11 +1061,7 @@ test("config: enrichment fetcher throws → soft-fail (warn + raw-id static cata
|
||||
"opencode-omniroute"
|
||||
];
|
||||
assert.ok(entry, "static block still published on enrichment failure");
|
||||
assert.equal(
|
||||
entry.models["claude-sonnet-4-6"].name,
|
||||
"claude-sonnet-4-6",
|
||||
"raw id retained"
|
||||
);
|
||||
assert.equal(entry.models["claude-sonnet-4-6"].name, "claude-sonnet-4-6", "raw id retained");
|
||||
assert.equal(enrichmentFetcher.callCount(), 1);
|
||||
assert.ok(
|
||||
logger.entries.some((e) => String(e[0]).includes("/api/pricing/models fetch failed")),
|
||||
@@ -1270,10 +1259,7 @@ test("config: diskCache hydrates stale snapshot when /v1/models throws", async (
|
||||
const entry = (input as { provider: Record<string, OmniRouteStaticProviderEntry> }).provider[
|
||||
"opencode-omniroute"
|
||||
];
|
||||
assert.ok(
|
||||
entry.models["claude-sonnet-4-6"],
|
||||
"stale snapshot hydrated into static block"
|
||||
);
|
||||
assert.ok(entry.models["claude-sonnet-4-6"], "stale snapshot hydrated into static block");
|
||||
assert.equal(
|
||||
entry.models["claude-sonnet-4-6"].name,
|
||||
"Claude Sonnet 4.6 (cached)",
|
||||
@@ -1281,14 +1267,95 @@ test("config: diskCache hydrates stale snapshot when /v1/models throws", async (
|
||||
);
|
||||
assert.equal(writes, 0, "disk write skipped when live fetch failed");
|
||||
assert.ok(
|
||||
logger.entries.some((e) =>
|
||||
String(e[0]).includes("using stale disk cache") ||
|
||||
String(e[0]).includes("warm startup from disk snapshot")
|
||||
logger.entries.some(
|
||||
(e) =>
|
||||
String(e[0]).includes("using stale disk cache") ||
|
||||
String(e[0]).includes("warm startup from disk snapshot")
|
||||
),
|
||||
"disk-cache hydration breadcrumb emitted"
|
||||
);
|
||||
});
|
||||
|
||||
// The stale-fallback branch (`modelsFetchThrew && wantDiskCache && !warmSnapshot`)
|
||||
// only runs when the warm-startup read found nothing — a snapshot can appear on
|
||||
// disk between that first read and the live fetch failing (e.g. another OC
|
||||
// process instance wrote one concurrently). A stateful reader simulates that:
|
||||
// empty on the warm-startup read, populated by the time the fallback re-reads.
|
||||
function emptyThenSnapshotReader(
|
||||
snapshot: Omit<
|
||||
Awaited<ReturnType<typeof import("../src/index.js").defaultDiskSnapshotReader>> & object,
|
||||
never
|
||||
>
|
||||
): typeof import("../src/index.js").defaultDiskSnapshotReader {
|
||||
let calls = 0;
|
||||
return (async () => {
|
||||
calls++;
|
||||
return calls === 1 ? undefined : snapshot;
|
||||
}) as typeof import("../src/index.js").defaultDiskSnapshotReader;
|
||||
}
|
||||
|
||||
test("config: stale-fallback warning reports the disk snapshot age in hours", async () => {
|
||||
const readAuthJson = stubReadAuthJson({
|
||||
"opencode-omniroute": { type: "api", key: "sk-test", baseURL: "https://or.example/v1" },
|
||||
});
|
||||
const fetcher = throwingModelsFetcher();
|
||||
const combosFetcher = stubCombosFetcher([]);
|
||||
const logger = captureWarn();
|
||||
|
||||
const writtenAt = Date.now() - 2 * 3_600_000; // 2h old
|
||||
const diskSnapshotReader = emptyThenSnapshotReader({
|
||||
rawModels: [MODEL_CLAUDE],
|
||||
rawCombos: [],
|
||||
rawEnrichment: new Map(),
|
||||
rawCompressionCombos: [],
|
||||
rawConnections: [],
|
||||
writtenAt,
|
||||
});
|
||||
|
||||
const hook = createOmniRouteConfigHook(
|
||||
{ providerId: "omniroute", features: { diskCache: true } },
|
||||
{ readAuthJson, fetcher, combosFetcher, diskSnapshotReader, logger }
|
||||
);
|
||||
|
||||
await hook(makeInput());
|
||||
|
||||
assert.ok(
|
||||
logger.entries.some((e) => String(e[0]).includes("using stale disk cache (1 models, age 2h)")),
|
||||
"stale-fallback warning includes the computed snapshot age"
|
||||
);
|
||||
});
|
||||
|
||||
test('config: stale-fallback warning falls back to "unknown" age without writtenAt', async () => {
|
||||
const readAuthJson = stubReadAuthJson({
|
||||
"opencode-omniroute": { type: "api", key: "sk-test", baseURL: "https://or.example/v1" },
|
||||
});
|
||||
const fetcher = throwingModelsFetcher();
|
||||
const combosFetcher = stubCombosFetcher([]);
|
||||
const logger = captureWarn();
|
||||
|
||||
const diskSnapshotReader = emptyThenSnapshotReader({
|
||||
rawModels: [MODEL_CLAUDE],
|
||||
rawCombos: [],
|
||||
rawEnrichment: new Map(),
|
||||
rawCompressionCombos: [],
|
||||
rawConnections: [],
|
||||
});
|
||||
|
||||
const hook = createOmniRouteConfigHook(
|
||||
{ providerId: "omniroute", features: { diskCache: true } },
|
||||
{ readAuthJson, fetcher, combosFetcher, diskSnapshotReader, logger }
|
||||
);
|
||||
|
||||
await hook(makeInput());
|
||||
|
||||
assert.ok(
|
||||
logger.entries.some((e) =>
|
||||
String(e[0]).includes("using stale disk cache (1 models, age unknown)")
|
||||
),
|
||||
'stale-fallback warning falls back to "unknown" when writtenAt is absent'
|
||||
);
|
||||
});
|
||||
|
||||
test("config: cached rawEnrichment from earlier provider hook is reused (no refetch)", async () => {
|
||||
const readAuthJson = stubReadAuthJson({
|
||||
"opencode-omniroute": { type: "api", key: "sk-shared", baseURL: "https://or.example/v1" },
|
||||
@@ -1376,10 +1443,7 @@ test("config: providerTag (default-on) prepends '<provider> - ' to enriched raw-
|
||||
"opencode-omniroute"
|
||||
];
|
||||
assert.ok(entry);
|
||||
assert.equal(
|
||||
entry.models["claude-sonnet-4-6"].name,
|
||||
"Claude - Claude Sonnet 4.6"
|
||||
);
|
||||
assert.equal(entry.models["claude-sonnet-4-6"].name, "Claude - Claude Sonnet 4.6");
|
||||
assert.equal(entry.models["gemini-3-flash"].name, "Gemini - Gemini 3 Flash");
|
||||
// Combos stay untouched — `Combo: ` prefix already conveys multi-upstream.
|
||||
assert.equal(entry.models["claude-tier"].name, "Claude Tier");
|
||||
@@ -1495,10 +1559,7 @@ test("config: providerTag is idempotent — second hook call doesn't double-suff
|
||||
const entryA = (inputA as { provider: Record<string, OmniRouteStaticProviderEntry> }).provider[
|
||||
"opencode-omniroute"
|
||||
];
|
||||
assert.equal(
|
||||
entryA.models["claude-sonnet-4-6"].name,
|
||||
"Claude - Claude Sonnet 4.6"
|
||||
);
|
||||
assert.equal(entryA.models["claude-sonnet-4-6"].name, "Claude - Claude Sonnet 4.6");
|
||||
|
||||
// Second invocation (cache hit) — name must still be single-suffixed.
|
||||
const inputB = makeInput();
|
||||
@@ -1506,10 +1567,7 @@ test("config: providerTag is idempotent — second hook call doesn't double-suff
|
||||
const entryB = (inputB as { provider: Record<string, OmniRouteStaticProviderEntry> }).provider[
|
||||
"opencode-omniroute"
|
||||
];
|
||||
assert.equal(
|
||||
entryB.models["claude-sonnet-4-6"].name,
|
||||
"Claude - Claude Sonnet 4.6"
|
||||
);
|
||||
assert.equal(entryB.models["claude-sonnet-4-6"].name, "Claude - Claude Sonnet 4.6");
|
||||
});
|
||||
|
||||
// ────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
@@ -0,0 +1,221 @@
|
||||
/**
|
||||
* Repro for #13000: combo context limits fall back to Math.min(member)
|
||||
* instead of using computed_context_length after cold start — no disk
|
||||
* snapshot fallback.
|
||||
*
|
||||
* Scenario (mirrors the report): a warm disk snapshot holds the combo with
|
||||
* its correct server-computed `computed_context_length` (245000, from all 6
|
||||
* members). After a restart, the live refresh's combos fetch returns the
|
||||
* SAME combo but without `computed_context_length` (e.g. the value hasn't
|
||||
* propagated yet), and the live models fetch only resolves 2 of the 6
|
||||
* members (the rest not yet in /v1/models). The background refresh then
|
||||
* republishes the provider block built from this degraded live data,
|
||||
* downgrading a previously-known-good 245000 limit to Math.min(163840,
|
||||
* 1_000_000) = 163840 — exactly the member-minimum described in the issue.
|
||||
*/
|
||||
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
import type { Config } from "@opencode-ai/plugin";
|
||||
|
||||
import {
|
||||
createOmniRouteConfigHook,
|
||||
_resetInflightRefresh,
|
||||
type OmniRouteAutoCombosFetcher,
|
||||
type OmniRouteCombosFetcher,
|
||||
type OmniRouteCompressionMetaFetcher,
|
||||
type OmniRouteEnrichmentFetcher,
|
||||
type OmniRouteFetchCache,
|
||||
type OmniRouteModelsFetcher,
|
||||
type OmniRouteProvidersFetcher,
|
||||
type OmniRouteRawCombo,
|
||||
type OmniRouteRawModelEntry,
|
||||
type OmniRouteReadAuthJson,
|
||||
type OmniRouteStaticProviderEntry,
|
||||
type OmniRouteDiskSnapshotReader,
|
||||
type OmniRouteDiskSnapshotWriter,
|
||||
} from "../src/index.js";
|
||||
|
||||
test.beforeEach(() => {
|
||||
_resetInflightRefresh();
|
||||
});
|
||||
|
||||
function stubReadAuthJson(value: Record<string, unknown>): OmniRouteReadAuthJson {
|
||||
return async () => value as never;
|
||||
}
|
||||
|
||||
function authStub() {
|
||||
return stubReadAuthJson({
|
||||
"opencode-omniroute": {
|
||||
type: "api",
|
||||
key: "sk-test",
|
||||
baseURL: "https://or.example.com/v1",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function makeInput(): Config {
|
||||
return { provider: {} } as unknown as Config;
|
||||
}
|
||||
|
||||
// The two members resolvable in the degraded live /v1/models response.
|
||||
const MEMBER_DEEPSEEK: OmniRouteRawModelEntry = {
|
||||
id: "deepseek-v4-pro",
|
||||
capabilities: { tool_calling: true, reasoning: true, vision: false, thinking: false },
|
||||
context_length: 163_840,
|
||||
max_output_tokens: 64_000,
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
};
|
||||
|
||||
const MEMBER_GLM: OmniRouteRawModelEntry = {
|
||||
id: "glm-5.2",
|
||||
capabilities: { tool_calling: true, reasoning: true, vision: false, thinking: false },
|
||||
context_length: 1_000_000,
|
||||
max_output_tokens: 16_384,
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
};
|
||||
|
||||
// The other member that IS present once the server is fully warm.
|
||||
const MEMBER_GLM_53_HIGH: OmniRouteRawModelEntry = {
|
||||
id: "GLM-5.3-high",
|
||||
capabilities: { tool_calling: true, reasoning: true, vision: false, thinking: false },
|
||||
context_length: 245_000,
|
||||
max_output_tokens: 128_000,
|
||||
input_modalities: ["text"],
|
||||
output_modalities: ["text"],
|
||||
};
|
||||
|
||||
const COMBO_MODELS: OmniRouteRawCombo["models"] = [
|
||||
{ kind: "model", model: "deepseek-v4-pro", weight: 25 },
|
||||
{ kind: "model", model: "glm-5.2", weight: 25 },
|
||||
{ kind: "model", model: "GLM-5.3-high", weight: 50 },
|
||||
];
|
||||
|
||||
test("issue #13000: warm combo limit (245000) survives a degraded post-restart refresh instead of downgrading to Math.min(member)", async () => {
|
||||
const warmSnapshot: Omit<import("../src/index.js").OmniRouteFetchCacheEntry, "expiresAt"> = {
|
||||
rawModels: [MEMBER_DEEPSEEK, MEMBER_GLM, MEMBER_GLM_53_HIGH],
|
||||
rawCombos: [
|
||||
{
|
||||
id: "orchestrator",
|
||||
name: "orchestrator",
|
||||
models: COMBO_MODELS,
|
||||
computed_context_length: 245_000,
|
||||
},
|
||||
],
|
||||
rawAutoCombos: [],
|
||||
rawEnrichment: new Map(),
|
||||
rawCompressionCombos: [],
|
||||
rawConnections: [],
|
||||
};
|
||||
|
||||
const fetcher: OmniRouteModelsFetcher = async () => [MEMBER_DEEPSEEK, MEMBER_GLM];
|
||||
const combosFetcher: OmniRouteCombosFetcher = async () => [
|
||||
{
|
||||
id: "orchestrator",
|
||||
name: "orchestrator",
|
||||
models: COMBO_MODELS,
|
||||
// computed_context_length intentionally omitted.
|
||||
},
|
||||
];
|
||||
const autoCombosFetcher: OmniRouteAutoCombosFetcher = async () => [];
|
||||
const enrichmentFetcher: OmniRouteEnrichmentFetcher = async () => new Map();
|
||||
const compressionMetaFetcher: OmniRouteCompressionMetaFetcher = async () => [];
|
||||
const providersFetcher: OmniRouteProvidersFetcher = async () => [];
|
||||
|
||||
const diskSnapshotReader: OmniRouteDiskSnapshotReader = async () => warmSnapshot;
|
||||
const diskSnapshotWriter: OmniRouteDiskSnapshotWriter = async () => {};
|
||||
|
||||
const sharedCache: OmniRouteFetchCache = new Map();
|
||||
|
||||
const hook = createOmniRouteConfigHook(
|
||||
{ providerId: "omniroute", modelCacheTtl: 60_000 },
|
||||
{
|
||||
readAuthJson: authStub(),
|
||||
fetcher,
|
||||
combosFetcher,
|
||||
autoCombosFetcher,
|
||||
enrichmentFetcher,
|
||||
compressionMetaFetcher,
|
||||
providersFetcher,
|
||||
diskSnapshotReader,
|
||||
diskSnapshotWriter,
|
||||
cache: sharedCache,
|
||||
}
|
||||
);
|
||||
|
||||
const input = makeInput();
|
||||
await hook(input);
|
||||
|
||||
// Let the detached background refresh (degraded live data) complete and
|
||||
// republish the block.
|
||||
await new Promise((r) => setTimeout(r, 100));
|
||||
|
||||
const entryAfter = (input as { provider: Record<string, OmniRouteStaticProviderEntry> }).provider[
|
||||
"opencode-omniroute"
|
||||
];
|
||||
const comboModelAfter = entryAfter.models["orchestrator"];
|
||||
assert.ok(comboModelAfter, "combo model still published after refresh");
|
||||
|
||||
assert.equal(
|
||||
comboModelAfter.limit.context,
|
||||
245_000,
|
||||
`expected the combo limit to stay at the known-good 245000, but got ${comboModelAfter.limit.context} ` +
|
||||
`(Math.min(member) fallback — the exact bug described in #13000)`
|
||||
);
|
||||
});
|
||||
|
||||
test("issue #13000 (control): no warm snapshot exists — Math.min(member) fallback is still used (expected, documented behavior)", async () => {
|
||||
const fetcher: OmniRouteModelsFetcher = async () => [MEMBER_DEEPSEEK, MEMBER_GLM];
|
||||
const combosFetcher: OmniRouteCombosFetcher = async () => [
|
||||
{
|
||||
id: "orchestrator",
|
||||
name: "orchestrator",
|
||||
models: COMBO_MODELS,
|
||||
// computed_context_length intentionally omitted.
|
||||
},
|
||||
];
|
||||
const autoCombosFetcher: OmniRouteAutoCombosFetcher = async () => [];
|
||||
const enrichmentFetcher: OmniRouteEnrichmentFetcher = async () => new Map();
|
||||
const compressionMetaFetcher: OmniRouteCompressionMetaFetcher = async () => [];
|
||||
const providersFetcher: OmniRouteProvidersFetcher = async () => [];
|
||||
|
||||
// No prior snapshot on disk.
|
||||
const diskSnapshotReader: OmniRouteDiskSnapshotReader = async () => undefined;
|
||||
const diskSnapshotWriter: OmniRouteDiskSnapshotWriter = async () => {};
|
||||
|
||||
const sharedCache: OmniRouteFetchCache = new Map();
|
||||
|
||||
const hook = createOmniRouteConfigHook(
|
||||
{ providerId: "omniroute", modelCacheTtl: 60_000 },
|
||||
{
|
||||
readAuthJson: authStub(),
|
||||
fetcher,
|
||||
combosFetcher,
|
||||
autoCombosFetcher,
|
||||
enrichmentFetcher,
|
||||
compressionMetaFetcher,
|
||||
providersFetcher,
|
||||
diskSnapshotReader,
|
||||
diskSnapshotWriter,
|
||||
cache: sharedCache,
|
||||
}
|
||||
);
|
||||
|
||||
const input = makeInput();
|
||||
await hook(input);
|
||||
|
||||
const entryAfter = (input as { provider: Record<string, OmniRouteStaticProviderEntry> }).provider[
|
||||
"opencode-omniroute"
|
||||
];
|
||||
const comboModelAfter = entryAfter.models["orchestrator"];
|
||||
assert.ok(comboModelAfter, "combo model published on cold first run");
|
||||
|
||||
// No snapshot to backfill from — Math.min(163840, 1_000_000) = 163840.
|
||||
assert.equal(
|
||||
comboModelAfter.limit.context,
|
||||
163_840,
|
||||
"pure cold start with no snapshot must keep using the Math.min(member) fallback"
|
||||
);
|
||||
});
|
||||
@@ -46,7 +46,7 @@ Repository map and Reference Documentation sections below.
|
||||
|
||||
## Project at a Glance
|
||||
|
||||
**OmniRoute** — unified AI proxy/router. One endpoint, 358 LLM providers, auto-fallback.
|
||||
**OmniRoute** — unified AI proxy/router. One endpoint, 359 LLM providers, auto-fallback.
|
||||
|
||||
| Layer | Location | Purpose |
|
||||
| ------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
@@ -664,7 +664,7 @@ focused checks, and use a Conventional Commit message (for example, `docs: slim
|
||||
## Environment
|
||||
|
||||
- **Runtime**: Node.js ≥22.22.2 <23 || ≥24.0.0 <27, ES Modules. This is the **only supported** runtime for the published `omniroute` CLI, the server, and the test suites (`node:test` + vitest) — `engines.node` is authoritative and end users never need Bun. A **best-effort `bun:sqlite` compatibility path** exists so a global Bun install (`bun install -g omniroute`) can start without `better-sqlite3` (driver adapter + Bun-aware process spawning); it is **not** a supported runtime — no support guarantees — and every Bun-specific runtime change MUST preserve the Node driver/fallback chain and ship a Bun test (`test:bun:db`) or an explicit reason why the path is Node-only.
|
||||
- **Bun (build/dev script runner + compatibility smoke only)**: Bun `1.4.0` is pinned as an **exact devDependency** (provisioned through the existing `npm ci` via the lockfile's `@oven/bun-*` platform binaries — no `setup-bun`/ad-hoc install). It is used **only** to execute a small, allow-listed set of TypeScript **gate/generator scripts** (replacing `node --import tsx` for startup speed): the CI checks `check:provider-consistency`, `check:compression-budget`, `check:known-symbols`, and the non-CI `gen:provider-reference`, `bench:compression` — plus the focused `test:bun:db` compatibility smoke suite for the best-effort `bun:sqlite` path. **Do NOT** widen Bun to `npm install`, the build (`build:cli*`), `check:pack-artifact`, the supported published runtime, or the main test runners — those stay on Node. Any new Bun-invoking gate/generator script must be validated byte-identical against its `node --import tsx` output first. After pulling the lockfile change, run `npm install` so `bun` resolves locally (a stale `node_modules` will fail those scripts with `bun: not found`).
|
||||
- **Bun (build/dev script runner + compatibility smoke only)**: Bun `1.4.2` is pinned as an **exact devDependency** (provisioned through the existing `npm ci` via the lockfile's `@oven/bun-*` platform binaries — no `setup-bun`/ad-hoc install). It is used **only** to execute a small, allow-listed set of TypeScript **gate/generator scripts** (replacing `node --import tsx` for startup speed): the CI checks `check:provider-consistency`, `check:compression-budget`, `check:known-symbols`, and the non-CI `gen:provider-reference`, `bench:compression` — plus the focused `test:bun:db` compatibility smoke suite for the best-effort `bun:sqlite` path. **Do NOT** widen Bun to `npm install`, the build (`build:cli*`), `check:pack-artifact`, the supported published runtime, or the main test runners — those stay on Node. Any new Bun-invoking gate/generator script must be validated byte-identical against its `node --import tsx` output first. After pulling the lockfile change, run `npm install` so `bun` resolves locally (a stale `node_modules` will fail those scripts with `bun: not found`).
|
||||
- **TypeScript**: 6.0+, target ES2022, module esnext, resolution bundler
|
||||
- **Path aliases**: `@/*` → `src/`, `@omniroute/open-sse` → `open-sse/`, `@omniroute/open-sse/*` → `open-sse/*`
|
||||
- **Default port**: 20128 (API + dashboard on same port)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# ── Multi-stage Dockerfile for Native Bun Runtime (web-latest-bun) ───────────
|
||||
FROM oven/bun:1.4.0-slim AS base
|
||||
FROM oven/bun:1.4.2-slim AS base
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update \
|
||||
@@ -56,7 +56,7 @@ ENV NODE_ENV=production
|
||||
RUN bun run --quiet build
|
||||
|
||||
# ── Runner Base stage (100% Bun Native Production Runtime) ──────────────────
|
||||
FROM oven/bun:1.4.0-slim AS runner-base
|
||||
FROM oven/bun:1.4.2-slim AS runner-base
|
||||
|
||||
LABEL org.opencontainers.image.title="omniroute" \
|
||||
org.opencontainers.image.description="Unified AI proxy — route any LLM through one endpoint (Bun Native)" \
|
||||
|
||||
14
README.md
14
README.md
@@ -7,7 +7,7 @@
|
||||
|
||||
# 🚀 OmniRoute — The Free AI Gateway
|
||||
|
||||
<img src="./docs/diagrams/readme-hero.svg" width="100%" alt="OmniRoute — Never stop coding. Every AI tool → 358 providers — 150+ free — through one endpoint. Claude Code, Codex, Cursor, Cline, Copilot & Antigravity into FREE Claude / GPT / Gemini with auto-fallback. RTK + Caveman stacked compression saves 15–95% tokens (~89% avg) — never hit limits. 358 AI providers · 150+ free tiers · ~1.47B free tokens/mo · 19 routing strategies · $0 to start."/>
|
||||
<img src="./docs/diagrams/readme-hero.svg" width="100%" alt="OmniRoute — Never stop coding. Every AI tool → 359 providers — 150+ free — through one endpoint. Claude Code, Codex, Cursor, Cline, Copilot & Antigravity into FREE Claude / GPT / Gemini with auto-fallback. RTK + Caveman stacked compression saves 15–95% tokens (~89% avg) — never hit limits. 359 AI providers · 150+ free tiers · ~1.47B free tokens/mo · 19 routing strategies · $0 to start."/>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
|
||||
</div>
|
||||
|
||||
> Stacking free tiers by hand is painful — dozens of SDKs, dozens of rate limits, and no idea how much you actually have. OmniRoute catalogs **443 free-tier entries across 34 recurring pool keys** and computes the token headline from the **16 pools with a published positive monthly budget plus five per-model Groq caps**, deduplicated by shared pool. Quotas that only open after a regional identity check (today: ModelScope) are shown apart, +~6M behind regional identity verification, and never summed into the headline. The result stays visible on the dashboard (`/dashboard/free-tiers`).
|
||||
> Stacking free tiers by hand is painful — dozens of SDKs, dozens of rate limits, and no idea how much you actually have. OmniRoute catalogs **452 free-tier entries across 34 recurring pool keys** and computes the token headline from the **16 pools with a published positive monthly budget plus five per-model Groq caps**, deduplicated by shared pool. Quotas that only open after a regional identity check (today: ModelScope) are shown apart, +~6M behind regional identity verification, and never summed into the headline. The result stays visible on the dashboard (`/dashboard/free-tiers`).
|
||||
|
||||
<img src="./docs/diagrams/free-tier-budget.svg" width="100%" alt="OmniRoute free-tier budget card: ~1.47B free tokens per month steady, up to ~2.07B in the first month with signup credits, from 34 documented recurring pool keys covering 443 cataloged free-tier entries behind one endpoint. Honest pool-deduped math — each shared pool counted once, including 16 recurring pools with a published positive monthly token budget plus five per-model Groq caps; 13 providers are marked avoid in the terms-risk catalog so you decide. Budget bar includes Mistral 1B, Nara 210M, LLM7 150M, Groq 30M (five per-model caps) and smaller pools, plus first-month signup credits and permanently-free no-token-cap providers surfaced separately so they never inflate the headline. Live used/remaining on /dashboard/free-tiers."/>
|
||||
<img src="./docs/diagrams/free-tier-budget.svg" width="100%" alt="OmniRoute free-tier budget card: ~1.47B free tokens per month steady, up to ~2.07B in the first month with signup credits, from 34 documented recurring pool keys covering 452 cataloged free-tier entries behind one endpoint. Honest pool-deduped math — each shared pool counted once, including 16 recurring pools with a published positive monthly token budget plus five per-model Groq caps; 13 providers are marked avoid in the terms-risk catalog so you decide. Budget bar includes Mistral 1B, Nara 210M, LLM7 150M, Groq 30M (five per-model caps) and smaller pools, plus first-month signup credits and permanently-free no-token-cap providers surfaced separately so they never inflate the headline. Live used/remaining on /dashboard/free-tiers."/>
|
||||
|
||||
> Animated summary of the live `/dashboard/free-tiers` page. Full methodology (pool dedupe, credit tiers, provider terms): **[docs/reference/FREE_TIERS.md](docs/reference/FREE_TIERS.md)**.
|
||||
>
|
||||
@@ -233,7 +233,7 @@ curl http://localhost:20128/v1/chat/completions \
|
||||
|
||||
</div>
|
||||
|
||||
<img src="./docs/diagrams/promise-pillars.svg" width="100%" alt="The Promise — One endpoint and 358 providers. Automatic fallback keeps routing while another healthy target is available. Six pillars: resilient fallback across 358 providers · up to 95% token savings on eligible workloads · $0 to start with 150+ free tiers and 52 recurring/keyless free-forever providers · 36 CLI/agent integrations through one config · OpenAI, Claude, Gemini and Responses API compatibility at /v1 · production controls including circuit breakers, TLS stealth, MCP 110 tools, A2A, memory, guardrails, evals and 39,000+ static test declarations across 5,100+ tracked test files."/>
|
||||
<img src="./docs/diagrams/promise-pillars.svg" width="100%" alt="The Promise — One endpoint and 359 providers. Automatic fallback keeps routing while another healthy target is available. Six pillars: resilient fallback across 359 providers · up to 95% token savings on eligible workloads · $0 to start with 150+ free tiers and 53 recurring/keyless free-forever providers · 36 CLI/agent integrations through one config · OpenAI, Claude, Gemini and Responses API compatibility at /v1 · production controls including circuit breakers, TLS stealth, MCP 110 tools, A2A, memory, guardrails, evals and 39,000+ static test declarations across 5,100+ tracked test files."/>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -486,7 +486,7 @@ All **19** strategies — mix & match per combo step:
|
||||
|
||||
</div>
|
||||
|
||||
<img src="./docs/diagrams/comparison-table.svg" width="100%" alt="What sets OmniRoute apart — a dated feature snapshot vs 9router, OpenRouter, CLIProxyAPI and LiteLLM across 13 capabilities. OmniRoute: 358 providers, 150+ free tiers built in, 19 routing strategies, 12-engine token compression, built-in MCP server with 110 tools, A2A agent protocol, persistent memory, guardrails, cloud agents, TLS fingerprint stealth, Desktop/Termux/PWA and 42 i18n UI locales. OmniRoute is MIT-licensed and self-hostable. Competitor capabilities and counts may change; see the linked methodology."/>
|
||||
<img src="./docs/diagrams/comparison-table.svg" width="100%" alt="What sets OmniRoute apart — a dated feature snapshot vs 9router, OpenRouter, CLIProxyAPI and LiteLLM across 13 capabilities. OmniRoute: 359 providers, 150+ free tiers built in, 19 routing strategies, 12-engine token compression, built-in MCP server with 110 tools, A2A agent protocol, persistent memory, guardrails, cloud agents, TLS fingerprint stealth, Desktop/Termux/PWA and 42 i18n UI locales. OmniRoute is MIT-licensed and self-hostable. Competitor capabilities and counts may change; see the linked methodology."/>
|
||||
|
||||
<sub>📊 Full methodology & per-feature detail vs 9router, OpenRouter, CLIProxyAPI & LiteLLM → [`docs/comparison/OMNIROUTE_VS_ALTERNATIVES.md`](docs/comparison/OMNIROUTE_VS_ALTERNATIVES.md)</sub>
|
||||
|
||||
@@ -672,7 +672,7 @@ of your shell history. → [CLI Integrations](docs/guides/CLI-INTEGRATIONS.md)
|
||||
|
||||
</div>
|
||||
|
||||
> **352 registered providers** across the canonical chat, media, search, local, cloud-agent and system collections, including **152 carrying `hasFree: true` discovery metadata**. The chat model registry covers **229 providers / 2,554 distinct provider-model pairs / 1,283 raw model IDs**; the separate free-budget catalog has **443 per-model rows**, **34 recurring pools** and **52 recurring/keyless free-forever providers**. These are different denominators by design; definitions and pool-deduped calculations live in the [Provider Reference](docs/reference/PROVIDER_REFERENCE.md) and [Free Tiers](docs/reference/FREE_TIERS.md).
|
||||
> **352 registered providers** across the canonical chat, media, search, local, cloud-agent and system collections, including **152 carrying `hasFree: true` discovery metadata**. The chat model registry covers **229 providers / 2,554 distinct provider-model pairs / 1,283 raw model IDs**; the separate free-budget catalog has **443 per-model rows**, **34 recurring pools** and **53 recurring/keyless free-forever providers**. These are different denominators by design; definitions and pool-deduped calculations live in the [Provider Reference](docs/reference/PROVIDER_REFERENCE.md) and [Free Tiers](docs/reference/FREE_TIERS.md).
|
||||
|
||||
<div align="center">
|
||||
|
||||
@@ -1331,7 +1331,7 @@ Métricas canônicas em 2026-08-24: **1.029 vídeos únicos** · **11.132.922 vi
|
||||
<tr><td nowrap><b><a href="docs/architecture/RESILIENCE_GUIDE.md">Resilience Guide</a></b></td><td>Circuit breakers, cooldowns, queue, anti-thundering herd, TLS spoofing</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/routing/AUTO-COMBO.md">Auto-Combo Engine</a></b></td><td>16-factor scoring, mode packs, self-healing</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/ops/PROXY_GUIDE.md">Proxy Guide</a></b></td><td>3-level proxy system, 1proxy marketplace, registry CRUD</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/reference/FREE_TIERS.md">Free Tiers</a></b></td><td>Consolidated directory: 34 documented recurring pools / 443 cataloged free-tier entries</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/reference/FREE_TIERS.md">Free Tiers</a></b></td><td>Consolidated directory: 34 documented recurring pools / 452 cataloged free-tier entries</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/guides/FEATURES.md">Features Gallery</a></b></td><td>Visual dashboard tour with screenshots</td></tr>
|
||||
<tr><td nowrap><b><a href="docs/architecture/CODEBASE_DOCUMENTATION.md">Codebase Documentation</a></b></td><td>Beginner-friendly codebase walkthrough</td></tr>
|
||||
</table>
|
||||
|
||||
@@ -79,7 +79,8 @@ export async function runChatCommand(promptArg, opts, cmd) {
|
||||
const data = await response.json();
|
||||
const text = extractText(data, opts.responsesApi);
|
||||
|
||||
if (!opts.noHistory) {
|
||||
// Commander stores `--no-history` as `history === false`, never as `noHistory`.
|
||||
if (opts.history !== false && opts.noHistory !== true) {
|
||||
appendHistory({ prompt, model: opts.model, latencyMs, usage: data.usage, response: text });
|
||||
}
|
||||
|
||||
|
||||
@@ -248,7 +248,9 @@ export function registerContexts(program) {
|
||||
.option("--no-secrets", "Omit API keys from export")
|
||||
.action(async (opts, cmd) => {
|
||||
const cfg = loadContexts();
|
||||
const out = opts.noSecrets ? redactContextSecrets(cfg) : JSON.parse(JSON.stringify(cfg));
|
||||
// Commander stores `--no-secrets` as `secrets === false`, never as `noSecrets`.
|
||||
const redact = opts.secrets === false || opts.noSecrets === true;
|
||||
const out = redact ? redactContextSecrets(cfg) : JSON.parse(JSON.stringify(cfg));
|
||||
const json = JSON.stringify(out, null, 2);
|
||||
if (opts.out) {
|
||||
const { writeFileSync } = await import("node:fs");
|
||||
|
||||
@@ -9,6 +9,8 @@ function truncate(v, len = 60) {
|
||||
return s.length > len ? s.slice(0, len - 1) + "…" : s;
|
||||
}
|
||||
|
||||
const VALID_MCP_TRANSPORTS = ["stdio", "sse", "streamable-http"];
|
||||
|
||||
const mcpToolSchema = [
|
||||
{ key: "name", header: "Tool", width: 36 },
|
||||
{
|
||||
@@ -43,6 +45,25 @@ export function registerMcp(program) {
|
||||
if (exitCode !== 0) process.exit(exitCode);
|
||||
});
|
||||
|
||||
mcp
|
||||
.command("enable")
|
||||
.description(t("mcp.enable.description"))
|
||||
.option("--transport <transport>", t("mcp.enable.transport"))
|
||||
.action(async (opts, cmd) => {
|
||||
const globalOpts = cmd.parent.optsWithGlobals();
|
||||
const exitCode = await runMcpEnableCommand({ ...opts, output: globalOpts.output });
|
||||
if (exitCode !== 0) process.exit(exitCode);
|
||||
});
|
||||
|
||||
mcp
|
||||
.command("disable")
|
||||
.description(t("mcp.disable.description"))
|
||||
.action(async (opts, cmd) => {
|
||||
const globalOpts = cmd.parent.optsWithGlobals();
|
||||
const exitCode = await runMcpDisableCommand({ ...opts, output: globalOpts.output });
|
||||
if (exitCode !== 0) process.exit(exitCode);
|
||||
});
|
||||
|
||||
// 5.1 — mcp call + mcp scopes
|
||||
mcp
|
||||
.command("call <tool> [argsJson]")
|
||||
@@ -61,10 +82,15 @@ export function registerMcp(program) {
|
||||
? JSON.parse(argsPositional)
|
||||
: {};
|
||||
|
||||
const exitCode = await runMcpCallCommand(tool, args, {
|
||||
...opts,
|
||||
stream: opts.stream,
|
||||
}, globalOpts);
|
||||
const exitCode = await runMcpCallCommand(
|
||||
tool,
|
||||
args,
|
||||
{
|
||||
...opts,
|
||||
stream: opts.stream,
|
||||
},
|
||||
globalOpts
|
||||
);
|
||||
|
||||
if (exitCode !== 0) process.exit(exitCode);
|
||||
});
|
||||
@@ -127,7 +153,9 @@ async function mcpJsonRpcCall(tool, args, { stream = false, globalOpts = {} } =
|
||||
|
||||
if (!initRes.ok) {
|
||||
const text = await initRes.text().catch(() => "");
|
||||
process.stderr.write(`MCP initialize failed: HTTP ${initRes.status}${text ? ` — ${text}` : ""}\n`);
|
||||
process.stderr.write(
|
||||
`MCP initialize failed: HTTP ${initRes.status}${text ? ` — ${text}` : ""}\n`
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -227,6 +255,7 @@ export async function runMcpStatusCommand(opts = {}) {
|
||||
});
|
||||
if (!res.ok) {
|
||||
console.log(t("mcp.stopped"));
|
||||
console.log(t("mcp.stoppedHint"));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -240,6 +269,9 @@ export async function runMcpStatusCommand(opts = {}) {
|
||||
const transport = status.transport || "stdio";
|
||||
const online = status.online ?? status.running;
|
||||
console.log(online ? t("mcp.running", { transport }) : t("mcp.stopped"));
|
||||
if (!online && status.enabled === false) {
|
||||
console.log(t("mcp.stoppedHint"));
|
||||
}
|
||||
if (status.toolsCount !== undefined) console.log(` Tools: ${status.toolsCount}`);
|
||||
if (status.scopes?.length) {
|
||||
console.log(" Scopes:");
|
||||
@@ -270,10 +302,76 @@ export async function runMcpRestartCommand(opts = {}) {
|
||||
console.log(t("mcp.restarted"));
|
||||
return 0;
|
||||
}
|
||||
console.error(t("common.error", { message: `HTTP ${res.status}` }));
|
||||
const body = await res.json().catch(() => null);
|
||||
const message = body?.error || `HTTP ${res.status}`;
|
||||
console.error(t("common.error", { message }));
|
||||
return 1;
|
||||
} catch (err) {
|
||||
console.error(t("common.error", { message: err instanceof Error ? err.message : String(err) }));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
export async function runMcpEnableCommand(opts = {}) {
|
||||
const serverUp = await isServerUp();
|
||||
if (!serverUp) {
|
||||
console.error(t("common.serverOffline"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (opts.transport && !VALID_MCP_TRANSPORTS.includes(opts.transport)) {
|
||||
console.error(
|
||||
t("common.error", {
|
||||
message: `Invalid transport '${opts.transport}'. Valid: ${VALID_MCP_TRANSPORTS.join(", ")}`,
|
||||
})
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
|
||||
try {
|
||||
const body = { mcpEnabled: true };
|
||||
if (opts.transport) body.mcpTransport = opts.transport;
|
||||
|
||||
const res = await apiFetch("/api/settings", {
|
||||
method: "PATCH",
|
||||
body,
|
||||
retry: false,
|
||||
acceptNotOk: true,
|
||||
});
|
||||
if (!res.ok) {
|
||||
console.error(t("common.error", { message: `HTTP ${res.status}` }));
|
||||
return 1;
|
||||
}
|
||||
console.log(t("mcp.enabled"));
|
||||
return 0;
|
||||
} catch (err) {
|
||||
console.error(t("common.error", { message: err instanceof Error ? err.message : String(err) }));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
export async function runMcpDisableCommand(opts = {}) {
|
||||
const serverUp = await isServerUp();
|
||||
if (!serverUp) {
|
||||
console.error(t("common.serverOffline"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await apiFetch("/api/settings", {
|
||||
method: "PATCH",
|
||||
body: { mcpEnabled: false },
|
||||
retry: false,
|
||||
acceptNotOk: true,
|
||||
});
|
||||
if (!res.ok) {
|
||||
console.error(t("common.error", { message: `HTTP ${res.status}` }));
|
||||
return 1;
|
||||
}
|
||||
console.log(t("mcp.disabled"));
|
||||
return 0;
|
||||
} catch (err) {
|
||||
console.error(t("common.error", { message: err instanceof Error ? err.message : String(err) }));
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,8 @@ export function registerRestart(program) {
|
||||
program
|
||||
.command("restart")
|
||||
.description(t("restart.description"))
|
||||
.option("--port <port>", t("serve.port"), "20128")
|
||||
// No Commander default: runServe() falls back to PORT, then 20128 (#7049).
|
||||
.option("--port <port>", t("serve.port"))
|
||||
.action(async (opts) => {
|
||||
const exitCode = await runRestartCommand(opts);
|
||||
if (exitCode !== 0) process.exit(exitCode);
|
||||
|
||||
@@ -281,7 +281,8 @@ export async function runServe(opts = {}) {
|
||||
return runDaemon(serverJs, env, memoryLimit, dashboardPort, apiPort);
|
||||
}
|
||||
|
||||
if (opts.noRecovery) {
|
||||
// Commander stores `--no-recovery` as `recovery === false`, never as `noRecovery`.
|
||||
if (opts.recovery === false || opts.noRecovery === true) {
|
||||
return runWithoutRecovery(
|
||||
serverJs,
|
||||
env,
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"opencode": "ከOpenCode ጋር የተካተተውን @omniroute/opencode-plugin ጫን እና አዋቅር"
|
||||
},
|
||||
"doctor": {
|
||||
"title": "OmniRoute Doctor",
|
||||
"title": "OmniRoute ዶክተር",
|
||||
"dbOk": "የውሂብ ጎታ፦ ደህና ({path})",
|
||||
"dbMissing": "የውሂብ ጎታ፦ አልተጀመረም — `omniroute setup` ያስኪዱ",
|
||||
"portOk": "ወደብ {port}፦ ይገኛል",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ከመተው በፊት በ30s ውስጥ የሚፈቀደው ከፍተኛ የብልሽት ዳግም መጀመር ብዛት (ነባሪ፦ 2)",
|
||||
"tray": "በስርዓት ትሪ ውስጥ አስጀምር (ለዴስክቶፕ ብቻ፣ በፈቃድ)",
|
||||
"no_tray": "የስርዓት ትሪ አዶን አሰናክል",
|
||||
"ready_timeout": "የዝግጁነት ምርመራ ጊዜ ማብቂያ በሚሊሰከንድ (እንዲሁም OMNIROUTE_READY_TIMEOUT_MS፣ ነባሪ 60000)",
|
||||
"tls_cert": "HTTPSን ለማቅረብ የTLS ሰርተፍኬት (PEM) ዱካ (OMNIROUTE_TLS_CERTም ጭምር)",
|
||||
"tls_key": "HTTPSን ለማቅረብ የTLS የግል ቁልፍ (PEM) ዱካ (OMNIROUTE_TLS_KEYም ጭምር)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP ሰርቨር እየሰራ ነው ({transport})",
|
||||
"stopped": "MCP ሰርቨር ቆሟል።",
|
||||
"restarted": "MCP ሰርቨር እንደገና ተጀምሯል።",
|
||||
"stoppedHint": "ለማብራት `omniroute mcp enable`ን ያሂዱ።",
|
||||
"enabled": "MCP አገልጋይ ነቅቷል።",
|
||||
"disabled": "MCP አገልጋይ ተሰናክሏል።",
|
||||
"enable": {
|
||||
"description": "MCP አገልጋዩን አንቃ",
|
||||
"transport": "ጥቅም ላይ የሚውል ማጓጓዣ፦ stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP አገልጋዩን አሰናክል"
|
||||
},
|
||||
"call": {
|
||||
"description": "የMCP መሣሪያን በቀጥታ ይጥሩ",
|
||||
"args": "የJSON ነጋሪ እሴቶች ኦብጀክት (በቦታው)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Μέγιστος αριθμός επανεκκινήσεων λόγω σφάλματος εντός 30 δευτερολέπτων πριν την οριστική διακοπή (προεπιλογή: 2)",
|
||||
"tray": "Εκκίνηση στην περιοχή ειδοποιήσεων (μόνο για επιτραπέζιους υπολογιστές, προαιρετικό)",
|
||||
"no_tray": "Απενεργοποίηση εικονιδίου περιοχής ειδοποιήσεων",
|
||||
"ready_timeout": "Χρονικό όριο λήξης του ελέγχου ετοιμότητας σε ms (επίσης OMNIROUTE_READY_TIMEOUT_MS, προεπιλογή 60000)",
|
||||
"tls_cert": "Διαδρομή προς πιστοποιητικό TLS (PEM) για εξυπηρέτηση HTTPS (επίσης OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Διαδρομή προς το ιδιωτικό κλειδί TLS (PEM) για εξυπηρέτηση HTTPS (επίσης OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Ο διακομιστής MCP εκτελείται ({transport})",
|
||||
"stopped": "Ο διακομιστής MCP διακόπηκε.",
|
||||
"restarted": "Ο διακομιστής MCP επανεκκινήθηκε.",
|
||||
"stoppedHint": "Εκτελέστε `omniroute mcp enable` για να το ενεργοποιήσετε.",
|
||||
"enabled": "Ο διακομιστής MCP ενεργοποιήθηκε.",
|
||||
"disabled": "Ο διακομιστής MCP απενεργοποιήθηκε.",
|
||||
"enable": {
|
||||
"description": "Ενεργοποίηση του διακομιστή MCP",
|
||||
"transport": "Μέθοδος μεταφοράς προς χρήση: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Απενεργοποίηση του διακομιστή MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Άμεση κλήση εργαλείου MCP",
|
||||
"args": "Αντικείμενο ορισμάτων JSON (ενσωματωμένο)",
|
||||
@@ -1093,7 +1104,7 @@
|
||||
}
|
||||
},
|
||||
"combo": {
|
||||
"title": "Combos",
|
||||
"title": "Συνδυασμοί",
|
||||
"switched": "Ενεργό combo: {name}",
|
||||
"created": "Δημιουργήθηκε combo: {name}",
|
||||
"deleted": "Διαγράφηκε combo: {name}",
|
||||
|
||||
@@ -348,6 +348,16 @@
|
||||
"running": "MCP server running ({transport})",
|
||||
"stopped": "MCP server stopped.",
|
||||
"restarted": "MCP server restarted.",
|
||||
"stoppedHint": "Run `omniroute mcp enable` to turn it on.",
|
||||
"enabled": "MCP server enabled.",
|
||||
"disabled": "MCP server disabled.",
|
||||
"enable": {
|
||||
"description": "Enable the MCP server",
|
||||
"transport": "Transport to use: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Disable the MCP server"
|
||||
},
|
||||
"call": {
|
||||
"description": "Invoke an MCP tool directly",
|
||||
"args": "JSON arguments object (inline)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@
|
||||
"opencode": "Installi ja seadista OpenCode'i jaoks kaasas olev @omniroute/opencode-plugin"
|
||||
},
|
||||
"doctor": {
|
||||
"title": "OmniRoute Doctor",
|
||||
"title": "OmniRoute'i diagnostika",
|
||||
"dbOk": "Andmebaas: korras ({path})",
|
||||
"dbMissing": "Andmebaas: pole lähtestatud — käivita `omniroute setup`",
|
||||
"portOk": "Port {port}: saadaval",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Maksimaalne krahhijärgsete taaskäivituste arv 30 sekundi jooksul enne alla andmist (vaikimisi: 2)",
|
||||
"tray": "Käivita süsteemisalves (ainult töölaual, valikuline)",
|
||||
"no_tray": "Keela süsteemisalve ikoon",
|
||||
"ready_timeout": "Valmisolekukontrolli ajalõpp millisekundites (ka OMNIROUTE_READY_TIMEOUT_MS, vaikimisi 60000)",
|
||||
"tls_cert": "TLS-sertifikaadi (PEM) tee HTTPS-i teenindamiseks (ka OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "TLS privaatvõtme (PEM) tee HTTPS-i teenindamiseks (ka OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP server töötab ({transport})",
|
||||
"stopped": "MCP server peatatud.",
|
||||
"restarted": "MCP server taaskäivitatud.",
|
||||
"stoppedHint": "Selle sisselülitamiseks käivitage `omniroute mcp enable`.",
|
||||
"enabled": "MCP-server on lubatud.",
|
||||
"disabled": "MCP-server on keelatud.",
|
||||
"enable": {
|
||||
"description": "Luba MCP-server",
|
||||
"transport": "Kasutatav transport: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Keela MCP-server"
|
||||
},
|
||||
"call": {
|
||||
"description": "Käivita MCP tööriist otse",
|
||||
"args": "JSON argumentide objekt (otseselt sisestatud)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Uaslíon atosuithe titim laistigh de 30 sula bhfágann tú suas (réamhshocrú: 2)",
|
||||
"tray": "Tosaigh i mbosca córas (leicsitheoir amháin, roghnach)",
|
||||
"no_tray": "Díchumasaigh deilbhín bosca córas",
|
||||
"ready_timeout": "Teorainn ama an tseiceála ullmhachta i ms (OMNIROUTE_READY_TIMEOUT_MS freisin, réamhshocrú 60000)",
|
||||
"tls_cert": "Cosán go dtí deimhniú TLS (PEM) chun HTTPS a sheirbhísiú (freisin OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Cosán go dtí eochair phríobháideach TLS (PEM) chun HTTPS a sheirbhísiú (freisin OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Tá freastalaí MCP ag rith ({transport})",
|
||||
"stopped": "Tá freastalaí MCP stoptha.",
|
||||
"restarted": "Tá freastalaí MCP atosaíte.",
|
||||
"stoppedHint": "Rith `omniroute mcp enable` chun é a chur ar siúl.",
|
||||
"enabled": "Freastalaí MCP cumasaithe.",
|
||||
"disabled": "Freastalaí MCP díchumasaithe.",
|
||||
"enable": {
|
||||
"description": "Cumasaigh an freastalaí MCP",
|
||||
"transport": "Iompar le húsáid: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Díchumasaigh an freastalaí MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Glaoigh ar uirlis MCP go díreach",
|
||||
"args": "Réimse argóintí JSON (inlíne)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Matsakaicin sake farawa bayan rushewa cikin daƙiƙa 30 kafin a haƙura (tsoho: 2)",
|
||||
"tray": "Fara a tiren tsarin (na kwamfutar tebur kawai, sai an zaɓa)",
|
||||
"no_tray": "Kashe gunkin tiren tsarin",
|
||||
"ready_timeout": "Lokacin ƙarewar gwajin shiri a ms (har ila yau OMNIROUTE_READY_TIMEOUT_MS, tsoho 60000)",
|
||||
"tls_cert": "Hanyar zuwa takardar shaidar TLS (PEM) don samar da HTTPS (haka kuma OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Hanyar zuwa maɓallin sirri na TLS (PEM) don samar da HTTPS (haka kuma OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Sabar MCP tana aiki ({transport})",
|
||||
"stopped": "An dakatar da sabar MCP.",
|
||||
"restarted": "An sake kunna sabar MCP.",
|
||||
"stoppedHint": "Gudanar da `omniroute mcp enable` don kunna shi.",
|
||||
"enabled": "An kunna sabar MCP.",
|
||||
"disabled": "An kashe sabar MCP.",
|
||||
"enable": {
|
||||
"description": "Kunna sabar MCP",
|
||||
"transport": "Hanyar jigilar da za a yi amfani da ita: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Kashe sabar MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Kira kayan aikin MCP kai tsaye",
|
||||
"args": "Abun hujjojin JSON (a cikin layi)",
|
||||
@@ -475,7 +486,7 @@
|
||||
}
|
||||
},
|
||||
"tunnel": {
|
||||
"title": "Tunnels",
|
||||
"title": "Ramuka",
|
||||
"listDescription": "Jera tunnels masu aiki",
|
||||
"createDescription": "Ƙirƙiri tunnel",
|
||||
"created": "An ƙirƙiri tunnel: {url}",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Maksimalni broj ponovnih pokretanja nakon pada unutar 30 s prije odustajanja (zadano: 2)",
|
||||
"tray": "Pokretanje u programskoj traci (samo za stolna računala, po izboru)",
|
||||
"no_tray": "Onemogući ikonu programske trake",
|
||||
"ready_timeout": "Vremensko ograničenje provjere spremnosti u ms (također OMNIROUTE_READY_TIMEOUT_MS, zadano 60000)",
|
||||
"tls_cert": "Putanja do TLS certifikata (PEM) za posluživanje HTTPS-a (također OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Putanja do TLS privatnog ključa (PEM) za posluživanje HTTPS-a (također OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP poslužitelj je pokrenut ({transport})",
|
||||
"stopped": "MCP poslužitelj je zaustavljen.",
|
||||
"restarted": "MCP poslužitelj je ponovo pokrenut.",
|
||||
"stoppedHint": "Pokrenite `omniroute mcp enable` da biste ga uključili.",
|
||||
"enabled": "MCP poslužitelj omogućen.",
|
||||
"disabled": "MCP poslužitelj onemogućen.",
|
||||
"enable": {
|
||||
"description": "Omogući MCP poslužitelj",
|
||||
"transport": "Prijenos koji će se koristiti: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Onemogući MCP poslužitelj"
|
||||
},
|
||||
"call": {
|
||||
"description": "Izravno pozovi MCP alat",
|
||||
"args": "JSON objekt argumenata (unutarnji)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Վթարից հետո վերագործարկումների առավելագույն քանակը 30 վրկ-ի ընթացքում՝ մինչև փորձերը դադարեցնելը (լռելյայն՝ 2)",
|
||||
"tray": "Գործարկել համակարգային սկուտեղում (միայն աշխատասեղանի տարբերակում, ըստ ցանկության)",
|
||||
"no_tray": "Անջատել համակարգային սկուտեղի պատկերակը",
|
||||
"ready_timeout": "Պատրաստության ստուգման սպասաժամը՝ մվ-ով (նաև OMNIROUTE_READY_TIMEOUT_MS, լռելյայն՝ 60000)",
|
||||
"tls_cert": "HTTPS սպասարկելու համար TLS վկայագրի (PEM) ուղին (նաև՝ OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "HTTPS սպասարկելու համար TLS գաղտնի բանալու (PEM) ուղին (նաև՝ OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP սերվերը գործարկված է ({transport})",
|
||||
"stopped": "MCP սերվերը կանգնեցվել է։",
|
||||
"restarted": "MCP սերվերը վերագործարկվել է։",
|
||||
"stoppedHint": "Այն միացնելու համար գործարկեք `omniroute mcp enable` հրամանը։",
|
||||
"enabled": "MCP սերվերը միացված է։",
|
||||
"disabled": "MCP սերվերն անջատված է։",
|
||||
"enable": {
|
||||
"description": "Միացնել MCP սերվերը",
|
||||
"transport": "Օգտագործվող փոխադրման եղանակը՝ stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Անջատել MCP սերվերը"
|
||||
},
|
||||
"call": {
|
||||
"description": "Անմիջապես կանչել MCP գործիք",
|
||||
"args": "JSON արգումենտների օբյեկտ (ներտողային)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Ọnụọgụ mmalitegharị kachasị elu mgbe ọ dara n'ime 30s tupu ịkwụsị mbọ (ndabara: 2)",
|
||||
"tray": "Malite na tray sistemụ (naanị na desktọpụ, ma ọ bụrụ na ahọrọ ya)",
|
||||
"no_tray": "Gbanyụọ akara ngosi tray sistemụ",
|
||||
"ready_timeout": "Oge njedebe nyocha ịdị njikere na ms (yana OMNIROUTE_READY_TIMEOUT_MS, ndabara bụ 60000)",
|
||||
"tls_cert": "Ụzọ gaa na asambodo TLS (PEM) iji nye HTTPS (nakwa OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Ụzọ gaa na igodo nzuzo TLS (PEM) iji nye HTTPS (nakwa OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Sava MCP na-arụ ọrụ ({transport})",
|
||||
"stopped": "Sava MCP akwụsịla.",
|
||||
"restarted": "Amalitegharịrị sava MCP.",
|
||||
"stoppedHint": "Gbaa `omniroute mcp enable` iji gbanye ya.",
|
||||
"enabled": "Agbanyela sava MCP.",
|
||||
"disabled": "Agbanyụọla sava MCP.",
|
||||
"enable": {
|
||||
"description": "Gbanye sava MCP",
|
||||
"transport": "Usoro mbufe a ga-eji: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Gbanyụọ sava MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Kpọọ ngwa MCP ozugbo",
|
||||
"args": "Ihe arụmụka JSON (n'ime ahịrị)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "30 წამში ავარიული გათიშვის შემდეგ ხელახალი გაშვებების მაქსიმალური რაოდენობა დანებებამდე (ნაგულისხმევი: 2)",
|
||||
"tray": "სისტემურ უჯრაში გაშვება (მხოლოდ დესკტოპისთვის, სურვილისამებრ)",
|
||||
"no_tray": "სისტემური უჯრის ხატულის გამორთვა",
|
||||
"ready_timeout": "მზადყოფნის შემოწმების მოლოდინის დრო მილიწამებში (ასევე OMNIROUTE_READY_TIMEOUT_MS, ნაგულისხმევად 60000)",
|
||||
"tls_cert": "HTTPS-ისთვის TLS სერტიფიკატის (PEM) გზა (ასევე OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "HTTPS-ისთვის TLS პირადი გასაღების (PEM) გზა (ასევე OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP სერვერი მუშაობს ({transport})",
|
||||
"stopped": "MCP სერვერი გაჩერდა.",
|
||||
"restarted": "MCP სერვერი გადაიტვირთა.",
|
||||
"stoppedHint": "მის ჩასართავად გაუშვით `omniroute mcp enable`.",
|
||||
"enabled": "MCP სერვერი ჩართულია.",
|
||||
"disabled": "MCP სერვერი გამორთულია.",
|
||||
"enable": {
|
||||
"description": "MCP სერვერის ჩართვა",
|
||||
"transport": "გამოსაყენებელი ტრანსპორტი: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP სერვერის გამორთვა"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP ხელსაწყოს პირდაპირ გამოძახება",
|
||||
"args": "JSON არგუმენტების ობიექტი (ჩაშენებული)",
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
}
|
||||
},
|
||||
"keys": {
|
||||
"title": "API Keys",
|
||||
"title": "សោ API",
|
||||
"addDescription": "បន្ថែម ឬធ្វើបច្ចុប្បន្នភាព API key សម្រាប់អ្នកផ្តល់សេវា",
|
||||
"listDescription": "រាយ API keys ដែលបានកំណត់រចនាសម្ព័ន្ធទាំងអស់",
|
||||
"removeDescription": "លុប API key សម្រាប់អ្នកផ្តល់សេវា",
|
||||
@@ -226,7 +226,7 @@
|
||||
"description": "ផ្ញើ chat prompt មួយលើកទៅ OmniRoute",
|
||||
"file": "អាន prompt ពីឯកសារ",
|
||||
"stdin": "អាន prompt ពី stdin",
|
||||
"system": "System prompt",
|
||||
"system": "ប្រូមប្រព័ន្ធ",
|
||||
"model": "Model ID (លំនាំដើម៖ auto)",
|
||||
"max_tokens": "ចំនួន token អតិបរមាក្នុងការឆ្លើយតប",
|
||||
"temperature": "សីតុណ្ហភាព sampling (0–2)",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ចំនួនអតិបរមានៃការចាប់ផ្តើមឡើងវិញបន្ទាប់ពីគាំងក្នុងរយៈពេល 30s មុនពេលបោះបង់ (លំនាំដើម៖ 2)",
|
||||
"tray": "ចាប់ផ្ដើមក្នុងថាសប្រព័ន្ធ (សម្រាប់កុំព្យូទ័រលើតុប៉ុណ្ណោះ និងត្រូវជ្រើសរើសបើក)",
|
||||
"no_tray": "បិទរូបតំណាងថាសប្រព័ន្ធ",
|
||||
"ready_timeout": "រយៈពេលអស់ពេលនៃការត្រួតពិនិត្យភាពរួចរាល់ គិតជាមិល្លីវិនាទី (ក៏អាចប្រើ OMNIROUTE_READY_TIMEOUT_MS ផងដែរ, លំនាំដើម 60000)",
|
||||
"tls_cert": "ផ្លូវទៅកាន់វិញ្ញាបនបត្រ TLS (PEM) សម្រាប់បម្រើ HTTPS (ក៏ជា OMNIROUTE_TLS_CERT ផងដែរ)",
|
||||
"tls_key": "ផ្លូវទៅកាន់សោឯកជន TLS (PEM) សម្រាប់បម្រើ HTTPS (ក៏ជា OMNIROUTE_TLS_KEY ផងដែរ)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "ម៉ាស៊ីនមេ MCP កំពុងដំណើរការ ({transport})",
|
||||
"stopped": "ម៉ាស៊ីនមេ MCP បានឈប់ដំណើរការ។",
|
||||
"restarted": "ម៉ាស៊ីនមេ MCP បានចាប់ផ្តើមឡើងវិញ។",
|
||||
"stoppedHint": "ដំណើរការ `omniroute mcp enable` ដើម្បីបើកវា។",
|
||||
"enabled": "ម៉ាស៊ីនមេ MCP ត្រូវបានបើក។",
|
||||
"disabled": "ម៉ាស៊ីនមេ MCP ត្រូវបានបិទ។",
|
||||
"enable": {
|
||||
"description": "បើកម៉ាស៊ីនមេ MCP",
|
||||
"transport": "មធ្យោបាយបញ្ជូនដែលត្រូវប្រើ៖ stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "បិទម៉ាស៊ីនមេ MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "ហៅប្រើឧបករណ៍ MCP ដោយផ្ទាល់",
|
||||
"args": "អាប់ជិចអាគុយម៉ង់ JSON (ក្នុងបន្ទាត់)",
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ಬಿಟ್ಟುಕೊಡುವ ಮೊದಲು 30s ಒಳಗೆ ಕ್ರ್ಯಾಶ್ನಿಂದ ಗರಿಷ್ಠ ಮರುಪ್ರಾರಂಭಗಳ ಸಂಖ್ಯೆ (ಡೀಫಾಲ್ಟ್: 2)",
|
||||
"tray": "ಸಿಸ್ಟಮ್ ಟ್ರೇಯಲ್ಲಿ ಪ್ರಾರಂಭಿಸಿ (ಡೆಸ್ಕ್ಟಾಪ್ ಮಾತ್ರ, ಆಯ್ಕೆ ಮಾಡಿದಲ್ಲಿ)",
|
||||
"no_tray": "ಸಿಸ್ಟಮ್ ಟ್ರೇ ಐಕಾನ್ ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿ",
|
||||
"ready_timeout": "ಸಿದ್ಧತಾ ಪ್ರೋಬ್ ಕಾಲಮಿತಿ ಮಿಲಿಸೆಕೆಂಡುಗಳಲ್ಲಿ (OMNIROUTE_READY_TIMEOUT_MS ಕೂಡ, ಡೀಫಾಲ್ಟ್ 60000)",
|
||||
"tls_cert": "HTTPS ಒದಗಿಸಲು TLS ಪ್ರಮಾಣಪತ್ರದ (PEM) ಪಥ (OMNIROUTE_TLS_CERT ಸಹ)",
|
||||
"tls_key": "HTTPS ಒದಗಿಸಲು TLS ಖಾಸಗಿ ಕೀಲಿಯ (PEM) ಪಥ (OMNIROUTE_TLS_KEY ಸಹ)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP ಸರ್ವರ್ ಚಾಲನೆಯಲ್ಲಿದೆ ({transport})",
|
||||
"stopped": "MCP ಸರ್ವರ್ ನಿಲ್ಲಿಸಲಾಗಿದೆ.",
|
||||
"restarted": "MCP ಸರ್ವರ್ ಮರುಪ್ರಾರಂಭಿಸಲಾಗಿದೆ.",
|
||||
"stoppedHint": "ಇದನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಲು `omniroute mcp enable` ಅನ್ನು ಚಲಾಯಿಸಿ.",
|
||||
"enabled": "MCP ಸರ್ವರ್ ಸಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ.",
|
||||
"disabled": "MCP ಸರ್ವರ್ ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ.",
|
||||
"enable": {
|
||||
"description": "MCP ಸರ್ವರ್ ಅನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ",
|
||||
"transport": "ಬಳಸಬೇಕಾದ ಟ್ರಾನ್ಸ್ಪೋರ್ಟ್: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP ಸರ್ವರ್ ಅನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿ"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP ಟೂಲ್ ಅನ್ನು ನೇರವಾಗಿ ಆಹ್ವಾನಿಸಿ",
|
||||
"args": "JSON ಆರ್ಗ್ಯುಮೆಂಟ್ಗಳ ಆಬ್ಜೆಕ್ಟ್ (ಇನ್ಲೈನ್)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Didžiausias paleidimų iš naujo po strigties skaičius per 30 s prieš nutraukiant bandymus (numatyta: 2)",
|
||||
"tray": "Paleisti sistemos dėkle (tik darbalaukio programoje, pasirenkama)",
|
||||
"no_tray": "Išjungti sistemos dėklo piktogramą",
|
||||
"ready_timeout": "Parengties patikros skirtasis laikas ms (taip pat OMNIROUTE_READY_TIMEOUT_MS, numatytoji reikšmė 60000)",
|
||||
"tls_cert": "Kelias į TLS sertifikatą (PEM), skirtą HTTPS teikti (taip pat OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Kelias į privatųjį TLS raktą (PEM), skirtą HTTPS teikti (taip pat OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP serveris veikia ({transport})",
|
||||
"stopped": "MCP serveris sustabdytas.",
|
||||
"restarted": "MCP serveris paleistas iš naujo.",
|
||||
"stoppedHint": "Norėdami jį įjungti, paleiskite `omniroute mcp enable`.",
|
||||
"enabled": "MCP serveris įjungtas.",
|
||||
"disabled": "MCP serveris išjungtas.",
|
||||
"enable": {
|
||||
"description": "Įjungti MCP serverį",
|
||||
"transport": "Naudotinas perdavimo būdas: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Išjungti MCP serverį"
|
||||
},
|
||||
"call": {
|
||||
"description": "Tiesiogiai iškviesti MCP įrankį",
|
||||
"args": "JSON argumentų objektas (įterptasis)",
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Maksimālās avāriju restartēšanas 30 sekunžu laikā pirms padoties (noklusējums: 2)",
|
||||
"tray": "Sākt sistēmas tray (tikai darbvirsmas, izvēlēties)",
|
||||
"no_tray": "Atspējot sistēmas tray ikonu",
|
||||
"ready_timeout": "Gatavības pārbaudes taimauts milisekundēs (arī OMNIROUTE_READY_TIMEOUT_MS, noklusējuma vērtība 60000)",
|
||||
"tls_cert": "Ceļš uz TLS sertifikātu (PEM) HTTPS apkalpošanai (arī OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Ceļš uz TLS privāto atslēgu (PEM) HTTPS apkalpošanai (arī OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP serveris darbojas ({transport})",
|
||||
"stopped": "MCP serveris apturēts.",
|
||||
"restarted": "MCP serveris restartēts.",
|
||||
"stoppedHint": "Lai to ieslēgtu, palaidiet `omniroute mcp enable`.",
|
||||
"enabled": "MCP serveris ir iespējots.",
|
||||
"disabled": "MCP serveris ir atspējots.",
|
||||
"enable": {
|
||||
"description": "Iespējot MCP serveri",
|
||||
"transport": "Izmantojamais transports: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Atspējot MCP serveri"
|
||||
},
|
||||
"call": {
|
||||
"description": "Izsaukt MCP rīku tieši",
|
||||
"args": "JSON argumentu objekts (iekšējais)",
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ഉപേക്ഷിക്കുന്നതിന് മുമ്പ് 30s-നുള്ളിൽ അനുവദിക്കുന്ന പരമാവധി ക്രാഷ് പുനരാരംഭങ്ങൾ (ഡിഫോൾട്ട്: 2)",
|
||||
"tray": "സിസ്റ്റം ട്രേയിൽ ആരംഭിക്കുക (ഡെസ്ക്ടോപ്പിൽ മാത്രം, സ്വമേധയാ തിരഞ്ഞെടുക്കാവുന്നത്)",
|
||||
"no_tray": "സിസ്റ്റം ട്രേ ഐക്കൺ പ്രവർത്തനരഹിതമാക്കുക",
|
||||
"ready_timeout": "റെഡിനസ് പ്രോബ് സമയപരിധി ms-ൽ (OMNIROUTE_READY_TIMEOUT_MS എന്നതും, സ്ഥിരസ്ഥിതി 60000)",
|
||||
"tls_cert": "HTTPS നൽകുന്നതിനുള്ള TLS സർട്ടിഫിക്കറ്റിന്റെ (PEM) പാത (OMNIROUTE_TLS_CERT-ലും)",
|
||||
"tls_key": "HTTPS നൽകുന്നതിനുള്ള TLS സ്വകാര്യ കീയുടെ (PEM) പാത (OMNIROUTE_TLS_KEY-ലും)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP സെർവർ പ്രവർത്തിക്കുന്നു ({transport})",
|
||||
"stopped": "MCP സെർവർ നിർത്തി.",
|
||||
"restarted": "MCP സെർവർ പുനരാരംഭിച്ചു.",
|
||||
"stoppedHint": "ഇത് പ്രവർത്തനക്ഷമമാക്കാൻ `omniroute mcp enable` പ്രവർത്തിപ്പിക്കുക.",
|
||||
"enabled": "MCP സെർവർ പ്രവർത്തനക്ഷമമാക്കി.",
|
||||
"disabled": "MCP സെർവർ പ്രവർത്തനരഹിതമാക്കി.",
|
||||
"enable": {
|
||||
"description": "MCP സെർവർ പ്രവർത്തനക്ഷമമാക്കുക",
|
||||
"transport": "ഉപയോഗിക്കേണ്ട ട്രാൻസ്പോർട്ട്: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP സെർവർ പ്രവർത്തനരഹിതമാക്കുക"
|
||||
},
|
||||
"call": {
|
||||
"description": "ഒരു MCP ടൂൾ നേരിട്ട് പ്രവർത്തിപ്പിക്കുക",
|
||||
"args": "JSON ആർഗ്യുമെന്റുകളുടെ ഒബ്ജക്റ്റ് (ഇൻലൈൻ)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "L-ogħla numru ta' restarts wara crash fi żmien 30s qabel ma jċedi (default: 2)",
|
||||
"tray": "Bda' fil-caffettar tal-pajjiż (biss desktop, għażla)",
|
||||
"no_tray": "Iddiżattiva l-ikona tal-caffettar tal-pajjiż",
|
||||
"ready_timeout": "Limitu taż-żmien tal-verifika tat-tħejjija f'ms (ukoll OMNIROUTE_READY_TIMEOUT_MS, valur predefinit 60000)",
|
||||
"tls_cert": "Triq għal ċertifikat TLS (PEM) biex isservi HTTPS (ukoll OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Triq għas-sieqa privata tal-TLS (PEM) biex isservi HTTPS (ukoll OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Servier MCP qed jaħdem ({transport})",
|
||||
"stopped": "Servier MCP waqaf.",
|
||||
"restarted": "Servier MCP restartat.",
|
||||
"stoppedHint": "Ħaddem `omniroute mcp enable` biex tattivah.",
|
||||
"enabled": "Is-server MCP huwa attivat.",
|
||||
"disabled": "Is-server MCP huwa diżattivat.",
|
||||
"enable": {
|
||||
"description": "Attiva s-server MCP",
|
||||
"transport": "Trasport li għandu jintuża: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Iddiżattiva s-server MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Sejjaħ għodda MCP direttament",
|
||||
"args": "Oġġett argomenti JSON (internament)",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"testFailed": "Provider စမ်းသပ်မှု မအောင်မြင်ပါ: {error}",
|
||||
"loginEnabled": "လော့ဂ်အင်: ဖွင့်ထားသည် (စကားဝှက်ကို အပ်ဒိတ်လုပ်ပြီး)",
|
||||
"loginDisabled": "လော့ဂ်အင်: ပိတ်ထားသည်",
|
||||
"providerInfo": "Provider: {info}",
|
||||
"providerInfo": "ပံ့ပိုးသူ: {info}",
|
||||
"opencode": "OpenCode အတွက် တွဲဖက်ပါရှိသော @omniroute/opencode-plugin ကို ထည့်သွင်းပြီး စီစဉ်သတ်မှတ်ရန်"
|
||||
},
|
||||
"doctor": {
|
||||
@@ -41,7 +41,7 @@
|
||||
"warnings": "သတိပေးချက် {count} ခု — အပေါ်တွင် ကြည့်ပါ။"
|
||||
},
|
||||
"providers": {
|
||||
"title": "Providers",
|
||||
"title": "ပံ့ပိုးသူများ",
|
||||
"noProviders": "မည်သည့် provider ကိုမျှ စီစဉ်သတ်မှတ်မထားပါ။ လုပ်ဆောင်ရန်: omniroute setup",
|
||||
"testing": "{name} ကို စမ်းသပ်နေသည်...",
|
||||
"available": "အသုံးပြုနိုင်သော provider {count} ခု",
|
||||
@@ -86,7 +86,7 @@
|
||||
}
|
||||
},
|
||||
"keys": {
|
||||
"title": "API Keys",
|
||||
"title": "API သော့များ",
|
||||
"addDescription": "ဝန်ဆောင်မှုပေးသူတစ်ခုအတွက် API key ကို ထည့်ရန် သို့မဟုတ် အပ်ဒိတ်လုပ်ရန်",
|
||||
"listDescription": "ပြင်ဆင်သတ်မှတ်ထားသော API key အားလုံးကို စာရင်းပြုစုရန်",
|
||||
"removeDescription": "ဝန်ဆောင်မှုပေးသူတစ်ခုအတွက် API key ကို ဖယ်ရှားရန်",
|
||||
@@ -152,7 +152,7 @@
|
||||
"file": "ဖိုင်မှ prompt ကို ဖတ်ပါ",
|
||||
"stdin": "stdin မှ prompt ကို ဖတ်ပါ",
|
||||
"model": "Model ID (မူလသတ်မှတ်ချက်: auto)",
|
||||
"system": "System prompt",
|
||||
"system": "စနစ်ညွှန်ကြားချက်",
|
||||
"combo": "သတ်မှတ်ထားသော combo တစ်ခုကို အမည်ဖြင့် မဖြစ်မနေ အသုံးပြုပါ",
|
||||
"max_tokens": "Response အတွင်း အများဆုံး token အရေအတွက်",
|
||||
"responses_api": "/v1/chat/completions အစား /v1/responses ကို အသုံးပြုပါ",
|
||||
@@ -226,7 +226,7 @@
|
||||
"description": "OmniRoute သို့ တစ်ကြိမ်တည်းသုံး chat prompt ပို့ရန်",
|
||||
"file": "ဖိုင်မှ prompt ကို ဖတ်ရန်",
|
||||
"stdin": "stdin မှ prompt ကို ဖတ်ရန်",
|
||||
"system": "System prompt",
|
||||
"system": "စနစ်ညွှန်ကြားချက်",
|
||||
"model": "Model ID (မူလသတ်မှတ်ချက်: auto)",
|
||||
"max_tokens": "တုံ့ပြန်ချက်တွင် ပါဝင်မည့် token အရေအတွက် အများဆုံး",
|
||||
"temperature": "နမူနာရွေးချယ်မှု temperature (0–2)",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "လက်လျှော့မတိုင်မီ 30s အတွင်း ပျက်သွား၍ ပြန်လည်စတင်နိုင်သည့် အများဆုံးအကြိမ်ရေ (မူလသတ်မှတ်ချက်: 2)",
|
||||
"tray": "စနစ် tray တွင် စတင်ပါ (desktop အတွက်သာ၊ ရွေးချယ်ဖွင့်သုံးရန်)",
|
||||
"no_tray": "စနစ် tray အိုင်ကွန်ကို ပိတ်ပါ",
|
||||
"ready_timeout": "အဆင်သင့်ဖြစ်မှု စစ်ဆေးချက်၏ အချိန်ကုန်ဆုံးကာလကို ms ဖြင့် သတ်မှတ်ပါ (OMNIROUTE_READY_TIMEOUT_MS လည်းဖြစ်ပြီး မူလတန်ဖိုးမှာ 60000 ဖြစ်သည်)",
|
||||
"tls_cert": "HTTPS ဖြင့် ဝန်ဆောင်မှုပေးရန် TLS certificate (PEM) သို့ လမ်းကြောင်း (OMNIROUTE_TLS_CERT လည်းဖြစ်သည်)",
|
||||
"tls_key": "HTTPS ဖြင့် ဝန်ဆောင်မှုပေးရန် TLS private key (PEM) သို့ လမ်းကြောင်း (OMNIROUTE_TLS_KEY လည်းဖြစ်သည်)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP ဆာဗာ လည်ပတ်နေသည် ({transport})",
|
||||
"stopped": "MCP ဆာဗာ ရပ်တန့်သွားပါပြီ။",
|
||||
"restarted": "MCP ဆာဗာကို ပြန်လည်စတင်ပြီးပါပြီ။",
|
||||
"stoppedHint": "၎င်းကို ဖွင့်ရန် `omniroute mcp enable` ကို လုပ်ဆောင်ပါ။",
|
||||
"enabled": "MCP ဆာဗာကို ဖွင့်ထားသည်။",
|
||||
"disabled": "MCP ဆာဗာကို ပိတ်ထားသည်။",
|
||||
"enable": {
|
||||
"description": "MCP ဆာဗာကို ဖွင့်ရန်",
|
||||
"transport": "အသုံးပြုမည့် ပို့ဆောင်မှုနည်းလမ်း: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP ဆာဗာကို ပိတ်ရန်"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP ကိရိယာတစ်ခုကို တိုက်ရိုက် ခေါ်ယူအသုံးပြုရန်",
|
||||
"args": "JSON အငြင်းပွားဖွယ်ရာ အရာဝတ္ထု (စာကြောင်းအတွင်း)",
|
||||
@@ -633,7 +644,7 @@
|
||||
"content": "Memory စာသားအကြောင်းအရာ",
|
||||
"file": "ဖိုင်မှ အကြောင်းအရာကို ဖတ်ရန်",
|
||||
"type": "Memory အမျိုးအစား (မူလသတ်မှတ်ချက်: user)",
|
||||
"metadata": "JSON metadata object",
|
||||
"metadata": "JSON မက်တာဒေတာ အရာဝတ္ထု",
|
||||
"api_key": "API key နှင့် ချိတ်ဆက်ရန်"
|
||||
},
|
||||
"clear": {
|
||||
@@ -667,7 +678,7 @@
|
||||
},
|
||||
"start": {
|
||||
"description": "provider တစ်ခုအတွက် OAuth ခွင့်ပြုချက် flow ကို စတင်ရန်",
|
||||
"provider": "Provider ID (gemini, copilot, cursor, …)",
|
||||
"provider": "ပံ့ပိုးသူ ID (gemini, copilot, cursor, …)",
|
||||
"no_browser": "URL ကိုသာ ဖော်ပြရန် — browser ကို မဖွင့်ပါနှင့်",
|
||||
"import_system": "စက်တွင်း system config မှ အထောက်အထားများကို အလိုအလျောက် ထည့်သွင်းရန်",
|
||||
"social": "Social login provider (google|github) — kiro အတွက် လိုအပ်သည်",
|
||||
@@ -704,7 +715,7 @@
|
||||
"prompt_file": "ဖိုင်မှ prompt ကို ဖတ်ရန်",
|
||||
"repo": "လုပ်ဆောင်စရာအတွက် clone ပြုလုပ်မည့် repository URL",
|
||||
"branch": "အသုံးပြုမည့် branch အမည်",
|
||||
"metadata": "JSON metadata object"
|
||||
"metadata": "JSON မက်တာဒေတာ အရာဝတ္ထု"
|
||||
},
|
||||
"list": {
|
||||
"description": "agent လုပ်ဆောင်စရာများကို စာရင်းပြုရန်",
|
||||
@@ -1268,7 +1279,7 @@
|
||||
"description": "LLM ဖြင့် အပြန်အလှန် ဆွေးနွေးမှုအကြိမ်များစွာ ပြုလုပ်နိုင်သော REPL",
|
||||
"model": "အသုံးပြုမည့် မော်ဒယ် (ပုံသေ- auto)",
|
||||
"combo": "အသုံးပြုမည့် Combo အမည်",
|
||||
"system": "System prompt",
|
||||
"system": "စနစ်ညွှန်ကြားချက်",
|
||||
"resume": "သိမ်းဆည်းထားသော session ကို အမည်ဖြင့် ပြန်လည်စတင်ရန်"
|
||||
},
|
||||
"plugin": {
|
||||
|
||||
@@ -226,11 +226,11 @@
|
||||
"description": "OmniRoute मा एकपटकको chat prompt पठाउनुहोस्",
|
||||
"file": "file बाट prompt पढ्नुहोस्",
|
||||
"stdin": "stdin बाट prompt पढ्नुहोस्",
|
||||
"system": "System prompt",
|
||||
"system": "प्रणाली प्रम्प्ट",
|
||||
"model": "Model ID (पूर्वनिर्धारित: auto)",
|
||||
"max_tokens": "response मा अधिकतम tokens",
|
||||
"temperature": "sampling temperature (0–2)",
|
||||
"top_p": "Top-p nucleus sampling",
|
||||
"top_p": "Top-p न्युक्लियस नमुना चयन",
|
||||
"reasoning_effort": "तर्क प्रयासको स्तर (low|medium|high)",
|
||||
"thinking_budget": "विस्तारित सोचाइको token बजेट",
|
||||
"combo": "नामद्वारा कुनै विशिष्ट combo प्रयोग गर्न बाध्य पार्नुहोस्",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "प्रयास छोड्नुअघि 30s भित्र क्र्यासपछि पुनः सुरु गर्ने अधिकतम सङ्ख्या (पूर्वनिर्धारित: 2)",
|
||||
"tray": "सिस्टम ट्रेमा सुरु गर्नुहोस् (डेस्कटपमा मात्र, स्वैच्छिक)",
|
||||
"no_tray": "सिस्टम ट्रे आइकन असक्षम गर्नुहोस्",
|
||||
"ready_timeout": "मिलिसेकेन्डमा तत्परता प्रोबको समयसीमा (OMNIROUTE_READY_TIMEOUT_MS पनि, पूर्वनिर्धारित 60000)",
|
||||
"tls_cert": "HTTPS सेवा दिन TLS प्रमाणपत्र (PEM) को पथ (OMNIROUTE_TLS_CERT पनि)",
|
||||
"tls_key": "HTTPS सेवा दिन TLS निजी कुञ्जी (PEM) को पथ (OMNIROUTE_TLS_KEY पनि)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP सर्भर चलिरहेको छ ({transport})",
|
||||
"stopped": "MCP सर्भर रोकियो।",
|
||||
"restarted": "MCP सर्भर पुनः सुरु गरियो।",
|
||||
"stoppedHint": "यसलाई सक्रिय गर्न `omniroute mcp enable` चलाउनुहोस्।",
|
||||
"enabled": "MCP सर्भर सक्रिय गरियो।",
|
||||
"disabled": "MCP सर्भर निष्क्रिय गरियो।",
|
||||
"enable": {
|
||||
"description": "MCP सर्भर सक्रिय गर्नुहोस्",
|
||||
"transport": "प्रयोग गर्ने ट्रान्सपोर्ट: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP सर्भर निष्क्रिय गर्नुहोस्"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP उपकरणलाई सिधै आह्वान गर्नुहोस्",
|
||||
"args": "JSON आर्गुमेन्ट अब्जेक्ट (इनलाइन)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ହାର ମାନିବା ପୂର୍ବରୁ 30s ମଧ୍ୟରେ ସର୍ବାଧିକ କ୍ରାଶ୍ ପୁନଃଆରମ୍ଭ ସଂଖ୍ୟା (ଡିଫଲ୍ଟ: 2)",
|
||||
"tray": "ସିଷ୍ଟମ୍ ଟ୍ରେରେ ଆରମ୍ଭ କରନ୍ତୁ (କେବଳ ଡେସ୍କଟପ୍, ଇଚ୍ଛାଧୀନ)",
|
||||
"no_tray": "ସିଷ୍ଟମ୍ ଟ୍ରେ ଆଇକନ୍ ଅକ୍ଷମ କରନ୍ତୁ",
|
||||
"ready_timeout": "ମିଲିସେକେଣ୍ଡରେ ପ୍ରସ୍ତୁତି ପ୍ରୋବ୍ର ସମୟସୀମା (OMNIROUTE_READY_TIMEOUT_MS ମଧ୍ୟ, ଡିଫଲ୍ଟ 60000)",
|
||||
"tls_cert": "HTTPS ପରିବେଷଣ ପାଇଁ TLS ସର୍ଟିଫିକେଟ୍ (PEM)ର ପଥ (OMNIROUTE_TLS_CERT ମଧ୍ୟ)",
|
||||
"tls_key": "HTTPS ପରିବେଷଣ ପାଇଁ TLS ବ୍ୟକ୍ତିଗତ କୀ (PEM)ର ପଥ (OMNIROUTE_TLS_KEY ମଧ୍ୟ)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP ସର୍ଭର ଚାଲୁଛି ({transport})",
|
||||
"stopped": "MCP ସର୍ଭର ବନ୍ଦ ହୋଇଛି।",
|
||||
"restarted": "MCP ସର୍ଭର ପୁନଃଚାଲୁ ହୋଇଛି।",
|
||||
"stoppedHint": "ଏହାକୁ ସକ୍ରିୟ କରିବା ପାଇଁ `omniroute mcp enable` ଚଲାନ୍ତୁ।",
|
||||
"enabled": "MCP ସର୍ଭର୍ ସକ୍ରିୟ ହୋଇଛି।",
|
||||
"disabled": "MCP ସର୍ଭର୍ ନିଷ୍କ୍ରିୟ ହୋଇଛି।",
|
||||
"enable": {
|
||||
"description": "MCP ସର୍ଭର୍କୁ ସକ୍ରିୟ କରନ୍ତୁ",
|
||||
"transport": "ବ୍ୟବହାର କରିବାକୁ ଥିବା ପରିବହନ: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP ସର୍ଭର୍କୁ ନିଷ୍କ୍ରିୟ କରନ୍ତୁ"
|
||||
},
|
||||
"call": {
|
||||
"description": "ସିଧାସଳଖ ଏକ MCP ଟୁଲ୍ ଆହ୍ୱାନ କରନ୍ତୁ",
|
||||
"args": "JSON ଆର୍ଗୁମେଣ୍ଟ ଅବଜେକ୍ଟ (ଇନ୍ଲାଇନ୍)",
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "ਹਾਰ ਮੰਨਣ ਤੋਂ ਪਹਿਲਾਂ 30s ਦੇ ਅੰਦਰ ਕ੍ਰੈਸ਼ ਤੋਂ ਬਾਅਦ ਮੁੜ-ਚਾਲੂ ਕਰਨ ਦੀ ਵੱਧ ਤੋਂ ਵੱਧ ਗਿਣਤੀ (ਡਿਫਾਲਟ: 2)",
|
||||
"tray": "ਸਿਸਟਮ ਟਰੇ ਵਿੱਚ ਸ਼ੁਰੂ ਕਰੋ (ਸਿਰਫ਼ ਡੈਸਕਟਾਪ, ਚੋਣਵਾਂ)",
|
||||
"no_tray": "ਸਿਸਟਮ ਟਰੇ ਆਈਕਨ ਅਸਮਰੱਥ ਕਰੋ",
|
||||
"ready_timeout": "ਰੈਡੀਨੈੱਸ ਪ੍ਰੋਬ ਦਾ ਟਾਈਮਆਉਟ ਮਿਲੀਸਕਿੰਟਾਂ ਵਿੱਚ (OMNIROUTE_READY_TIMEOUT_MS ਵੀ, ਡਿਫਾਲਟ 60000)",
|
||||
"tls_cert": "HTTPS ਸਰਵ ਕਰਨ ਲਈ TLS ਸਰਟੀਫਿਕੇਟ (PEM) ਦਾ ਪਾਥ (OMNIROUTE_TLS_CERT ਵੀ)",
|
||||
"tls_key": "HTTPS ਸਰਵ ਕਰਨ ਲਈ TLS ਨਿੱਜੀ ਕੁੰਜੀ (PEM) ਦਾ ਪਾਥ (OMNIROUTE_TLS_KEY ਵੀ)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP ਸਰਵਰ ਚੱਲ ਰਿਹਾ ਹੈ ({transport})",
|
||||
"stopped": "MCP ਸਰਵਰ ਰੋਕਿਆ ਗਿਆ।",
|
||||
"restarted": "MCP ਸਰਵਰ ਮੁੜ ਚਾਲੂ ਕੀਤਾ ਗਿਆ।",
|
||||
"stoppedHint": "ਇਸਨੂੰ ਚਾਲੂ ਕਰਨ ਲਈ `omniroute mcp enable` ਚਲਾਓ।",
|
||||
"enabled": "MCP ਸਰਵਰ ਚਾਲੂ ਹੈ।",
|
||||
"disabled": "MCP ਸਰਵਰ ਬੰਦ ਹੈ।",
|
||||
"enable": {
|
||||
"description": "MCP ਸਰਵਰ ਚਾਲੂ ਕਰੋ",
|
||||
"transport": "ਵਰਤਣ ਲਈ ਟ੍ਰਾਂਸਪੋਰਟ: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP ਸਰਵਰ ਬੰਦ ਕਰੋ"
|
||||
},
|
||||
"call": {
|
||||
"description": "ਕਿਸੇ MCP ਟੂਲ ਨੂੰ ਸਿੱਧੇ ਚਲਾਓ",
|
||||
"args": "JSON ਆਰਗੂਮੈਂਟ ਆਬਜੈਕਟ (ਇਨਲਾਈਨ)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@
|
||||
"opencode": "Instala e configura o plugin @omniroute/opencode-plugin incluído para o OpenCode"
|
||||
},
|
||||
"doctor": {
|
||||
"title": "OmniRoute Doctor",
|
||||
"title": "Diagnóstico do OmniRoute",
|
||||
"dbOk": "Banco de dados: OK ({path})",
|
||||
"dbMissing": "Banco de dados: não inicializado — execute `omniroute setup`",
|
||||
"portOk": "Porta {port}: disponível",
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Máximo de reinícios em 30s antes de desistir (padrão: 2)",
|
||||
"tray": "Mostrar ícone na bandeja do sistema (apenas desktop, opt-in)",
|
||||
"no_tray": "Desabilitar ícone na bandeja do sistema",
|
||||
"ready_timeout": "Tempo limite da verificação de prontidão em ms (também OMNIROUTE_READY_TIMEOUT_MS, padrão 60000)",
|
||||
"tls_cert": "Caminho para um certificado TLS (PEM) para servir HTTPS (também OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Caminho para a chave privada TLS (PEM) para servir HTTPS (também OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -301,7 +302,7 @@
|
||||
"noServer": "Servidor não está em execução. Inicie com: omniroute serve",
|
||||
"title": "Saúde",
|
||||
"status": "Status: {status}",
|
||||
"uptime": "Uptime: {uptime}",
|
||||
"uptime": "Tempo de atividade: {uptime}",
|
||||
"requests": "Requisições (24h): {count}",
|
||||
"cost": "Custo (24h): ${cost}"
|
||||
},
|
||||
@@ -344,6 +345,19 @@
|
||||
},
|
||||
"mcp": {
|
||||
"title": "Servidor MCP",
|
||||
"running": "Servidor MCP em execução ({transport})",
|
||||
"stopped": "Servidor MCP parado.",
|
||||
"restarted": "Servidor MCP reiniciado.",
|
||||
"stoppedHint": "Execute `omniroute mcp enable` para ativá-lo.",
|
||||
"enabled": "Servidor MCP ativado.",
|
||||
"disabled": "Servidor MCP desativado.",
|
||||
"enable": {
|
||||
"description": "Ativar o servidor MCP",
|
||||
"transport": "Transporte a ser usado: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Desativar o servidor MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Invocar uma ferramenta MCP diretamente",
|
||||
"args": "Objeto JSON de argumentos (inline)",
|
||||
@@ -371,10 +385,7 @@
|
||||
},
|
||||
"audit": {
|
||||
"description": "Log de auditoria MCP (alias para audit --source mcp)"
|
||||
},
|
||||
"running": "Servidor MCP em execução ({transport})",
|
||||
"stopped": "Servidor MCP parado.",
|
||||
"restarted": "Servidor MCP reiniciado."
|
||||
}
|
||||
},
|
||||
"a2a": {
|
||||
"skills": {
|
||||
@@ -1093,7 +1104,7 @@
|
||||
}
|
||||
},
|
||||
"combo": {
|
||||
"title": "Combos",
|
||||
"title": "Combinações",
|
||||
"switched": "Combo ativo: {name}",
|
||||
"created": "Combo criado: {name}",
|
||||
"deleted": "Combo removido: {name}",
|
||||
@@ -1268,7 +1279,7 @@
|
||||
"description": "REPL interativo multi-turn com LLM",
|
||||
"model": "Modelo a usar (padrão: auto)",
|
||||
"combo": "Nome do combo a usar",
|
||||
"system": "System prompt",
|
||||
"system": "Prompt do sistema",
|
||||
"resume": "Retomar sessão salva pelo nome"
|
||||
},
|
||||
"plugin": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "අත්හැරීමට පෙර තත්පර 30ක් තුළ සිදු කළ හැකි උපරිම බිඳවැටීම්-පසු නැවත ආරම්භ කිරීම් ගණන (පෙරනිමිය: 2)",
|
||||
"tray": "පද්ධති ට්රේ තුළ ආරම්භ කරන්න (ඩෙස්ක්ටොප් සඳහා පමණි, කැමැත්තෙන් සක්රිය කළ යුතුය)",
|
||||
"no_tray": "පද්ධති ට්රේ නිරූපකය අක්රිය කරන්න",
|
||||
"ready_timeout": "සූදානම්දැයි පරීක්ෂා කිරීමේ කල් ඉකුත්වීම ms වලින් (OMNIROUTE_READY_TIMEOUT_MS ද අදාළ වේ, පෙරනිමිය 60000)",
|
||||
"tls_cert": "HTTPS සේවය සැපයීම සඳහා TLS සහතිකයකට (PEM) ඇති මාර්ගය (OMNIROUTE_TLS_CERT ද අදාළ වේ)",
|
||||
"tls_key": "HTTPS සේවය සැපයීම සඳහා TLS පුද්ගලික යතුරට (PEM) ඇති මාර්ගය (OMNIROUTE_TLS_KEY ද අදාළ වේ)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP සේවාදායකය ක්රියාත්මකයි ({transport})",
|
||||
"stopped": "MCP සේවාදායකය නවතා ඇත.",
|
||||
"restarted": "MCP සේවාදායකය නැවත ආරම්භ කරන ලදී.",
|
||||
"stoppedHint": "එය සක්රීය කිරීමට `omniroute mcp enable` ධාවනය කරන්න.",
|
||||
"enabled": "MCP සේවාදායකය සක්රීය කර ඇත.",
|
||||
"disabled": "MCP සේවාදායකය අක්රීය කර ඇත.",
|
||||
"enable": {
|
||||
"description": "MCP සේවාදායකය සක්රීය කරන්න",
|
||||
"transport": "භාවිත කළ යුතු ප්රවාහන ක්රමය: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP සේවාදායකය අක්රීය කරන්න"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP මෙවලමක් සෘජුවම කැඳවන්න",
|
||||
"args": "JSON තර්ක වස්තුව (පේළිය තුළ)",
|
||||
@@ -1093,7 +1104,7 @@
|
||||
}
|
||||
},
|
||||
"combo": {
|
||||
"title": "Combos",
|
||||
"title": "සංයෝජන",
|
||||
"switched": "සක්රිය combo එක: {name}",
|
||||
"created": "Combo එක සාදන ලදී: {name}",
|
||||
"deleted": "Combo එක මකා දමන ලදී: {name}",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Največje število ponovnih zagonov po sesutju v 30 s, preden se poskušanje opusti (privzeto: 2)",
|
||||
"tray": "Zaženi v sistemski vrstici (samo za namizne sisteme, po izbiri)",
|
||||
"no_tray": "Onemogoči ikono sistemske vrstice",
|
||||
"ready_timeout": "Časovna omejitev preverjanja pripravljenosti v ms (tudi OMNIROUTE_READY_TIMEOUT_MS, privzeto 60000)",
|
||||
"tls_cert": "Pot do potrdila TLS (PEM) za streženje prek HTTPS (tudi OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Pot do zasebnega ključa TLS (PEM) za streženje prek HTTPS (tudi OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Strežnik MCP deluje ({transport})",
|
||||
"stopped": "Strežnik MCP je ustavljen.",
|
||||
"restarted": "Strežnik MCP je znova zagnan.",
|
||||
"stoppedHint": "Za vklop zaženite `omniroute mcp enable`.",
|
||||
"enabled": "Strežnik MCP je omogočen.",
|
||||
"disabled": "Strežnik MCP je onemogočen.",
|
||||
"enable": {
|
||||
"description": "Omogoči strežnik MCP",
|
||||
"transport": "Prenos, ki naj se uporabi: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Onemogoči strežnik MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Neposredno prikliči orodje MCP",
|
||||
"args": "Objekt argumentov JSON (v vrstici)",
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Maksimalan broj ponovnih pokretanja pri padu u toku 30s pre odustajanja (podrazumevano: 2)",
|
||||
"tray": "Покретање у системској траци (само десктоп, опционо)",
|
||||
"no_tray": "Онемогући икону у системској траци",
|
||||
"ready_timeout": "Временско ограничење провере спремности у ms (такође OMNIROUTE_READY_TIMEOUT_MS, подразумевано 60000)",
|
||||
"tls_cert": "Путања до TLS сертификата (PEM) за HTTPS (такође OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Путања до TLS приватног кључа (PEM) за HTTPS (такође OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -300,7 +301,7 @@
|
||||
"description": "Провери здравље сервера и статус компоненти",
|
||||
"noServer": "Сервер није покренут. Покрените са: omniroute serve",
|
||||
"title": "Здравље",
|
||||
"status": "Status: {status}",
|
||||
"status": "Статус: {status}",
|
||||
"uptime": "Vreme rada: {uptime}",
|
||||
"requests": "Zahtevi (24h): {count}",
|
||||
"cost": "Trošak (24h): ${cost}"
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP server je pokrenut ({transport})",
|
||||
"stopped": "MCP server je zaustavljen.",
|
||||
"restarted": "MCP server je ponovo pokrenut.",
|
||||
"stoppedHint": "Покрените `omniroute mcp enable` да бисте га укључили.",
|
||||
"enabled": "MCP сервер је омогућен.",
|
||||
"disabled": "MCP сервер је онемогућен.",
|
||||
"enable": {
|
||||
"description": "Омогући MCP сервер",
|
||||
"transport": "Протокол за пренос: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Онемогући MCP сервер"
|
||||
},
|
||||
"call": {
|
||||
"description": "Direktno pozovi MCP alat",
|
||||
"args": "JSON objekat argumenata (inline)",
|
||||
@@ -810,7 +821,7 @@
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"description": "OmniRoute — Smart AI Router with Auto Fallback",
|
||||
"description": "OmniRoute — паметни AI рутер са аутоматским пребацивањем на резервну опцију",
|
||||
"version": "Прикажи верзију и изађи",
|
||||
"output": "Формат излаза (table, json, jsonl, csv)",
|
||||
"quiet": "Сакрий небитан излаз",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Taslim bo‘lishdan oldin 30 soniya ichidagi nosozlikdan keyingi qayta ishga tushirishlarning maksimal soni (standart: 2)",
|
||||
"tray": "Tizim treyida ishga tushirish (faqat ish stoli versiyasida, ixtiyoriy)",
|
||||
"no_tray": "Tizim treyi belgisini o‘chirish",
|
||||
"ready_timeout": "Tayyorlik tekshiruvi uchun kutish vaqti, ms (shuningdek OMNIROUTE_READY_TIMEOUT_MS, standart qiymat 60000)",
|
||||
"tls_cert": "HTTPS orqali xizmat ko‘rsatish uchun TLS sertifikati (PEM) yo‘li (shuningdek, OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "HTTPS orqali xizmat ko‘rsatish uchun TLS maxfiy kaliti (PEM) yo‘li (shuningdek, OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "MCP serveri ishlamoqda ({transport})",
|
||||
"stopped": "MCP serveri toʻxtatildi.",
|
||||
"restarted": "MCP serveri qayta ishga tushirildi.",
|
||||
"stoppedHint": "Uni yoqish uchun `omniroute mcp enable` buyrugʻini ishga tushiring.",
|
||||
"enabled": "MCP serveri yoqildi.",
|
||||
"disabled": "MCP serveri oʻchirildi.",
|
||||
"enable": {
|
||||
"description": "MCP serverini yoqish",
|
||||
"transport": "Foydalaniladigan transport: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "MCP serverini oʻchirish"
|
||||
},
|
||||
"call": {
|
||||
"description": "MCP vositasini bevosita chaqirish",
|
||||
"args": "JSON argumentlar obyekti (ichki)",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -256,6 +256,7 @@
|
||||
"max_restarts": "Iye ìtunbẹ̀rẹ̀ lẹ́yìn ìkọ̀lù tó pọ̀ jù láàárín 30s kí ó tó jáwọ́ (àìyípadà: 2)",
|
||||
"tray": "Bẹ̀rẹ̀ nínú atẹ eto (dẹ́sítọ́ọ̀pù nìkan, àṣàyàn ni)",
|
||||
"no_tray": "Pa àmì atẹ eto rẹ́",
|
||||
"ready_timeout": "Àkókò ìdádúró tó pọ̀ jù fún àyẹ̀wò ìmúrasílẹ̀ ní ms (bákan náà OMNIROUTE_READY_TIMEOUT_MS, àìyípadà 60000)",
|
||||
"tls_cert": "Ọ̀nà sí ìwé-ẹ̀rí TLS kan (PEM) láti pèsè HTTPS (bákan náà OMNIROUTE_TLS_CERT)",
|
||||
"tls_key": "Ọ̀nà sí kọ́kọ́rọ́ àdáni TLS (PEM) láti pèsè HTTPS (bákan náà OMNIROUTE_TLS_KEY)"
|
||||
},
|
||||
@@ -347,6 +348,16 @@
|
||||
"running": "Olùpín MCP ń ṣiṣẹ́ ({transport})",
|
||||
"stopped": "Olùpín MCP ti dá iṣẹ́ dúró.",
|
||||
"restarted": "A ti tún olùpín MCP bẹ̀rẹ̀.",
|
||||
"stoppedHint": "Ṣe `omniroute mcp enable` láti mú un ṣiṣẹ́.",
|
||||
"enabled": "A ti mú olupin MCP ṣiṣẹ́.",
|
||||
"disabled": "A ti pa olupin MCP.",
|
||||
"enable": {
|
||||
"description": "Mú olupin MCP ṣiṣẹ́",
|
||||
"transport": "Ọ̀nà ìgbéṣùmọ̀ tí a ó lò: stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "Pa olupin MCP"
|
||||
},
|
||||
"call": {
|
||||
"description": "Pe ohun èlò MCP kan ní tààrà",
|
||||
"args": "Ohun àríyànjiyàn JSON (níbẹ̀-níbẹ̀)",
|
||||
|
||||
@@ -14,18 +14,6 @@
|
||||
"jsonOpt": "以 JSON 格式输出",
|
||||
"yesOpt": "跳过确认"
|
||||
},
|
||||
"program": {
|
||||
"description": "OmniRoute — 具有自动故障转移的智能 AI 路由器",
|
||||
"version": "打印版本并退出",
|
||||
"output": "输出格式(table, json, jsonl, csv)",
|
||||
"quiet": "禁止非必要输出",
|
||||
"no_color": "禁用彩色输出",
|
||||
"timeout": "HTTP 请求超时(毫秒)",
|
||||
"api_key": "OmniRoute 服务器的 API 密钥",
|
||||
"base_url": "OmniRoute 服务器的基础 URL",
|
||||
"context": "此命令使用的服务器上下文/配置文件",
|
||||
"lang": "设置 CLI 显示语言(覆盖 OMNIROUTE_LANG)"
|
||||
},
|
||||
"setup": {
|
||||
"title": "OmniRoute 设置",
|
||||
"passwordPrompt": "管理员密码",
|
||||
@@ -145,6 +133,20 @@
|
||||
"listTitle": "{days} 天内过期的密钥:"
|
||||
}
|
||||
},
|
||||
"authExport": {
|
||||
"description": "导出已解密的提供者凭据(仅限本地,明文输出)",
|
||||
"idOpt": "仅导出与此 id/名称/提供者匹配的连接",
|
||||
"formatOpt": "输出格式:json 或 env",
|
||||
"outOpt": "将输出写入文件而非标准输出(以 0600 权限写入)",
|
||||
"forceOpt": "确认你了解此操作会打印/写入明文密钥",
|
||||
"warning": "⚠ 此操作会打印/写入已解密的明文 API 密钥和 OAuth 令牌。请确保你的屏幕、shell 历史记录以及任何输出文件保持私密。",
|
||||
"confirmHeading": "⚠ 警告:此操作会以明文导出已解密的提供者凭据",
|
||||
"confirmBody": "此命令会为所选连接解密并打印/写入 apiKey、accessToken、refreshToken 和\nidToken。请将输出视为机密。",
|
||||
"confirmFooter": "如需确认,请运行:\n omniroute auth export --force",
|
||||
"missingKey": "导出凭据需要 STORAGE_ENCRYPTION_KEY。",
|
||||
"notFound": "未找到连接:{id}",
|
||||
"invalidFormat": "无效格式:{format}。请使用 json 或 env。"
|
||||
},
|
||||
"stream": {
|
||||
"description": "使用 SSE 检查模式流式传输聊天响应",
|
||||
"file": "从文件读取提示",
|
||||
@@ -302,7 +304,7 @@
|
||||
"status": "状态:{status}",
|
||||
"uptime": "运行时间:{uptime}",
|
||||
"requests": "请求数(24h):{count}",
|
||||
"cost": "成本(24h):"
|
||||
"cost": "成本(24h):${cost}"
|
||||
},
|
||||
"quota": {
|
||||
"description": "显示提供者配额使用情况",
|
||||
@@ -346,6 +348,16 @@
|
||||
"running": "MCP 服务器正在运行({transport})",
|
||||
"stopped": "MCP 服务器已停止。",
|
||||
"restarted": "MCP 服务器已重启。",
|
||||
"stoppedHint": "运行 `omniroute mcp enable` 以启用它。",
|
||||
"enabled": "MCP 服务器已启用。",
|
||||
"disabled": "MCP 服务器已禁用。",
|
||||
"enable": {
|
||||
"description": "启用 MCP 服务器",
|
||||
"transport": "要使用的传输方式:stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "禁用 MCP 服务器"
|
||||
},
|
||||
"call": {
|
||||
"description": "直接调用 MCP 工具",
|
||||
"args": "JSON 参数对象(内联)",
|
||||
@@ -808,6 +820,18 @@
|
||||
"event": "要模拟的事件类型(默认:request.completed)"
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"description": "OmniRoute — 具有自动故障转移的智能 AI 路由器",
|
||||
"version": "打印版本并退出",
|
||||
"output": "输出格式(table, json, jsonl, csv)",
|
||||
"quiet": "禁止非必要输出",
|
||||
"no_color": "禁用彩色输出",
|
||||
"timeout": "HTTP 请求超时(毫秒)",
|
||||
"api_key": "OmniRoute 服务器的 API 密钥",
|
||||
"base_url": "OmniRoute 服务器的基础 URL",
|
||||
"context": "此命令使用的服务器上下文/配置文件",
|
||||
"lang": "设置 CLI 显示语言(覆盖 OMNIROUTE_LANG)"
|
||||
},
|
||||
"files": {
|
||||
"description": "管理文件(上传、列出、获取、下载、删除)",
|
||||
"list": {
|
||||
@@ -908,6 +932,11 @@
|
||||
"model": "按模型筛选"
|
||||
}
|
||||
},
|
||||
"radar": {
|
||||
"description": "检查并同步本地 Radar 目录订阅源",
|
||||
"status": "显示本地 Radar 设置和订阅源缓存状态",
|
||||
"sync": "通过本地服务器同步目录、推荐、优惠和 Intel"
|
||||
},
|
||||
"resilience": {
|
||||
"description": "检查和管理弹性机制",
|
||||
"status": {
|
||||
@@ -1235,8 +1264,8 @@
|
||||
"description": "管理 OmniRoute 开机自启(Linux:systemd 用户服务)",
|
||||
"enable": "启用开机自启",
|
||||
"disable": "禁用开机自启",
|
||||
"status": "显示自启状态",
|
||||
"toggle": "切换开机自启"
|
||||
"toggle": "切换开机自启",
|
||||
"status": "显示自启状态"
|
||||
},
|
||||
"runtime": {
|
||||
"description": "管理本地运行时依赖",
|
||||
@@ -1263,25 +1292,6 @@
|
||||
"update": "更新已安装的插件",
|
||||
"scaffold": "搭建新的插件模板"
|
||||
},
|
||||
"authExport": {
|
||||
"description": "导出已解密的提供者凭据(仅限本地,明文输出)",
|
||||
"idOpt": "仅导出与此 id/名称/提供者匹配的连接",
|
||||
"formatOpt": "输出格式:json 或 env",
|
||||
"outOpt": "将输出写入文件而非标准输出(以 0600 权限写入)",
|
||||
"forceOpt": "确认你了解此操作会打印/写入明文密钥",
|
||||
"warning": "⚠ 此操作会打印/写入已解密的明文 API 密钥和 OAuth 令牌。请确保你的屏幕、shell 历史记录以及任何输出文件保持私密。",
|
||||
"confirmHeading": "⚠ 警告:此操作会以明文导出已解密的提供者凭据",
|
||||
"confirmBody": "此命令会为所选连接解密并打印/写入 apiKey、accessToken、refreshToken 和\nidToken。请将输出视为机密。",
|
||||
"confirmFooter": "如需确认,请运行:\n omniroute auth export --force",
|
||||
"missingKey": "导出凭据需要 STORAGE_ENCRYPTION_KEY。",
|
||||
"notFound": "未找到连接:{id}",
|
||||
"invalidFormat": "无效格式:{format}。请使用 json 或 env。"
|
||||
},
|
||||
"radar": {
|
||||
"description": "检查并同步本地 Radar 目录订阅源",
|
||||
"status": "显示本地 Radar 设置和订阅源缓存状态",
|
||||
"sync": "通过本地服务器同步目录、推荐、优惠和 Intel"
|
||||
},
|
||||
"launch": {
|
||||
"description": "启动指向 OmniRoute 的 Claude Code(本地或远程,使用 --profile)",
|
||||
"token": "Claude 客户端应发送的令牌(ANTHROPIC_AUTH_TOKEN)",
|
||||
|
||||
@@ -14,18 +14,6 @@
|
||||
"jsonOpt": "以 JSON 格式輸出",
|
||||
"yesOpt": "跳過確認"
|
||||
},
|
||||
"program": {
|
||||
"description": "OmniRoute — 具有自動故障轉移的智慧 AI 路由器",
|
||||
"version": "列印版本並退出",
|
||||
"output": "輸出格式(table, json, jsonl, csv)",
|
||||
"quiet": "禁止非必要輸出",
|
||||
"no_color": "停用彩色輸出",
|
||||
"timeout": "HTTP 請求超時(毫秒)",
|
||||
"api_key": "OmniRoute 伺服器的 API 金鑰",
|
||||
"base_url": "OmniRoute 伺服器的基礎 URL",
|
||||
"context": "此命令使用的伺服器上下文/配置檔案",
|
||||
"lang": "設定 CLI 顯示語言(覆蓋 OMNIROUTE_LANG)"
|
||||
},
|
||||
"setup": {
|
||||
"title": "OmniRoute 設定",
|
||||
"passwordPrompt": "管理員密碼",
|
||||
@@ -145,6 +133,20 @@
|
||||
"listTitle": "{days} 天內過期的金鑰:"
|
||||
}
|
||||
},
|
||||
"authExport": {
|
||||
"description": "匯出已解密的提供者憑據(僅限本機,明文輸出)",
|
||||
"idOpt": "僅匯出與此 id/名稱/提供者相符的連線",
|
||||
"formatOpt": "輸出格式:json 或 env",
|
||||
"outOpt": "將輸出寫入檔案而非標準輸出(以 0600 權限寫入)",
|
||||
"forceOpt": "確認你了解此操作會列印/寫入明文密鑰",
|
||||
"warning": "⚠ 此操作會列印/寫入已解密的明文 API 金鑰和 OAuth 令牌。請確保你的螢幕、shell 歷史記錄以及任何輸出檔案保持私密。",
|
||||
"confirmHeading": "⚠ 警告:此操作會以明文匯出已解密的提供者憑據",
|
||||
"confirmBody": "此命令會為所選連線解密並列印/寫入 apiKey、accessToken、refreshToken 和\nidToken。請將輸出視為機密。",
|
||||
"confirmFooter": "如需確認,請執行:\n omniroute auth export --force",
|
||||
"missingKey": "匯出憑據需要 STORAGE_ENCRYPTION_KEY。",
|
||||
"notFound": "找不到連線:{id}",
|
||||
"invalidFormat": "無效格式:{format}。請使用 json 或 env。"
|
||||
},
|
||||
"stream": {
|
||||
"description": "使用 SSE 檢查模式流式傳輸聊天響應",
|
||||
"file": "從檔案讀取提示",
|
||||
@@ -302,7 +304,7 @@
|
||||
"status": "狀態:{status}",
|
||||
"uptime": "執行時間:{uptime}",
|
||||
"requests": "請求數(24h):{count}",
|
||||
"cost": "成本(24h):"
|
||||
"cost": "成本(24h):${cost}"
|
||||
},
|
||||
"quota": {
|
||||
"description": "顯示提供者配額使用情況",
|
||||
@@ -346,6 +348,16 @@
|
||||
"running": "MCP 伺服器正在執行({transport})",
|
||||
"stopped": "MCP 伺服器已停止。",
|
||||
"restarted": "MCP 伺服器已重啟。",
|
||||
"stoppedHint": "執行 `omniroute mcp enable` 以啟用它。",
|
||||
"enabled": "MCP 伺服器已啟用。",
|
||||
"disabled": "MCP 伺服器已停用。",
|
||||
"enable": {
|
||||
"description": "啟用 MCP 伺服器",
|
||||
"transport": "要使用的傳輸方式:stdio|sse|streamable-http"
|
||||
},
|
||||
"disable": {
|
||||
"description": "停用 MCP 伺服器"
|
||||
},
|
||||
"call": {
|
||||
"description": "直接呼叫 MCP 工具",
|
||||
"args": "JSON 引數物件(內聯)",
|
||||
@@ -808,6 +820,18 @@
|
||||
"event": "要模擬的事件型別(預設:request.completed)"
|
||||
}
|
||||
},
|
||||
"program": {
|
||||
"description": "OmniRoute — 具有自動故障轉移的智慧 AI 路由器",
|
||||
"version": "列印版本並退出",
|
||||
"output": "輸出格式(table, json, jsonl, csv)",
|
||||
"quiet": "禁止非必要輸出",
|
||||
"no_color": "停用彩色輸出",
|
||||
"timeout": "HTTP 請求超時(毫秒)",
|
||||
"api_key": "OmniRoute 伺服器的 API 金鑰",
|
||||
"base_url": "OmniRoute 伺服器的基礎 URL",
|
||||
"context": "此命令使用的伺服器上下文/配置檔案",
|
||||
"lang": "設定 CLI 顯示語言(覆蓋 OMNIROUTE_LANG)"
|
||||
},
|
||||
"files": {
|
||||
"description": "管理檔案(上傳、列出、獲取、下載、刪除)",
|
||||
"list": {
|
||||
@@ -908,6 +932,11 @@
|
||||
"model": "按模型篩選"
|
||||
}
|
||||
},
|
||||
"radar": {
|
||||
"description": "檢查並同步本機 Radar 目錄訂閱來源",
|
||||
"status": "顯示本機 Radar 設定和訂閱來源快取狀態",
|
||||
"sync": "透過本機伺服器同步目錄、推薦、優惠和 Intel"
|
||||
},
|
||||
"resilience": {
|
||||
"description": "檢查和管理彈性機制",
|
||||
"status": {
|
||||
@@ -1235,8 +1264,8 @@
|
||||
"description": "管理 OmniRoute 開機自啟(Linux:systemd 使用者服務)",
|
||||
"enable": "啟用開機自啟",
|
||||
"disable": "停用開機自啟",
|
||||
"status": "顯示自啟狀態",
|
||||
"toggle": "切換開機自啟"
|
||||
"toggle": "切換開機自啟",
|
||||
"status": "顯示自啟狀態"
|
||||
},
|
||||
"runtime": {
|
||||
"description": "管理本地執行時依賴",
|
||||
@@ -1263,25 +1292,6 @@
|
||||
"update": "更新已安裝的外掛",
|
||||
"scaffold": "搭建新的外掛模板"
|
||||
},
|
||||
"authExport": {
|
||||
"description": "匯出已解密的提供者憑據(僅限本機,明文輸出)",
|
||||
"idOpt": "僅匯出與此 id/名稱/提供者相符的連線",
|
||||
"formatOpt": "輸出格式:json 或 env",
|
||||
"outOpt": "將輸出寫入檔案而非標準輸出(以 0600 權限寫入)",
|
||||
"forceOpt": "確認你了解此操作會列印/寫入明文密鑰",
|
||||
"warning": "⚠ 此操作會列印/寫入已解密的明文 API 金鑰和 OAuth 令牌。請確保你的螢幕、shell 歷史記錄以及任何輸出檔案保持私密。",
|
||||
"confirmHeading": "⚠ 警告:此操作會以明文匯出已解密的提供者憑據",
|
||||
"confirmBody": "此命令會為所選連線解密並列印/寫入 apiKey、accessToken、refreshToken 和\nidToken。請將輸出視為機密。",
|
||||
"confirmFooter": "如需確認,請執行:\n omniroute auth export --force",
|
||||
"missingKey": "匯出憑據需要 STORAGE_ENCRYPTION_KEY。",
|
||||
"notFound": "找不到連線:{id}",
|
||||
"invalidFormat": "無效格式:{format}。請使用 json 或 env。"
|
||||
},
|
||||
"radar": {
|
||||
"description": "檢查並同步本機 Radar 目錄訂閱來源",
|
||||
"status": "顯示本機 Radar 設定和訂閱來源快取狀態",
|
||||
"sync": "透過本機伺服器同步目錄、推薦、優惠和 Intel"
|
||||
},
|
||||
"launch": {
|
||||
"description": "啟動指向 OmniRoute 的 Claude Code(本機或遠端,使用 --profile)",
|
||||
"token": "Claude 用戶端應傳送的令牌(ANTHROPIC_AUTH_TOKEN)",
|
||||
|
||||
@@ -14,6 +14,7 @@ import { stopProcessGracefully } from "../../../src/shared/platform/windowsProce
|
||||
import {
|
||||
isFatalInstrumentationHookFailure,
|
||||
formatAndroidInstrumentationFailureHint,
|
||||
isFatalStartupDiagnostic,
|
||||
} from "../utils/ensureAndroidCacheDir.mjs";
|
||||
|
||||
const CRASH_LOG_LINES = 50;
|
||||
@@ -55,12 +56,14 @@ export class ServerSupervisor {
|
||||
this.child = null;
|
||||
this.isShuttingDown = false;
|
||||
this.instrumentationFailureHintPrinted = false;
|
||||
this.fatalStartupDiagnosticPrinted = false;
|
||||
}
|
||||
|
||||
start() {
|
||||
this.startedAt = Date.now();
|
||||
this.crashLog = [];
|
||||
this.instrumentationFailureHintPrinted = false;
|
||||
this.fatalStartupDiagnosticPrinted = false;
|
||||
|
||||
const showLog = process.env.OMNIROUTE_SHOW_LOG === "1";
|
||||
// #6321: stdout used to be discarded (`"ignore"`) whenever `--log`/OMNIROUTE_SHOW_LOG
|
||||
@@ -99,6 +102,15 @@ export class ServerSupervisor {
|
||||
)
|
||||
);
|
||||
}
|
||||
// #13314: surface any `[STARTUP] Fatal:`-guarded boot diagnostic
|
||||
// immediately, even without --log — otherwise it is only buffered and
|
||||
// reaches the operator on exit/crash, which never happens when the
|
||||
// HTTP listener still comes up after the fatal failure (every route
|
||||
// then 500s with zero visible diagnostic anywhere).
|
||||
if (!this.fatalStartupDiagnosticPrinted && isFatalStartupDiagnostic(text)) {
|
||||
this.fatalStartupDiagnosticPrinted = true;
|
||||
process.stderr.write(text.endsWith("\n") ? text : `${text}\n`);
|
||||
}
|
||||
};
|
||||
|
||||
if (this.child.stdout) {
|
||||
|
||||
BIN
bin/cli/tray/icon.ico
Normal file
BIN
bin/cli/tray/icon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 286 B |
@@ -105,6 +105,27 @@ export function isFatalInstrumentationHookFailure(text) {
|
||||
return /Unsupported platform:\s*android/i.test(text);
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect any fatal boot-time diagnostic guarded by the `[STARTUP] Fatal:`
|
||||
* prefix (`src/instrumentation-node.ts::ensureDbReadyForBoot()`,
|
||||
* `src/instrumentation.ts::register()`, and any future guard using the same
|
||||
* marker). #13314: in the default `omniroute serve` mode (no `--log`),
|
||||
* `ServerSupervisor` only buffers stdout/stderr and flushes it to the real
|
||||
* console on exit/crash/readiness-timeout — so if the HTTP listener still
|
||||
* comes up after a fatal boot diagnostic was already printed (e.g. the
|
||||
* better-sqlite3 / node:sqlite driver cascade failing hard), the operator
|
||||
* sees "OmniRoute is running!" with zero visible diagnostic anywhere, and
|
||||
* every route 500s. This generalizes the #10028 Android/Termux carve-out to
|
||||
* every `[STARTUP] Fatal:` guard, not just that one platform-specific string.
|
||||
*
|
||||
* @param {string} text
|
||||
* @returns {boolean}
|
||||
*/
|
||||
export function isFatalStartupDiagnostic(text) {
|
||||
if (!text) return false;
|
||||
return /^\[STARTUP\] Fatal:/m.test(text);
|
||||
}
|
||||
|
||||
/**
|
||||
* Operator-facing hint when that instrumentation failure shows up in child
|
||||
* output — defense in depth if prep was skipped or a future Next.js probe
|
||||
|
||||
1
changelog.d/features/13448-adaptive-reasoning-effort.md
Normal file
1
changelog.d/features/13448-adaptive-reasoning-effort.md
Normal file
@@ -0,0 +1 @@
|
||||
- **feat(reasoning):** adaptive reasoning effort (`auto`) — the gateway resolves the thinking budget per user turn from deterministic request-shape signals (stateless per-turn pin) instead of forwarding a literal `auto`, applied at the gateway pre-translation for any harness (Claude Code, Cursor, Codex, opencode, Hermes) whose request dispatches to an OpenAI Chat-Completions-shaped upstream (`targetFormat === FORMATS.OPENAI` — `reasoning_effort` is an OpenAI-shaped field, so a Claude- or Gemini-targeted request is unaffected). Opt in via `X-OmniRoute-Effort: auto` or a model's `defaultReasoningEffort: "auto"` (now a valid `ModelSpec` value); any explicit client reasoning field always wins ([#13448](https://github.com/diegosouzapw/OmniRoute/pull/13448))
|
||||
1
changelog.d/features/13555-api-key-routing-editor.md
Normal file
1
changelog.d/features/13555-api-key-routing-editor.md
Normal file
@@ -0,0 +1 @@
|
||||
- **feat(dashboard):** Add a dedicated, full-width API-key routing editor with explicit model/combo choices, searchable selectors and protection for unsaved rule drafts. ([#13555](https://github.com/diegosouzapw/OmniRoute/pull/13555)) — thanks @JxnLexn
|
||||
@@ -0,0 +1 @@
|
||||
- **feat(flags):** add `DB_HEALTHCHECK_STARTUP_DEFERRED_ENABLED` (default off) — opt-in deferral of the startup DB health/integrity check past process boot via `setImmediate`; off keeps the pre-#13717 behavior of blocking `getDbInstance()` until the check has already run (#13717).
|
||||
1
changelog.d/features/13886-site-retranslate.md
Normal file
1
changelog.d/features/13886-site-retranslate.md
Normal file
@@ -0,0 +1 @@
|
||||
- **feat(i18n):** `retranslate-site` rewrites the site catalogs' verbatim-English leaves (2,059 across 63 catalogs; mean English residue 10.3 % → 6.3 %, the rest being brand names kept on purpose). (#13886)
|
||||
1
changelog.d/features/agnes-cn-provider.md
Normal file
1
changelog.d/features/agnes-cn-provider.md
Normal file
@@ -0,0 +1 @@
|
||||
- feat(providers): **Added Agnes AI (China) as `agnes-cn` pointed at `https://api.agnes-ai.cn/v1`. Keys issued for `apihub.agnes-ai.com` stay on the existing `agnes` card. Live `/v1/models` on that host lists `agnes-3.0-flash` (same id as intl); the CN seed matches 2.0/2.5/3.0 and not retired 1.5.**
|
||||
1
changelog.d/features/xai-oauth-live-models.md
Normal file
1
changelog.d/features/xai-oauth-live-models.md
Normal file
@@ -0,0 +1 @@
|
||||
- **feat(providers):** share the existing `api.x.ai/v1/models` discovery config with `xai-oauth` so SuperGrok OAuth connections pick up new Grok ids without a registry seed edit.
|
||||
1
changelog.d/fixes/12370-responses-function-call-name.md
Normal file
1
changelog.d/fixes/12370-responses-function-call-name.md
Normal file
@@ -0,0 +1 @@
|
||||
- fix(api): restore the `name` field on non-streaming `/v1/responses` `function_call` output items — a plain (non-namespace) tool call's identity restore was blindly applying the `_toolNameMap` alias-table fallback as a `{namespace, name}` object, silently blanking `name` to `undefined` (dropped entirely by JSON.stringify) and leaving Codex unable to dispatch the call, so it re-narrated its intent in a loop instead (#12370)
|
||||
@@ -0,0 +1 @@
|
||||
- **fix(db):** give `conversation_turn_nodes` its own independent retention knob (`retention.conversationTurnNodes`, default 30 days — matching `callLogs` so upgrading changes nothing until an operator overrides it) instead of sharing `callLogs`, and sweep orphaned `agentic_conversations` after the nodes expire (#12453).
|
||||
1
changelog.d/fixes/12491-codex-wreq-standalone-runtime.md
Normal file
1
changelog.d/fixes/12491-codex-wreq-standalone-runtime.md
Normal file
@@ -0,0 +1 @@
|
||||
- **fix(sse):** Codex WebSocket transport (including the app-server) no longer fails to load in the Next.js standalone Docker runtime — the wreq-js loader now resolves its module name dynamically instead of a literal Turbopack could rewrite to an unreachable build-time symlink (#12491) — thanks @marshalfevzi
|
||||
1
changelog.d/fixes/12692-xai-legacy-function-call.md
Normal file
1
changelog.d/fixes/12692-xai-legacy-function-call.md
Normal file
@@ -0,0 +1 @@
|
||||
- **fix(providers):** xAI requests no longer silently drop an assistant tool call sent in the legacy OpenAI `function_call` shape (instead of `tool_calls[]`) — the call is now translated into the xAI request the same way modern tool calls are (#12692) — thanks @soroush5
|
||||
1
changelog.d/fixes/12700-xai-usage-total.md
Normal file
1
changelog.d/fixes/12700-xai-usage-total.md
Normal file
@@ -0,0 +1 @@
|
||||
- **fix(providers):** xAI responses no longer report `total_tokens`/`totalTokenCount` as `0` when upstream usage uses the legacy `prompt_tokens`/`completion_tokens` names instead of `input_tokens`/`output_tokens` (#12700) — thanks @soroush5
|
||||
@@ -0,0 +1 @@
|
||||
- **fix(cursor):** Kimi-k3 / kimi-k3-high on the Cursor provider sometimes emit tool calls by imitating the executor's own history narration ("Assistant called tool … with arguments: …") instead of using structured tool calls, so clients received raw narration text plus native generation delimiters with `finish_reason: "stop"` — and the leaked turn compounded on every subsequent request via history re-send; the cursor executor now detects this shape and reassembles it into a structured `tool_calls` entry in both streaming and non-streaming finalization paths, gated on "no structured tool calls yet" so healthy turns are untouched ([#12723](https://github.com/diegosouzapw/OmniRoute/pull/12723))
|
||||
@@ -0,0 +1 @@
|
||||
- **fix(providers):** correct Magnific API key validation, which reported every valid key as invalid due to a GET probe against a POST-only endpoint (#12927) — thanks @hubo1989
|
||||
@@ -0,0 +1 @@
|
||||
- **fix(providers):** GitLab Duo Retest and chat requests now fall back to the public Code Suggestions endpoint for ANY `direct_access` 403 (not only the "direct connections are disabled" tenant-config message), and surface the real upstream error body instead of a generic "Access denied" when both endpoints reject the token (#12958) — thanks @Rahulsharma0810
|
||||
@@ -0,0 +1 @@
|
||||
- **fix(sse):** stop misclassifying a truncated Anthropic-compatible `max_tokens` probe response (`content:[{type:"text",text:""}]`) as an empty upstream response (#12968) — thanks @pranay-gpt
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user