mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45: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
9.7 KiB
JSON
196 lines
9.7 KiB
JSON
{
|
||
"permissions": {
|
||
"use": {
|
||
"title": "Use the assistant",
|
||
"description": "Open the assistant and ask it things."
|
||
},
|
||
"manage_providers": {
|
||
"title": "Manage providers",
|
||
"description": "Add, edit and remove the AI providers and their API keys."
|
||
},
|
||
"apply_proposals": {
|
||
"title": "Apply proposals",
|
||
"description": "Let the assistant carry out the changes it suggests."
|
||
},
|
||
"services.use": {
|
||
"title": "Use AI from other features",
|
||
"description": "Other features may call the assistant on your behalf."
|
||
},
|
||
"secrets.share": {
|
||
"title": "Share the API key",
|
||
"description": "Other features may use the stored AI API key without seeing it."
|
||
}
|
||
},
|
||
"settings": {
|
||
"assistantUnavailable": "The AI assistant is turned off on this server.",
|
||
"providersNeedOptIn": "Turn on the AI assistant above to add providers.",
|
||
"admin": {
|
||
"globallyEnabled": {
|
||
"label": "Asystent AI",
|
||
"description": "Pozwól użytkownikom włączyć asystenta AI. Gdy ta opcja jest wyłączona, asystent jest ukryty i zablokowany dla wszystkich."
|
||
},
|
||
"privateEndpoints": {
|
||
"label": "Dozwolone prywatne hosty AI",
|
||
"description": "Hosts on your private network that users may point a provider at, such as a self-hosted Ollama. Put one host on each line."
|
||
}
|
||
},
|
||
"host": {
|
||
"enableAiAssistant": {
|
||
"label": "Enable AI Assistant",
|
||
"description": "Allow the AI assistant to help in this host's terminal. Off by default, and still needs AI enabled for your account."
|
||
}
|
||
}
|
||
},
|
||
"ai": {
|
||
"title": "Asystent",
|
||
"send": "Wyślij",
|
||
"stop": "Zatrzymaj",
|
||
"save": "Zapisz",
|
||
"cancel": "Anuluj",
|
||
"running": "działa",
|
||
"approve": "Zatwierdź",
|
||
"reject": "Odrzuć",
|
||
"inputPlaceholder": "Zapytaj o swoje serwery lub opisz proponowaną zmianę",
|
||
"selectProvider": "Wybierz dostawcę",
|
||
"providerSettings": "Ustawienia dostawcy",
|
||
"addProvider": "Dodaj dostawcę",
|
||
"editProvider": "Edytuj dostawcę",
|
||
"removeProvider": "Usuń dostawcę",
|
||
"providerType": "Dostawca",
|
||
"providerLabel": "Nazwa",
|
||
"providerLabelPlaceholder": "Na przykład: Ollama lokalnie",
|
||
"baseUrl": "Adres serwera",
|
||
"apiKey": "Klucz API",
|
||
"defaultModel": "Model domyślny",
|
||
"defaultModelPlaceholder": "Na przykład: llama3.1 lub claude-opus-5",
|
||
"labelRequired": "Podaj nazwę tego dostawcy",
|
||
"providerSaveFailed": "Nie udało się zapisać dostawcy",
|
||
"providerUpdated": "Zaktualizowano dostawcę",
|
||
"providerDeleteFailed": "Nie można usunąć dostawcy",
|
||
"privateEndpointHint": "Adresy w sieci prywatnej wymagają, aby administrator najpierw dopuścił dany host.",
|
||
"providerOllama": "Ollama",
|
||
"providerAnthropic": "Anthropic",
|
||
"providerOpenai": "OpenAI",
|
||
"providerGemini": "Google Gemini",
|
||
"providerOpenaiCompatible": "Kompatybilny z OpenAI",
|
||
"toolArguments": "Dane wejściowe",
|
||
"toolResult": "Wynik",
|
||
"statusApplied": "Zastosowano",
|
||
"statusRejected": "Odrzucono",
|
||
"proposalApplied": "Zastosowano zmianę",
|
||
"proposalApplyFailed": "Nie można zastosować zmiany",
|
||
"proposalRejectFailed": "Nie można odrzucić zmiany",
|
||
"enableTitle": "Włącz asystenta AI",
|
||
"enableDescription": "Pozwól asystentowi odczytać konfigurację i proponować zmiany do Twojego zatwierdzenia.",
|
||
"readOnlyCommands": "Zezwalaj na polecenia diagnostyczne tylko do odczytu",
|
||
"readOnlyCommandsDescription": "Asystent może uruchamiać krótką listę bezpiecznych poleceń, takich jak df czy uptime, bez pytania za każdym razem. Wszystko, co zmienia serwer, jest zawsze najpierw proponowane do zatwierdzenia.",
|
||
"modelDetectFailed": "Nie udało się skontaktować z dostawcą, więc jest to lista ogólna. Możesz wpisać dowolną nazwę modelu.",
|
||
"modelCustom": "Wprowadź nazwę modelu",
|
||
"modelRefresh": "Odśwież listę",
|
||
"modelPlaceholder": "Wybierz lub wpisz model",
|
||
"attachHint": "Wpisz @, aby odwołać się do hosta, snippetu lub automatyzacji. Zmiany są proponowane do Twojego zatwierdzenia.",
|
||
"runCommandTitle": "Uruchom polecenie",
|
||
"assistant": "AI Assistant",
|
||
"terminalPanelEmpty": "Ask the assistant about this host. Anything that changes state needs your approval first.",
|
||
"terminalPanelPlaceholder": "Ask about this host...",
|
||
"noProvidersConfigured": "No AI provider is configured yet. Add one in the AI assistant tab.",
|
||
"runsInOpenTerminal": "Runs in your open terminal session.",
|
||
"runInTerminal": "Uruchom",
|
||
"terminalContextPrefill": "Here is my terminal output:\n\n{{output}}\n\n",
|
||
"secrets": {
|
||
"shareApiKey": "Let other features use your AI provider API key for their own requests. The key is never copied, and you can revoke this at any time."
|
||
}
|
||
},
|
||
"nav": {
|
||
"ai": "AI"
|
||
},
|
||
"onboarding": {
|
||
"aiTitle": "Asystent AI",
|
||
"aiIntro": "Termix może zawierać opcjonalnego asystenta AI. Możesz to później zmienić w ustawieniach.",
|
||
"aiSkipTitle": "Zostaw wyłączone",
|
||
"aiSkipDesc": "Termix działa tak jak teraz. Asystent pozostaje ukryty.",
|
||
"aiEnableTitle": "Włącz",
|
||
"aiEnableDesc": "Dodaje asystenta, który odczytuje Twoją konfigurację i sugeruje zmiany, które zatwierdzasz. Wymaga wskazanego przez Ciebie dostawcy, np. lokalnej Ollamy.",
|
||
"aiNote": "Dopóki nie dodasz dostawcy i nie wyślesz wiadomości, nic nie zostanie wysłane."
|
||
},
|
||
"hosts": {
|
||
"docsLink": "Zobacz dokumentację"
|
||
},
|
||
"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"
|
||
}
|
||
}
|