@dmsdc-ai/aigentry-telepty 0.0.13 → 0.0.14
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/cli.js +5 -0
- package/package.json +2 -1
package/cli.js
CHANGED
|
@@ -5,9 +5,14 @@ const WebSocket = require('ws');
|
|
|
5
5
|
const { execSync, spawn } = require('child_process');
|
|
6
6
|
const readline = require('readline');
|
|
7
7
|
const prompts = require('prompts');
|
|
8
|
+
const updateNotifier = require('update-notifier');
|
|
9
|
+
const pkg = require('./package.json');
|
|
8
10
|
const { getConfig } = require('./auth');
|
|
9
11
|
const args = process.argv.slice(2);
|
|
10
12
|
|
|
13
|
+
// Check for updates
|
|
14
|
+
updateNotifier({pkg}).notify({ isGlobal: true });
|
|
15
|
+
|
|
11
16
|
// Support remote host via environment variable or default to localhost
|
|
12
17
|
let REMOTE_HOST = process.env.TELEPTY_HOST || '127.0.0.1';
|
|
13
18
|
const PORT = 3848;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dmsdc-ai/aigentry-telepty",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"main": "daemon.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"telepty": "cli.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"express": "^5.2.1",
|
|
20
20
|
"node-pty": "^1.2.0-beta.11",
|
|
21
21
|
"prompts": "^2.4.2",
|
|
22
|
+
"update-notifier": "^7.3.1",
|
|
22
23
|
"uuid": "^13.0.0",
|
|
23
24
|
"ws": "^8.19.0",
|
|
24
25
|
"zod": "^4.3.6"
|