Files
strata-ctl/web/assets/locales/en.json
T
adm 0d335b808c agent: wire MCP connectors into the loop (rmcp v3, Initialize lifecycle)
- src/mcp: streamable-HTTP client (rmcp v3.12) negotiating Initialize +
  LATEST_WITH_INITIALIZE; namespaced mcp__{connector}__{tool} surface, write
  badges from ToolAnnotations, persisted discovery (tools_json) so the agent
  tool declarations stay byte-stable for KV-cache reuse.
- store: mcp_connectors catalog + tools_json column (idempotent migration) and
  set_mcp_tools; per-session per-tool allowlist (SessionSettings.mcp_enabled).
- agent: execute_mcp routes namespaced calls, gated on the session allowlist
  before any network call; Bearer token comes from the DB catalog, never echoed.
- api/sessions: build the MCP surface into Ambient + the agent tool declarations
  on both the turn and prewarm paths (identical rebuild keeps the prefix stable).
- api/mcp + GUI: connector CRUD, tool-discovery picker, per-session enable.
- examples/mcp_probe: read-only CLI discovery spike.

Live-verified: 22 gmail tools discovered, gmail_labels returned 25 labels, and a
full model-driven GUI turn (7 enabled tools) with a 9197-token RESUME cache hit.
2026-11-30 02:29:55 +01:00

97 lines
4.3 KiB
JSON

{
"settings.title.session": "Session settings",
"settings.title.general": "General settings",
"settings.scope.session": "Session",
"settings.scope.general": "General",
"settings.username": "User name",
"settings.username.ph": "User",
"settings.name": "Name",
"settings.notes": "Notes (chat purpose)",
"settings.sp": "System Prompt",
"settings.temp": "Temperature",
"settings.topp": "Top-p",
"settings.topk": "Top-k",
"settings.minp": "Min-p",
"settings.maxtokens": "Max tokens",
"settings.fontsize": "Font size",
"settings.fontsize.hint": "This device's preference (does not affect the model).",
"settings.mcp.catalog": "MCP connectors",
"settings.mcp.catalog.hint": "External MCP servers. Paste the connector's Bearer token here: it is stored in the local database, like everything else.",
"settings.mcp.tools": "MCP tools",
"settings.mcp.tools.hint": "Choose which tools of each connector the model may use in this chat. Save to apply.",
"settings.mcp.name.ph": "name (e.g. gmail)",
"settings.mcp.url.ph": "http://host:port/",
"settings.mcp.token.ph": "Bearer token",
"settings.mcp.add": "Add",
"settings.mcp.edit": "Edit",
"settings.mcp.delete": "Delete",
"settings.mcp.delete.confirm": "Remove connector '{name}' from the catalog?",
"settings.mcp.empty": "No connectors. Add one below.",
"settings.mcp.noconnectors": "No connectors in the catalog. Add them in General settings.",
"settings.mcp.choose": "Choose tools",
"settings.mcp.enabled.count": "{n} enabled",
"settings.mcp.write": "write",
"settings.mcp.ok": "OK",
"settings.mcp.loading": "Connecting and listing tools…",
"settings.mcp.picker.title": "Tools of {name}",
"settings.mcp.picker.hint": "{n} tools available. Check the ones to enable for this chat.",
"settings.mcp.fields.required": "Name, URL and token are required.",
"settings.mcp.saved": "Connector saved.",
"settings.mcp.error": "MCP error: {msg}",
"settings.save": "Save",
"settings.cancel": "Cancel",
"settings.hint.session": "Changes apply only to this session.",
"settings.hint.general": "General defaults: apply only to future sessions.",
"settings.name.locked": "The name is locked after the first interaction.",
"settings.name.unlocked": "You can rename until you send the first message.",
"settings.error": "Error: {msg}",
"send.idle": "Send",
"send.busy": "Busy: wait for the reply",
"queue.label": "Queued",
"queue.remove": "Remove from queue",
"queue.attachment_only": "(attachments)",
"attach.title": "Attach files or images",
"attach.remove": "Remove attachment",
"attach.error": "Upload failed: {msg}",
"usage.ttft": "1st token {n} s",
"usage.cached": "{n} cached",
"window.note": "Sliding window: showing {shown} recent messages; {omitted} older ones are kept in history.",
"stats.title": "Statistics",
"stats.close": "Close",
"stats.updated": "Updated {time}",
"stats.disconnected": "Disconnected · retrying",
"stats.engine": "Engine",
"stats.engine.idle": "Idle",
"stats.engine.busy": "In use",
"stats.context": "{n} token context",
"stats.context_now": "Current context",
"stats.context_now.sub": "prompt sent on the last turn",
"stats.decode": "Decode speed",
"stats.decode.sub": "run average",
"stats.prefill": "prefill {n} tok/s",
"stats.tokens": "Cumulative tokens",
"stats.tokens.sub": "{p} prompt · {c} completion · across all turns",
"stats.sessions": "Sessions",
"stats.messages.sub": "{n} messages",
"stats.tools": "Tool calls",
"stats.tools.sub": "across history",
"stats.requests": "Requests served",
"stats.requests.sub": "since startup",
"stats.daily": "Daily activity",
"stats.daily.sub": "tokens per day (UTC)",
"stats.daily.empty": "No activity recorded yet.",
"stats.legend.prompt": "Prompt",
"stats.legend.completion": "Completion",
"stats.perSession": "Per session",
"stats.perSession.sub": "token share per chat",
"stats.perSession.empty": "No sessions yet.",
"stats.session.updated": "updated {when}",
"stats.tps": "{n} tok/s",
"stats.na": "—",
"notepad.title": "Notepad",
"notepad.hint": "The session's persistent notes, managed by the agent. Read-only.",
"notepad.empty": "No notes yet. The agent can pin important things here.",
"notepad.refresh": "Refresh",
"notepad.close": "Close",
"notepad.error": "Error: {msg}"
}