@fefeding/aicmd 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@fefeding/aicmd",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
- "description": "Web SSH 远程终端工具 - 支持 rz/sz 文件传输",
6
+ "description": "AI-powered web SSH terminal with autonomous agent, skills, and file transfer",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://cnb.cool/yc_null/fshell"
9
+ "url": "https://github.com/fefeding/ai-cmd"
10
10
  },
11
11
  "main": "view/index.html",
12
12
  "files": [
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "icon": "public/favicon.ico",
24
24
  "window": {
25
- "title": "fTerm - 远程终端",
25
+ "title": "AICmd - AI Terminal",
26
26
  "width": 1200,
27
27
  "height": 800,
28
28
  "min_width": 800,
@@ -33,9 +33,9 @@
33
33
  "icon": "public/favicon.ico"
34
34
  },
35
35
  "scripts": {
36
- "start": "pm2 start server.js --name fterm-server --disable-logs --",
37
- "restart": "pm2 restart fterm-server --disable-logs --",
38
- "stop": "pm2 stop fterm-server --",
36
+ "start": "pm2 start server.js --name aicmd-server --disable-logs --",
37
+ "restart": "pm2 restart aicmd-server --disable-logs --",
38
+ "stop": "pm2 stop aicmd-server --",
39
39
  "dev": "vite",
40
40
  "build": "npm run build-only",
41
41
  "preview": "vite preview",
@@ -105,7 +105,7 @@
105
105
  "zmodem.js": "^0.1.10"
106
106
  },
107
107
  "bin": {
108
- "fterm": "bin/fterm.js"
108
+ "aicmd": "bin/aicmd.js"
109
109
  },
110
110
  "pnpm": {
111
111
  "onlyBuiltDependencies": [
package/server.js CHANGED
@@ -309,10 +309,10 @@ for (let i = 0; i < process.argv.length; i++) {
309
309
  // 启动服务器
310
310
  const PORT = portFromArgs || process.env.PORT || 9802;
311
311
  server.listen(PORT, () => {
312
- const pidFilePath = path.join(__dirname, 'fterm.server.pid');
312
+ const pidFilePath = path.join(__dirname, 'aicmd.server.pid');
313
313
  fs.writeFileSync(pidFilePath, process.pid.toString());
314
314
  console.log(`PID ${process.pid} written to ${pidFilePath}`);
315
- console.log(`fterm Server is running on port ${PORT}`);
315
+ console.log(`aicmd Server is running on port ${PORT}`);
316
316
  console.log(`http://localhost:${PORT}`);
317
317
  });
318
318