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,50 @@
|
||||
|
||||
> ssh-ai-agent@0.1.0 dist
|
||||
> npm run build && electron-builder --win --x64 --config.npmRebuild=false
|
||||
|
||||
|
||||
> ssh-ai-agent@0.1.0 build
|
||||
> npm run build:main && npm run build:renderer
|
||||
|
||||
|
||||
> ssh-ai-agent@0.1.0 build:main
|
||||
> tsc -p tsconfig.main.json
|
||||
|
||||
|
||||
> ssh-ai-agent@0.1.0 build:renderer
|
||||
> vite build
|
||||
|
||||
npm.cmd : [33mThe CJS build of Vite's Node API is deprecated. See https://vite
|
||||
.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
|
||||
[39m
|
||||
所在位置 行:1 字符: 163
|
||||
+ ... = "false"; & 'C:\Program Files\nodejs\npm.cmd' run dist -- --win --x ...
|
||||
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
+ CategoryInfo : NotSpecified: ([33mThe CJS bu...e details.[39m
|
||||
:String) [], RemoteException
|
||||
+ FullyQualifiedErrorId : NativeCommandError
|
||||
|
||||
[36mvite v5.4.21 [32mbuilding for production...[36m[39m
|
||||
transforming...
|
||||
(node:27320) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///D:/
|
||||
test_project/src/renderer/postcss.config.js is not specified and it doesn't par
|
||||
se as CommonJS.
|
||||
Reparsing as ES module because module syntax was detected. This incurs a perfor
|
||||
mance overhead.
|
||||
To eliminate this warning, add "type": "module" to \\?\D:\test_project\package.
|
||||
json.
|
||||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||||
[32m鉁?[39m 1528 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
[2m../../renderer/[22m[32mindex.html [39m[1m[2m 0.44 kB[22m[1m[22m[2m 鈹?gzip: 0.33 kB[22m
|
||||
[2m../../renderer/[22m[35massets/index-qN8e0yep.css [39m[1m[2m 18.94 kB[22m[1m[22m[2m 鈹?gzip: 5.26 kB[22m
|
||||
[2m../../renderer/[22m[36massets/index-2IgjmCyK.js [39m[1m[2m487.67 kB[22m[1m[22m[2m 鈹?gzip: 133.95 kB[22m
|
||||
[32m鉁?built in 8.70s[39m
|
||||
鈥?electron-builder version=24.13.3 os=10.0.19045
|
||||
鈥?loaded configuration file=package.json ("build" field)
|
||||
鈥?skipped dependencies rebuild reason=npmRebuild is set to false
|
||||
鈥?packaging platform=win32 arch=x64 electron=30.5.1 appOutDir=release\win-unpacked
|
||||
鈥?rcedit skipped (sandbox mode) file=鏅鸿兘SSH缁堢.exe
|
||||
鈥?building target=nsis file=release\鏅鸿兘SSH缁堢-0.1.0-x64.exe archs=x64 oneClick=false perMachine=false
|
||||
鈥?building block map blockMapFile=release\鏅鸿兘SSH缁堢-0.1.0-x64.exe.blockmap
|
||||
Reference in New Issue
Block a user