feat: ask ai (#936)

* feat: ask ai in ssh terminal
Fixes #934

* new(ask_ai): settings

* fix: app hot reload

* new: l10n

* chore: deps.

* opt.
This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-18 01:15:43 +08:00
committed by GitHub
parent 860c11d4a8
commit 729b76177e
40 changed files with 2050 additions and 108 deletions

View File

@@ -284,5 +284,28 @@
"wolTip": "After configuring WOL (Wake-on-LAN), a WOL request is sent each time the server is connected.",
"write": "Write",
"writeScriptFailTip": "Writing to the script failed, possibly due to lack of permissions or the directory does not exist.",
"writeScriptTip": "After connecting to the server, a script will be written to `~/.config/server_box` \n | `/tmp/server_box` to monitor the system status. You can review the script content."
}
"writeScriptTip": "After connecting to the server, a script will be written to `~/.config/server_box` \n | `/tmp/server_box` to monitor the system status. You can review the script content.",
"@askAiConfigMissing": {
"placeholders": {
"fields": {
"type": "String"
}
}
},
"askAi": "Ask AI",
"askAiUsageHint": "Used in SSH Terminal",
"askAiBaseUrl": "Base URL",
"askAiModel": "Model",
"askAiApiKey": "API Key",
"askAiConfigMissing": "Please configure {fields} in Settings.",
"askAiConfirmExecute": "Confirm before executing",
"askAiCommandInserted": "Command inserted into terminal",
"askAiAwaitingResponse": "Waiting for AI response...",
"askAiNoResponse": "No response",
"askAiRecommendedCommand": "AI suggested command",
"askAiInsertTerminal": "Insert into terminal",
"askAiSelectedContent": "Selected content",
"askAiConversation": "AI conversation",
"askAiFollowUpHint": "Ask a follow-up...",
"askAiSend": "Send"
}