@talgent/computer 0.0.0-stage → 0.30.0
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/dist/computer.mjs +8762 -0
- package/dist/talgent-computer.mjs +14 -0
- package/package.json +44 -4
- package/README.md +0 -3
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The talgent-computer command. Talgent Computer runs on Node.js 24 or newer;
|
|
3
|
+
// this file is written so an older Node still runs it and says so, before
|
|
4
|
+
// the program, which needs Node.js 24, is loaded.
|
|
5
|
+
const REQUIRED_NODE_MAJOR = 24
|
|
6
|
+
const found = process.versions.node
|
|
7
|
+
if (Number(found.split('.')[0]) < REQUIRED_NODE_MAJOR) {
|
|
8
|
+
process.stderr.write(
|
|
9
|
+
'Talgent Computer needs Node.js ' + REQUIRED_NODE_MAJOR + ' or newer, but this is Node.js ' + found + '.\n' +
|
|
10
|
+
'Install Node.js ' + REQUIRED_NODE_MAJOR + ' from https://nodejs.org, then run the command again.\n',
|
|
11
|
+
)
|
|
12
|
+
process.exit(1)
|
|
13
|
+
}
|
|
14
|
+
import('./computer.mjs')
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@talgent/computer",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.30.0",
|
|
4
|
+
"description": "Talgent Computer: registers a machine as a Managed Computer and keeps it connected.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/jacexh/talgent.git",
|
|
9
|
+
"directory": "apps/computer"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"bin": {
|
|
13
|
+
"talgent-computer": "dist/talgent-computer.mjs"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/talgent-computer.mjs",
|
|
17
|
+
"dist/computer.mjs"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=24"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc --noEmit && node build.mjs",
|
|
27
|
+
"typecheck": "tsc --noEmit",
|
|
28
|
+
"test": "node --test \"test/**/*.test.ts\"",
|
|
29
|
+
"test:installed": "node test/installed/install-register-online.ts && node test/installed/upgrade-online.ts",
|
|
30
|
+
"lint": "eslint ."
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@anthropic-ai/claude-code": "2.1.266"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/js": "^9.39.4",
|
|
37
|
+
"@types/node": "^24.12.2",
|
|
38
|
+
"@types/ws": "^8.18.1",
|
|
39
|
+
"esbuild": "^0.28.2",
|
|
40
|
+
"eslint": "^9.39.4",
|
|
41
|
+
"globals": "^17.4.0",
|
|
42
|
+
"typescript": "~6.0.2",
|
|
43
|
+
"typescript-eslint": "^8.58.0",
|
|
44
|
+
"ws": "^8.18.3"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/README.md
DELETED