nstbrowser-ai-agent 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/LICENSE +201 -0
- package/README.md +1321 -0
- package/bin/nstbrowser-ai-agent-darwin-arm64 +0 -0
- package/bin/nstbrowser-ai-agent-darwin-x64 +0 -0
- package/bin/nstbrowser-ai-agent-linux-arm64 +0 -0
- package/bin/nstbrowser-ai-agent-linux-x64 +0 -0
- package/bin/nstbrowser-ai-agent-win32-x64.exe +0 -0
- package/bin/nstbrowser-ai-agent.js +109 -0
- package/dist/action-policy.d.ts +14 -0
- package/dist/action-policy.d.ts.map +1 -0
- package/dist/action-policy.js +253 -0
- package/dist/action-policy.js.map +1 -0
- package/dist/actions.d.ts +18 -0
- package/dist/actions.d.ts.map +1 -0
- package/dist/actions.js +2037 -0
- package/dist/actions.js.map +1 -0
- package/dist/auth-cli.d.ts +2 -0
- package/dist/auth-cli.d.ts.map +1 -0
- package/dist/auth-cli.js +97 -0
- package/dist/auth-cli.js.map +1 -0
- package/dist/auth-vault.d.ts +36 -0
- package/dist/auth-vault.d.ts.map +1 -0
- package/dist/auth-vault.js +125 -0
- package/dist/auth-vault.js.map +1 -0
- package/dist/browser.d.ts +573 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +2036 -0
- package/dist/browser.js.map +1 -0
- package/dist/confirmation.d.ts +8 -0
- package/dist/confirmation.d.ts.map +1 -0
- package/dist/confirmation.js +30 -0
- package/dist/confirmation.js.map +1 -0
- package/dist/daemon.d.ts +65 -0
- package/dist/daemon.d.ts.map +1 -0
- package/dist/daemon.js +589 -0
- package/dist/daemon.js.map +1 -0
- package/dist/diff.d.ts +18 -0
- package/dist/diff.d.ts.map +1 -0
- package/dist/diff.js +271 -0
- package/dist/diff.js.map +1 -0
- package/dist/domain-filter.d.ts +28 -0
- package/dist/domain-filter.d.ts.map +1 -0
- package/dist/domain-filter.js +149 -0
- package/dist/domain-filter.js.map +1 -0
- package/dist/encryption.d.ts +73 -0
- package/dist/encryption.d.ts.map +1 -0
- package/dist/encryption.js +171 -0
- package/dist/encryption.js.map +1 -0
- package/dist/ios-actions.d.ts +11 -0
- package/dist/ios-actions.d.ts.map +1 -0
- package/dist/ios-actions.js +228 -0
- package/dist/ios-actions.js.map +1 -0
- package/dist/ios-manager.d.ts +266 -0
- package/dist/ios-manager.d.ts.map +1 -0
- package/dist/ios-manager.js +1073 -0
- package/dist/ios-manager.js.map +1 -0
- package/dist/nstbrowser-actions.d.ts +10 -0
- package/dist/nstbrowser-actions.d.ts.map +1 -0
- package/dist/nstbrowser-actions.js +277 -0
- package/dist/nstbrowser-actions.js.map +1 -0
- package/dist/nstbrowser-client.d.ts +197 -0
- package/dist/nstbrowser-client.d.ts.map +1 -0
- package/dist/nstbrowser-client.js +454 -0
- package/dist/nstbrowser-client.js.map +1 -0
- package/dist/nstbrowser-errors.d.ts +28 -0
- package/dist/nstbrowser-errors.d.ts.map +1 -0
- package/dist/nstbrowser-errors.js +59 -0
- package/dist/nstbrowser-errors.js.map +1 -0
- package/dist/nstbrowser-profile-resolver.d.ts +89 -0
- package/dist/nstbrowser-profile-resolver.d.ts.map +1 -0
- package/dist/nstbrowser-profile-resolver.js +227 -0
- package/dist/nstbrowser-profile-resolver.js.map +1 -0
- package/dist/nstbrowser-types.d.ts +151 -0
- package/dist/nstbrowser-types.d.ts.map +1 -0
- package/dist/nstbrowser-types.js +5 -0
- package/dist/nstbrowser-types.js.map +1 -0
- package/dist/nstbrowser-utils.d.ts +71 -0
- package/dist/nstbrowser-utils.d.ts.map +1 -0
- package/dist/nstbrowser-utils.js +174 -0
- package/dist/nstbrowser-utils.js.map +1 -0
- package/dist/protocol.d.ts +26 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +1245 -0
- package/dist/protocol.js.map +1 -0
- package/dist/snapshot.d.ts +67 -0
- package/dist/snapshot.d.ts.map +1 -0
- package/dist/snapshot.js +514 -0
- package/dist/snapshot.js.map +1 -0
- package/dist/state-utils.d.ts +77 -0
- package/dist/state-utils.d.ts.map +1 -0
- package/dist/state-utils.js +178 -0
- package/dist/state-utils.js.map +1 -0
- package/dist/stream-server.d.ts +117 -0
- package/dist/stream-server.d.ts.map +1 -0
- package/dist/stream-server.js +309 -0
- package/dist/stream-server.js.map +1 -0
- package/dist/types.d.ts +1121 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +83 -0
- package/scripts/analyze-api-coverage.js +205 -0
- package/scripts/analyze-cli-coverage.js +239 -0
- package/scripts/build-all-platforms.sh +68 -0
- package/scripts/check-version-sync.js +39 -0
- package/scripts/copy-native.js +36 -0
- package/scripts/download-nstbrowser-docs.js +152 -0
- package/scripts/generate-skills.sh +218 -0
- package/scripts/postinstall.js +231 -0
- package/scripts/sync-version.js +69 -0
- package/skills/nstbrowser-ai-agent/SKILL.md +759 -0
- package/skills/nstbrowser-ai-agent/references/batch-operations.md +414 -0
- package/skills/nstbrowser-ai-agent/references/nst-api-reference.md +960 -0
- package/skills/nstbrowser-ai-agent/references/profile-management.md +672 -0
- package/skills/nstbrowser-ai-agent/references/proxy-configuration.md +460 -0
- package/skills/nstbrowser-ai-agent/references/troubleshooting.md +773 -0
- package/skills/nstbrowser-ai-agent/templates/automated-workflow.sh +248 -0
- package/skills/nstbrowser-ai-agent/templates/batch-proxy-update.sh +257 -0
- package/skills/nstbrowser-ai-agent/templates/profile-setup.sh +248 -0
|
@@ -0,0 +1,960 @@
|
|
|
1
|
+
# NST API Reference
|
|
2
|
+
|
|
3
|
+
Complete reference for all Nstbrowser-specific API commands in nstbrowser-ai-agent.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Profile Management API](#profile-management-api)
|
|
8
|
+
- [Browser Instance API](#browser-instance-api)
|
|
9
|
+
- [Proxy Management API](#proxy-management-api)
|
|
10
|
+
- [Tag Management API](#tag-management-api)
|
|
11
|
+
- [Group Management API](#group-management-api)
|
|
12
|
+
- [Local Data Management API](#local-data-management-api)
|
|
13
|
+
- [Environment Variables](#environment-variables)
|
|
14
|
+
- [Error Codes](#error-codes)
|
|
15
|
+
|
|
16
|
+
## Profile Management API
|
|
17
|
+
|
|
18
|
+
### List Profiles
|
|
19
|
+
|
|
20
|
+
List all profiles in your Nstbrowser account.
|
|
21
|
+
|
|
22
|
+
**Command:**
|
|
23
|
+
```bash
|
|
24
|
+
nstbrowser-ai-agent profile list [--json]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Options:**
|
|
28
|
+
- `--json`: Output in JSON format
|
|
29
|
+
|
|
30
|
+
**Example:**
|
|
31
|
+
```bash
|
|
32
|
+
nstbrowser-ai-agent profile list
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**JSON Response:**
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"success": true,
|
|
39
|
+
"data": {
|
|
40
|
+
"profiles": [
|
|
41
|
+
{
|
|
42
|
+
"profileId": "86581051-fb0d-4c4a-b1e3-ebc1abd17174",
|
|
43
|
+
"name": "db_x",
|
|
44
|
+
"platform": "Windows",
|
|
45
|
+
"kernel": "124",
|
|
46
|
+
"group": {
|
|
47
|
+
"groupId": "group-123",
|
|
48
|
+
"name": "Production"
|
|
49
|
+
},
|
|
50
|
+
"proxy": {
|
|
51
|
+
"type": "http",
|
|
52
|
+
"host": "proxy.example.com",
|
|
53
|
+
"port": 8080,
|
|
54
|
+
"enabled": true
|
|
55
|
+
},
|
|
56
|
+
"tags": ["production", "automated"]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Show Profile Details
|
|
64
|
+
|
|
65
|
+
Get complete details for a specific profile.
|
|
66
|
+
|
|
67
|
+
**Command:**
|
|
68
|
+
```bash
|
|
69
|
+
nstbrowser-ai-agent profile show <name-or-id> [--json]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Parameters:**
|
|
73
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
74
|
+
|
|
75
|
+
**Options:**
|
|
76
|
+
- `--json`: Output in JSON format
|
|
77
|
+
|
|
78
|
+
**Example:**
|
|
79
|
+
```bash
|
|
80
|
+
# By name
|
|
81
|
+
nstbrowser-ai-agent profile show db_x --json
|
|
82
|
+
|
|
83
|
+
# By ID
|
|
84
|
+
nstbrowser-ai-agent profile show 86581051-fb0d-4c4a-b1e3-ebc1abd17174 --json
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**JSON Response:**
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"success": true,
|
|
91
|
+
"data": {
|
|
92
|
+
"profileId": "86581051-fb0d-4c4a-b1e3-ebc1abd17174",
|
|
93
|
+
"name": "db_x",
|
|
94
|
+
"platform": "Windows",
|
|
95
|
+
"kernel": "124",
|
|
96
|
+
"group": {
|
|
97
|
+
"groupId": "group-123",
|
|
98
|
+
"name": "Production"
|
|
99
|
+
},
|
|
100
|
+
"proxy": {
|
|
101
|
+
"type": "http",
|
|
102
|
+
"host": "proxy.example.com",
|
|
103
|
+
"port": 8080,
|
|
104
|
+
"username": "user",
|
|
105
|
+
"enabled": true
|
|
106
|
+
},
|
|
107
|
+
"tags": [
|
|
108
|
+
{"name": "production", "color": "blue"},
|
|
109
|
+
{"name": "automated", "color": "green"}
|
|
110
|
+
],
|
|
111
|
+
"fingerprint": {
|
|
112
|
+
"canvas": "...",
|
|
113
|
+
"webgl": "...",
|
|
114
|
+
"fonts": ["Arial", "Times New Roman"]
|
|
115
|
+
},
|
|
116
|
+
"lastLaunchRecord": {
|
|
117
|
+
"launchTime": "2026-03-06T10:00:00Z",
|
|
118
|
+
"closeTime": "2026-03-06T11:00:00Z"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Create Profile
|
|
125
|
+
|
|
126
|
+
Create a new profile with specified configuration.
|
|
127
|
+
|
|
128
|
+
**Command:**
|
|
129
|
+
```bash
|
|
130
|
+
nstbrowser-ai-agent profile create <name> [options]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Parameters:**
|
|
134
|
+
- `<name>`: Profile name (required)
|
|
135
|
+
|
|
136
|
+
**Options:**
|
|
137
|
+
- `--proxy-host <host>`: Proxy server host
|
|
138
|
+
- `--proxy-port <port>`: Proxy server port
|
|
139
|
+
- `--proxy-type <type>`: Proxy type (http|https|socks5)
|
|
140
|
+
- `--proxy-username <user>`: Proxy username
|
|
141
|
+
- `--proxy-password <pass>`: Proxy password
|
|
142
|
+
- `--platform <platform>`: Platform (Windows|macOS|Linux)
|
|
143
|
+
- `--kernel <version>`: Browser kernel version
|
|
144
|
+
- `--group-id <id>`: Group ID
|
|
145
|
+
|
|
146
|
+
**Example:**
|
|
147
|
+
```bash
|
|
148
|
+
nstbrowser-ai-agent profile create my-profile \
|
|
149
|
+
--proxy-host proxy.example.com \
|
|
150
|
+
--proxy-port 8080 \
|
|
151
|
+
--proxy-type http \
|
|
152
|
+
--proxy-username user \
|
|
153
|
+
--proxy-password pass \
|
|
154
|
+
--platform Windows \
|
|
155
|
+
--group-id group-123
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Response:**
|
|
159
|
+
```
|
|
160
|
+
Profile created successfully: my-profile (ID: new-profile-id)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Delete Profile
|
|
164
|
+
|
|
165
|
+
Delete one or more profiles.
|
|
166
|
+
|
|
167
|
+
**Command:**
|
|
168
|
+
```bash
|
|
169
|
+
nstbrowser-ai-agent profile delete <profile-id> [profile-id...]
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Parameters:**
|
|
173
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
174
|
+
|
|
175
|
+
**Example:**
|
|
176
|
+
```bash
|
|
177
|
+
# Delete single profile
|
|
178
|
+
nstbrowser-ai-agent profile delete 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
179
|
+
|
|
180
|
+
# Delete multiple profiles
|
|
181
|
+
nstbrowser-ai-agent profile delete id-1 id-2 id-3
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Response:**
|
|
185
|
+
```
|
|
186
|
+
Deleted 3 profile(s) successfully
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## Browser Instance API
|
|
190
|
+
|
|
191
|
+
### List Running Browsers
|
|
192
|
+
|
|
193
|
+
List all currently running browser instances.
|
|
194
|
+
|
|
195
|
+
**Command:**
|
|
196
|
+
```bash
|
|
197
|
+
nstbrowser-ai-agent browser list
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Example:**
|
|
201
|
+
```bash
|
|
202
|
+
nstbrowser-ai-agent browser list
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Response:**
|
|
206
|
+
```
|
|
207
|
+
Running browsers:
|
|
208
|
+
- db_x (86581051-fb0d-4c4a-b1e3-ebc1abd17174) - Running
|
|
209
|
+
- test-profile (profile-id-2) - Running
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Start Browser
|
|
213
|
+
|
|
214
|
+
Start a browser instance for a specific profile.
|
|
215
|
+
|
|
216
|
+
**Command:**
|
|
217
|
+
```bash
|
|
218
|
+
nstbrowser-ai-agent browser start <name-or-id> [options]
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**Parameters:**
|
|
222
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
223
|
+
|
|
224
|
+
**Options:**
|
|
225
|
+
- `--headless`: Run in headless mode
|
|
226
|
+
- `--auto-close`: Auto-close browser when done
|
|
227
|
+
- `--disable-gpu`: Disable GPU acceleration
|
|
228
|
+
|
|
229
|
+
**Example:**
|
|
230
|
+
```bash
|
|
231
|
+
# By name
|
|
232
|
+
nstbrowser-ai-agent browser start db_x
|
|
233
|
+
|
|
234
|
+
# By ID with options
|
|
235
|
+
nstbrowser-ai-agent browser start 86581051-fb0d-4c4a-b1e3-ebc1abd17174 --headless
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**Response:**
|
|
239
|
+
```
|
|
240
|
+
Browser started successfully for profile: db_x
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Stop Browser
|
|
244
|
+
|
|
245
|
+
Stop a running browser instance.
|
|
246
|
+
|
|
247
|
+
**Command:**
|
|
248
|
+
```bash
|
|
249
|
+
nstbrowser-ai-agent browser stop <name-or-id>
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Parameters:**
|
|
253
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
254
|
+
|
|
255
|
+
**Example:**
|
|
256
|
+
```bash
|
|
257
|
+
# By name
|
|
258
|
+
nstbrowser-ai-agent browser stop db_x
|
|
259
|
+
|
|
260
|
+
# By ID
|
|
261
|
+
nstbrowser-ai-agent browser stop 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
**Response:**
|
|
265
|
+
```
|
|
266
|
+
Browser stopped successfully for profile: db_x
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Stop All Browsers
|
|
270
|
+
|
|
271
|
+
Stop all running browser instances.
|
|
272
|
+
|
|
273
|
+
**Command:**
|
|
274
|
+
```bash
|
|
275
|
+
nstbrowser-ai-agent browser stop-all
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
**Example:**
|
|
279
|
+
```bash
|
|
280
|
+
nstbrowser-ai-agent browser stop-all
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
**Response:**
|
|
284
|
+
```
|
|
285
|
+
Stopped 3 browser instance(s)
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Get Browser Pages
|
|
289
|
+
|
|
290
|
+
Get list of all pages/tabs in a running browser.
|
|
291
|
+
|
|
292
|
+
**Command:**
|
|
293
|
+
```bash
|
|
294
|
+
nstbrowser-ai-agent browser pages <name-or-id> [--json]
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
**Parameters:**
|
|
298
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
299
|
+
|
|
300
|
+
**Options:**
|
|
301
|
+
- `--json`: Output in JSON format
|
|
302
|
+
|
|
303
|
+
**Example:**
|
|
304
|
+
```bash
|
|
305
|
+
nstbrowser-ai-agent browser pages db_x --json
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
**JSON Response:**
|
|
309
|
+
```json
|
|
310
|
+
{
|
|
311
|
+
"success": true,
|
|
312
|
+
"data": {
|
|
313
|
+
"pages": [
|
|
314
|
+
{
|
|
315
|
+
"url": "https://example.com",
|
|
316
|
+
"title": "Example Domain"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"url": "https://example.com/page2",
|
|
320
|
+
"title": "Page 2"
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
### Get Debugger URL
|
|
328
|
+
|
|
329
|
+
Get Chrome DevTools debugger WebSocket URL for a running browser.
|
|
330
|
+
|
|
331
|
+
**Command:**
|
|
332
|
+
```bash
|
|
333
|
+
nstbrowser-ai-agent browser debugger <name-or-id> [--json]
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
**Parameters:**
|
|
337
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
338
|
+
|
|
339
|
+
**Options:**
|
|
340
|
+
- `--json`: Output in JSON format
|
|
341
|
+
|
|
342
|
+
**Example:**
|
|
343
|
+
```bash
|
|
344
|
+
nstbrowser-ai-agent browser debugger db_x --json
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
**JSON Response:**
|
|
348
|
+
```json
|
|
349
|
+
{
|
|
350
|
+
"success": true,
|
|
351
|
+
"data": {
|
|
352
|
+
"debuggerUrl": "ws://localhost:9222/devtools/browser/abc123"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
## Proxy Management API
|
|
358
|
+
|
|
359
|
+
### Show Proxy Configuration
|
|
360
|
+
|
|
361
|
+
Show proxy configuration and check result for a profile.
|
|
362
|
+
|
|
363
|
+
**Command:**
|
|
364
|
+
```bash
|
|
365
|
+
nstbrowser-ai-agent profile proxy show <name-or-id> [--json]
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
**Parameters:**
|
|
369
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
370
|
+
|
|
371
|
+
**Options:**
|
|
372
|
+
- `--json`: Output in JSON format
|
|
373
|
+
|
|
374
|
+
**Example:**
|
|
375
|
+
```bash
|
|
376
|
+
nstbrowser-ai-agent profile proxy show db_x --json
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
**JSON Response:**
|
|
380
|
+
```json
|
|
381
|
+
{
|
|
382
|
+
"success": true,
|
|
383
|
+
"data": {
|
|
384
|
+
"proxy": {
|
|
385
|
+
"type": "http",
|
|
386
|
+
"host": "proxy.example.com",
|
|
387
|
+
"port": 8080,
|
|
388
|
+
"username": "user",
|
|
389
|
+
"enabled": true
|
|
390
|
+
},
|
|
391
|
+
"proxyCheck": {
|
|
392
|
+
"ip": "203.0.113.1",
|
|
393
|
+
"location": "United States",
|
|
394
|
+
"timezone": "America/New_York"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### Update Proxy
|
|
401
|
+
|
|
402
|
+
Update proxy configuration for a profile.
|
|
403
|
+
|
|
404
|
+
**Command:**
|
|
405
|
+
```bash
|
|
406
|
+
nstbrowser-ai-agent profile proxy update <name-or-id> [options]
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
**Parameters:**
|
|
410
|
+
- `<name-or-id>`: Profile name or profile ID
|
|
411
|
+
|
|
412
|
+
**Options:**
|
|
413
|
+
- `--host <host>`: Proxy server host
|
|
414
|
+
- `--port <port>`: Proxy server port
|
|
415
|
+
- `--type <type>`: Proxy type (http|https|socks5)
|
|
416
|
+
- `--username <user>`: Proxy username
|
|
417
|
+
- `--password <pass>`: Proxy password
|
|
418
|
+
|
|
419
|
+
**Example:**
|
|
420
|
+
```bash
|
|
421
|
+
nstbrowser-ai-agent profile proxy update db_x \
|
|
422
|
+
--host proxy.example.com \
|
|
423
|
+
--port 8080 \
|
|
424
|
+
--type http \
|
|
425
|
+
--username user \
|
|
426
|
+
--password pass
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
**Response:**
|
|
430
|
+
```
|
|
431
|
+
Proxy updated successfully for profile: db_x
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
### Reset Proxy
|
|
435
|
+
|
|
436
|
+
Reset proxy configuration for one or more profiles.
|
|
437
|
+
|
|
438
|
+
**Command:**
|
|
439
|
+
```bash
|
|
440
|
+
nstbrowser-ai-agent profile proxy reset <profile-id> [profile-id...]
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
**Parameters:**
|
|
444
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
445
|
+
|
|
446
|
+
**Example:**
|
|
447
|
+
```bash
|
|
448
|
+
# Reset single profile
|
|
449
|
+
nstbrowser-ai-agent profile proxy reset 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
450
|
+
|
|
451
|
+
# Reset multiple profiles
|
|
452
|
+
nstbrowser-ai-agent profile proxy reset id-1 id-2 id-3
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
**Response:**
|
|
456
|
+
```
|
|
457
|
+
Proxy reset successfully for 3 profile(s)
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
### Batch Update Proxy
|
|
461
|
+
|
|
462
|
+
Update proxy configuration for multiple profiles at once.
|
|
463
|
+
|
|
464
|
+
**Command:**
|
|
465
|
+
```bash
|
|
466
|
+
nstbrowser-ai-agent profile proxy batch-update <profile-id> [profile-id...] [options]
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
**Parameters:**
|
|
470
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
471
|
+
|
|
472
|
+
**Options:**
|
|
473
|
+
- `--host <host>`: Proxy server host
|
|
474
|
+
- `--port <port>`: Proxy server port
|
|
475
|
+
- `--type <type>`: Proxy type (http|https|socks5)
|
|
476
|
+
- `--username <user>`: Proxy username
|
|
477
|
+
- `--password <pass>`: Proxy password
|
|
478
|
+
|
|
479
|
+
**Example:**
|
|
480
|
+
```bash
|
|
481
|
+
nstbrowser-ai-agent profile proxy batch-update id-1 id-2 id-3 \
|
|
482
|
+
--host proxy.example.com \
|
|
483
|
+
--port 8080 \
|
|
484
|
+
--type http \
|
|
485
|
+
--username user \
|
|
486
|
+
--password pass
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
**Response:**
|
|
490
|
+
```
|
|
491
|
+
Proxy updated successfully for 3 profile(s)
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
### Batch Reset Proxy
|
|
495
|
+
|
|
496
|
+
Reset proxy configuration for multiple profiles at once.
|
|
497
|
+
|
|
498
|
+
**Command:**
|
|
499
|
+
```bash
|
|
500
|
+
nstbrowser-ai-agent profile proxy batch-reset <profile-id> [profile-id...]
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
**Parameters:**
|
|
504
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
505
|
+
|
|
506
|
+
**Example:**
|
|
507
|
+
```bash
|
|
508
|
+
nstbrowser-ai-agent profile proxy batch-reset id-1 id-2 id-3
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
**Response:**
|
|
512
|
+
```
|
|
513
|
+
Proxy reset successfully for 3 profile(s)
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
## Tag Management API
|
|
517
|
+
|
|
518
|
+
### List Tags
|
|
519
|
+
|
|
520
|
+
List all available tags.
|
|
521
|
+
|
|
522
|
+
**Command:**
|
|
523
|
+
```bash
|
|
524
|
+
nstbrowser-ai-agent profile tags list
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
**Example:**
|
|
528
|
+
```bash
|
|
529
|
+
nstbrowser-ai-agent profile tags list
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
**Response:**
|
|
533
|
+
```
|
|
534
|
+
Available tags:
|
|
535
|
+
- production (blue)
|
|
536
|
+
- testing (green)
|
|
537
|
+
- staging (yellow)
|
|
538
|
+
- automated (purple)
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
### Create Tag
|
|
542
|
+
|
|
543
|
+
Add a tag to a profile.
|
|
544
|
+
|
|
545
|
+
**Command:**
|
|
546
|
+
```bash
|
|
547
|
+
nstbrowser-ai-agent profile tags create <profile-id> <tag-name>
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
**Parameters:**
|
|
551
|
+
- `<profile-id>`: Profile ID
|
|
552
|
+
- `<tag-name>`: Tag name
|
|
553
|
+
|
|
554
|
+
**Example:**
|
|
555
|
+
```bash
|
|
556
|
+
nstbrowser-ai-agent profile tags create 86581051-fb0d-4c4a-b1e3-ebc1abd17174 production
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
**Response:**
|
|
560
|
+
```
|
|
561
|
+
Tag 'production' added to profile successfully
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
### Update Tags
|
|
565
|
+
|
|
566
|
+
Update tags for a profile (replaces existing tags).
|
|
567
|
+
|
|
568
|
+
**Command:**
|
|
569
|
+
```bash
|
|
570
|
+
nstbrowser-ai-agent profile tags update <profile-id> <tag:color> [tag:color...]
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
**Parameters:**
|
|
574
|
+
- `<profile-id>`: Profile ID
|
|
575
|
+
- `<tag:color>`: Tag name with optional color (format: `tag-name:color` or just `tag-name`)
|
|
576
|
+
|
|
577
|
+
**Example:**
|
|
578
|
+
```bash
|
|
579
|
+
# With colors
|
|
580
|
+
nstbrowser-ai-agent profile tags update 86581051-fb0d-4c4a-b1e3-ebc1abd17174 \
|
|
581
|
+
production:blue testing:green staging:yellow
|
|
582
|
+
|
|
583
|
+
# Without colors
|
|
584
|
+
nstbrowser-ai-agent profile tags update 86581051-fb0d-4c4a-b1e3-ebc1abd17174 \
|
|
585
|
+
production testing staging
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
**Response:**
|
|
589
|
+
```
|
|
590
|
+
Tags updated successfully for profile
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### Clear Tags
|
|
594
|
+
|
|
595
|
+
Clear all tags from one or more profiles.
|
|
596
|
+
|
|
597
|
+
**Command:**
|
|
598
|
+
```bash
|
|
599
|
+
nstbrowser-ai-agent profile tags clear <profile-id> [profile-id...]
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
**Parameters:**
|
|
603
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
604
|
+
|
|
605
|
+
**Example:**
|
|
606
|
+
```bash
|
|
607
|
+
# Clear single profile
|
|
608
|
+
nstbrowser-ai-agent profile tags clear 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
609
|
+
|
|
610
|
+
# Clear multiple profiles
|
|
611
|
+
nstbrowser-ai-agent profile tags clear id-1 id-2 id-3
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
**Response:**
|
|
615
|
+
```
|
|
616
|
+
Tags cleared successfully for 3 profile(s)
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
### Batch Create Tags
|
|
620
|
+
|
|
621
|
+
Add tags to multiple profiles at once.
|
|
622
|
+
|
|
623
|
+
**Command:**
|
|
624
|
+
```bash
|
|
625
|
+
nstbrowser-ai-agent profile tags batch-create <profile-id> [profile-id...] <tag:color> [tag:color...]
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
**Parameters:**
|
|
629
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
630
|
+
- `<tag:color>`: One or more tags with optional colors
|
|
631
|
+
|
|
632
|
+
**Example:**
|
|
633
|
+
```bash
|
|
634
|
+
nstbrowser-ai-agent profile tags batch-create id-1 id-2 id-3 \
|
|
635
|
+
production:blue automated:green
|
|
636
|
+
```
|
|
637
|
+
|
|
638
|
+
**Response:**
|
|
639
|
+
```
|
|
640
|
+
Tags added successfully to 3 profile(s)
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Batch Update Tags
|
|
644
|
+
|
|
645
|
+
Update tags for multiple profiles at once (replaces existing tags).
|
|
646
|
+
|
|
647
|
+
**Command:**
|
|
648
|
+
```bash
|
|
649
|
+
nstbrowser-ai-agent profile tags batch-update <profile-id> [profile-id...] <tag:color> [tag:color...]
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
**Parameters:**
|
|
653
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
654
|
+
- `<tag:color>`: One or more tags with optional colors
|
|
655
|
+
|
|
656
|
+
**Example:**
|
|
657
|
+
```bash
|
|
658
|
+
nstbrowser-ai-agent profile tags batch-update id-1 id-2 id-3 \
|
|
659
|
+
updated:red verified:green
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
**Response:**
|
|
663
|
+
```
|
|
664
|
+
Tags updated successfully for 3 profile(s)
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
### Batch Clear Tags
|
|
668
|
+
|
|
669
|
+
Clear tags from multiple profiles at once.
|
|
670
|
+
|
|
671
|
+
**Command:**
|
|
672
|
+
```bash
|
|
673
|
+
nstbrowser-ai-agent profile tags batch-clear <profile-id> [profile-id...]
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
**Parameters:**
|
|
677
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
678
|
+
|
|
679
|
+
**Example:**
|
|
680
|
+
```bash
|
|
681
|
+
nstbrowser-ai-agent profile tags batch-clear id-1 id-2 id-3
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
**Response:**
|
|
685
|
+
```
|
|
686
|
+
Tags cleared successfully for 3 profile(s)
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
## Group Management API
|
|
690
|
+
|
|
691
|
+
### List Groups
|
|
692
|
+
|
|
693
|
+
List all profile groups.
|
|
694
|
+
|
|
695
|
+
**Command:**
|
|
696
|
+
```bash
|
|
697
|
+
nstbrowser-ai-agent profile groups list
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
**Example:**
|
|
701
|
+
```bash
|
|
702
|
+
nstbrowser-ai-agent profile groups list
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
**Response:**
|
|
706
|
+
```
|
|
707
|
+
Available groups:
|
|
708
|
+
- Production (group-123)
|
|
709
|
+
- Testing (group-456)
|
|
710
|
+
- Staging (group-789)
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
### Change Group
|
|
714
|
+
|
|
715
|
+
Move one or more profiles to a different group.
|
|
716
|
+
|
|
717
|
+
**Command:**
|
|
718
|
+
```bash
|
|
719
|
+
nstbrowser-ai-agent profile groups change <group-id> <profile-id> [profile-id...]
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
**Parameters:**
|
|
723
|
+
- `<group-id>`: Target group ID
|
|
724
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
725
|
+
|
|
726
|
+
**Example:**
|
|
727
|
+
```bash
|
|
728
|
+
# Move single profile
|
|
729
|
+
nstbrowser-ai-agent profile groups change group-123 profile-id-1
|
|
730
|
+
|
|
731
|
+
# Move multiple profiles
|
|
732
|
+
nstbrowser-ai-agent profile groups change group-123 id-1 id-2 id-3
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
**Response:**
|
|
736
|
+
```
|
|
737
|
+
Moved 3 profile(s) to group successfully
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
### Batch Change Group
|
|
741
|
+
|
|
742
|
+
Move multiple profiles to a different group (alias for `change` with multiple profiles).
|
|
743
|
+
|
|
744
|
+
**Command:**
|
|
745
|
+
```bash
|
|
746
|
+
nstbrowser-ai-agent profile groups batch-change <group-id> <profile-id> [profile-id...]
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
**Parameters:**
|
|
750
|
+
- `<group-id>`: Target group ID
|
|
751
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
752
|
+
|
|
753
|
+
**Example:**
|
|
754
|
+
```bash
|
|
755
|
+
nstbrowser-ai-agent profile groups batch-change group-123 id-1 id-2 id-3
|
|
756
|
+
```
|
|
757
|
+
|
|
758
|
+
**Response:**
|
|
759
|
+
```
|
|
760
|
+
Moved 3 profile(s) to group successfully
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
## Local Data Management API
|
|
764
|
+
|
|
765
|
+
### Clear Cache
|
|
766
|
+
|
|
767
|
+
Clear browser cache for one or more profiles.
|
|
768
|
+
|
|
769
|
+
**Command:**
|
|
770
|
+
```bash
|
|
771
|
+
nstbrowser-ai-agent profile cache clear <profile-id> [profile-id...]
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
**Parameters:**
|
|
775
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
776
|
+
|
|
777
|
+
**Example:**
|
|
778
|
+
```bash
|
|
779
|
+
# Clear single profile
|
|
780
|
+
nstbrowser-ai-agent profile cache clear 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
781
|
+
|
|
782
|
+
# Clear multiple profiles
|
|
783
|
+
nstbrowser-ai-agent profile cache clear id-1 id-2 id-3
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
**Response:**
|
|
787
|
+
```
|
|
788
|
+
Cache cleared successfully for 3 profile(s)
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
### Clear Cookies
|
|
792
|
+
|
|
793
|
+
Clear cookies for one or more profiles.
|
|
794
|
+
|
|
795
|
+
**Command:**
|
|
796
|
+
```bash
|
|
797
|
+
nstbrowser-ai-agent profile cookies clear <profile-id> [profile-id...]
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
**Parameters:**
|
|
801
|
+
- `<profile-id>`: One or more profile IDs (space-separated)
|
|
802
|
+
|
|
803
|
+
**Example:**
|
|
804
|
+
```bash
|
|
805
|
+
# Clear single profile
|
|
806
|
+
nstbrowser-ai-agent profile cookies clear 86581051-fb0d-4c4a-b1e3-ebc1abd17174
|
|
807
|
+
|
|
808
|
+
# Clear multiple profiles
|
|
809
|
+
nstbrowser-ai-agent profile cookies clear id-1 id-2 id-3
|
|
810
|
+
```
|
|
811
|
+
|
|
812
|
+
**Response:**
|
|
813
|
+
```
|
|
814
|
+
Cookies cleared successfully for 3 profile(s)
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
## Environment Variables
|
|
818
|
+
|
|
819
|
+
### NST API Configuration
|
|
820
|
+
|
|
821
|
+
| Variable | Description | Default | Required |
|
|
822
|
+
|----------|-------------|---------|----------|
|
|
823
|
+
| `NST_API_KEY` | Nstbrowser API key | - | Yes |
|
|
824
|
+
| `NST_HOST` | Nstbrowser API host | `localhost` | No |
|
|
825
|
+
| `NST_PORT` | Nstbrowser API port | `8848` | No |
|
|
826
|
+
|
|
827
|
+
### Profile Selection
|
|
828
|
+
|
|
829
|
+
| Variable | Description | Default | Required |
|
|
830
|
+
|----------|-------------|---------|----------|
|
|
831
|
+
| `NST_PROFILE` | Default profile name | - | No |
|
|
832
|
+
| `NST_PROFILE_ID` | Default profile ID | - | No |
|
|
833
|
+
|
|
834
|
+
### Agent Configuration
|
|
835
|
+
|
|
836
|
+
| Variable | Description | Default | Required |
|
|
837
|
+
|----------|-------------|---------|----------|
|
|
838
|
+
| `NSTBROWSER_AI_AGENT_PROVIDER` | Browser provider | `nst` | No |
|
|
839
|
+
| `NSTBROWSER_AI_AGENT_LOCAL` | Use local browser | `false` | No |
|
|
840
|
+
| `NSTBROWSER_AI_AGENT_DEBUG` | Enable debug output | `false` | No |
|
|
841
|
+
| `NSTBROWSER_AI_AGENT_DEFAULT_TIMEOUT` | Default timeout (ms) | `25000` | No |
|
|
842
|
+
|
|
843
|
+
### Example Configuration
|
|
844
|
+
|
|
845
|
+
```bash
|
|
846
|
+
# Required
|
|
847
|
+
export NST_API_KEY="your-api-key-here"
|
|
848
|
+
|
|
849
|
+
# Optional: Custom API endpoint
|
|
850
|
+
export NST_HOST="api.nstbrowser.io"
|
|
851
|
+
export NST_PORT="443"
|
|
852
|
+
|
|
853
|
+
# Optional: Default profile
|
|
854
|
+
export NST_PROFILE="my-default-profile"
|
|
855
|
+
|
|
856
|
+
# Optional: Agent configuration
|
|
857
|
+
export NSTBROWSER_AI_AGENT_DEBUG=1
|
|
858
|
+
export NSTBROWSER_AI_AGENT_DEFAULT_TIMEOUT=30000
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
## Error Codes
|
|
862
|
+
|
|
863
|
+
### Connection Errors
|
|
864
|
+
|
|
865
|
+
| Error | Description | Solution |
|
|
866
|
+
|-------|-------------|----------|
|
|
867
|
+
| `NST_API_KEY is required` | API key not set | Set `NST_API_KEY` environment variable |
|
|
868
|
+
| `Failed to connect to Nstbrowser` | Cannot reach NST API | Ensure Nstbrowser client is running |
|
|
869
|
+
| `Connection timeout` | API request timed out | Check network connectivity |
|
|
870
|
+
| `Invalid API key` | API key is incorrect | Verify API key in Nstbrowser dashboard |
|
|
871
|
+
|
|
872
|
+
### Profile Errors
|
|
873
|
+
|
|
874
|
+
| Error | Description | Solution |
|
|
875
|
+
|-------|-------------|----------|
|
|
876
|
+
| `Profile not found` | Profile doesn't exist | List profiles with `profile list` |
|
|
877
|
+
| `Profile name ambiguous` | Multiple profiles with same name | Use profile ID instead |
|
|
878
|
+
| `Profile creation failed` | Cannot create profile | Check API key permissions |
|
|
879
|
+
| `Profile already exists` | Profile name already in use | Use different name or delete existing |
|
|
880
|
+
|
|
881
|
+
### Proxy Errors
|
|
882
|
+
|
|
883
|
+
| Error | Description | Solution |
|
|
884
|
+
|-------|-------------|----------|
|
|
885
|
+
| `Proxy connection failed` | Cannot connect to proxy | Verify proxy host and port |
|
|
886
|
+
| `Proxy authentication failed` | Invalid credentials | Check username and password |
|
|
887
|
+
| `Proxy timeout` | Proxy not responding | Increase timeout or try different proxy |
|
|
888
|
+
| `Invalid proxy type` | Unsupported proxy type | Use http, https, or socks5 |
|
|
889
|
+
|
|
890
|
+
### Browser Errors
|
|
891
|
+
|
|
892
|
+
| Error | Description | Solution |
|
|
893
|
+
|-------|-------------|----------|
|
|
894
|
+
| `Browser start failed` | Cannot start browser | Check profile configuration |
|
|
895
|
+
| `Browser not running` | Browser instance not found | Start browser with `browser start` |
|
|
896
|
+
| `Browser crashed` | Browser instance crashed | Restart browser |
|
|
897
|
+
| `Browser timeout` | Browser not responding | Increase timeout or restart |
|
|
898
|
+
|
|
899
|
+
### Batch Operation Errors
|
|
900
|
+
|
|
901
|
+
| Error | Description | Solution |
|
|
902
|
+
|-------|-------------|----------|
|
|
903
|
+
| `Partial batch failure` | Some operations failed | Check individual profile errors |
|
|
904
|
+
| `Batch size limit exceeded` | Too many profiles | Split into smaller batches |
|
|
905
|
+
| `Invalid profile ID in batch` | One or more IDs invalid | Verify all profile IDs |
|
|
906
|
+
|
|
907
|
+
## Troubleshooting Tips
|
|
908
|
+
|
|
909
|
+
### Check NST Client Status
|
|
910
|
+
|
|
911
|
+
```bash
|
|
912
|
+
# Check if Nstbrowser client is running
|
|
913
|
+
curl http://localhost:8848/api/v2/profiles
|
|
914
|
+
|
|
915
|
+
# Expected response: JSON with profiles list
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### Verify API Connectivity
|
|
919
|
+
|
|
920
|
+
```bash
|
|
921
|
+
# Test API connection
|
|
922
|
+
nstbrowser-ai-agent profile list
|
|
923
|
+
|
|
924
|
+
# If successful, API is working
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
### Debug Mode
|
|
928
|
+
|
|
929
|
+
```bash
|
|
930
|
+
# Enable debug output
|
|
931
|
+
export NSTBROWSER_AI_AGENT_DEBUG=1
|
|
932
|
+
nstbrowser-ai-agent profile list
|
|
933
|
+
|
|
934
|
+
# Shows detailed API requests and responses
|
|
935
|
+
```
|
|
936
|
+
|
|
937
|
+
### Check Profile Resolution
|
|
938
|
+
|
|
939
|
+
```bash
|
|
940
|
+
# Show profile details to verify name/ID resolution
|
|
941
|
+
nstbrowser-ai-agent profile show my-profile --json
|
|
942
|
+
|
|
943
|
+
# Verify the correct profile is selected
|
|
944
|
+
```
|
|
945
|
+
|
|
946
|
+
### Test Proxy Configuration
|
|
947
|
+
|
|
948
|
+
```bash
|
|
949
|
+
# Show proxy configuration and check result
|
|
950
|
+
nstbrowser-ai-agent profile proxy show my-profile --json
|
|
951
|
+
|
|
952
|
+
# Verify IP, location, and timezone
|
|
953
|
+
```
|
|
954
|
+
|
|
955
|
+
## See Also
|
|
956
|
+
|
|
957
|
+
- [Profile Management Guide](profile-management.md)
|
|
958
|
+
- [Proxy Configuration Guide](proxy-configuration.md)
|
|
959
|
+
- [Batch Operations Guide](batch-operations.md)
|
|
960
|
+
- [Troubleshooting Guide](troubleshooting.md)
|