mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
* feat(ai): add host coding agent sessions with configured providers * Wait for agent initialization and shutdown before resuming sessions * Keep Pi transcripts outside its configuration migration directory * Cover Pi session directory separation * Update core permission catalog expectations for remote agents * Install remote agent runtimes from verified official sources * Wait for the identity panel credentials request in its test * Add scoped SSH forwarding setup for remote agents * Verify forwarding setup through a fresh SSH connection * Bound the SSH forwarding verification timeout * Return the forwarding verification callback result * fix(ai): support agent send and interrupt keyboard shortcuts * feat(ai): add agent queues attachments worktrees and session recovery * fix(ai): handle deleted workspace paths and duplicate status events * fix(ai): accept file references in root workspaces * fix(ai): refresh paused queues after agent errors * fix(ai): store agent sessions in plugin tables and lock down OpenCode Agent sessions lived in a single ctx.kv value holding up to 2000 events, which passed the 256 KB kv limit within minutes of a normal run. Every save after that failed, so history, nativeId, queue and archive changes were lost and every event wrote a kv audit row. Sessions, events and queued prompts now have their own tables. A running agent appends events in batches at most once a second with a lazy save; session and queue changes save immediately. Prompts, drafts and stored event text are capped in UTF-8 bytes to fit MySQL TEXT. kv:own is no longer requested. The OpenCode server now requires a per-session password, so other local accounts on the host cannot drive the agent through its loopback port. * test(upgrade): include agent session tables in the reviewed upgrade SQL
196 lines
10 KiB
JSON
196 lines
10 KiB
JSON
{
|
||
"permissions": {
|
||
"use": {
|
||
"title": "Použijte asistenta",
|
||
"description": "Otevřete asistenta a zeptejte se ho na něco."
|
||
},
|
||
"manage_providers": {
|
||
"title": "Spravovat poskytovatele",
|
||
"description": "Přidávejte, upravujte a odebírejte poskytovatele umělé inteligence a jejich klíče API."
|
||
},
|
||
"apply_proposals": {
|
||
"title": "Použít návrhy",
|
||
"description": "Nechte asistenta provést změny, které navrhuje."
|
||
},
|
||
"services.use": {
|
||
"title": "Používejte umělou inteligenci z jiných funkcí",
|
||
"description": "Jiné funkce mohou zavolat asistenta za vás."
|
||
},
|
||
"secrets.share": {
|
||
"title": "Sdílení klíče API",
|
||
"description": "Jiné funkce mohou používat uložený klíč API AI, aniž by ho viděly."
|
||
}
|
||
},
|
||
"settings": {
|
||
"assistantUnavailable": "Asistent s umělou inteligencí je na tomto serveru vypnutý.",
|
||
"providersNeedOptIn": "Zapněte výše uvedeného asistenta s umělou inteligencí a přidejte poskytovatele.",
|
||
"admin": {
|
||
"globallyEnabled": {
|
||
"label": "Asistent s umělou inteligencí",
|
||
"description": "Umožněte uživatelům zapnout asistenta s umělou inteligencí. Pokud je tato funkce vypnutá, asistent je skrytý a blokovaný pro všechny."
|
||
},
|
||
"privateEndpoints": {
|
||
"label": "Povolení soukromí hostitelé s umělou inteligencí",
|
||
"description": "Hostitelé ve vaší privátní síti, na které mohou uživatelé odkazovat poskytovatele, například Ollama hostovaná na vlastním serveru. Na každý řádek uveďte jednoho hostitele."
|
||
}
|
||
},
|
||
"host": {
|
||
"enableAiAssistant": {
|
||
"label": "Povolit asistenta s umělou inteligencí",
|
||
"description": "Povolit asistentovi s umělou inteligencí pomáhat v terminálu tohoto hostitele. Ve výchozím nastavení vypnuto, ale stále vyžaduje, aby byla pro váš účet povolena umělá inteligence."
|
||
}
|
||
}
|
||
},
|
||
"ai": {
|
||
"title": "Asistent",
|
||
"send": "Poslat",
|
||
"stop": "Zastávka",
|
||
"save": "Uložit",
|
||
"cancel": "Zrušit",
|
||
"running": "běh",
|
||
"approve": "Schvalovat",
|
||
"reject": "Odmítnout",
|
||
"inputPlaceholder": "Zeptejte se na své servery nebo popište změnu, kterou chcete navrhnout",
|
||
"selectProvider": "Vyberte poskytovatele",
|
||
"providerSettings": "Nastavení poskytovatele",
|
||
"addProvider": "Přidat poskytovatele",
|
||
"editProvider": "Upravit poskytovatele",
|
||
"removeProvider": "Odebrat poskytovatele",
|
||
"providerType": "Poskytovatel",
|
||
"providerLabel": "Jméno",
|
||
"providerLabelPlaceholder": "Například: Místní Ollama",
|
||
"baseUrl": "Adresa serveru",
|
||
"apiKey": "Klíč API",
|
||
"defaultModel": "Výchozí model",
|
||
"defaultModelPlaceholder": "Například: llama3.1 nebo claude-opus-5",
|
||
"labelRequired": "Zadejte tomuto poskytovateli název",
|
||
"providerSaveFailed": "Nepodařilo se uložit poskytovatele",
|
||
"providerUpdated": "Poskytovatel aktualizován",
|
||
"providerDeleteFailed": "Nepodařilo se odebrat poskytovatele",
|
||
"privateEndpointHint": "Adresy ve vaší privátní síti vyžadují, aby je správce nejprve povolil hostiteli.",
|
||
"providerOllama": "Ollama",
|
||
"providerAnthropic": "Antropický",
|
||
"providerOpenai": "OpenAI",
|
||
"providerGemini": "Google Gemini",
|
||
"providerOpenaiCompatible": "Kompatibilní s OpenAI",
|
||
"toolArguments": "Vstup",
|
||
"toolResult": "Výsledek",
|
||
"statusApplied": "Aplikovaný",
|
||
"statusRejected": "Odmítnuto",
|
||
"proposalApplied": "Změna použita",
|
||
"proposalApplyFailed": "Změnu se nepodařilo použít",
|
||
"proposalRejectFailed": "Změnu se nepodařilo odmítnout",
|
||
"enableTitle": "Povolte asistenta s umělou inteligencí",
|
||
"enableDescription": "Nechte asistenta přečíst si vaše nastavení a navrhnout změny ke schválení.",
|
||
"readOnlyCommands": "Povolit diagnostické příkazy pouze pro čtení",
|
||
"readOnlyCommandsDescription": "Asistent může spustit krátký seznam bezpečných příkazů, jako například df a uptime, aniž by se pokaždé ptal. Vše, co mění server, je vždy navrženo jako první.",
|
||
"modelDetectFailed": "Nepodařilo se mi spojit s poskytovatelem, toto je obecný seznam. Můžete zadat libovolný název modelu.",
|
||
"modelCustom": "Zadejte název modelu",
|
||
"modelRefresh": "Obnovit seznam",
|
||
"modelPlaceholder": "Vyberte nebo zadejte model",
|
||
"attachHint": "Zadejte @ pro odkaz na hostitele, úryvek kódu nebo automatizaci. Změny jsou navrženy ke schválení.",
|
||
"runCommandTitle": "Spustit příkaz",
|
||
"assistant": "Asistent umělé inteligence",
|
||
"terminalPanelEmpty": "Zeptejte se asistenta na tohoto hostitele. Jakákoli změna stavu vyžaduje váš první souhlas.",
|
||
"terminalPanelPlaceholder": "Zeptejte se na tohoto hostitele...",
|
||
"noProvidersConfigured": "Zatím není nakonfigurován žádný poskytovatel AI. Přidejte ho na kartě Asistent AI.",
|
||
"runsInOpenTerminal": "Spustí se ve vaší otevřené terminálové relaci.",
|
||
"runInTerminal": "Běh",
|
||
"terminalContextPrefill": "Zde je můj terminálový výstup:\n\n{{output}}\n\n",
|
||
"secrets": {
|
||
"shareApiKey": "Umožněte ostatním funkcím používat váš klíč API poskytovatele AI pro jejich vlastní požadavky. Klíč se nikdy nekopíruje a jeho použití můžete kdykoli zrušit."
|
||
}
|
||
},
|
||
"nav": {
|
||
"ai": "Umělá inteligence"
|
||
},
|
||
"onboarding": {
|
||
"aiTitle": "Asistent s umělou inteligencí",
|
||
"aiIntro": "Termix může obsahovat volitelného asistenta s umělou inteligencí. Toto můžete později změnit v nastavení.",
|
||
"aiSkipTitle": "Nech to být",
|
||
"aiSkipDesc": "Termix funguje stejně jako teď. Asistent zůstává skrytý.",
|
||
"aiEnableTitle": "Zapněte to",
|
||
"aiEnableDesc": "Přidá asistenta, který si přečte vaše nastavení a navrhne změny, které schválíte. Vyžaduje poskytovatele, kterého dodáte, například místní Ollamu.",
|
||
"aiNote": "Nic se nikam neodesílá, dokud nepřidáte poskytovatele a neodešlete zprávu."
|
||
},
|
||
"hosts": {
|
||
"docsLink": "Zobrazit dokumenty"
|
||
},
|
||
"agents": {
|
||
"title": "AI Agent",
|
||
"permissionTitle": "Run remote AI agents",
|
||
"permissionDescription": "Start coding agents on SSH hosts using configured AI providers. Agents can execute commands and change files as the SSH user.",
|
||
"new": "New session",
|
||
"description": "Run an agent in a directory on this host using a Termix AI provider.",
|
||
"runtime": "Agent",
|
||
"provider": "Termix provider",
|
||
"chooseProvider": "Choose a compatible provider",
|
||
"model": "Model",
|
||
"directory": "Working directory",
|
||
"executable": "Executable (optional absolute path)",
|
||
"requirements": "The host needs Node.js 22.19+ and the selected agent installed. SSH remote loopback forwarding must be allowed. Existing agent configurations are not overwritten.",
|
||
"responsesRequired": "Codex requires a Responses API endpoint. A Chat Completions-only endpoint cannot run Codex.",
|
||
"piPermissions": "Pi tools run with this SSH account’s permissions. Only launch in a directory you authorize the agent to modify.",
|
||
"start": "Start agent",
|
||
"resume": "Resume",
|
||
"stop": "Stop session",
|
||
"interrupt": "Interrupt turn",
|
||
"send": "Send",
|
||
"prompt": "Ask the agent to work in this directory…",
|
||
"noSessions": "No agent sessions for this host.",
|
||
"approval": "Agent needs your decision",
|
||
"answer": "Answer (JSON for structured questions)",
|
||
"allow": "Allow once",
|
||
"deny": "Deny",
|
||
"tool": "Tool activity",
|
||
"streamFailed": "Agent stream disconnected. Reopen the session to reconnect.",
|
||
"status": {
|
||
"starting": "Starting",
|
||
"ready": "Ready",
|
||
"running": "Working",
|
||
"stopped": "Stopped",
|
||
"error": "Error"
|
||
},
|
||
"installRuntime": "Install selected agent and Node.js",
|
||
"installSource": "Official sources only: nodejs.org (SHA-256 verified) and registry.npmjs.org (locked package integrity). Installs for the SSH user in ~/.local/share/termix-agent-runtime; requires curl, tar, and Linux/macOS x64 or arm64. Does not change SSH forwarding policy.",
|
||
"installSucceeded": "Installation verified. You can now start the agent; SSH loopback remote forwarding must also be allowed.",
|
||
"installFailed": "Installation failed. Review the log and retry.",
|
||
"installLog": "Installation log",
|
||
"enableForwarding": "Enable Agent forwarding",
|
||
"forwardingScope": "Linux with systemd/OpenSSH; requires root or passwordless sudo. Backs up and validates SSH configuration, then reloads it. Only the current SSH account and observed connection source receive loopback remote forwarding; existing local forwarding is preserved. Failed changes are rolled back.",
|
||
"forwardingSucceeded": "SSH loopback remote forwarding is ready. Start or resume the agent to open a new SSH connection.",
|
||
"forwardingFailed": "SSH forwarding configuration failed. Review the log; no unvalidated configuration is kept.",
|
||
"search": "Search sessions",
|
||
"showArchived": "Show archived",
|
||
"sessionName": "Session name",
|
||
"rename": "Rename",
|
||
"archive": "Archive and stop",
|
||
"restore": "Restore session",
|
||
"queue": "Queued messages",
|
||
"enqueue": "Queue message",
|
||
"continueQueue": "Continue queue",
|
||
"pauseQueue": "Pause queue",
|
||
"editQueued": "Edit queued message",
|
||
"save": "Save",
|
||
"remove": "Remove",
|
||
"upload": "Upload attachment",
|
||
"remoteFile": "File path inside working directory",
|
||
"attach": "Attach file",
|
||
"attachments": "Reuse a session attachment",
|
||
"pasteImage": "Paste an image in the composer. Up to 4 attachments, 1 MiB each.",
|
||
"attachmentLimit": "Up to 4 attachments, 1 MiB each",
|
||
"review": "Git changes and worktrees",
|
||
"gitStatus": "Refresh Git status",
|
||
"diffFile": "File path to review",
|
||
"diff": "View diff",
|
||
"branch": "New branch name",
|
||
"createWorktree": "Create worktree",
|
||
"useWorktree": "New session in this worktree",
|
||
"worktreeHint": "Creates a new branch from HEAD. Uncommitted changes stay in the current directory. Existing worktrees are never deleted automatically.",
|
||
"clean": "No changes",
|
||
"reconnecting": "Reconnecting and restoring messages…",
|
||
"unavailable": "Session is no longer accessible. Check your permissions or sign in again.",
|
||
"shortcuts": "Enter sends or queues · Shift+Enter adds a line · Esc interrupts and pauses the queue"
|
||
}
|
||
}
|