@agent-scope/cli 1.20.0 → 1.20.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.
- package/README.md +59 -8
- package/dist/cli.js +1940 -411
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1748 -246
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +1750 -248
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -200,6 +200,9 @@ interface ReactScopeConfig {
|
|
|
200
200
|
failOnConsoleErrors: boolean;
|
|
201
201
|
baselinePath: string;
|
|
202
202
|
};
|
|
203
|
+
icons?: {
|
|
204
|
+
patterns: string[];
|
|
205
|
+
};
|
|
203
206
|
}
|
|
204
207
|
interface InitOptions {
|
|
205
208
|
/** Accept all defaults without prompting. */
|
|
@@ -319,7 +322,7 @@ interface HooksProfilingResult {
|
|
|
319
322
|
*
|
|
320
323
|
* - totalRenders — total commit count during the interaction window
|
|
321
324
|
* - uniqueComponents — distinct component names that re-rendered
|
|
322
|
-
* - wastedRenders —
|
|
325
|
+
* - wastedRenders — deprecated heuristic, always null in JSON output
|
|
323
326
|
* - timing.js — JS execution time (ms) measured via Performance API
|
|
324
327
|
* - timing.layout — Layout/reflow time (ms) measured via PerformanceObserver
|
|
325
328
|
* - timing.paint — Paint time (ms) measured via PerformanceObserver
|
|
@@ -368,8 +371,14 @@ interface InteractionProfile {
|
|
|
368
371
|
totalRenders: number;
|
|
369
372
|
/** Number of distinct component names that re-rendered during the window. */
|
|
370
373
|
uniqueComponents: number;
|
|
371
|
-
/**
|
|
372
|
-
wastedRenders: number;
|
|
374
|
+
/** Deprecated heuristic field retained for compatibility; always null because it is not directly measured. */
|
|
375
|
+
wastedRenders: number | null;
|
|
376
|
+
/** Explicit machine-readable note that wasted render counts are not directly measured. */
|
|
377
|
+
wastedRendersHeuristic: {
|
|
378
|
+
measured: false;
|
|
379
|
+
value: null;
|
|
380
|
+
note: string;
|
|
381
|
+
};
|
|
373
382
|
/** Timing breakdown in ms. */
|
|
374
383
|
timing: InteractionTiming;
|
|
375
384
|
/** Layout shift metrics. */
|
package/dist/index.d.ts
CHANGED
|
@@ -200,6 +200,9 @@ interface ReactScopeConfig {
|
|
|
200
200
|
failOnConsoleErrors: boolean;
|
|
201
201
|
baselinePath: string;
|
|
202
202
|
};
|
|
203
|
+
icons?: {
|
|
204
|
+
patterns: string[];
|
|
205
|
+
};
|
|
203
206
|
}
|
|
204
207
|
interface InitOptions {
|
|
205
208
|
/** Accept all defaults without prompting. */
|
|
@@ -319,7 +322,7 @@ interface HooksProfilingResult {
|
|
|
319
322
|
*
|
|
320
323
|
* - totalRenders — total commit count during the interaction window
|
|
321
324
|
* - uniqueComponents — distinct component names that re-rendered
|
|
322
|
-
* - wastedRenders —
|
|
325
|
+
* - wastedRenders — deprecated heuristic, always null in JSON output
|
|
323
326
|
* - timing.js — JS execution time (ms) measured via Performance API
|
|
324
327
|
* - timing.layout — Layout/reflow time (ms) measured via PerformanceObserver
|
|
325
328
|
* - timing.paint — Paint time (ms) measured via PerformanceObserver
|
|
@@ -368,8 +371,14 @@ interface InteractionProfile {
|
|
|
368
371
|
totalRenders: number;
|
|
369
372
|
/** Number of distinct component names that re-rendered during the window. */
|
|
370
373
|
uniqueComponents: number;
|
|
371
|
-
/**
|
|
372
|
-
wastedRenders: number;
|
|
374
|
+
/** Deprecated heuristic field retained for compatibility; always null because it is not directly measured. */
|
|
375
|
+
wastedRenders: number | null;
|
|
376
|
+
/** Explicit machine-readable note that wasted render counts are not directly measured. */
|
|
377
|
+
wastedRendersHeuristic: {
|
|
378
|
+
measured: false;
|
|
379
|
+
value: null;
|
|
380
|
+
note: string;
|
|
381
|
+
};
|
|
373
382
|
/** Timing breakdown in ms. */
|
|
374
383
|
timing: InteractionTiming;
|
|
375
384
|
/** Layout shift metrics. */
|