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": "Käytä avustajaa",
|
||
"description": "Avaa avustaja ja kysy siltä asioita."
|
||
},
|
||
"manage_providers": {
|
||
"title": "Hallinnoi palveluntarjoajia",
|
||
"description": "Lisää, muokkaa ja poista tekoälypalveluntarjoajia ja niiden API-avaimia."
|
||
},
|
||
"apply_proposals": {
|
||
"title": "Käytä ehdotuksia",
|
||
"description": "Anna avustajan suorittaa ehdottamansa muutokset."
|
||
},
|
||
"services.use": {
|
||
"title": "Käytä tekoälyä muista ominaisuuksista",
|
||
"description": "Muut ominaisuudet saattavat soittaa avustajalle puolestasi."
|
||
},
|
||
"secrets.share": {
|
||
"title": "Jaa API-avain",
|
||
"description": "Muut ominaisuudet saattavat käyttää tallennettua tekoälyn API-avainta näkemättä sitä."
|
||
}
|
||
},
|
||
"settings": {
|
||
"assistantUnavailable": "Tekoälyavustaja on pois päältä tällä palvelimella.",
|
||
"providersNeedOptIn": "Ota yllä oleva tekoälyavustaja käyttöön lisätäksesi palveluntarjoajia.",
|
||
"admin": {
|
||
"globallyEnabled": {
|
||
"label": "Tekoälyavustaja",
|
||
"description": "Salli käyttäjien ottaa tekoälyavustaja käyttöön. Kun tämä on pois päältä, avustaja on piilotettu ja estetty kaikilta."
|
||
},
|
||
"privateEndpoints": {
|
||
"label": "Sallitut yksityiset tekoälyisännät",
|
||
"description": "Yksityisen verkon isännät, joihin käyttäjät voivat ohjata palveluntarjoajan, kuten itse isännöity Ollama. Aseta yksi isäntä kullekin riville."
|
||
}
|
||
},
|
||
"host": {
|
||
"enableAiAssistant": {
|
||
"label": "Ota tekoälyavustaja käyttöön",
|
||
"description": "Salli tekoälyavustaja auttaa tämän isännän terminaalissa. Oletusarvoisesti pois päältä, mutta tekoälyn on silti oltava käytössä tililläsi."
|
||
}
|
||
}
|
||
},
|
||
"ai": {
|
||
"title": "Assistentti",
|
||
"send": "Lähetä",
|
||
"stop": "Stop",
|
||
"save": "Tallentaa",
|
||
"cancel": "Peruuttaa",
|
||
"running": "juokseminen",
|
||
"approve": "Hyväksyä",
|
||
"reject": "Hylätä",
|
||
"inputPlaceholder": "Kysy tarjoilijoistasi tai kuvaile ehdottamaasi muutosta",
|
||
"selectProvider": "Valitse palveluntarjoaja",
|
||
"providerSettings": "Palveluntarjoajan asetukset",
|
||
"addProvider": "Lisää palveluntarjoaja",
|
||
"editProvider": "Muokkaa palveluntarjoajaa",
|
||
"removeProvider": "Poista palveluntarjoaja",
|
||
"providerType": "Palveluntarjoaja",
|
||
"providerLabel": "Nimi",
|
||
"providerLabelPlaceholder": "Esimerkiksi: Paikallinen Ollama",
|
||
"baseUrl": "Palvelimen osoite",
|
||
"apiKey": "API-avain",
|
||
"defaultModel": "Oletusmalli",
|
||
"defaultModelPlaceholder": "Esimerkiksi: llama3.1 tai claude-opus-5",
|
||
"labelRequired": "Anna tälle palveluntarjoajalle nimi",
|
||
"providerSaveFailed": "Palveluntarjoajaa ei voitu tallentaa",
|
||
"providerUpdated": "Palveluntarjoaja päivitetty",
|
||
"providerDeleteFailed": "Palveluntarjoajaa ei voitu poistaa",
|
||
"privateEndpointHint": "Yksityisen verkon osoitteiden ylläpitäjän on ensin sallittava isäntä.",
|
||
"providerOllama": "Ollama",
|
||
"providerAnthropic": "Antrooppinen",
|
||
"providerOpenai": "OpenAI",
|
||
"providerGemini": "Google Gemini",
|
||
"providerOpenaiCompatible": "OpenAI-yhteensopiva",
|
||
"toolArguments": "Syöttö",
|
||
"toolResult": "Tulos",
|
||
"statusApplied": "Käytetty",
|
||
"statusRejected": "Hylätty",
|
||
"proposalApplied": "Muutos otettu käyttöön",
|
||
"proposalApplyFailed": "Muutosta ei voitu ottaa käyttöön",
|
||
"proposalRejectFailed": "Muutosta ei voitu hylätä",
|
||
"enableTitle": "Ota tekoälyavustaja käyttöön",
|
||
"enableDescription": "Anna avustajan lukea asetuksesi ja ehdottaa muutoksia hyväksyttäväksi.",
|
||
"readOnlyCommands": "Salli vain luettavat diagnostiikkakomennot",
|
||
"readOnlyCommandsDescription": "Assistantti voi suorittaa lyhyen listan turvallisia komentoja, kuten df ja uptime, kysymättä joka kerta. Kaikki palvelinta muuttavat ehdotukset esitetään aina ensin.",
|
||
"modelDetectFailed": "Palveluntarjoajaan ei saatu yhteyttä, joten tämä on yleisluettelo. Voit kirjoittaa minkä tahansa mallin nimen.",
|
||
"modelCustom": "Anna mallin nimi",
|
||
"modelRefresh": "Päivitä lista",
|
||
"modelPlaceholder": "Valitse tai kirjoita malli",
|
||
"attachHint": "Kirjoita @ viitataksesi isäntään, koodinpätkään tai automaatioon. Muutoksia ehdotetaan hyväksyttäväksi.",
|
||
"runCommandTitle": "Suorita komento",
|
||
"assistant": "Tekoälyavustaja",
|
||
"terminalPanelEmpty": "Kysy avustajalta tästä majoittajasta. Kaikki osavaltion muutokset vaativat ensin hyväksyntäsi.",
|
||
"terminalPanelPlaceholder": "Kysy tästä isännöitsijästä...",
|
||
"noProvidersConfigured": "Tekoälypalveluntarjoajaa ei ole vielä määritetty. Lisää sellainen tekoälyavustaja-välilehdellä.",
|
||
"runsInOpenTerminal": "Suoritetaan avoimessa pääteistunnossa.",
|
||
"runInTerminal": "Juokse",
|
||
"terminalContextPrefill": "Tässä on päätteen tuloste:\n\n{{output}}\n\n",
|
||
"secrets": {
|
||
"shareApiKey": "Anna muiden ominaisuuksien käyttää tekoälypalveluntarjoajasi API-avainta omiin pyyntöihinsä. Avainta ei koskaan kopioida, ja voit peruuttaa tämän milloin tahansa."
|
||
}
|
||
},
|
||
"nav": {
|
||
"ai": "Tekoäly"
|
||
},
|
||
"onboarding": {
|
||
"aiTitle": "Tekoälyavustaja",
|
||
"aiIntro": "Termix voi sisältää valinnaisen tekoälyavustaja. Voit muuttaa tätä myöhemmin asetuksissasi.",
|
||
"aiSkipTitle": "Jätä se pois",
|
||
"aiSkipDesc": "Termix toimii kuten nytkin. Avustaja pysyy piilossa.",
|
||
"aiEnableTitle": "Käynnistä se",
|
||
"aiEnableDesc": "Lisää avustajan, joka lukee asetuksesi ja ehdottaa hyväksymiäsi muutoksia. Edellyttää toimittamaasi palveluntarjoajaa, kuten paikallisen Ollaman.",
|
||
"aiNote": "Mitään ei lähetetä mihinkään ennen kuin lisäät palveluntarjoajan ja lähetät viestin."
|
||
},
|
||
"hosts": {
|
||
"docsLink": "Näytä dokumentit"
|
||
},
|
||
"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"
|
||
}
|
||
}
|