@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.
- package/README.md +17 -16
- 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.
|
|
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.
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
### 3. Connect ChatGPT
|
|
28
|
+
### 3. Use with ChatGPT
|
|
28
29
|
|
|
29
|
-
Add DeviceLink as
|
|
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
|
|
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. **
|
|
44
|
-
2. **
|
|
45
|
-
3. **
|
|
46
|
-
4. **Stay connected**
|
|
47
|
-
5. **
|
|
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
|
|
51
|
+
## Security and privacy
|
|
51
52
|
|
|
52
|
-
- Files are streamed in real-time
|
|
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
|
|
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.
|