@devicelink/dlink 0.3.2 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +17 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,44 +14,45 @@ Requires Node.js 20+.
14
14
 
15
15
  ### 1. Create your account
16
16
 
17
- Sign in at [devicelink.ai](https://devicelink.ai) with Google. A workspace is created for you automatically.
17
+ Sign in at [devicelink.ai](https://devicelink.ai) with Google. We create a workspace for you automatically. No setup needed.
18
18
 
19
- ### 2. Run the agent
19
+ ### 2. Install the agent
20
+
21
+ Go to the folder you want to share, open a terminal there, install the CLI, and run it. Sign in with the same Google account to link your device.
20
22
 
21
23
  ```bash
24
+ npm install -g @devicelink/dlink
22
25
  dlink
23
26
  ```
24
27
 
25
- The agent will open your browser to sign in with the same Google account. Once authenticated, your device is linked to your workspace. Choose a folder to share when prompted.
26
-
27
- ### 3. Connect ChatGPT
28
+ ### 3. Use with ChatGPT
28
29
 
29
- Add DeviceLink as an MCP integration in ChatGPT (chatgpt.com → Settings → Connected apps). Sign in with the same Google account. Ask ChatGPT to list your files using DeviceLink - you're all set.
30
+ Add DeviceLink as a connected app in ChatGPT and sign in with the same Google account. Then just ask "list my files using DeviceLink".
30
31
 
31
32
  ## Commands
32
33
 
33
- Run `dlink` to start the interactive agent. Once running, you can use these commands in the console:
34
+ Run `dlink` to start the interactive agent. Once running, you can type these in the console:
34
35
 
35
36
  | Command | What it does |
36
37
  |---------|-------------|
37
38
  | `signin` | Sign in to DeviceLink |
38
39
  | `signout` | Sign out on this device |
40
+ | `status` | Show connection status |
39
41
  | `stop` | Disconnect and exit |
40
42
 
41
43
  ## How it works
42
44
 
43
- 1. **Sign in** - the agent opens your browser for Google sign-in.
44
- 2. **Approve your device** - confirm on the web UI that this device can connect.
45
- 3. **Share folders** - choose which directories the AI can access.
46
- 4. **Stay connected** - the agent maintains a secure WebSocket connection so tool calls reach your machine.
47
- 5. **Use your AI** - ChatGPT can list, read, search, and grep files in your shared folders.
48
- 6. **Stop anytime** - close the agent and all access stops instantly.
45
+ 1. **Run the agent** from the folder you want to share.
46
+ 2. **Sign in** with Google when the browser opens.
47
+ 3. **Approve your device** when prompted in the terminal.
48
+ 4. **Stay connected** so tool calls from ChatGPT can reach your machine.
49
+ 5. **Stop anytime** by closing the agent. All access stops instantly.
49
50
 
50
- ## Security & privacy
51
+ ## Security and privacy
51
52
 
52
- - Files are streamed in real-time - nothing is stored on our servers.
53
+ - Files are streamed in real-time. Nothing is stored on our servers.
53
54
  - Each device is verified with Ed25519 cryptographic signatures.
54
- - Shared folders are sandboxed - the AI cannot access anything outside what you shared.
55
+ - Shared folders are sandboxed. The AI cannot access anything outside the shared directory.
55
56
  - Path traversal and symlink escapes are blocked.
56
57
  - Credentials are stored encrypted on your machine.
57
58
  - Access tokens are short-lived and refreshed automatically.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devicelink/dlink",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "DeviceLink CLI agent — secure, local-first device access with explicit user consent",
5
5
  "private": false,
6
6
  "type": "module",