pi-cost 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 +29 -0
- package/README.md +13 -1
- package/extensions/cost.ts +53 -83
- package/lib/app.js +113 -0
- package/lib/args.js +17 -0
- package/lib/cli.js +593 -0
- package/lib/cost-dir.js +62 -0
- package/lib/costs.js +799 -0
- package/lib/net-guard.js +178 -0
- package/lib/pi-parsers-cost.js +234 -66
- package/lib/pi-pricing.js +35 -8
- package/lib/themes.js +90 -0
- package/package.json +16 -7
- package/public/app.js +2232 -448
- package/public/fonts/OFL-IBM-Plex.txt +93 -0
- package/public/fonts/OFL-Playfair-Display.txt +93 -0
- package/public/fonts/fonts.css +244 -0
- package/public/fonts/ibm-plex-mono-cyrillic-400.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-cyrillic-500.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-cyrillic-600.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-cyrillic-ext-400.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-cyrillic-ext-500.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-cyrillic-ext-600.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-400.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-500.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-600.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-ext-400.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-ext-500.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-latin-ext-600.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-vietnamese-400.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-vietnamese-500.woff2 +0 -0
- package/public/fonts/ibm-plex-mono-vietnamese-600.woff2 +0 -0
- package/public/fonts/playfair-display-cyrillic-400.woff2 +0 -0
- package/public/fonts/playfair-display-latin-400.woff2 +0 -0
- package/public/fonts/playfair-display-latin-ext-400.woff2 +0 -0
- package/public/fonts/playfair-display-vietnamese-400.woff2 +0 -0
- package/public/index.html +68 -46
- package/public/style.css +319 -8
- package/public/sw.js +2 -2
- package/server.js +58 -659
- package/themes/ayu-dark.json +21 -0
- package/themes/ayu-light.json +21 -0
- package/themes/catppuccin-dark.json +21 -0
- package/themes/catppuccin-light.json +21 -0
- package/themes/dracula-dark.json +21 -0
- package/themes/dracula-light.json +21 -0
- package/themes/everforest-dark.json +21 -0
- package/themes/everforest-light.json +21 -0
- package/themes/github-dark.json +21 -0
- package/themes/github-light.json +21 -0
- package/themes/gruvbox-dark.json +21 -0
- package/themes/gruvbox-light.json +21 -0
- package/themes/kanagawa-dark.json +21 -0
- package/themes/kanagawa-light.json +21 -0
- package/themes/monokai-dark.json +21 -0
- package/themes/monokai-light.json +21 -0
- package/themes/night-owl-dark.json +21 -0
- package/themes/night-owl-light.json +21 -0
- package/themes/nord-dark.json +21 -0
- package/themes/nord-light.json +21 -0
- package/themes/one-dark-dark.json +21 -0
- package/themes/one-dark-light.json +21 -0
- package/themes/rose-pine-dark.json +21 -0
- package/themes/rose-pine-light.json +21 -0
- package/themes/solarized-dark.json +21 -0
- package/themes/solarized-light.json +21 -0
- package/themes/synthwave-dark.json +21 -0
- package/themes/synthwave-light.json +21 -0
- package/themes/tokyo-night-dark.json +21 -0
- package/themes/tokyo-night-light.json +21 -0
- package/themes/vitesse-dark.json +21 -0
- package/themes/vitesse-light.json +21 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tokyo-night-light",
|
|
3
|
+
"displayName": "Tokyo Night Light",
|
|
4
|
+
"mode": "light",
|
|
5
|
+
"colors": {
|
|
6
|
+
"bgDeep": "#e1e2e7",
|
|
7
|
+
"bgSurface": "#e9eaf0",
|
|
8
|
+
"bgElevated": "#f7f8fc",
|
|
9
|
+
"bgHover": "#d0d5e3",
|
|
10
|
+
"border": "#a8aecb",
|
|
11
|
+
"textPrimary": "#343b58",
|
|
12
|
+
"textSecondary": "#565a6e",
|
|
13
|
+
"textTertiary": "#6c6e75",
|
|
14
|
+
"textMuted": "#848cb5",
|
|
15
|
+
"accent": "#2e7de9",
|
|
16
|
+
"accentText": "#1659c7",
|
|
17
|
+
"success": "#1a8a5a",
|
|
18
|
+
"warning": "#b07d0a",
|
|
19
|
+
"error": "#c53030"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vitesse-dark",
|
|
3
|
+
"displayName": "Vitesse Dark",
|
|
4
|
+
"mode": "dark",
|
|
5
|
+
"colors": {
|
|
6
|
+
"bgDeep": "#121212",
|
|
7
|
+
"bgSurface": "#181818",
|
|
8
|
+
"bgElevated": "#1e1e1e",
|
|
9
|
+
"bgHover": "#262626",
|
|
10
|
+
"border": "#333333",
|
|
11
|
+
"textPrimary": "#dbd7ca",
|
|
12
|
+
"textSecondary": "#bfbaaa",
|
|
13
|
+
"textTertiary": "#8f8f85",
|
|
14
|
+
"textMuted": "#758575",
|
|
15
|
+
"accent": "#4d9375",
|
|
16
|
+
"accentText": "#6fb392",
|
|
17
|
+
"success": "#3ecf8e",
|
|
18
|
+
"warning": "#f0b429",
|
|
19
|
+
"error": "#ef4444"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vitesse-light",
|
|
3
|
+
"displayName": "Vitesse Light",
|
|
4
|
+
"mode": "light",
|
|
5
|
+
"colors": {
|
|
6
|
+
"bgDeep": "#f0f0f0",
|
|
7
|
+
"bgSurface": "#f7f7f7",
|
|
8
|
+
"bgElevated": "#ffffff",
|
|
9
|
+
"bgHover": "#e7e7e7",
|
|
10
|
+
"border": "#d6d6d6",
|
|
11
|
+
"textPrimary": "#393a34",
|
|
12
|
+
"textSecondary": "#4e4f47",
|
|
13
|
+
"textTertiary": "#6b6d63",
|
|
14
|
+
"textMuted": "#a0ada0",
|
|
15
|
+
"accent": "#1c6b48",
|
|
16
|
+
"accentText": "#145236",
|
|
17
|
+
"success": "#1a8a5a",
|
|
18
|
+
"warning": "#b07d0a",
|
|
19
|
+
"error": "#c53030"
|
|
20
|
+
}
|
|
21
|
+
}
|