@ironbee-ai/cli 0.8.3 → 0.9.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 +6 -0
- package/README.md +42 -17
- package/dist/clients/claude/commands/ironbee-verify.md +19 -106
- package/dist/clients/claude/hooks/require-verdict.d.ts +3 -3
- package/dist/clients/claude/hooks/require-verdict.js +5 -5
- package/dist/clients/claude/hooks/require-verification.d.ts +6 -5
- package/dist/clients/claude/hooks/require-verification.d.ts.map +1 -1
- package/dist/clients/claude/hooks/require-verification.js +20 -17
- package/dist/clients/claude/hooks/require-verification.js.map +1 -1
- package/dist/clients/claude/hooks/track-action-monitor.d.ts.map +1 -1
- package/dist/clients/claude/hooks/track-action-monitor.js +4 -1
- package/dist/clients/claude/hooks/track-action-monitor.js.map +1 -1
- package/dist/clients/claude/hooks/track-action.d.ts +11 -8
- package/dist/clients/claude/hooks/track-action.d.ts.map +1 -1
- package/dist/clients/claude/hooks/track-action.js +14 -9
- package/dist/clients/claude/hooks/track-action.js.map +1 -1
- package/dist/clients/claude/index.d.ts.map +1 -1
- package/dist/clients/claude/index.js +79 -18
- package/dist/clients/claude/index.js.map +1 -1
- package/dist/clients/claude/platforms/command-verify.backend.md +74 -0
- package/dist/clients/claude/platforms/command-verify.browser.md +108 -0
- package/dist/clients/claude/platforms/command-verify.node.md +67 -0
- package/dist/clients/claude/platforms/rule.backend.md +23 -0
- package/dist/clients/claude/platforms/rule.browser.md +17 -0
- package/dist/clients/claude/{fragments → platforms}/rule.node.md +3 -3
- package/dist/clients/claude/platforms/skill.backend.md +65 -0
- package/dist/clients/claude/platforms/skill.browser.md +31 -0
- package/dist/clients/claude/{fragments → platforms}/skill.node.md +2 -2
- package/dist/clients/claude/rules/ironbee-verification.md +14 -13
- package/dist/clients/claude/skills/ironbee-verification.md +19 -49
- package/dist/clients/cursor/commands/ironbee-verify/SKILL.md +21 -108
- package/dist/clients/cursor/hooks/require-verdict.d.ts +1 -1
- package/dist/clients/cursor/hooks/require-verdict.js +3 -3
- package/dist/clients/cursor/hooks/require-verification.d.ts.map +1 -1
- package/dist/clients/cursor/hooks/require-verification.js +9 -5
- package/dist/clients/cursor/hooks/require-verification.js.map +1 -1
- package/dist/clients/cursor/hooks/track-action-monitor.d.ts.map +1 -1
- package/dist/clients/cursor/hooks/track-action-monitor.js +4 -1
- package/dist/clients/cursor/hooks/track-action-monitor.js.map +1 -1
- package/dist/clients/cursor/hooks/track-action.d.ts +14 -12
- package/dist/clients/cursor/hooks/track-action.d.ts.map +1 -1
- package/dist/clients/cursor/hooks/track-action.js +25 -16
- package/dist/clients/cursor/hooks/track-action.js.map +1 -1
- package/dist/clients/cursor/index.d.ts.map +1 -1
- package/dist/clients/cursor/index.js +45 -11
- package/dist/clients/cursor/index.js.map +1 -1
- package/dist/clients/cursor/platforms/command-verify.backend.md +74 -0
- package/dist/clients/cursor/platforms/command-verify.browser.md +108 -0
- package/dist/clients/cursor/platforms/command-verify.node.md +67 -0
- package/dist/clients/cursor/platforms/rule.backend.md +23 -0
- package/dist/clients/cursor/platforms/rule.browser.md +17 -0
- package/dist/clients/cursor/{fragments → platforms}/rule.node.md +3 -3
- package/dist/clients/cursor/platforms/skill.backend.md +65 -0
- package/dist/clients/cursor/platforms/skill.browser.md +31 -0
- package/dist/clients/cursor/{fragments → platforms}/skill.node.md +2 -2
- package/dist/clients/cursor/rules/ironbee-verification.mdc +14 -13
- package/dist/clients/cursor/skills/ironbee-verification.md +19 -49
- package/dist/commands/backend.d.ts +17 -0
- package/dist/commands/backend.d.ts.map +1 -0
- package/dist/commands/backend.js +58 -0
- package/dist/commands/backend.js.map +1 -0
- package/dist/commands/browser.d.ts +19 -0
- package/dist/commands/browser.d.ts.map +1 -0
- package/dist/commands/browser.js +60 -0
- package/dist/commands/browser.js.map +1 -0
- package/dist/commands/config.d.ts +5 -5
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +13 -11
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/cycle-toggle.d.ts +89 -0
- package/dist/commands/cycle-toggle.d.ts.map +1 -0
- package/dist/commands/cycle-toggle.js +264 -0
- package/dist/commands/cycle-toggle.js.map +1 -0
- package/dist/commands/node.d.ts +16 -0
- package/dist/commands/node.d.ts.map +1 -0
- package/dist/commands/node.js +57 -0
- package/dist/commands/node.js.map +1 -0
- package/dist/hooks/core/actions.d.ts +11 -2
- package/dist/hooks/core/actions.d.ts.map +1 -1
- package/dist/hooks/core/actions.js.map +1 -1
- package/dist/hooks/core/verify-gate.d.ts.map +1 -1
- package/dist/hooks/core/verify-gate.js +44 -14
- package/dist/hooks/core/verify-gate.js.map +1 -1
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/lib/config.d.ts +142 -41
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +251 -82
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/platform-section.d.ts +126 -0
- package/dist/lib/platform-section.d.ts.map +1 -0
- package/dist/lib/platform-section.js +279 -0
- package/dist/lib/platform-section.js.map +1 -0
- package/package.json +1 -1
- package/dist/clients/claude/fragments/command-verify.node.md +0 -33
- package/dist/clients/cursor/fragments/command-verify.node.md +0 -33
- package/dist/commands/backend-toggle.d.ts +0 -56
- package/dist/commands/backend-toggle.d.ts.map +0 -1
- package/dist/commands/backend-toggle.js +0 -199
- package/dist/commands/backend-toggle.js.map +0 -1
- package/dist/commands/disable-backend.d.ts +0 -14
- package/dist/commands/disable-backend.d.ts.map +0 -1
- package/dist/commands/disable-backend.js +0 -38
- package/dist/commands/disable-backend.js.map +0 -1
- package/dist/commands/enable-backend.d.ts +0 -15
- package/dist/commands/enable-backend.d.ts.map +0 -1
- package/dist/commands/enable-backend.js +0 -39
- package/dist/commands/enable-backend.js.map +0 -1
- package/dist/lib/runtime-section.d.ts +0 -118
- package/dist/lib/runtime-section.d.ts.map +0 -1
- package/dist/lib/runtime-section.js +0 -256
- package/dist/lib/runtime-section.js.map +0 -1
package/dist/lib/config.d.ts
CHANGED
|
@@ -6,23 +6,44 @@
|
|
|
6
6
|
* 2. Project: <projectDir>/.ironbee/config.json (committed)
|
|
7
7
|
* 3. Project-local: <projectDir>/.ironbee/config.local.json (gitignored)
|
|
8
8
|
*
|
|
9
|
-
* Each later layer overrides earlier ones (deep merge for nested
|
|
10
|
-
* `backend
|
|
11
|
-
* keys). The local layer is intended for personal / per-machine
|
|
12
|
-
* (debug toggles, machine-specific paths, alternate collector
|
|
13
|
-
* must not be committed — `ironbee install` adds
|
|
14
|
-
* to `.gitignore` automatically.
|
|
9
|
+
* Each later layer overrides earlier ones (deep merge for nested cycle
|
|
10
|
+
* blocks: `browser`, `node`, `backend`; shallow for primitives and other
|
|
11
|
+
* top-level keys). The local layer is intended for personal / per-machine
|
|
12
|
+
* overrides (debug toggles, machine-specific paths, alternate collector
|
|
13
|
+
* endpoints) and must not be committed — `ironbee install` adds
|
|
14
|
+
* `.ironbee/config.local.json` to `.gitignore` automatically.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Optional cycles — those that default to **disabled** (empty `verifyPatterns`)
|
|
18
|
+
* until the operator explicitly opts in via `ironbee <cycle> enable`. The
|
|
19
|
+
* always-on browser cycle is the only default-enabled cycle and is excluded
|
|
20
|
+
* from this list. Order is the canonical sort order used by verify-gate when
|
|
21
|
+
* building per-cycle messages.
|
|
22
|
+
*/
|
|
23
|
+
export declare const OPTIONAL_CYCLES: readonly string[];
|
|
24
|
+
/**
|
|
25
|
+
* Every cycle the runtime knows about — browser plus all optional cycles.
|
|
26
|
+
* Used by the platform-section sync (skill / rule / command-verify md files
|
|
27
|
+
* carry one marker block per cycle) and by toggle commands when validating
|
|
28
|
+
* the cycle name. Order matches verify-gate's canonical block ordering
|
|
29
|
+
* (browser first, then OPTIONAL_CYCLES).
|
|
30
|
+
*/
|
|
31
|
+
export declare const ALL_CYCLES: readonly string[];
|
|
32
|
+
/**
|
|
33
|
+
* Cycles whose default state is "enabled" (the cycle activates without the
|
|
34
|
+
* operator having to write `verifyPatterns` in config). Currently only the
|
|
35
|
+
* browser cycle ships with built-in default patterns; node and backend cycles
|
|
36
|
+
* default to inert (`[]`) and require `ironbee <cycle> enable`.
|
|
15
37
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
38
|
+
* Used by `getCyclePatterns` runtime fallback (block-absent + default-on
|
|
39
|
+
* → code defaults activate) and by toggle commands. `<cycle> disable` records
|
|
40
|
+
* its intent via the top-level `disabled` list — that takes precedence over
|
|
41
|
+
* the default-on fallback, so a disabled browser stays off even though
|
|
42
|
+
* `CYCLES_ENABLED_BY_DEFAULT` contains it.
|
|
21
43
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export declare const RUNTIME_TO_SERVER: Record<string, string>;
|
|
44
|
+
export declare const CYCLES_ENABLED_BY_DEFAULT: ReadonlySet<string>;
|
|
45
|
+
/** Map cycle key → MCP server name. Browser is always `browser-devtools`. */
|
|
46
|
+
export declare const CYCLE_TO_SERVER: Record<string, string>;
|
|
26
47
|
/** A single evidence path under a `RequiredToolsConfig`. */
|
|
27
48
|
export interface EvidencePath {
|
|
28
49
|
/** Stable identifier — used in `verification_requested.modes` and block messages. */
|
|
@@ -44,25 +65,23 @@ export interface RequiredToolsConfig {
|
|
|
44
65
|
alwaysRequired: string[];
|
|
45
66
|
evidencePaths: EvidencePath[];
|
|
46
67
|
}
|
|
47
|
-
/**
|
|
48
|
-
export interface
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
68
|
+
/** Per-cycle config block — same shape across browser / node / backend. */
|
|
69
|
+
export interface CycleConfig {
|
|
70
|
+
/**
|
|
71
|
+
* Explicit on/off switch for the cycle at this layer. When `false`, the
|
|
72
|
+
* cycle is disabled regardless of any other fields (mirrors the
|
|
73
|
+
* `recording.enable` / `jobQueue.enable` / `verification.enable` pattern).
|
|
74
|
+
* When `true` or absent, the rest of the block resolves per the
|
|
75
|
+
* verifyPatterns four-state semantic in `getCyclePatterns`.
|
|
76
|
+
*
|
|
77
|
+
* Written by `<cycle> disable` (= `false`) and stripped by `<cycle> enable`.
|
|
78
|
+
*/
|
|
79
|
+
enable?: boolean;
|
|
56
80
|
verifyPatterns?: string[];
|
|
57
81
|
additionalVerifyPatterns?: string[];
|
|
58
82
|
alwaysRequired?: string[];
|
|
59
83
|
evidencePaths?: EvidencePath[];
|
|
60
84
|
}
|
|
61
|
-
/** Top-level `backend` config — runtime-keyed (today: `node`). */
|
|
62
|
-
export interface BackendConfig {
|
|
63
|
-
node?: BackendRuntimeConfig;
|
|
64
|
-
[runtime: string]: BackendRuntimeConfig | undefined;
|
|
65
|
-
}
|
|
66
85
|
export interface IronBeeConfig {
|
|
67
86
|
/**
|
|
68
87
|
* Glob patterns for files to exclude from verification. Applies to every
|
|
@@ -72,10 +91,25 @@ export interface IronBeeConfig {
|
|
|
72
91
|
ignoredVerifyPatterns?: string[];
|
|
73
92
|
/** Maximum retry attempts before allowing completion despite failures. */
|
|
74
93
|
maxRetries?: number;
|
|
75
|
-
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
94
|
+
/**
|
|
95
|
+
* Browser-cycle config (patterns + required tools). Default-on — when
|
|
96
|
+
* `verifyPatterns` is unset, `DEFAULT_BROWSER_VERIFY_PATTERNS` (40+ code
|
|
97
|
+
* extensions) kicks in. Opt out via `ironbee browser disable` (writes
|
|
98
|
+
* `verifyPatterns: []` to override the fallback).
|
|
99
|
+
*/
|
|
100
|
+
browser?: CycleConfig;
|
|
101
|
+
/**
|
|
102
|
+
* Node.js runtime debug cycle (`node-devtools` MCP, `ndt_*` tools). Opt-in
|
|
103
|
+
* — empty `verifyPatterns` by default. Activate via `ironbee node enable`.
|
|
104
|
+
*/
|
|
105
|
+
node?: CycleConfig;
|
|
106
|
+
/**
|
|
107
|
+
* Runtime-agnostic backend protocol cycle (`backend-devtools` MCP,
|
|
108
|
+
* `bedt_*` tools). Drives HTTP / gRPC / GraphQL / WebSocket calls
|
|
109
|
+
* against running backend services to verify behavior — language- and
|
|
110
|
+
* framework-independent. Opt-in — activate via `ironbee backend enable`.
|
|
111
|
+
*/
|
|
112
|
+
backend?: CycleConfig;
|
|
79
113
|
/**
|
|
80
114
|
* IronBee Collector configuration for remote event ingestion. When the
|
|
81
115
|
* section is present and `enable` is not explicitly `false`, events are
|
|
@@ -189,13 +223,54 @@ export interface IronBeeConfig {
|
|
|
189
223
|
/** Allow additional config fields (e.g. `browserDevTools` / `nodeDevTools`). */
|
|
190
224
|
[key: string]: unknown;
|
|
191
225
|
}
|
|
192
|
-
/** Browser default verify patterns —
|
|
226
|
+
/** Browser default verify patterns — kicks in whenever the browser block is
|
|
227
|
+
* present without an explicit `verifyPatterns`, OR (since browser is
|
|
228
|
+
* default-on) whenever no browser block is present at any layer. */
|
|
193
229
|
export declare const DEFAULT_BROWSER_VERIFY_PATTERNS: string[];
|
|
230
|
+
/**
|
|
231
|
+
* Node-cycle default verify patterns — kicks in when the `node` block is
|
|
232
|
+
* present without an explicit `verifyPatterns`. The node cycle is opt-in so
|
|
233
|
+
* the block must be present (a fully-absent block keeps the cycle disabled).
|
|
234
|
+
*
|
|
235
|
+
* Heuristic-tuned for typical Node.js backends — server entry points, API
|
|
236
|
+
* route handlers (Next.js / Remix / SvelteKit conventions), and the routes/
|
|
237
|
+
* folder.
|
|
238
|
+
*/
|
|
239
|
+
export declare const DEFAULT_NODE_VERIFY_PATTERNS: string[];
|
|
240
|
+
/**
|
|
241
|
+
* Backend-cycle default verify patterns — kicks in when the `backend` block
|
|
242
|
+
* is present without an explicit `verifyPatterns`. Multi-language coverage —
|
|
243
|
+
* the cycle drives wire protocols, not language-specific tooling, so the
|
|
244
|
+
* heuristic spans every common server-side language.
|
|
245
|
+
*/
|
|
246
|
+
export declare const DEFAULT_BACKEND_VERIFY_PATTERNS: string[];
|
|
247
|
+
/**
|
|
248
|
+
* Per-cycle default `verifyPatterns` lookup. Single source of truth used by:
|
|
249
|
+
*
|
|
250
|
+
* - `getCyclePatterns` runtime fallback when the cycle block is present
|
|
251
|
+
* without an explicit `verifyPatterns`.
|
|
252
|
+
* - For browser only: also kicks in when the cycle block is fully absent
|
|
253
|
+
* (browser is the default-on cycle — `CYCLES_ENABLED_BY_DEFAULT`).
|
|
254
|
+
*
|
|
255
|
+
* `<cycle> enable` does NOT materialize these into config.json; the cycle
|
|
256
|
+
* block is written empty (`{}`) and these defaults flow in at runtime.
|
|
257
|
+
* Keeps `config.json` minimal and lets defaults track the CLI version
|
|
258
|
+
* automatically.
|
|
259
|
+
*/
|
|
260
|
+
export declare const CYCLE_DEFAULT_VERIFY_PATTERNS: Record<string, readonly string[]>;
|
|
194
261
|
/** Browser-cycle required tools — strict all-of, no alternative paths. */
|
|
195
262
|
export declare const DEFAULT_BROWSER_ALWAYS_REQUIRED: string[];
|
|
196
263
|
/** Node-cycle required tools — connect always; then probe path or log path. */
|
|
197
|
-
export declare const
|
|
198
|
-
export declare const
|
|
264
|
+
export declare const DEFAULT_NODE_ALWAYS_REQUIRED: string[];
|
|
265
|
+
export declare const DEFAULT_NODE_EVIDENCE_PATHS: EvidencePath[];
|
|
266
|
+
/**
|
|
267
|
+
* Backend-cycle required tools — no single tool is mandatory (different
|
|
268
|
+
* tasks need different protocols), so `alwaysRequired` is empty and the
|
|
269
|
+
* gate is satisfied by any one protocol-call evidence path. The replay
|
|
270
|
+
* tool counts because it issues a real protocol call against the target.
|
|
271
|
+
*/
|
|
272
|
+
export declare const DEFAULT_BACKEND_ALWAYS_REQUIRED: string[];
|
|
273
|
+
export declare const DEFAULT_BACKEND_EVIDENCE_PATHS: EvidencePath[];
|
|
199
274
|
/** On-disk paths of the three config layers, exposed for CLI plumbing (`config path`). */
|
|
200
275
|
export interface ConfigLayerPaths {
|
|
201
276
|
/** `~/.ironbee/config.json` — always populated. */
|
|
@@ -210,7 +285,7 @@ export declare function getConfigLayerPaths(projectDir?: string): ConfigLayerPat
|
|
|
210
285
|
/**
|
|
211
286
|
* Symbolic identifier for one of the three config layers. Used by every
|
|
212
287
|
* write-side CLI command (`config set/unset`, `enable-verification`,
|
|
213
|
-
* `disable-verification`, `enable
|
|
288
|
+
* `disable-verification`, `backend enable`, `backend disable`) so layer
|
|
214
289
|
* resolution stays consistent.
|
|
215
290
|
*
|
|
216
291
|
* Merge precedence (low → high): `global` < `project` < `local`. Higher
|
|
@@ -230,8 +305,8 @@ export declare function getTargetConfigPath(target: ConfigTarget, projectDir?: s
|
|
|
230
305
|
* Resolves a `ConfigTarget` from CLI flag booleans, enforcing mutual
|
|
231
306
|
* exclusion. Used by every write-side command that exposes
|
|
232
307
|
* `-g / --global` and `--local` flags (`config set`, `config unset`,
|
|
233
|
-
* `enable-verification`, `disable-verification`, `enable
|
|
234
|
-
* `disable
|
|
308
|
+
* `enable-verification`, `disable-verification`, `backend enable`,
|
|
309
|
+
* `backend disable`) so the flag-resolution rules stay identical.
|
|
235
310
|
*
|
|
236
311
|
* Returns `"project"` when neither flag is set (the default for
|
|
237
312
|
* project-scoped commands). Throws on the impossible `--global --local`
|
|
@@ -247,8 +322,9 @@ export declare function loadConfig(projectDir?: string): IronBeeConfig;
|
|
|
247
322
|
* Returns the names of cycles whose pattern set matches `filePath`.
|
|
248
323
|
* Used by verify-gate to determine which cycles are active for a Stop hook.
|
|
249
324
|
*
|
|
250
|
-
* Order: browser first, then each
|
|
251
|
-
* applies globally — a file matched there
|
|
325
|
+
* Order: browser first, then each optional cycle in {@link OPTIONAL_CYCLES}
|
|
326
|
+
* order. `ignoredVerifyPatterns` applies globally — a file matched there
|
|
327
|
+
* activates no cycles.
|
|
252
328
|
*/
|
|
253
329
|
export declare function getActiveCycles(filePath: string, config: IronBeeConfig): string[];
|
|
254
330
|
/**
|
|
@@ -257,6 +333,29 @@ export declare function getActiveCycles(filePath: string, config: IronBeeConfig)
|
|
|
257
333
|
* "should this edit be tracked / gated?", regardless of which cycle.
|
|
258
334
|
*/
|
|
259
335
|
export declare function requiresVerification(filePath: string, config: IronBeeConfig): boolean;
|
|
336
|
+
/**
|
|
337
|
+
* Returns true if `cycle` is currently enabled for verification in `config`
|
|
338
|
+
* (effective merged shape).
|
|
339
|
+
*
|
|
340
|
+
* Two conditions must BOTH hold:
|
|
341
|
+
* 1. The master switch `verification.enable` is on (or absent — defaults
|
|
342
|
+
* to true). When `verification.enable: false`, every cycle is off
|
|
343
|
+
* regardless of its own block — per-cycle settings never override the
|
|
344
|
+
* master switch.
|
|
345
|
+
* 2. The cycle's own resolution per {@link getCyclePatterns} yields
|
|
346
|
+
* non-empty patterns:
|
|
347
|
+
* - `block.enable === false` → disabled (canonical signal).
|
|
348
|
+
* - Block absent + default-on (browser) → enabled (code defaults).
|
|
349
|
+
* - Block absent + default-off (node, backend) → disabled.
|
|
350
|
+
* - `verifyPatterns: []` (legacy) → disabled.
|
|
351
|
+
* - Block present with `verifyPatterns` undefined → enabled (defaults).
|
|
352
|
+
* - Block present with non-empty `verifyPatterns` → enabled (custom).
|
|
353
|
+
*
|
|
354
|
+
* Used by `platform-section.syncPlatformSectionsToConfig` to decide whether to
|
|
355
|
+
* splice the cycle's fragment or the placeholder into installed md files,
|
|
356
|
+
* and by client `install` paths to gate MCP server entries + permissions.
|
|
357
|
+
*/
|
|
358
|
+
export declare function isCycleEnabled(config: IronBeeConfig, cycle: string): boolean;
|
|
260
359
|
/**
|
|
261
360
|
* Per-cycle resolved required-tools spec. Falls back to defaults at this layer
|
|
262
361
|
* so consumers always get a complete `{ alwaysRequired, evidencePaths }` shape.
|
|
@@ -272,6 +371,8 @@ export interface BrowserDevToolsMCPConfig {
|
|
|
272
371
|
export declare function getMcpServerEntry(projectDir?: string): BrowserDevToolsMCPConfig;
|
|
273
372
|
/** Returns the MCP server entry for `node-devtools` (PLATFORM=node, ndt_). */
|
|
274
373
|
export declare function getNodeDevToolsMcpEntry(projectDir?: string): BrowserDevToolsMCPConfig;
|
|
374
|
+
/** Returns the MCP server entry for `backend-devtools` (PLATFORM=backend, bedt_). */
|
|
375
|
+
export declare function getBackendDevToolsMcpEntry(projectDir?: string): BrowserDevToolsMCPConfig;
|
|
275
376
|
export declare function getMaxRetries(config: IronBeeConfig): number;
|
|
276
377
|
/**
|
|
277
378
|
* Returns true when the IronBee Collector is configured + active for this
|
package/dist/lib/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,MAAM,EAAiC,CAAC;AAE/E;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,MAAM,EAA6C,CAAC;AAEtF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAAW,CAAC,MAAM,CAAwB,CAAC;AAEnF,6EAA6E;AAC7E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIlD,CAAC;AAEF,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IACzB,qFAAqF;IACrF,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;CAC3C;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,YAAY,EAAE,CAAC;CACjC;AAED,2EAA2E;AAC3E,MAAM,WAAW,WAAW;IACxB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CA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