@genclass/mcp 0.1.0 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,58 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0 (unreleased)
3
+ ## 0.2.0 (2026-10-25)
4
+
5
+ The `0.1.0` on npm (published 2026-10-25) is an earlier build: eight tools, no `genclass_scan`, no `GENCLASS_REPORT`.
6
+ Everything below ships first in `0.2.0`.
7
+
8
+ - **`genclass_setup` installs the newest runtime line.** It prints `npm install @genclass/runtime@beta` (the agent
9
+ entry and interaction analytics need 0.3.0-beta.1 or later) for a project on 0.2.x, on a range without a version
10
+ (`*`, `latest`: npm's `latest` is still 0.2.x) or with an older copy in `node_modules`, and says what the project
11
+ has. The README's connect step names `@beta` first.
12
+ - **`genclass_scan {url, phone?, hosted?}`: audit any page in one step** ([docs/runtime/AGENT.md](../../docs/runtime/AGENT.md)
13
+ section 4.2). It runs `@genclass/runtime`'s `scan --json` (the project's own runtime when it has the command, else
14
+ `npx -y @genclass/runtime@beta`) in the project's folder: headless Chromium at desktop and phone sizes with the 23
15
+ measured visual checks, and returns a score and each problem with its element, selector and suggested CSS fix (page
16
+ text cleaned and labelled as data), plus the report as JSON (a second text block and `structuredContent`). It passes
17
+ `--local` unless the agent sets `hosted: true`, so without Playwright's Chromium it says how to install it instead
18
+ of sending the URL anywhere; `hosted: true` uses the genclass.dev page check (public pages only). The server's
19
+ instructions and the plugin skill say to scan a page before calling a UI change done. Nine tools.
20
+
21
+ - **Fixed: a race replay counts page lines.** Explore compares page text as counts, so a product name the page
22
+ always shows once and a stale result showed a second time was "only in the failing run"; the replay verdict then
23
+ checked presence only, and the card alone made every replay "reproduced", including after the fix. The finding's
24
+ evidence now keeps the counts (`textCounts`) and the verdict needs the line as many times as the failing run showed
25
+ it. Found by the end-to-end walkthrough, covered by a test.
26
+ - **Fixed: with `GENCLASS_REPORT` set, the tools' own calls are mirrored too.** The server's in-process API (what
27
+ `genclass_explain`, `genclass_replay`, `genclass_explore` and `genclass_clear` call when this session owns the
28
+ bridge) bypassed the reporting wrapper, so a dashboard only ever received the findings; the evidence read, the test,
29
+ replays armed and their verdicts, explore reports and clears reached it only through the bridge's HTTP path. Found
30
+ by the end-to-end walkthrough (`docs/evidence/e2e-walkthrough`), covered by a test.
31
+ - **Opt-in reporting to the app's dashboard** (`GENCLASS_REPORT`; [docs/runtime/AGENT.md](../../docs/runtime/AGENT.md)
32
+ section 4.5). Set to `on` (with `GENCLASS_DASHBOARD`) or to a dashboard link, the server mirrors its log of the loop
33
+ to that dashboard: each finding the bridge makes, each time the agent reads its evidence (`genclass_explain`), each
34
+ replay armed and each replay verdict, each regression test written, each explore report (page loads compared, races
35
+ found) and each clear: `POST /api/projects/<secret>/agent`, batched, best effort, ids, kinds, page paths, verdicts,
36
+ counts and times only, never page text. The dashboard's Closed-loop development view then draws every issue's path
37
+ (found, reproduced, fix proven, closed, or round again when a replay after a fix still reproduces it) with the
38
+ period's counts, lists the log newest first, and shows per production problem what the agent reproduced, tested and
39
+ proved fixed. Off unless set; nothing sent feeds a decision, a finding or a tool result.
40
+
41
+ - **Explore stops reporting order-dependent bookkeeping as races** ([docs/runtime/AGENT.md](../../docs/runtime/AGENT.md)
42
+ section 5.1, [RESULTS.md](../../docs/runtime/RESULTS.md) section 20). A reordered run is a race only when what the
43
+ page shows, its form values, the requests it sent or its errors differ from the request-order baseline; store values
44
+ that differ while the page is the same are listed as "Internal state only", and an overwrite a later response
45
+ repaired as "Along the way only", neither with a finding. A `[redacted]` value equals any value. Scenarios are
46
+ grouped with digits blanked, parenthesised counts dropped and a typing burst split by a label change joined again,
47
+ falling back to action kinds and element roles, then kinds, when names changed with the order; the report says how
48
+ many reordered runs it compared and says "0 compared" (no verdict) rather than "No race found" when none was. Race
49
+ finding titles, keys, replays and generated tests lead with what the page showed (store values only for a finding
50
+ with nothing else). Snapshots may carry up to 1,200 store fields and say how many the page left out. The explore
51
+ tool's description and the plugin skill say the same. On the Strapi admin's 21 interaction sessions the race-like
52
+ verdicts went from 16 to 0 (reordered runs reported as races: 62, all false, to 0; sessions without a usable verdict:
53
+ 5 to 0), and the real 403 race is still found at 300, 600 and 900 ms (6 of 6 runs, 0 false); on a correct Redux
54
+ Toolkit Query page the false reports went from 18 of 18 reordered runs to 0; the e2e page still finds its race in 5
55
+ of 6 reordered runs and none on the fixed page.
4
56
 
5
57
  - First version: the GenClass MCP server for coding agents ([docs/runtime/AGENT.md](../../docs/runtime/AGENT.md)).
6
58
  A bridge on 127.0.0.1:47357 that pages connect to through `@genclass/runtime/agent`; eight tools
@@ -15,3 +67,17 @@
15
67
  agent and strips invisible characters. A Claude Code plugin (`plugin/`: the server, the prompt hook and a skill) and
16
68
  an MCP Registry entry (`server.json`) ship with it. Needs `@genclass/runtime` 0.3.0-beta.1 or later in the app
17
69
  (`@genclass/runtime/agent`). Released by `.github/workflows/release-mcp.yml` from a `mcp-v<version>` tag.
70
+ - Ready for registries and directories: a `server.json` description of at most 100 characters (the official MCP
71
+ Registry's limit; checked against its 2025-12-11 schema and accepted by `mcp-publisher validate`), a `title` and
72
+ `websiteUrl`; the release workflow publishes it to the registry with GitHub OIDC (pinned, checksummed
73
+ `mcp-publisher`) after npm, and uploads an MCP Bundle (`npm run bundle`: `genclass-<version>.mcpb`, for Claude
74
+ Desktop and Smithery) as an artifact. Every launcher is pinned to the release (`npx -y @genclass/mcp@<version>`):
75
+ the plugin's server and hook, `init`, and the install blocks; `npm run sync` rewrites the pins from
76
+ `package.json` and the tests fail when one differs. Install blocks for Claude Code, Claude Desktop, Cursor (with an
77
+ install link), VS Code (`code --add-mcp` and an install link), Codex CLI, Gemini CLI, Windsurf, Cline, Goose, Zed,
78
+ JetBrains IDEs and OpenCode, printed by `genclass-mcp config [client]` and in the README; `genclass_setup` adds the
79
+ block for the client it runs in (from `clientInfo` at initialize). Every tool's annotations carry `title`,
80
+ `readOnlyHint`, `destructiveHint` and `openWorldHint`. The plugin has a README (what it installs, what the hook
81
+ sends where, how to turn it off), directory links in `plugin.json`, and an [Agent Plugins](https://agent-plugins.org)
82
+ `plugin.json` and `mcp.json` for Cursor and Codex; the repository root has `glama.json`, `gemini-extension.json`,
83
+ `llms-install.md` and `.cursor-plugin/marketplace.json`. Listing drafts: `docs/adoption/listings/mcp.md`.
package/README.md CHANGED
@@ -15,28 +15,261 @@ An MCP server for Claude Code and other coding agents. It connects to the pages
15
15
  - **Proof.** `genclass_replay` delivers the exact order that produced a bug again, before your fix (reproduced) and
16
16
  after it (not reproduced), and `genclass_explain` writes a Playwright test that fails while the bug is there.
17
17
 
18
- Everything stays on your machine. No dependencies.
18
+ Everything stays on your machine. No dependencies. The server is free. For developers who want the loop run for
19
+ them, GenClass runs it as a service under Enterprise: the MCP server, collector and dashboard hosted by GenClass or
20
+ inside your network ([genclass.dev/enterprise](https://genclass.dev/enterprise)).
19
21
 
20
22
  ## Install
21
23
 
22
- As a Claude Code plugin (the server, a prompt hook that brings new findings to each prompt, and a skill that tells
23
- Claude when to use it):
24
+ Pick your client. Every block pins this release, so the client starts exactly this version;
25
+ `npx -y @genclass/mcp@0.2.0 config <client>` prints the same lines, and `genclass_setup` prints the block for the
26
+ client it runs in.
27
+
28
+ <!-- install:start (generated from src/clients.ts by `npm run sync -w @genclass/mcp`; edit it there) -->
29
+
30
+ ### Claude Code
31
+
32
+ As a plugin (the server, a prompt hook that brings new findings to each prompt, and a skill that tells Claude when to use it):
24
33
 
25
34
  ```
26
35
  /plugin marketplace add genclass-dev/GenClass-lib
27
36
  /plugin install genclass@genclass
28
37
  ```
29
38
 
30
- Or the server alone:
39
+ Or the server alone (`--scope project` writes `.mcp.json` for everyone on the project; `--scope user` for all your projects):
40
+
41
+ ```bash
42
+ claude mcp add --scope project genclass -- npx -y @genclass/mcp@0.2.0
43
+ # or: npx -y @genclass/mcp@0.2.0 init --hook (.mcp.json, plus the prompt hook in .claude/settings.json)
44
+ ```
45
+
46
+ ### Claude Desktop
47
+
48
+ Settings, Developer, Edit Config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, `%APPDATA%\Claude\claude_desktop_config.json` on Windows):
49
+
50
+ ```json
51
+ {
52
+ "mcpServers": {
53
+ "genclass": {
54
+ "command": "npx",
55
+ "args": [
56
+ "-y",
57
+ "@genclass/mcp@0.2.0"
58
+ ]
59
+ }
60
+ }
61
+ }
62
+ ```
63
+
64
+ ### Cursor
65
+
66
+ [![Add genclass MCP server to Cursor](https://cursor.com/deeplink/mcp-install-dark.png)](https://cursor.com/link/mcp/install?name=genclass&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBnZW5jbGFzcy9tY3BAMC4yLjAiXX0%3D) or `cursor://anysphere.cursor-deeplink/mcp/install?name=genclass&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBnZW5jbGFzcy9tY3BAMC4yLjAiXX0%3D`
67
+
68
+ Or `.cursor/mcp.json` in the project (`~/.cursor/mcp.json` for all projects):
69
+
70
+ ```json
71
+ {
72
+ "mcpServers": {
73
+ "genclass": {
74
+ "command": "npx",
75
+ "args": [
76
+ "-y",
77
+ "@genclass/mcp@0.2.0"
78
+ ]
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ ### VS Code
85
+
86
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-VS_Code?style=flat-square&label=Install%20Server&color=0098FF)](https://vscode.dev/redirect/mcp/install?name=genclass&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40genclass%2Fmcp%400.2.0%22%5D%7D) or from a terminal:
31
87
 
32
88
  ```bash
33
- claude mcp add genclass -- npx -y @genclass/mcp
34
- # or, in the project: npx @genclass/mcp init (adds it to .mcp.json)
35
- # npx @genclass/mcp init --hook (also a prompt hook that brings new findings to the agent)
89
+ code --add-mcp '{"name":"genclass","command":"npx","args":["-y","@genclass/mcp@0.2.0"]}'
36
90
  ```
37
91
 
38
- Then connect the app's development build (once). The agent link needs `@genclass/runtime` 0.3.0-beta.1 or later
39
- (`npm install @genclass/runtime@beta` until 0.3.0 is `latest`):
92
+ Or `.mcp.json` at the workspace root (the portable format; `.vscode/mcp.json` takes the same entry under `servers`):
93
+
94
+ ```json
95
+ {
96
+ "mcpServers": {
97
+ "genclass": {
98
+ "command": "npx",
99
+ "args": [
100
+ "-y",
101
+ "@genclass/mcp@0.2.0"
102
+ ]
103
+ }
104
+ }
105
+ }
106
+ ```
107
+
108
+ ### Codex CLI
109
+
110
+ ```bash
111
+ codex mcp add genclass -- npx -y @genclass/mcp@0.2.0
112
+ ```
113
+
114
+ Or `~/.codex/config.toml` (`.codex/config.toml` in a trusted project). The first start downloads the package, so allow more than the default 10 seconds:
115
+
116
+ ```toml
117
+ [mcp_servers.genclass]
118
+ command = "npx"
119
+ args = ["-y", "@genclass/mcp@0.2.0"]
120
+ startup_timeout_sec = 30
121
+ ```
122
+
123
+ ### Gemini CLI
124
+
125
+ ```bash
126
+ gemini mcp add genclass npx -- -y @genclass/mcp@0.2.0 # -s user: for all projects
127
+ ```
128
+
129
+ Or `.gemini/settings.json` in the project (`~/.gemini/settings.json` for all projects):
130
+
131
+ ```json
132
+ {
133
+ "mcpServers": {
134
+ "genclass": {
135
+ "command": "npx",
136
+ "args": [
137
+ "-y",
138
+ "@genclass/mcp@0.2.0"
139
+ ]
140
+ }
141
+ }
142
+ }
143
+ ```
144
+
145
+ ### Windsurf (Devin Desktop)
146
+
147
+ `~/.codeium/windsurf/mcp_config.json` (Windsurf), `~/.config/devin/mcp_config.json` (Devin Desktop's Cascade agent; `%APPDATA%\devin\mcp_config.json` on Windows):
148
+
149
+ ```json
150
+ {
151
+ "mcpServers": {
152
+ "genclass": {
153
+ "command": "npx",
154
+ "args": [
155
+ "-y",
156
+ "@genclass/mcp@0.2.0"
157
+ ]
158
+ }
159
+ }
160
+ }
161
+ ```
162
+
163
+ Devin CLI and Devin Desktop's Devin Local agent:
164
+
165
+ ```bash
166
+ devin mcp add -s user genclass -- npx -y @genclass/mcp@0.2.0
167
+ ```
168
+
169
+ ### Cline
170
+
171
+ ```bash
172
+ cline mcp add genclass --yes -- npx -y @genclass/mcp@0.2.0
173
+ ```
174
+
175
+ Or MCP Servers, Configure, Configure MCP Servers (`~/.cline/data/settings/cline_mcp_settings.json`):
176
+
177
+ ```json
178
+ {
179
+ "mcpServers": {
180
+ "genclass": {
181
+ "command": "npx",
182
+ "args": [
183
+ "-y",
184
+ "@genclass/mcp@0.2.0"
185
+ ]
186
+ }
187
+ }
188
+ }
189
+ ```
190
+
191
+ ### Goose
192
+
193
+ `goose://extension?cmd=npx&arg=-y&arg=%40genclass%2Fmcp%400.2.0&id=genclass&name=genclass&description=Find%20race%20conditions%20by%20reordering%20responses%2C%20replay%20one%2C%20prove%20the%20fix` (open it to install), or `goose configure` (Add Extension, Command-line Extension, command `npx -y @genclass/mcp@0.2.0`), or `~/.config/goose/config.yaml`:
194
+
195
+ ```yaml
196
+ extensions:
197
+ genclass:
198
+ type: stdio
199
+ name: genclass
200
+ enabled: true
201
+ cmd: npx
202
+ args: ["-y", "@genclass/mcp@0.2.0"]
203
+ env_keys: []
204
+ envs: {}
205
+ timeout: 300
206
+ ```
207
+
208
+ ### Zed
209
+
210
+ `~/.config/zed/settings.json` (`.zed/settings.json` in the project), or Settings, AI, MCP Servers, Add Server:
211
+
212
+ ```json
213
+ {
214
+ "context_servers": {
215
+ "genclass": {
216
+ "command": "npx",
217
+ "args": [
218
+ "-y",
219
+ "@genclass/mcp@0.2.0"
220
+ ]
221
+ }
222
+ }
223
+ }
224
+ ```
225
+
226
+ ### JetBrains IDEs
227
+
228
+ AI Assistant: Settings, Tools, AI Assistant, Model Context Protocol (MCP), Add, then this JSON. Junie: `.junie/mcp/mcp.json` in the project (`~/.junie/mcp/mcp.json` for all projects), same JSON:
229
+
230
+ ```json
231
+ {
232
+ "mcpServers": {
233
+ "genclass": {
234
+ "command": "npx",
235
+ "args": [
236
+ "-y",
237
+ "@genclass/mcp@0.2.0"
238
+ ]
239
+ }
240
+ }
241
+ }
242
+ ```
243
+
244
+ ### OpenCode
245
+
246
+ `opencode.json` in the project (`~/.config/opencode/opencode.json` for all projects), or `opencode mcp add`:
247
+
248
+ ```json
249
+ {
250
+ "$schema": "https://opencode.ai/config.json",
251
+ "mcp": {
252
+ "genclass": {
253
+ "type": "local",
254
+ "command": [
255
+ "npx",
256
+ "-y",
257
+ "@genclass/mcp@0.2.0"
258
+ ],
259
+ "enabled": true
260
+ }
261
+ }
262
+ }
263
+ ```
264
+
265
+ <!-- install:end -->
266
+
267
+ Any other MCP client: a stdio server, command `npx`, arguments `-y @genclass/mcp@0.2.0`, no environment variables
268
+ required.
269
+
270
+ Then connect the app's development build (once). The agent link needs the newest runtime line, `@genclass/runtime`
271
+ 0.3.0-beta.1 or later: `npm install @genclass/runtime@beta` (a bare `npm install @genclass/runtime` gets npm's
272
+ `latest`, the older 0.2.x, which has no agent entry):
40
273
 
41
274
  ```ts
42
275
  import { GenClass } from "@genclass/runtime";
@@ -76,7 +309,8 @@ on the fixed one, and explore on the fixed page reported nothing. Details: [docs
76
309
  | `genclass_explore` | `start` / `report` / `stop`: find what depends on response order |
77
310
  | `genclass_replay` | `arm` / `result`: reproduce one finding exactly |
78
311
  | `genclass_analytics` | per-endpoint latency, error rates and request counts, learned relations and flows; production numbers from your GenClass dashboard |
79
- | `genclass_setup` | the lines to add for your framework |
312
+ | `genclass_setup` | the lines to add for your framework, and the config lines for the client it runs in |
313
+ | `genclass_scan` | `{url, phone?, hosted?}`: audit any page (the dev server or a site you do not own) with the 23 measured visual checks in headless Chromium: a score and each problem with its element, selector and a suggested CSS fix, plus the JSON report. Runs `npx @genclass/runtime@beta scan --json --local` (or the project's own runtime); needs Playwright's Chromium (`npx playwright install chromium`), or `hosted: true` for the genclass.dev page check (public pages only) |
80
314
  | `genclass_clear` | forget recorded runs and findings |
81
315
 
82
316
  ## New findings without asking
@@ -84,8 +318,8 @@ on the fixed one, and explore on the fixed page reported nothing. Details: [docs
84
318
  - **Channels** (Claude Code research preview): start Claude Code with
85
319
  `claude --dangerously-load-development-channels server:genclass` and new findings arrive in the session as they
86
320
  happen (`notifications/claude/channel`).
87
- - **Prompt hook**: `npx @genclass/mcp init --hook` adds a `UserPromptSubmit` hook; each prompt then carries the findings
88
- that changed since the last one.
321
+ - **Prompt hook** (part of the Claude Code plugin): `npx -y @genclass/mcp@0.2.0 init --hook` adds a `UserPromptSubmit`
322
+ hook to `.claude/settings.json`; each prompt then carries the findings that changed since the last one.
89
323
 
90
324
  ## Environment
91
325
 
@@ -94,6 +328,7 @@ on the fixed one, and explore on the fixed page reported nothing. Details: [docs
94
328
  | `GENCLASS_AGENT_PORT` | `47357` | the bridge's port (the page then needs `connectAgent(rt, { url })`) |
95
329
  | `GENCLASS_STATE_DIR` | `.genclass/agent` | where findings persist between sessions; `none` keeps them in memory |
96
330
  | `GENCLASS_DASHBOARD` | | your dashboard's private link, for `genclass_analytics` `production` (`sample` reads the public sample) |
331
+ | `GENCLASS_REPORT` | | `on` (with `GENCLASS_DASHBOARD`), or a dashboard link or secret: mirror this server's log of the loop to that dashboard's Closed-loop development view (each finding, each time its evidence is read, each replay armed and its verdict, each regression test written, each explore report, each clear), which draws every issue's path (found, reproduced, fix proven, closed, or round again) with counts and lists the log. Ids, kinds, page paths, verdicts, counts and times only, never page text; off unless set ([AGENT.md section 4.5](https://github.com/genclass-dev/GenClass-lib/blob/main/docs/runtime/AGENT.md)) |
97
332
  | `GENCLASS_AGENT_ORIGINS` | | exact page origins allowed besides this machine's, e.g. `http://192.168.1.20:5173` (the page then needs `connectAgent(rt, { anyHost: true })`) |
98
333
  | `GENCLASS_TOKEN_DIR` | `~/.genclass` | where the bridge keeps its API token (mode 0600) for the hook and other sessions |
99
334
 
@@ -104,9 +339,26 @@ The bridge listens on 127.0.0.1 only and checks the `Host` header. Pages may tal
104
339
  website, a router page or a captive portal you visit cannot plant findings, and a page can only add to its own run.
105
340
  The agent API refuses browsers and needs a token only your user can read. Everything a page sends is validated,
106
341
  capped, stripped of invisible characters and shown to the agent as quoted data, never as instructions. Nothing leaves
107
- your machine. See section 6 of
342
+ your machine (the exceptions are under Privacy). See section 6 of
108
343
  [AGENT.md](https://github.com/genclass-dev/GenClass-lib/blob/main/docs/runtime/AGENT.md).
109
344
 
345
+ ## Privacy
346
+
347
+ The server collects nothing and sends nothing to GenClass or anyone else. Findings stay on your machine, in
348
+ `.genclass/agent/` in the server's working directory (the project, for clients that start servers there; set
349
+ `GENCLASS_STATE_DIR` for clients that do not, such as Claude Desktop), which the server gitignores, and in the bridge's memory; the bridge's token is in
350
+ `~/.genclass`. The one request that leaves the machine is `genclass_analytics` `{source: "production"}`, which reads
351
+ your own GenClass dashboard when you set `GENCLASS_DASHBOARD` to its private link. `genclass_scan` loads the page the
352
+ agent names (that is the page's own traffic) in a local browser; only with `hosted: true` is the URL sent to the
353
+ genclass.dev page check, and when the project has no `@genclass/runtime` with `scan`, npx downloads it from npm. With `GENCLASS_REPORT` set (off by
354
+ default) the server also mirrors its log of the loop to that dashboard, in small batches: the id, kind and page path of
355
+ each finding, when its evidence was read, each replay armed and its verdict, when a regression test was written, each
356
+ explore report (page loads compared, races found) and each clear, so the dashboard's Closed-loop development view
357
+ draws every issue's path (found, reproduced, fix proven, closed, or round again) and lists what the agent did; never a
358
+ title, an evidence line, a snapshot or any page text, and nothing it sends feeds a decision. The runtime in your app has its
359
+ own disclosed diagnostics ([PRIVACY.md](https://github.com/genclass-dev/GenClass-lib/blob/main/PRIVACY.md)), which
360
+ `GenClass.init({ telemetry: false })` turns off; the agent link is not part of them.
361
+
110
362
  ## License
111
363
 
112
364
  Apache-2.0
package/dist/cli.d.ts CHANGED
@@ -10,10 +10,12 @@ declare function init(io: CliIo, hook: boolean): number;
10
10
  * epoch (a restarted bridge counts from 0 again). Silent when there is nothing new or no bridge.
11
11
  */
12
12
  declare function hookCmd(io: CliIo): Promise<number>;
13
+ /** `config [client]`: one client's install block, or every client's. */
14
+ declare function configCmd(io: CliIo, id: string | undefined): number;
13
15
  declare function runCli(argv: string[], io: CliIo & {
14
16
  stdin: NodeJS.ReadableStream;
15
17
  stdout: NodeJS.WritableStream;
16
18
  stderr: NodeJS.WritableStream;
17
19
  }): Promise<number>;
18
20
 
19
- export { type CliIo, hookCmd, init, runCli };
21
+ export { type CliIo, configCmd, hookCmd, init, runCli };