@devicelink/dlink 0.3.3 → 0.3.5

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/.env.production CHANGED
@@ -1,8 +1,6 @@
1
- # Production environment configuration
2
- # For production deployment
1
+ # Generated by scripts/generate-agent-env.mjs - do not edit by hand.
2
+ # Target: production
3
3
 
4
- # Control server URL (HTTPS)
5
4
  DLINK_CONTROL_URL=https://api.devicelink.ai
6
-
7
- # Bridge WebSocket URL (WSS - secure WebSocket)
8
5
  DLINK_BRIDGE_URL=wss://api.devicelink.ai/ws
6
+ DEVICELINK_ENV=production
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @devicelink/dlink
2
2
 
3
- DeviceLink lets you share folders from your computer with AI assistants (like ChatGPT) safely. Nothing is uploaded - files stay on your machine and are streamed in real-time with your explicit permission.
3
+ DeviceLink lets you share folders from your computer with AI assistants - Claude, ChatGPT, and more. Nothing is uploaded. Files stay on your machine and are streamed in real-time with your explicit permission.
4
4
 
5
5
  ## Install
6
6
 
@@ -14,28 +14,39 @@ 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. We create a workspace for you automatically. No setup needed.
17
+ Sign in at [devicelink.ai](https://devicelink.ai) with Google. A workspace is created for you automatically.
18
18
 
19
- ### 2. Install the agent
19
+ ### 2. Install and run the agent
20
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.
21
+ Open a terminal in the folder you want to share, then:
22
22
 
23
23
  ```bash
24
24
  npm install -g @devicelink/dlink
25
25
  dlink
26
26
  ```
27
27
 
28
- ### 3. Use with ChatGPT
28
+ Type `signin` in the agent console and sign in with the same Google account.
29
29
 
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
+ ### 3. Connect an AI platform
31
+
32
+ Add DeviceLink as a connector in your AI platform of choice. Use the MCP endpoint:
33
+
34
+ ```
35
+ https://api.devicelink.ai/mcp
36
+ ```
37
+
38
+ - **Claude** - Settings → Integrations → Add connector
39
+ - **ChatGPT** - Settings → Connected apps → Add custom connector
40
+
41
+ Sign in with the same Google account when prompted. Then ask the AI to list your files.
31
42
 
32
43
  ## Commands
33
44
 
34
- Run `dlink` to start the interactive agent. Once running, you can type these in the console:
45
+ Run `dlink` to start the interactive agent. Once running, type these in the console:
35
46
 
36
47
  | Command | What it does |
37
48
  |---------|-------------|
38
- | `signin` | Sign in to DeviceLink |
49
+ | `signin` | Sign in to DeviceLink (opens browser) |
39
50
  | `signout` | Sign out on this device |
40
51
  | `status` | Show connection status |
41
52
  | `stop` | Disconnect and exit |
@@ -45,7 +56,7 @@ Run `dlink` to start the interactive agent. Once running, you can type these in
45
56
  1. **Run the agent** from the folder you want to share.
46
57
  2. **Sign in** with Google when the browser opens.
47
58
  3. **Approve your device** when prompted in the terminal.
48
- 4. **Stay connected** so tool calls from ChatGPT can reach your machine.
59
+ 4. **Connect an AI** using the MCP endpoint above.
49
60
  5. **Stop anytime** by closing the agent. All access stops instantly.
50
61
 
51
62
  ## Security and privacy
@@ -60,6 +71,7 @@ Run `dlink` to start the interactive agent. Once running, you can type these in
60
71
  ## Links
61
72
 
62
73
  - Website: [devicelink.ai](https://devicelink.ai)
74
+ - Documentation: [devicelink.ai/docs](https://devicelink.ai/docs)
63
75
  - Support: [devicelink.ai/support](https://devicelink.ai/support)
64
76
 
65
77
  ## License