claude-scope 0.8.27 → 0.8.29
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/dist/claude-scope.cjs +21 -0
- package/package.json +3 -2
package/dist/claude-scope.cjs
CHANGED
|
@@ -1559,52 +1559,73 @@ var init_constants = __esm({
|
|
|
1559
1559
|
"use strict";
|
|
1560
1560
|
TIME = {
|
|
1561
1561
|
/** Milliseconds per second */
|
|
1562
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1562
1563
|
MS_PER_SECOND: 1e3,
|
|
1563
1564
|
/** Seconds per minute */
|
|
1565
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1564
1566
|
SECONDS_PER_MINUTE: 60,
|
|
1565
1567
|
/** Seconds per hour */
|
|
1568
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1566
1569
|
SECONDS_PER_HOUR: 3600
|
|
1567
1570
|
};
|
|
1568
1571
|
DEFAULTS = {
|
|
1569
1572
|
/** Default separator between widgets */
|
|
1573
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1570
1574
|
SEPARATOR: " ",
|
|
1571
1575
|
/** Default width for progress bars in characters */
|
|
1576
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1572
1577
|
PROGRESS_BAR_WIDTH: 20
|
|
1573
1578
|
};
|
|
1574
1579
|
ANSI_COLORS = {
|
|
1575
1580
|
/** Green color */
|
|
1581
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1576
1582
|
GREEN: "\x1B[32m",
|
|
1577
1583
|
/** Yellow color */
|
|
1584
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1578
1585
|
YELLOW: "\x1B[33m",
|
|
1579
1586
|
/** Red color */
|
|
1587
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1580
1588
|
RED: "\x1B[31m",
|
|
1581
1589
|
/** Reset color */
|
|
1590
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1582
1591
|
RESET: "\x1B[0m"
|
|
1583
1592
|
};
|
|
1584
1593
|
DEMO_DATA = {
|
|
1585
1594
|
/** Demo session cost in USD */
|
|
1595
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1586
1596
|
COST_USD: 0.42,
|
|
1587
1597
|
/** Demo session duration in milliseconds (~1h 1m 5s) */
|
|
1598
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1588
1599
|
DURATION_MS: 3665e3,
|
|
1589
1600
|
/** Demo API duration in milliseconds (~50m) */
|
|
1601
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1590
1602
|
API_DURATION_MS: 3e6,
|
|
1591
1603
|
/** Demo lines added */
|
|
1604
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1592
1605
|
LINES_ADDED: 142,
|
|
1593
1606
|
/** Demo lines removed */
|
|
1607
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1594
1608
|
LINES_REMOVED: 27,
|
|
1595
1609
|
/** Demo context window size in tokens */
|
|
1610
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1596
1611
|
CONTEXT_WINDOW_SIZE: 2e5,
|
|
1597
1612
|
/** Demo total input tokens */
|
|
1613
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1598
1614
|
TOTAL_INPUT_TOKENS: 185e3,
|
|
1599
1615
|
/** Demo total output tokens */
|
|
1616
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1600
1617
|
TOTAL_OUTPUT_TOKENS: 5e4,
|
|
1601
1618
|
/** Demo current input tokens */
|
|
1619
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1602
1620
|
CURRENT_INPUT_TOKENS: 8e4,
|
|
1603
1621
|
/** Demo current output tokens */
|
|
1622
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1604
1623
|
CURRENT_OUTPUT_TOKENS: 3e4,
|
|
1605
1624
|
/** Demo cache creation tokens */
|
|
1625
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1606
1626
|
CACHE_CREATION_TOKENS: 1e3,
|
|
1607
1627
|
/** Demo cache read tokens */
|
|
1628
|
+
// biome-ignore lint/style/useNamingConvention: UPPER_CASE is standard for constants
|
|
1608
1629
|
CACHE_READ_TOKENS: 15e3
|
|
1609
1630
|
};
|
|
1610
1631
|
DEFAULT_PROGRESS_BAR_WIDTH = DEFAULTS.PROGRESS_BAR_WIDTH;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-scope",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.29",
|
|
4
4
|
"description": "Claude Code plugin for session status and analytics",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"dev": "tsx src/index.ts",
|
|
29
29
|
"prepare": "husky",
|
|
30
30
|
"lint": "biome check .",
|
|
31
|
-
"lint:fix": "biome check --write ."
|
|
31
|
+
"lint:fix": "biome check --write .",
|
|
32
|
+
"lint:file-size": "node scripts/check-file-size.js"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@biomejs/biome": "^2.3.11",
|