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": "Utilice el asistente",
|
||
"description": "Abre el asistente y hazle preguntas."
|
||
},
|
||
"manage_providers": {
|
||
"title": "Gestionar proveedores",
|
||
"description": "Agregue, edite y elimine los proveedores de IA y sus claves API."
|
||
},
|
||
"apply_proposals": {
|
||
"title": "Presentar propuestas",
|
||
"description": "Deja que el asistente realice los cambios que sugiere."
|
||
},
|
||
"services.use": {
|
||
"title": "Utilizar la IA de otras funciones",
|
||
"description": "Otras funciones pueden llamar al asistente en tu nombre."
|
||
},
|
||
"secrets.share": {
|
||
"title": "Comparta la clave API",
|
||
"description": "Es posible que otras funciones utilicen la clave API de IA almacenada sin tenerla en cuenta."
|
||
}
|
||
},
|
||
"settings": {
|
||
"assistantUnavailable": "El asistente de IA está desactivado en este servidor.",
|
||
"providersNeedOptIn": "Activa el asistente de IA que aparece arriba para añadir proveedores.",
|
||
"admin": {
|
||
"globallyEnabled": {
|
||
"label": "Asistente de IA",
|
||
"description": "Permita que los usuarios activen el asistente de IA. Mientras esté desactivado, el asistente permanecerá oculto y bloqueado para todos."
|
||
},
|
||
"privateEndpoints": {
|
||
"label": "Hosts de IA privados permitidos",
|
||
"description": "Hosts en tu red privada a los que los usuarios pueden dirigir un proveedor, como por ejemplo un servidor Ollama autogestionado. Coloca un host en cada línea."
|
||
}
|
||
},
|
||
"host": {
|
||
"enableAiAssistant": {
|
||
"label": "Habilitar el asistente de IA",
|
||
"description": "Permite que el asistente de IA te ayude en la terminal de este host. Está desactivado por defecto y aún así necesitas tener la IA habilitada para tu cuenta."
|
||
}
|
||
}
|
||
},
|
||
"ai": {
|
||
"title": "Asistente",
|
||
"send": "Enviar",
|
||
"stop": "Parada",
|
||
"save": "Guardar",
|
||
"cancel": "Cancelar",
|
||
"running": "en ejecución",
|
||
"approve": "Aprobar",
|
||
"reject": "Rechazar",
|
||
"inputPlaceholder": "Pregunte sobre sus servidores o describa un cambio para proponer.",
|
||
"selectProvider": "Seleccione un proveedor",
|
||
"providerSettings": "Configuración del proveedor",
|
||
"addProvider": "Agregar proveedor",
|
||
"editProvider": "Editar proveedor",
|
||
"removeProvider": "Eliminar proveedor",
|
||
"providerType": "Proveedor",
|
||
"providerLabel": "Nombre",
|
||
"providerLabelPlaceholder": "Por ejemplo: Ollama local",
|
||
"baseUrl": "Dirección del servidor",
|
||
"apiKey": "clave API",
|
||
"defaultModel": "Modelo predeterminado",
|
||
"defaultModelPlaceholder": "Por ejemplo: llama3.1 o claude-opus-5",
|
||
"labelRequired": "Dale un nombre a este proveedor.",
|
||
"providerSaveFailed": "No se pudo guardar el proveedor",
|
||
"providerUpdated": "Proveedor actualizado",
|
||
"providerDeleteFailed": "No se pudo eliminar al proveedor.",
|
||
"privateEndpointHint": "Las direcciones de su red privada necesitan que un administrador autorice el acceso al host previamente.",
|
||
"providerOllama": "Ollama",
|
||
"providerAnthropic": "Antrópico",
|
||
"providerOpenai": "OpenAI",
|
||
"providerGemini": "Google Gemini",
|
||
"providerOpenaiCompatible": "Compatible con OpenAI",
|
||
"toolArguments": "Entrada",
|
||
"toolResult": "Resultado",
|
||
"statusApplied": "Aplicado",
|
||
"statusRejected": "Rechazado",
|
||
"proposalApplied": "Cambio aplicado",
|
||
"proposalApplyFailed": "No se pudo aplicar el cambio.",
|
||
"proposalRejectFailed": "No se pudo rechazar el cambio",
|
||
"enableTitle": "Habilitar el asistente de IA",
|
||
"enableDescription": "Deja que el asistente lea tu configuración y te sugiera cambios para que los apruebes.",
|
||
"readOnlyCommands": "Permitir comandos de diagnóstico de solo lectura",
|
||
"readOnlyCommandsDescription": "El asistente puede ejecutar una breve lista de comandos seguros, como df y uptime, sin preguntar cada vez. Cualquier cambio que afecte al servidor siempre se propone primero.",
|
||
"modelDetectFailed": "No se pudo contactar con el proveedor, por lo que esta es una lista general. Puede escribir cualquier nombre de modelo.",
|
||
"modelCustom": "Introduzca un nombre de modelo",
|
||
"modelRefresh": "Actualizar lista",
|
||
"modelPlaceholder": "Seleccione o escriba un modelo.",
|
||
"attachHint": "Escribe @ para hacer referencia a un host, fragmento de código o automatización. Se proponen cambios para su aprobación.",
|
||
"runCommandTitle": "Ejecutar comando",
|
||
"assistant": "Asistente de IA",
|
||
"terminalPanelEmpty": "Consulta con el asistente sobre este anfitrión. Cualquier cambio de estado requiere tu aprobación previa.",
|
||
"terminalPanelPlaceholder": "Pregunta por este anfitrión...",
|
||
"noProvidersConfigured": "Aún no hay ningún proveedor de IA configurado. Añada uno en la pestaña del asistente de IA.",
|
||
"runsInOpenTerminal": "Se ejecuta en tu sesión de terminal abierta.",
|
||
"runInTerminal": "Ejecutar",
|
||
"terminalContextPrefill": "Aquí está la salida de mi terminal:\n\n{{output}}\n\n",
|
||
"secrets": {
|
||
"shareApiKey": "Permite que otras funciones utilicen la clave API de tu proveedor de IA para sus propias solicitudes. La clave nunca se copia y puedes revocarla en cualquier momento."
|
||
}
|
||
},
|
||
"nav": {
|
||
"ai": "AI"
|
||
},
|
||
"onboarding": {
|
||
"aiTitle": "Asistente de IA",
|
||
"aiIntro": "Termix puede incluir un asistente de IA opcional. Puedes cambiar esto más adelante en la configuración.",
|
||
"aiSkipTitle": "Déjalo apagado",
|
||
"aiSkipDesc": "Termix funciona como hasta ahora. El asistente permanece oculto.",
|
||
"aiEnableTitle": "Enciéndelo",
|
||
"aiEnableDesc": "Agrega un asistente que lee tu configuración y sugiere cambios que apruebas. Requiere un proveedor que tú proporciones, como un Ollama local.",
|
||
"aiNote": "No se envía nada a ningún sitio hasta que añadas un proveedor y envíes un mensaje."
|
||
},
|
||
"hosts": {
|
||
"docsLink": "Ver documentación"
|
||
},
|
||
"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"
|
||
}
|
||
}
|