@deskwink/cli 0.0.1 → 0.1.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/README.md +47 -7
- package/dist/THIRD_PARTY_NOTICES.txt +59 -0
- package/dist/deskwink.js +24431 -0
- package/package.json +23 -6
- package/bin/deskwink.js +0 -22
package/package.json
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deskwink/cli",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "DeskWink CLI: connect your Windows PC or Mac to the AI you already use
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "DeskWink CLI: connect your Windows PC or Mac to the AI you already use, folder by folder, with your approval for every change.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"deskwink": "
|
|
7
|
+
"deskwink": "dist/deskwink.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"
|
|
10
|
+
"dist",
|
|
11
11
|
"README.md"
|
|
12
12
|
],
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": ">=22"
|
|
15
15
|
},
|
|
16
16
|
"homepage": "https://deskwink.com",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/rwang23/deskwink.git",
|
|
20
|
+
"directory": "apps/agent"
|
|
21
|
+
},
|
|
22
|
+
"author": "Viva Essence Ltd",
|
|
17
23
|
"keywords": [
|
|
18
24
|
"deskwink",
|
|
19
25
|
"mcp",
|
|
@@ -24,7 +30,18 @@
|
|
|
24
30
|
"publishConfig": {
|
|
25
31
|
"access": "public"
|
|
26
32
|
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^24.19.2",
|
|
35
|
+
"diff": "^9.0.0",
|
|
36
|
+
"esbuild": "^0.28.2",
|
|
37
|
+
"typescript": "^7.0.2",
|
|
38
|
+
"vitest": "^5.0.5",
|
|
39
|
+
"zod": "^4.6.7",
|
|
40
|
+
"@deskwink/contracts": "0.0.0"
|
|
41
|
+
},
|
|
27
42
|
"scripts": {
|
|
28
|
-
"
|
|
43
|
+
"build": "node scripts/build.mjs",
|
|
44
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
45
|
+
"test": "vitest run"
|
|
29
46
|
}
|
|
30
|
-
}
|
|
47
|
+
}
|
package/bin/deskwink.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// Placeholder release of the DeskWink CLI. It reserves the package and the
|
|
3
|
-
// `deskwink` command; it does not pair, connect, or touch any local files.
|
|
4
|
-
// The real agent is specified in docs/20-architecture/TECHNICAL-DESIGN.md §8.
|
|
5
|
-
import { readFileSync } from 'node:fs';
|
|
6
|
-
|
|
7
|
-
const { version } = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
|
|
8
|
-
const command = process.argv[2];
|
|
9
|
-
|
|
10
|
-
if (command === '--version' || command === '-v' || command === 'version') {
|
|
11
|
-
console.log(version);
|
|
12
|
-
} else {
|
|
13
|
-
console.error(
|
|
14
|
-
[
|
|
15
|
-
`DeskWink CLI ${version} is a placeholder release. The agent is still in development.`,
|
|
16
|
-
'Nothing was installed, connected, or changed on this computer.',
|
|
17
|
-
'See https://deskwink.com for the first release.',
|
|
18
|
-
].join('\n'),
|
|
19
|
-
);
|
|
20
|
-
const isHelp = command === undefined || command === 'help' || command === '--help' || command === '-h';
|
|
21
|
-
process.exitCode = isHelp ? 0 : 1;
|
|
22
|
-
}
|