@agentrhq/webcmd 0.2.0 → 0.2.2

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.
Files changed (78) hide show
  1. package/README.md +58 -31
  2. package/cli-manifest.json +506 -0
  3. package/clis/_shared/site-auth.js +6 -1
  4. package/clis/district/_lib.js +566 -0
  5. package/clis/district/auth.js +49 -0
  6. package/clis/district/checkout.js +278 -0
  7. package/clis/district/listings.js +158 -0
  8. package/clis/district/locations.js +211 -0
  9. package/clis/district/search.js +218 -0
  10. package/clis/district/seats.js +233 -0
  11. package/clis/district/set-location.js +82 -0
  12. package/clis/district/showtimes.js +433 -0
  13. package/clis/reddit/popular.js +12 -1
  14. package/clis/reddit/popular.test.js +12 -3
  15. package/clis/twitter/delete.js +14 -6
  16. package/clis/twitter/delete.test.js +74 -1
  17. package/clis/twitter/timeline.js +3 -1
  18. package/clis/twitter/timeline.test.js +4 -0
  19. package/dist/src/browser/bridge-readiness.test.js +1 -1
  20. package/dist/src/browser/bridge.d.ts +2 -0
  21. package/dist/src/browser/bridge.js +6 -4
  22. package/dist/src/browser/cdp.d.ts +1 -0
  23. package/dist/src/browser/daemon-client.d.ts +1 -0
  24. package/dist/src/browser/daemon-client.js +7 -2
  25. package/dist/src/browser/daemon-client.test.js +33 -30
  26. package/dist/src/browser/daemon-transport.js +3 -19
  27. package/dist/src/browser/page.d.ts +5 -1
  28. package/dist/src/browser/page.js +16 -1
  29. package/dist/src/browser/profile.d.ts +9 -0
  30. package/dist/src/browser/profile.js +18 -7
  31. package/dist/src/browser/profile.test.d.ts +1 -0
  32. package/dist/src/browser/profile.test.js +44 -0
  33. package/dist/src/browser/protocol.d.ts +3 -0
  34. package/dist/src/browser/runtime/local-cloak/actions.js +25 -10
  35. package/dist/src/browser/runtime/local-cloak/session-manager.d.ts +3 -0
  36. package/dist/src/browser/runtime/local-cloak/session-manager.js +15 -2
  37. package/dist/src/browser/runtime/local-cloak/session-manager.test.js +145 -0
  38. package/dist/src/build-manifest.js +1 -0
  39. package/dist/src/build-manifest.test.js +34 -0
  40. package/dist/src/cli.js +133 -45
  41. package/dist/src/cli.test.js +2 -2
  42. package/dist/src/commands/daemon.test.js +13 -13
  43. package/dist/src/constants.d.ts +2 -3
  44. package/dist/src/constants.js +3 -10
  45. package/dist/src/daemon.js +1 -5
  46. package/dist/src/discovery.js +1 -0
  47. package/dist/src/doctor.js +12 -0
  48. package/dist/src/doctor.test.js +30 -3
  49. package/dist/src/engine.test.js +62 -0
  50. package/dist/src/execution.js +5 -3
  51. package/dist/src/external.js +19 -1
  52. package/dist/src/external.test.js +37 -1
  53. package/dist/src/main.js +0 -5
  54. package/dist/src/manifest-types.d.ts +2 -0
  55. package/dist/src/node-network.test.js +3 -3
  56. package/dist/src/registry.d.ts +10 -0
  57. package/dist/src/registry.js +5 -3
  58. package/dist/src/registry.test.js +25 -0
  59. package/dist/src/runtime-identity.test.js +0 -8
  60. package/dist/src/runtime.d.ts +4 -0
  61. package/dist/src/runtime.js +2 -0
  62. package/dist/src/skills.d.ts +23 -5
  63. package/dist/src/skills.js +87 -45
  64. package/dist/src/skills.test.js +80 -23
  65. package/package.json +3 -3
  66. package/skills/smart-search/SKILL.md +156 -0
  67. package/skills/smart-search/references/sources-ai.md +74 -0
  68. package/skills/smart-search/references/sources-info.md +43 -0
  69. package/skills/smart-search/references/sources-media.md +40 -0
  70. package/skills/smart-search/references/sources-other.md +32 -0
  71. package/skills/smart-search/references/sources-shopping.md +21 -0
  72. package/skills/smart-search/references/sources-social.md +36 -0
  73. package/skills/smart-search/references/sources-tech.md +38 -0
  74. package/skills/smart-search/references/sources-travel.md +26 -0
  75. package/skills/webcmd-adapter-author/SKILL.md +1 -0
  76. package/skills/webcmd-adapter-author/references/adapter-template.md +2 -0
  77. package/skills/webcmd-autofix/SKILL.md +8 -0
  78. package/skills/webcmd-sitemap-author/SKILL.md +1 -1
package/README.md CHANGED
@@ -1,26 +1,38 @@
1
1
  <img width="2054" height="766" alt="Webcmd banner" src="https://github.com/user-attachments/assets/3e5b9702-5ffd-43bd-ab1b-2319a8cc0e2a" />
2
2
 
3
- # Webcmd
4
-
5
3
  <p align="center">
6
4
  <a href="https://www.npmjs.com/package/@agentrhq/webcmd">
7
5
  <img alt="NPM version" src="https://img.shields.io/npm/v/@agentrhq/webcmd.svg?style=for-the-badge&color=1E88E5&labelColor=000000">
8
6
  </a>
7
+ <a href="https://www.npmjs.com/package/@agentrhq/webcmd">
8
+ <img alt="NPM downloads" src="https://img.shields.io/npm/dt/@agentrhq/webcmd.svg?style=for-the-badge&color=1E88E5&labelColor=000000">
9
+ </a>
9
10
  <a href="https://github.com/agentrhq/webcmd/blob/main/LICENSE">
10
11
  <img alt="License" src="https://img.shields.io/badge/license-Apache%202.0-1E88E5.svg?style=for-the-badge&labelColor=000000">
11
12
  </a>
12
- <a href="https://github.com/agentrhq/webcmd/discussions">
13
- <img alt="Join the community on GitHub" src="https://img.shields.io/badge/Join%20the%20community-1E88E5.svg?style=for-the-badge&logo=github&labelColor=000000&logoWidth=20">
13
+ <a href="https://discord.gg/9YP2C9tvMp">
14
+ <img alt="Join the community on Discord" src="https://img.shields.io/badge/Join%20the%20community-7C3AED.svg?style=for-the-badge&logo=discord&logoColor=white&labelColor=000000&logoWidth=20">
15
+ </a>
16
+ <a href="https://x.com/agentrhq">
17
+ <img alt="Follow AgentR on X" src="https://img.shields.io/badge/Built%20by%20%40agentrhq-000000.svg?style=for-the-badge&logo=x&logoColor=white&labelColor=000000&logoWidth=20">
14
18
  </a>
15
19
  </p>
16
20
 
17
- **Turn websites, browser sessions, desktop apps, and local tools into deterministic command-line surfaces for people and AI agents.**
21
+ # Webcmd
22
+
23
+ **Self-learning browser infra for AI agents.**
24
+
25
+ WebCMD learns the navigational context of websites as agents use them, then compiles that knowledge into deterministic commands for faster, cheaper, more reliable browser automation. The goal is simple: stop making agents rediscover the same sites on every run and cut browser-agent token spend by up to 90%.
26
+
27
+ On top of live browser control, WebCMD adds 3 layers of learnings. Each layer collapses cost and variance for the layer above it.
18
28
 
19
- Webcmd gives you one command surface for three kinds of automation:
29
+ | Layer | Scenario | What Webcmd Helps With |
30
+ | --- | --- | --- |
31
+ | 1. Live browser control | The site is unfamiliar. | Use `webcmd browser` to inspect, click, type, extract, capture network calls, and complete the task in a real browser. |
32
+ | 2. Sitemap memory | The site is familiar, but the action space is not fully known. | Capture an agent-facing sitemap of observed pages, states, actions, workflows, APIs, pitfalls, and fallback paths. |
33
+ | 3. CLI authoring | The action space is known, but the path is still too variable for one fixed sequence. | Explicitly author a reusable `webcmd <site>` adapter with structured output, so future agents spend tokens on the task instead of navigation. |
34
+ | 4. Extend existing CLIs | The workflow is deterministic enough to stop browsing. | Extend the `webcmd <site>` adapter with a tailored command so the workflow runs instantly with the least amount of tokens. |
20
35
 
21
- - **Use built-in adapters** for sites like Reddit, Hacker News, LinkedIn, Twitter/X, TikTok, Amazon, PubMed, ChatGPT, Claude, Gemini, NotebookLM, and many more.
22
- - **Let AI agents operate a real browser** with `webcmd browser <session> ...` primitives: open pages, inspect DOM snapshots, click, type, select, extract, capture network calls, and verify flows.
23
- - **Wrap local tools and desktop apps** so agents can discover and invoke `gh`, `docker`, `vercel`, Electron apps, and other command surfaces through the same `webcmd ...` entrypoint.
24
36
 
25
37
  ## Quick Start
26
38
 
@@ -39,7 +51,7 @@ npm install -g @agentrhq/webcmd
39
51
  webcmd doctor
40
52
  ```
41
53
 
42
- `doctor` checks the Webcmd browser bridge: daemon status, runtime wiring, profile selection, and a live connectivity probe. Pure public adapters and local passthrough commands do not need a green browser check, but `COOKIE`, `INTERCEPT`, `UI`, and `webcmd browser` workflows do.
54
+ `doctor` checks the Webcmd browser bridge: daemon status, browser runtime installation, profile selection, and a live connectivity probe. Pure public adapters and local passthrough commands do not need a green browser check, but `COOKIE`, `INTERCEPT`, `UI`, and `webcmd browser` workflows do.
43
55
 
44
56
  ### 3. Discover commands
45
57
 
@@ -52,7 +64,7 @@ webcmd reddit hot --help
52
64
 
53
65
  `webcmd list -f json` is the source of truth for agents. It emits one row per command with the site, command name, arguments, output columns, browser requirement, and strategy.
54
66
 
55
- ### 4. Run your first adapters
67
+ ### 4. Run your first command
56
68
 
57
69
  ```bash
58
70
  webcmd hackernews top --limit 5
@@ -68,23 +80,20 @@ Use Webcmd directly when you want a reliable command instead of a live browser s
68
80
  webcmd list
69
81
  webcmd <site> --help
70
82
  webcmd <site> <command> --help
71
- webcmd <site> <command> -f json
83
+ webcmd <site> <command> -f yaml
72
84
  ```
73
85
 
74
86
  The everyday surface is intentionally small:
75
87
 
76
88
  - `webcmd list` shows every registered adapter and external command.
77
89
  - `webcmd <site> <command> ...` runs a built-in, plugin, or private adapter.
78
- - `webcmd external register <name>` exposes a local CLI through the same discovery surface.
79
- - `webcmd doctor` diagnoses browser connectivity for authenticated or UI-driven commands.
80
90
 
81
91
  For example:
82
92
 
83
93
  ```bash
84
94
  webcmd hackernews top --limit 10
85
95
  webcmd reddit subreddit programming --limit 10
86
- webcmd github whoami
87
- webcmd gh pr list --limit 5
96
+ webcmd twitter whoami
88
97
  ```
89
98
 
90
99
  Adapter commands are tagged by strategy:
@@ -107,19 +116,23 @@ webcmd hackernews top -f md
107
116
  webcmd hackernews top -f csv
108
117
  ```
109
118
 
110
- Agents usually want `-f json`; humans usually want the default table.
119
+ Agents usually want `-f json`; humans usually want table (default) or yaml.
111
120
 
112
121
  ## For AI Agents
113
122
 
114
123
  Webcmd is designed to be driven by coding agents such as Codex, Claude Code, Cursor, and similar tools.
115
124
 
116
- Install Webcmd skills into the agent environment with your agent's skill manager:
125
+ ## Install skills (also refreshes existing installs)
126
+
127
+ Install Webcmd skills into your agent environment:
117
128
 
118
129
  ```bash
119
- npx skills add agentrhq/webcmd
130
+ webcmd skills install
120
131
  ```
121
132
 
122
- Or install/copy only the skills you need from [`skills/`](./skills/) into your agent's skills root. These skills teach agents when to use adapters, when to drive the browser, how to author new adapters, and how to repair failing commands.
133
+ The installer asks whether to install globally or locally, then asks for the coding agent (`agents`, `codex`, `claude`) or a custom skills path. For scripts, pass flags such as `--scope project --provider codex` or `--path ./my-skills`.
134
+
135
+ ### Which skill to use
123
136
 
124
137
  | Skill | When to use |
125
138
  |-------|-------------|
@@ -139,22 +152,36 @@ webcmd <site> <command> -f json
139
152
  webcmd <site> <command> --trace retain-on-failure -f json
140
153
  ```
141
154
 
142
- Start with adapters. Fall back to `webcmd browser` only when no adapter covers the task or you are debugging/building one.
155
+ Start with adapters. Fall back to `webcmd browser` only when no adapter covers the task or you are teaching Webcmd a new site flow.
156
+
157
+ ## Live Browser Interaction
158
+
159
+ `webcmd browser` gives agents a stable, structured interface to a real browser. Every command takes a session name immediately after `browser` — the session is required, so `webcmd browser tab list` without one is an error:
160
+
161
+ ```bash
162
+ webcmd browser <session> open https://example.com
163
+ ```
143
164
 
144
- ## Browser Automation
165
+ ### Tabs and page IDs
145
166
 
146
- `webcmd browser` gives agents a stable, structured interface to a real browser. Commands use a session name immediately after `browser`:
167
+ `webcmd browser work open <url>` and `webcmd browser work tab new [url]` both return a page ID in the `page` field:
147
168
 
148
169
  ```bash
149
- webcmd browser work open https://example.com
150
- webcmd browser work state
151
- webcmd browser work click --role link --name "Learn more"
152
- webcmd browser work type --role textbox --name Email "you@example.com"
153
- webcmd browser work keys Enter
154
- webcmd browser work extract
155
- webcmd browser work close
170
+ $ webcmd browser work open https://reddit.com
171
+ {
172
+ "url": "https://reddit.com",
173
+ "page": "page-1783484232033-8"
174
+ }
156
175
  ```
157
176
 
177
+ Use `webcmd browser work tab list` to inspect all tabs — each entry carries its page ID (`id`/`page`), the owning `session` (adapter sessions appear as `site:<name>`), and whether it is the currently `selected` tab. Pass `--tab <pageId>` to route a single command to a specific tab:
178
+
179
+ ```bash
180
+ webcmd browser work open https://example.com --tab page-1783484232033-8
181
+ ```
182
+
183
+ `tab new` creates a tab without changing the session's default tab; only `tab select <pageId>` promotes a tab to the default for later untargeted commands in the same session.
184
+
158
185
  Useful browser primitives include:
159
186
 
160
187
  | Area | Commands |
@@ -235,7 +262,7 @@ Use plugins for private company workflows, community adapters, or experiments th
235
262
 
236
263
  ## Writing Adapters
237
264
 
238
- When a site is not covered yet, author a reusable adapter instead of leaving an agent to click through the same browser flow every time.
265
+ When a site is not covered yet, author a reusable adapter instead of leaving an agent to spend tokens clicking through the same browser flow every time.
239
266
 
240
267
  ```bash
241
268
  webcmd browser init <site>/<command>
package/cli-manifest.json CHANGED
@@ -6912,6 +6912,510 @@
6912
6912
  "sourceFile": "discord-app/threads.js",
6913
6913
  "navigateBefore": true
6914
6914
  },
6915
+ {
6916
+ "site": "district",
6917
+ "name": "checkout",
6918
+ "description": "Select District movie seats and stop at the payment handoff page",
6919
+ "access": "write",
6920
+ "domain": "www.district.in",
6921
+ "strategy": "cookie",
6922
+ "browser": true,
6923
+ "args": [
6924
+ {
6925
+ "name": "show",
6926
+ "type": "str",
6927
+ "required": true,
6928
+ "positional": true,
6929
+ "help": "District seat-layout URL or showId from district showtimes"
6930
+ },
6931
+ {
6932
+ "name": "seats",
6933
+ "type": "str",
6934
+ "required": true,
6935
+ "help": "Comma-separated seat labels to select, e.g. I22,I21"
6936
+ },
6937
+ {
6938
+ "name": "format-id",
6939
+ "type": "str",
6940
+ "required": false,
6941
+ "help": "District formatId from showtimes; required when show is a showId"
6942
+ },
6943
+ {
6944
+ "name": "content-id",
6945
+ "type": "str",
6946
+ "required": false,
6947
+ "help": "District content id; required when show is a showId"
6948
+ },
6949
+ {
6950
+ "name": "timeout",
6951
+ "type": "int",
6952
+ "default": 45,
6953
+ "required": false,
6954
+ "help": "Maximum seconds to wait for selection and review page"
6955
+ }
6956
+ ],
6957
+ "columns": [
6958
+ "status",
6959
+ "movie",
6960
+ "cinema",
6961
+ "date",
6962
+ "time",
6963
+ "seats",
6964
+ "ticketCount",
6965
+ "orderAmount",
6966
+ "bookingCharge",
6967
+ "total",
6968
+ "paymentUrl",
6969
+ "showId"
6970
+ ],
6971
+ "type": "js",
6972
+ "modulePath": "district/checkout.js",
6973
+ "sourceFile": "district/checkout.js",
6974
+ "navigateBefore": false,
6975
+ "siteSession": "persistent",
6976
+ "freshPage": true,
6977
+ "defaultWindowMode": "foreground"
6978
+ },
6979
+ {
6980
+ "site": "district",
6981
+ "name": "listings",
6982
+ "aliases": [
6983
+ "ls"
6984
+ ],
6985
+ "description": "List public District by Zomato movies, events, and nearby going-out cards",
6986
+ "access": "read",
6987
+ "domain": "www.district.in",
6988
+ "strategy": "public",
6989
+ "browser": false,
6990
+ "args": [
6991
+ {
6992
+ "name": "input",
6993
+ "type": "str",
6994
+ "default": "home",
6995
+ "required": false,
6996
+ "positional": true,
6997
+ "help": "home, movies, events, a district.in URL, or a District path"
6998
+ },
6999
+ {
7000
+ "name": "limit",
7001
+ "type": "int",
7002
+ "default": 20,
7003
+ "required": false,
7004
+ "help": "Maximum rows to return (1-100)"
7005
+ }
7006
+ ],
7007
+ "columns": [
7008
+ "rank",
7009
+ "title",
7010
+ "category",
7011
+ "date",
7012
+ "venue",
7013
+ "price",
7014
+ "url"
7015
+ ],
7016
+ "type": "js",
7017
+ "modulePath": "district/listings.js",
7018
+ "sourceFile": "district/listings.js"
7019
+ },
7020
+ {
7021
+ "site": "district",
7022
+ "name": "locations",
7023
+ "aliases": [
7024
+ "location-search"
7025
+ ],
7026
+ "description": "Search District-supported cities, areas, malls, and places for booking filters",
7027
+ "access": "read",
7028
+ "domain": "www.district.in",
7029
+ "strategy": "public",
7030
+ "browser": false,
7031
+ "args": [
7032
+ {
7033
+ "name": "query",
7034
+ "type": "str",
7035
+ "required": true,
7036
+ "positional": true,
7037
+ "help": "City, area, mall, or locality, for example \"bangalore\" or \"indiranagar\""
7038
+ },
7039
+ {
7040
+ "name": "limit",
7041
+ "type": "int",
7042
+ "default": 10,
7043
+ "required": false,
7044
+ "help": "Maximum location rows to return (1-50)"
7045
+ }
7046
+ ],
7047
+ "columns": [
7048
+ "rank",
7049
+ "name",
7050
+ "kind",
7051
+ "city",
7052
+ "state",
7053
+ "cityKey",
7054
+ "cityId",
7055
+ "placeId",
7056
+ "lat",
7057
+ "lng",
7058
+ "distanceKm",
7059
+ "source"
7060
+ ],
7061
+ "type": "js",
7062
+ "modulePath": "district/locations.js",
7063
+ "sourceFile": "district/locations.js"
7064
+ },
7065
+ {
7066
+ "site": "district",
7067
+ "name": "login",
7068
+ "description": "Open district login and wait until the browser session is authenticated",
7069
+ "access": "write",
7070
+ "domain": "www.district.in",
7071
+ "strategy": "cookie",
7072
+ "browser": true,
7073
+ "args": [
7074
+ {
7075
+ "name": "timeout",
7076
+ "type": "int",
7077
+ "default": 300,
7078
+ "required": false,
7079
+ "help": "Maximum seconds to wait for the user to finish login"
7080
+ }
7081
+ ],
7082
+ "columns": [
7083
+ "status",
7084
+ "logged_in",
7085
+ "site",
7086
+ "user_id",
7087
+ "name",
7088
+ "phone_number",
7089
+ "email"
7090
+ ],
7091
+ "type": "js",
7092
+ "modulePath": "district/auth.js",
7093
+ "sourceFile": "district/auth.js",
7094
+ "navigateBefore": false,
7095
+ "siteSession": "persistent",
7096
+ "defaultWindowMode": "foreground"
7097
+ },
7098
+ {
7099
+ "site": "district",
7100
+ "name": "search",
7101
+ "aliases": [
7102
+ "s"
7103
+ ],
7104
+ "description": "Search District by Zomato across movies, events, dining, stores, activities, and play",
7105
+ "access": "read",
7106
+ "domain": "www.district.in",
7107
+ "strategy": "public",
7108
+ "browser": false,
7109
+ "args": [
7110
+ {
7111
+ "name": "query",
7112
+ "type": "str",
7113
+ "required": true,
7114
+ "positional": true,
7115
+ "help": "Search query, for example \"hamlet\" or \"arijit\""
7116
+ },
7117
+ {
7118
+ "name": "limit",
7119
+ "type": "int",
7120
+ "default": 20,
7121
+ "required": false,
7122
+ "help": "Maximum rows to return (1-100)"
7123
+ },
7124
+ {
7125
+ "name": "tab",
7126
+ "type": "str",
7127
+ "default": "all",
7128
+ "required": false,
7129
+ "help": "Search tab: all, dining, events, movies, stores, activities, or play"
7130
+ }
7131
+ ],
7132
+ "columns": [
7133
+ "rank",
7134
+ "title",
7135
+ "category",
7136
+ "date",
7137
+ "venue",
7138
+ "price",
7139
+ "url"
7140
+ ],
7141
+ "type": "js",
7142
+ "modulePath": "district/search.js",
7143
+ "sourceFile": "district/search.js"
7144
+ },
7145
+ {
7146
+ "site": "district",
7147
+ "name": "seats",
7148
+ "description": "List available seats for a District movie showtime",
7149
+ "access": "read",
7150
+ "domain": "www.district.in",
7151
+ "strategy": "cookie",
7152
+ "browser": true,
7153
+ "args": [
7154
+ {
7155
+ "name": "show",
7156
+ "type": "str",
7157
+ "required": true,
7158
+ "positional": true,
7159
+ "help": "District seat-layout URL or showId from district showtimes"
7160
+ },
7161
+ {
7162
+ "name": "format-id",
7163
+ "type": "str",
7164
+ "required": false,
7165
+ "help": "District formatId from showtimes; required when show is a showId"
7166
+ },
7167
+ {
7168
+ "name": "content-id",
7169
+ "type": "str",
7170
+ "required": false,
7171
+ "help": "District content id; required when show is a showId"
7172
+ },
7173
+ {
7174
+ "name": "class",
7175
+ "type": "str",
7176
+ "required": false,
7177
+ "help": "Optional seat class filter, e.g. premium, premium xl, or recliner"
7178
+ },
7179
+ {
7180
+ "name": "count",
7181
+ "type": "int",
7182
+ "required": false,
7183
+ "help": "Number of seats to choose (1-10); without count, seats are listed normally"
7184
+ },
7185
+ {
7186
+ "name": "together",
7187
+ "type": "str",
7188
+ "required": false,
7189
+ "help": "Require selected seats to be adjacent when count is provided"
7190
+ },
7191
+ {
7192
+ "name": "max-price",
7193
+ "type": "float",
7194
+ "required": false,
7195
+ "help": "Maximum price per seat"
7196
+ },
7197
+ {
7198
+ "name": "limit",
7199
+ "type": "int",
7200
+ "default": 100,
7201
+ "required": false,
7202
+ "help": "Maximum seats to return (1-300)"
7203
+ },
7204
+ {
7205
+ "name": "timeout",
7206
+ "type": "int",
7207
+ "default": 30,
7208
+ "required": false,
7209
+ "help": "Maximum seconds to wait for the seat map to render"
7210
+ }
7211
+ ],
7212
+ "columns": [
7213
+ "rank",
7214
+ "seat",
7215
+ "row",
7216
+ "number",
7217
+ "column",
7218
+ "seatClass",
7219
+ "price",
7220
+ "status",
7221
+ "flags",
7222
+ "showId",
7223
+ "formatId",
7224
+ "url"
7225
+ ],
7226
+ "type": "js",
7227
+ "modulePath": "district/seats.js",
7228
+ "sourceFile": "district/seats.js",
7229
+ "navigateBefore": false,
7230
+ "siteSession": "persistent",
7231
+ "defaultWindowMode": "foreground"
7232
+ },
7233
+ {
7234
+ "site": "district",
7235
+ "name": "set-location",
7236
+ "aliases": [
7237
+ "setlocation"
7238
+ ],
7239
+ "description": "Set the District browser session location for movie booking filters",
7240
+ "access": "write",
7241
+ "domain": "www.district.in",
7242
+ "strategy": "cookie",
7243
+ "browser": true,
7244
+ "args": [
7245
+ {
7246
+ "name": "location",
7247
+ "type": "str",
7248
+ "required": true,
7249
+ "positional": true,
7250
+ "help": "City, area, mall, or locality, for example \"Bangalore\" or \"Indiranagar\""
7251
+ },
7252
+ {
7253
+ "name": "rank",
7254
+ "type": "int",
7255
+ "default": 1,
7256
+ "required": false,
7257
+ "help": "Pick the Nth District location result (1-20), default: 1"
7258
+ },
7259
+ {
7260
+ "name": "timeout",
7261
+ "type": "int",
7262
+ "default": 45,
7263
+ "required": false,
7264
+ "help": "Maximum seconds to wait for the picker and location change"
7265
+ }
7266
+ ],
7267
+ "columns": [
7268
+ "status",
7269
+ "name",
7270
+ "city",
7271
+ "state",
7272
+ "cityKey",
7273
+ "cityId",
7274
+ "placeId",
7275
+ "subzoneId",
7276
+ "lat",
7277
+ "lng",
7278
+ "availableTabs",
7279
+ "source"
7280
+ ],
7281
+ "type": "js",
7282
+ "modulePath": "district/set-location.js",
7283
+ "sourceFile": "district/set-location.js",
7284
+ "navigateBefore": false,
7285
+ "siteSession": "persistent",
7286
+ "defaultWindowMode": "foreground"
7287
+ },
7288
+ {
7289
+ "site": "district",
7290
+ "name": "showtimes",
7291
+ "aliases": [
7292
+ "shows"
7293
+ ],
7294
+ "description": "List District movie showtimes with location, time, cinema, language, price, and format filters",
7295
+ "access": "read",
7296
+ "domain": "www.district.in",
7297
+ "strategy": "cookie",
7298
+ "browser": true,
7299
+ "args": [
7300
+ {
7301
+ "name": "movie",
7302
+ "type": "str",
7303
+ "required": true,
7304
+ "positional": true,
7305
+ "help": "Movie name or District movie URL"
7306
+ },
7307
+ {
7308
+ "name": "date",
7309
+ "type": "str",
7310
+ "required": false,
7311
+ "help": "Show date in YYYY-MM-DD format; defaults to District selected date"
7312
+ },
7313
+ {
7314
+ "name": "city",
7315
+ "type": "str",
7316
+ "required": false,
7317
+ "help": "District city name/key, for example Bangalore or Bengaluru"
7318
+ },
7319
+ {
7320
+ "name": "near",
7321
+ "type": "str",
7322
+ "required": false,
7323
+ "help": "Area, mall, or locality to search near, for example Indiranagar"
7324
+ },
7325
+ {
7326
+ "name": "city-key",
7327
+ "type": "str",
7328
+ "required": false,
7329
+ "help": "Legacy District city key override, for example bengaluru"
7330
+ },
7331
+ {
7332
+ "name": "after",
7333
+ "type": "str",
7334
+ "required": false,
7335
+ "help": "Only shows at or after HH:MM, 24-hour time"
7336
+ },
7337
+ {
7338
+ "name": "before",
7339
+ "type": "str",
7340
+ "required": false,
7341
+ "help": "Only shows at or before HH:MM, 24-hour time"
7342
+ },
7343
+ {
7344
+ "name": "cinema",
7345
+ "type": "str",
7346
+ "required": false,
7347
+ "help": "Filter cinema/theatre name, for example PVR, INOX, Orion"
7348
+ },
7349
+ {
7350
+ "name": "language",
7351
+ "type": "str",
7352
+ "required": false,
7353
+ "help": "Filter movie language, for example English, Hindi, Kannada"
7354
+ },
7355
+ {
7356
+ "name": "max-price",
7357
+ "type": "float",
7358
+ "required": false,
7359
+ "help": "Only shows with at least one ticket class at or below this price"
7360
+ },
7361
+ {
7362
+ "name": "quality",
7363
+ "type": "str",
7364
+ "required": false,
7365
+ "help": "Generic format/quality filter, for example 2D, 3D, IMAX, IMAX 3D, 4DX"
7366
+ },
7367
+ {
7368
+ "name": "limit",
7369
+ "type": "int",
7370
+ "default": 50,
7371
+ "required": false,
7372
+ "help": "Maximum showtime rows to return (1-200)"
7373
+ }
7374
+ ],
7375
+ "columns": [
7376
+ "rank",
7377
+ "movie",
7378
+ "language",
7379
+ "date",
7380
+ "time",
7381
+ "cinema",
7382
+ "format",
7383
+ "priceRange",
7384
+ "available",
7385
+ "showId",
7386
+ "formatId",
7387
+ "url"
7388
+ ],
7389
+ "type": "js",
7390
+ "modulePath": "district/showtimes.js",
7391
+ "sourceFile": "district/showtimes.js",
7392
+ "navigateBefore": false,
7393
+ "siteSession": "persistent",
7394
+ "defaultWindowMode": "foreground"
7395
+ },
7396
+ {
7397
+ "site": "district",
7398
+ "name": "whoami",
7399
+ "description": "Show the current logged-in district account",
7400
+ "access": "read",
7401
+ "domain": "www.district.in",
7402
+ "strategy": "cookie",
7403
+ "browser": true,
7404
+ "args": [],
7405
+ "columns": [
7406
+ "logged_in",
7407
+ "site",
7408
+ "user_id",
7409
+ "name",
7410
+ "phone_number",
7411
+ "email"
7412
+ ],
7413
+ "type": "js",
7414
+ "modulePath": "district/auth.js",
7415
+ "sourceFile": "district/auth.js",
7416
+ "navigateBefore": false,
7417
+ "siteSession": "persistent"
7418
+ },
6915
7419
  {
6916
7420
  "site": "dockerhub",
6917
7421
  "name": "image",
@@ -23638,6 +24142,8 @@
23638
24142
  "likes",
23639
24143
  "retweets",
23640
24144
  "replies",
24145
+ "quotes",
24146
+ "bookmarks",
23641
24147
  "views",
23642
24148
  "created_at",
23643
24149
  "url",