feat: 初始化 SSH AI Agent 桌面客户端 v0.1.0
- Electron + React + TypeScript 桌面应用 - SSH 连接管理(ssh2) - AI Agent ReAct 循环(OpenAI 兼容 API) - 5 个内置工具(命令执行、文件读写、目录列表、系统信息) - 6 个模型预设(GPT-4o、DeepSeek、通义千问、豆包、Ollama、LM Studio) - 自定义模型支持 - 高风险工具审批流 - 无边框窗口 + 自定义标题栏 - AI 对话区右侧布局 - xterm.js 终端仿真 - 配置持久化(electron-store)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Test if binDownload.js patch works
|
||||
const bd = require('./node_modules/app-builder-lib/out/binDownload.js');
|
||||
const fs = require('fs');
|
||||
fs.writeFileSync('d:/test_project/patch_debug.log', '[' + new Date().toISOString() + '] test starting\n', { flag: 'a' });
|
||||
bd.getBin('winCodeSign').then(p => {
|
||||
fs.writeFileSync('d:/test_project/patch_debug.log', '[' + new Date().toISOString() + '] patch worked: ' + p + '\n', { flag: 'a' });
|
||||
console.log('PATH:', p);
|
||||
}).catch(e => {
|
||||
fs.writeFileSync('d:/test_project/patch_debug.log', '[' + new Date().toISOString() + '] patch failed: ' + e.message + '\n', { flag: 'a' });
|
||||
console.log('ERR:', e.message);
|
||||
});
|
||||
Reference in New Issue
Block a user