@agentrhq/webcmd 0.4.2 → 0.4.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/cli-manifest.json +755 -174
- package/clis/_shared/site-auth.js +0 -1
- package/clis/_shared/site-auth.test.js +0 -1
- package/clis/amazon-in/checkout.js +0 -1
- package/clis/blinkit/checkout.js +0 -1
- package/clis/blinkit/place-order.js +0 -1
- package/clis/chatgpt/model.js +2 -2
- package/clis/chatgpt/model.test.js +7 -1
- package/clis/chatgpt/utils.js +8 -0
- package/clis/chatgpt/utils.test.js +92 -1
- package/clis/district/checkout.js +0 -1
- package/clis/district/seats.js +0 -1
- package/clis/district/set-location.js +0 -1
- package/clis/district/showtimes.js +0 -1
- package/clis/google/images.js +456 -0
- package/clis/google/images.test.js +375 -0
- package/clis/instagram/user.js +5 -13
- package/clis/instagram/user.test.js +66 -0
- package/clis/mercury/check-login.js +0 -1
- package/clis/mercury/reimbursement-draft.js +0 -1
- package/clis/practo/book-confirm.js +0 -1
- package/clis/practo/cancel.js +0 -1
- package/clis/trip/attraction.js +74 -0
- package/clis/trip/car.js +74 -0
- package/clis/trip/deals.js +61 -0
- package/clis/trip/flight-round.js +88 -0
- package/clis/trip/flight.js +83 -0
- package/clis/trip/hotel-search.js +80 -0
- package/clis/trip/hotel.js +54 -0
- package/clis/trip/package.js +93 -0
- package/clis/trip/search.js +43 -0
- package/clis/trip/tour.js +84 -0
- package/clis/trip/train.js +76 -0
- package/clis/trip/transfer.js +82 -0
- package/clis/trip/trip.test.js +1420 -0
- package/clis/trip/utils.js +911 -0
- package/dist/src/build-manifest.js +0 -1
- package/dist/src/build-manifest.test.js +4 -0
- package/dist/src/cli.js +7 -7
- package/dist/src/cli.test.js +26 -10
- package/dist/src/command-presentation.js +1 -1
- package/dist/src/command-presentation.test.js +3 -0
- package/dist/src/command-surface.js +1 -1
- package/dist/src/command-surface.test.js +4 -0
- package/dist/src/commands/auth.js +0 -2
- package/dist/src/commands/auth.test.js +0 -2
- package/dist/src/discovery.js +0 -1
- package/dist/src/execution.js +3 -3
- package/dist/src/execution.test.js +68 -15
- package/dist/src/hosted/browser-args.js +2 -2
- package/dist/src/hosted/browser-args.test.js +10 -0
- package/dist/src/hosted/client.js +2 -2
- package/dist/src/manifest-types.d.ts +0 -2
- package/dist/src/registry.d.ts +0 -2
- package/dist/src/registry.js +0 -1
- package/hosted-contract.json +767 -3
- package/package.json +2 -2
- package/skills/webcmd-browser/SKILL.md +2 -1
- package/skills/webcmd-usage/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentrhq/webcmd",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Turn websites, browser sessions, desktop apps, and local tools into deterministic CLI surfaces for humans and AI agents.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
"overrides": {
|
|
115
115
|
"postcss": "^8.5.10"
|
|
116
116
|
}
|
|
117
|
-
}
|
|
117
|
+
}
|
|
@@ -41,7 +41,8 @@ Until `doctor` is green, browser commands will not work. Registry and plugin dis
|
|
|
41
41
|
- Use a stable session name for any multi-command or human-paced browser workflow. Example: `webcmd browser fb-yaya-warmup open https://example.com`, then reuse `webcmd browser fb-yaya-warmup state`, `extract`, `click`, etc.
|
|
42
42
|
- Owned browser sessions keep a tab lease alive between calls. Release it with `webcmd browser <session> close` or let the idle timeout expire.
|
|
43
43
|
- `webcmd browser <session> bind --page <page-id>` binds an existing webcmd-managed Cloak tab to that session. Use this after the user manually logs in or navigates inside a visible Cloak window.
|
|
44
|
-
-
|
|
44
|
+
- Browser commands default to background mode.
|
|
45
|
+
- Pass `--window foreground` (or set `WEBCMD_WINDOW=foreground`) when the user must see or interact with the browser.
|
|
45
46
|
|
|
46
47
|
### Bind Tab
|
|
47
48
|
|
|
@@ -105,7 +105,7 @@ Some commands override the default through `cmd.defaultFormat`; read `--help`.
|
|
|
105
105
|
| `WEBCMD_BROWSER_COMMAND_TIMEOUT` | `60` | Per-command timeout. |
|
|
106
106
|
| `WEBCMD_CDP_ENDPOINT` | unset | Manual CDP endpoint override. |
|
|
107
107
|
| `WEBCMD_CACHE_DIR` | `~/.webcmd/cache` | Network capture and browser-state cache. |
|
|
108
|
-
| `WEBCMD_WINDOW` |
|
|
108
|
+
| `WEBCMD_WINDOW` | `background` | Explicitly override browser window mode with `foreground` or `background`. |
|
|
109
109
|
| `WEBCMD_VERBOSE` | `false` | Verbose logging, also triggered by `-v`. |
|
|
110
110
|
|
|
111
111
|
## Self-Repair
|