@xkwdstore/agent 2.0.2 → 2.0.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 +251 -253
- package/package.json +54 -54
- package/src/actions/comment.js +137 -137
- package/src/actions/dbc.js +149 -149
- package/src/actions/follow.js +82 -82
- package/src/actions/helpers.js +753 -753
- package/src/actions/index.js +94 -94
- package/src/actions/like.js +244 -244
- package/src/actions/session.js +1610 -1610
- package/src/actions/tweet.js +90 -90
- package/src/challengeCodec.js +31 -31
- package/src/chromeDetector.js +154 -154
- package/src/cli.js +664 -528
- package/src/configStore.js +97 -97
- package/src/deviceKeyStore.js +947 -700
- package/src/enrollmentClient.js +588 -581
- package/src/fingerprint.js +261 -261
- package/src/fingerprintStore.js +125 -125
- package/src/leaseClient.js +84 -84
- package/src/processLock.js +148 -148
- package/src/profilePath.js +1116 -1116
- package/src/proxyEgress.js +338 -338
- package/src/proxyPolicy.js +76 -76
- package/src/secretStore.js +132 -132
- package/src/sessionHandler.js +618 -452
- package/src/stealth.js +1250 -1250
- package/src/wsClient.js +233 -233
package/README.md
CHANGED
|
@@ -1,254 +1,252 @@
|
|
|
1
|
-
# @xkwdstore/agent
|
|
2
|
-
|
|
3
|
-
Terminal-only, cryptographically authenticated CLI for XKWDStore browser automation.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
> **@xkwdstore/agent 2.0.
|
|
8
|
-
>
|
|
9
|
-
>
|
|
10
|
-
>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
| **
|
|
44
|
-
| **
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
- **
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- **
|
|
67
|
-
- **
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
- The device
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
| `
|
|
88
|
-
| `
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
92
|
-
| `
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
- `--
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
- ❌
|
|
162
|
-
- ❌
|
|
163
|
-
- ❌
|
|
164
|
-
- ❌ Require
|
|
165
|
-
- ❌
|
|
166
|
-
- ❌
|
|
167
|
-
- ❌
|
|
168
|
-
- ❌
|
|
169
|
-
- ❌
|
|
170
|
-
- ❌
|
|
171
|
-
- ❌
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
>
|
|
184
|
-
>
|
|
185
|
-
>
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
- Raw
|
|
203
|
-
-
|
|
204
|
-
-
|
|
205
|
-
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
```
|
|
253
|
-
|
|
1
|
+
# @xkwdstore/agent
|
|
2
|
+
|
|
3
|
+
Terminal-only, cryptographically authenticated CLI for XKWDStore browser automation.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
> **@xkwdstore/agent 2.0.2 is now publicly available on npm.**
|
|
8
|
+
>
|
|
9
|
+
> Version 2.0.2 (Protocol-v2 Windows browser-launch fix) is the current
|
|
10
|
+
> published version on the official npm registry.
|
|
11
|
+
|
|
12
|
+
End users install by downloading the installer file first, then running it
|
|
13
|
+
(the installer explicitly forbids piping a remote script directly into
|
|
14
|
+
execution). This creates a desktop launcher pinned to this version:
|
|
15
|
+
|
|
16
|
+
```powershell
|
|
17
|
+
$installer = "$env:TEMP\xkwdstore-install.ps1"
|
|
18
|
+
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/EssaGhazwani/TW-manager-install/main/install.ps1" -OutFile $installer
|
|
19
|
+
powershell.exe -NoProfile -ExecutionPolicy Bypass -File $installer
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Or, from CMD:
|
|
23
|
+
|
|
24
|
+
```cmd
|
|
25
|
+
curl -L -o "%TEMP%\xkwdstore-install.ps1" https://raw.githubusercontent.com/EssaGhazwani/TW-manager-install/main/install.ps1 && powershell -NoProfile -ExecutionPolicy Bypass -File "%TEMP%\xkwdstore-install.ps1"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The generated launcher runs the pinned command:
|
|
29
|
+
|
|
30
|
+
```powershell
|
|
31
|
+
npx --yes @xkwdstore/agent@2.0.2 start
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Automated installer tests use `-NoLaunch` or a mocked `npx` command so the
|
|
35
|
+
real pinned package is never executed from the public registry during
|
|
36
|
+
installation validation.
|
|
37
|
+
|
|
38
|
+
## Platform Support
|
|
39
|
+
|
|
40
|
+
| Platform | Status |
|
|
41
|
+
|----------|--------|
|
|
42
|
+
| **Windows** | Implementation present. ACL hardening awaits real Windows runner CI. |
|
|
43
|
+
| **Linux (with Secret Service / libsecret)** | Implementation present. Pending platform verification on CI. |
|
|
44
|
+
| **macOS** | **Unsupported.** Fails closed with an explicit error. No macOS Keychain integration is implemented. |
|
|
45
|
+
|
|
46
|
+
## Requirements
|
|
47
|
+
|
|
48
|
+
- **Node.js 22 or later** — check with `node --version`
|
|
49
|
+
- **Google Chrome** installed on your computer
|
|
50
|
+
- A terminal (PowerShell, Windows Terminal, or Linux shell)
|
|
51
|
+
- **Linux**: `gnome-keyring` or `seahorse` (provides `libsecret` / `secret-tool`)
|
|
52
|
+
|
|
53
|
+
## First Run
|
|
54
|
+
|
|
55
|
+
On first run, the agent will:
|
|
56
|
+
|
|
57
|
+
1. Generate an Ed25519 key pair locally on your computer.
|
|
58
|
+
2. Open your browser to x.kwdstore.com for authorization.
|
|
59
|
+
3. Wait for you to sign in and approve the computer.
|
|
60
|
+
4. Connect securely after approval.
|
|
61
|
+
|
|
62
|
+
**No pairing code. No email prompt. No API key. No download. No installer.**
|
|
63
|
+
|
|
64
|
+
The private key is stored using your operating system's secure credential storage:
|
|
65
|
+
- **Windows**: DPAPI (current-user scope) — pending ACL hardening CI verification
|
|
66
|
+
- **Linux**: Secret Service / libsecret
|
|
67
|
+
- **macOS**: Not supported — fails with an explicit error
|
|
68
|
+
|
|
69
|
+
The private key **never leaves your computer**, never appears in logs, and never
|
|
70
|
+
appears in command-line arguments.
|
|
71
|
+
|
|
72
|
+
## Subsequent Runs
|
|
73
|
+
|
|
74
|
+
After first authorization, the agent connects automatically.
|
|
75
|
+
|
|
76
|
+
No browser approval is needed unless:
|
|
77
|
+
- The device key was deleted
|
|
78
|
+
- The device was revoked from the dashboard
|
|
79
|
+
- Secure storage was reset
|
|
80
|
+
- The server no longer recognizes the public key
|
|
81
|
+
|
|
82
|
+
## Commands
|
|
83
|
+
|
|
84
|
+
| Command | Description |
|
|
85
|
+
|---------|-------------|
|
|
86
|
+
| `start` | Start the agent (connect, run browser sessions) |
|
|
87
|
+
| `status` | Show device and connection status |
|
|
88
|
+
| `logout` | Delete local device identity (requires re-authorization) |
|
|
89
|
+
| `revoke-local` | Delete local device identity and credentials |
|
|
90
|
+
| `doctor` | Run diagnostic checks |
|
|
91
|
+
| `version` | Print version information |
|
|
92
|
+
| `help` | Show help |
|
|
93
|
+
|
|
94
|
+
### Options
|
|
95
|
+
|
|
96
|
+
- `--server=<url>` — Server URL (default: `https://x.kwdstore.com`)
|
|
97
|
+
- `--replace` — Replace a running instance (safe takeover)
|
|
98
|
+
|
|
99
|
+
## Stopping the Agent
|
|
100
|
+
|
|
101
|
+
Press **Ctrl+C** in the terminal. The agent closes all browser sessions and
|
|
102
|
+
disconnects cleanly. No background process remains.
|
|
103
|
+
|
|
104
|
+
## Data Storage
|
|
105
|
+
|
|
106
|
+
The agent stores runtime data in your operating system's standard application-data
|
|
107
|
+
directory:
|
|
108
|
+
|
|
109
|
+
| Platform | Location |
|
|
110
|
+
|----------|----------|
|
|
111
|
+
| Windows | `%LOCALAPPDATA%\XKWDStore\` |
|
|
112
|
+
| Linux | `${XDG_DATA_HOME:-~/.local/share}/xkwdstore/` |
|
|
113
|
+
|
|
114
|
+
This directory contains:
|
|
115
|
+
- Chrome profiles (persistent cookies and browser storage)
|
|
116
|
+
- Bounded logs (no cookies, tokens, private keys, or secrets)
|
|
117
|
+
- Non-secret device metadata (deviceId, publicKey, fingerprint)
|
|
118
|
+
- Temporary runtime files
|
|
119
|
+
|
|
120
|
+
**Nothing is written to Desktop, Documents, Downloads, or OneDrive.**
|
|
121
|
+
|
|
122
|
+
## Security
|
|
123
|
+
|
|
124
|
+
### Device Identity
|
|
125
|
+
|
|
126
|
+
The device identity is an **Ed25519 key pair** generated locally. The server
|
|
127
|
+
authenticates the computer by verifying signatures made by the private key.
|
|
128
|
+
Hardware attributes (hostname, OS, architecture) are collected for display and
|
|
129
|
+
anomaly detection only — they are **not** authentication credentials.
|
|
130
|
+
|
|
131
|
+
### WebSocket Authentication
|
|
132
|
+
|
|
133
|
+
Every WebSocket connection uses **Ed25519 challenge-response**:
|
|
134
|
+
1. Server sends a challenge with a random nonce.
|
|
135
|
+
2. Client signs the challenge with its private key.
|
|
136
|
+
3. Server verifies the signature against the registered public key.
|
|
137
|
+
|
|
138
|
+
No HTTP credential exchange. No in-memory ticket. No bearer token in the URL.
|
|
139
|
+
|
|
140
|
+
### Revocation
|
|
141
|
+
|
|
142
|
+
A device can be revoked from the dashboard. Revocation immediately prevents all
|
|
143
|
+
future challenge-response authentication. Active connections are closed when
|
|
144
|
+
the server processes the revocation event — this requires the
|
|
145
|
+
`protocolV2Revocation` integration test to pass.
|
|
146
|
+
|
|
147
|
+
### Windows Private Key Storage
|
|
148
|
+
|
|
149
|
+
1. Key is DPAPI-protected through stdin.
|
|
150
|
+
2. Encrypted envelope is written to disk.
|
|
151
|
+
3. A restricted DACL is applied via PowerShell.
|
|
152
|
+
4. ACL application is verified (not best-effort): the write **fails** if the
|
|
153
|
+
ACL cannot be applied or verified.
|
|
154
|
+
|
|
155
|
+
**Status**: Implementation present. ACL fail-closed tests require a real
|
|
156
|
+
Windows runner (pending CI billing restoration).
|
|
157
|
+
|
|
158
|
+
## What This Agent Does NOT Do
|
|
159
|
+
|
|
160
|
+
- ❌ Download or install a browser (uses your system Chrome)
|
|
161
|
+
- ❌ Run a self-updater (you pin the version in the command)
|
|
162
|
+
- ❌ Poll GitHub for manifests
|
|
163
|
+
- ❌ Require a pairing code
|
|
164
|
+
- ❌ Require an email in the terminal
|
|
165
|
+
- ❌ Keep a tray application running
|
|
166
|
+
- ❌ Install a Windows service
|
|
167
|
+
- ❌ Create a Scheduled Task
|
|
168
|
+
- ❌ Write to Desktop, Documents, Downloads, or OneDrive
|
|
169
|
+
- ❌ Store private keys in plaintext
|
|
170
|
+
- ❌ Use `curl | sh` or `Invoke-WebRequest | Invoke-Expression`
|
|
171
|
+
- ❌ Support macOS (fails closed)
|
|
172
|
+
|
|
173
|
+
## Version Management
|
|
174
|
+
|
|
175
|
+
The agent does NOT update itself. To use a newer version, change the version
|
|
176
|
+
number in the command. The pinned future command for this release is:
|
|
177
|
+
|
|
178
|
+
```powershell
|
|
179
|
+
npx --yes @xkwdstore/agent@2.0.2 start
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
> Version 2.0.2 is the current published version. Version 2.0.1 was the
|
|
183
|
+
> previous release. The pinned command reflects the latest published version.
|
|
184
|
+
>
|
|
185
|
+
> The server checks compatibility at startup and displays a clear message if
|
|
186
|
+
> the agent version is no longer supported.
|
|
187
|
+
|
|
188
|
+
## Privacy
|
|
189
|
+
|
|
190
|
+
The agent collects and sends the following non-secret information to the server:
|
|
191
|
+
- Hostname (for display)
|
|
192
|
+
- Operating system and version
|
|
193
|
+
- CPU architecture
|
|
194
|
+
- Current OS username
|
|
195
|
+
- Chrome version
|
|
196
|
+
- A locally-salted hash of machine identifiers (for anomaly detection, not
|
|
197
|
+
authentication)
|
|
198
|
+
|
|
199
|
+
The agent does **not** send:
|
|
200
|
+
- Raw motherboard serial numbers
|
|
201
|
+
- Raw disk serial numbers
|
|
202
|
+
- Raw machine GUIDs
|
|
203
|
+
- Private keys
|
|
204
|
+
- Cookies or browser storage
|
|
205
|
+
- Passwords or tokens
|
|
206
|
+
|
|
207
|
+
## Troubleshooting
|
|
208
|
+
|
|
209
|
+
Run `xkwd-agent doctor` to check:
|
|
210
|
+
- Node.js version
|
|
211
|
+
- Chrome installation
|
|
212
|
+
- Secure storage availability
|
|
213
|
+
- Data directory
|
|
214
|
+
- Device enrollment status
|
|
215
|
+
- Server connectivity
|
|
216
|
+
|
|
217
|
+
### Chrome Not Found
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
Google Chrome was not found.
|
|
221
|
+
Install Chrome and run the command again.
|
|
222
|
+
No browser was downloaded or installed automatically.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Install Google Chrome from https://www.google.com/chrome/ and run the command again.
|
|
226
|
+
|
|
227
|
+
### Secure Storage Unavailable (Linux)
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
Secure key storage is unavailable on this system.
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Install `gnome-keyring` or `seahorse` (provides `libsecret` / `secret-tool`).
|
|
234
|
+
|
|
235
|
+
### macOS Not Supported
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
macOS is not supported. The agent fails closed on macOS.
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
The agent does not implement macOS Keychain integration. Use a Linux or Windows computer.
|
|
242
|
+
|
|
243
|
+
### Already Running
|
|
244
|
+
|
|
245
|
+
```
|
|
246
|
+
XKWDStore Agent is already running on this computer.
|
|
247
|
+
PID: ...
|
|
248
|
+
Started: ...
|
|
249
|
+
Device: ...
|
|
250
|
+
```
|
|
251
|
+
|
|
254
252
|
Use `xkwd-agent start --replace` to safely replace the running instance.
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xkwdstore/agent",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "XKWDStore Agent — terminal-only, cryptographically authenticated CLI for browser automation",
|
|
5
|
-
"main": "src/cli.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"xkwd-agent": "src/cli.js"
|
|
8
|
-
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"start": "node src/cli.js start",
|
|
11
|
-
"dev": "node src/cli.js start",
|
|
12
|
-
"test": "node --test tests/*.test.js",
|
|
13
|
-
"build": "echo 'No build step — this is a pure npm CLI package'"
|
|
14
|
-
},
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">=22.0.0"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"src/cli.js",
|
|
20
|
-
"src/deviceKeyStore.js",
|
|
21
|
-
"src/chromeDetector.js",
|
|
22
|
-
"src/enrollmentClient.js",
|
|
23
|
-
"src/processLock.js",
|
|
24
|
-
"src/wsClient.js",
|
|
25
|
-
"src/challengeCodec.js",
|
|
26
|
-
"src/sessionHandler.js",
|
|
27
|
-
"src/fingerprint.js",
|
|
28
|
-
"src/fingerprintStore.js",
|
|
29
|
-
"src/profilePath.js",
|
|
30
|
-
"src/stealth.js",
|
|
31
|
-
"src/leaseClient.js",
|
|
32
|
-
"src/proxyEgress.js",
|
|
33
|
-
"src/proxyPolicy.js",
|
|
34
|
-
"src/configStore.js",
|
|
35
|
-
"src/secretStore.js",
|
|
36
|
-
"src/actions/",
|
|
37
|
-
"README.md",
|
|
38
|
-
"LICENSE"
|
|
39
|
-
],
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"otpauth": "^9.3.0",
|
|
42
|
-
"playwright-core": "^1.58.2",
|
|
43
|
-
"ws": "^8.19.0"
|
|
44
|
-
},
|
|
45
|
-
"repository": {
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/EssaGhazwani/TW-manager.git",
|
|
48
|
-
"directory": "apps/local-agent"
|
|
49
|
-
},
|
|
50
|
-
"license": "UNLICENSED",
|
|
51
|
-
"private": false,
|
|
52
|
-
"publishConfig": {
|
|
53
|
-
"access": "public"
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xkwdstore/agent",
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"description": "XKWDStore Agent — terminal-only, cryptographically authenticated CLI for browser automation",
|
|
5
|
+
"main": "src/cli.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"xkwd-agent": "src/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"start": "node src/cli.js start",
|
|
11
|
+
"dev": "node src/cli.js start",
|
|
12
|
+
"test": "node --test tests/*.test.js",
|
|
13
|
+
"build": "echo 'No build step — this is a pure npm CLI package'"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=22.0.0"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"src/cli.js",
|
|
20
|
+
"src/deviceKeyStore.js",
|
|
21
|
+
"src/chromeDetector.js",
|
|
22
|
+
"src/enrollmentClient.js",
|
|
23
|
+
"src/processLock.js",
|
|
24
|
+
"src/wsClient.js",
|
|
25
|
+
"src/challengeCodec.js",
|
|
26
|
+
"src/sessionHandler.js",
|
|
27
|
+
"src/fingerprint.js",
|
|
28
|
+
"src/fingerprintStore.js",
|
|
29
|
+
"src/profilePath.js",
|
|
30
|
+
"src/stealth.js",
|
|
31
|
+
"src/leaseClient.js",
|
|
32
|
+
"src/proxyEgress.js",
|
|
33
|
+
"src/proxyPolicy.js",
|
|
34
|
+
"src/configStore.js",
|
|
35
|
+
"src/secretStore.js",
|
|
36
|
+
"src/actions/",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"otpauth": "^9.3.0",
|
|
42
|
+
"playwright-core": "^1.58.2",
|
|
43
|
+
"ws": "^8.19.0"
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/EssaGhazwani/TW-manager.git",
|
|
48
|
+
"directory": "apps/local-agent"
|
|
49
|
+
},
|
|
50
|
+
"license": "UNLICENSED",
|
|
51
|
+
"private": false,
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
}
|
|
55
55
|
}
|