@deskwink/cli 0.0.0-stage → 0.0.1
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 +12 -2
- package/bin/deskwink.js +22 -0
- package/package.json +28 -4
package/README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @deskwink/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
DeskWink lets the AI you already use (Claude, ChatGPT and other remote-MCP clients) work with files on your own Windows PC or Mac, with per-folder permission and your approval for every change.
|
|
4
|
+
|
|
5
|
+
## Status
|
|
6
|
+
|
|
7
|
+
**This is a placeholder release.** The DeskWink agent is still in development. Installing this version does not pair, connect, or change anything on your computer; `deskwink` only prints its version and this notice.
|
|
8
|
+
|
|
9
|
+
## Official package
|
|
10
|
+
|
|
11
|
+
`@deskwink/cli` is the only official DeskWink CLI package on npm. Do not install DeskWink from other package names or from install scripts hosted elsewhere.
|
|
12
|
+
|
|
13
|
+
More information: https://deskwink.com
|
package/bin/deskwink.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deskwink/cli",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "DeskWink CLI: connect your Windows PC or Mac to the AI you already use. Placeholder release; the agent is in development.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"deskwink": "bin/deskwink.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://deskwink.com",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"deskwink",
|
|
19
|
+
"mcp",
|
|
20
|
+
"ai",
|
|
21
|
+
"cli"
|
|
22
|
+
],
|
|
23
|
+
"license": "UNLICENSED",
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "node --test test/deskwink.test.js"
|
|
29
|
+
}
|
|
30
|
+
}
|