@subvalue/cli 0.1.2 → 0.1.4
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/PRE_RELEASE.md +6 -6
- package/README.md +7 -5
- package/dist/PRICING.md +15 -16
- package/dist/packages/cli/src/index.js +109 -20
- package/dist/packages/cli/src/protocol.js +13 -0
- package/dist/packages/cli/src/runtime.js +44 -14
- package/dist/packages/cli/src/server.js +306 -62
- package/dist/packages/core/src/calendar.js +47 -0
- package/dist/packages/core/src/coverage.js +12 -0
- package/dist/packages/core/src/demo.js +61 -9
- package/dist/packages/core/src/metadata.js +52 -9
- package/dist/packages/core/src/pricing/current.js +346 -297
- package/dist/packages/core/src/pricing/index.js +373 -73
- package/dist/packages/core/src/providers/claude/index.js +93 -21
- package/dist/packages/core/src/providers/codex/index.js +213 -46
- package/dist/packages/core/src/scanner.js +226 -46
- package/dist/packages/core/src/security.js +127 -34
- package/dist/packages/core/src/storage.js +215 -47
- package/dist/packages/core/src/subscriptions.js +146 -21
- package/dist/packages/core/src/summary.js +409 -51
- package/dist/packages/core/src/types.js +71 -17
- package/dist/packages/core/src/usage-json.js +166 -47
- package/dist/packages/receipt/src/index.js +387 -80
- package/dist/packages/ui/src/brand.js +48 -3
- package/dist/public/app.css +2280 -56
- package/dist/public/apps/web/src/landing.js +200 -8
- package/dist/public/apps/web/src/main.js +1143 -63
- package/dist/public/index.html +24 -1
- package/dist/public/landing.css +3235 -70
- package/dist/public/landing.html +21 -1
- package/dist/public/logo/wordmark-monochrome.svg +1 -0
- package/dist/public/logo/wordmark.svg +1 -0
- package/dist/public/packages/core/src/calendar.js +47 -0
- package/dist/public/packages/core/src/coverage.js +12 -0
- package/dist/public/packages/core/src/subscriptions.js +146 -21
- package/dist/public/packages/receipt/src/index.js +387 -80
- package/dist/public/packages/ui/src/brand.js +48 -3
- package/dist/public/privacy.css +197 -6
- package/dist/public/privacy.html +1 -1
- package/package.json +1 -1
package/dist/public/privacy.css
CHANGED
|
@@ -1,8 +1,199 @@
|
|
|
1
1
|
/* Both the public page and local app use the same receipt renderer and tokens. */
|
|
2
|
-
@font-face{
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: Inter;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 100 900;
|
|
6
|
+
font-display: block;
|
|
7
|
+
src: url('/fonts/inter-latin.woff2') format('woff2');
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: 'Plex Mono';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 400 700;
|
|
13
|
+
font-display: block;
|
|
14
|
+
src: url('/fonts/plex-mono.woff2') format('woff2');
|
|
15
|
+
}
|
|
16
|
+
.brand-name {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
position: relative;
|
|
20
|
+
color: #eef2f4;
|
|
21
|
+
font-family: Inter, sans-serif;
|
|
22
|
+
font-weight: 800;
|
|
23
|
+
letter-spacing: -0.055em;
|
|
24
|
+
}
|
|
25
|
+
.brand-name-accent {
|
|
26
|
+
color: #37ec85;
|
|
27
|
+
}
|
|
28
|
+
.brand-name-label {
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: 1px;
|
|
31
|
+
height: 1px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: -1px;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
clip-path: inset(50%);
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
}
|
|
38
|
+
.brand-wordmark {
|
|
39
|
+
display: block;
|
|
40
|
+
width: 92px;
|
|
41
|
+
height: 14px;
|
|
42
|
+
overflow: visible;
|
|
43
|
+
}
|
|
44
|
+
@media (forced-colors: active) {
|
|
45
|
+
.brand-name,
|
|
46
|
+
.brand-name-accent {
|
|
47
|
+
color: CanvasText;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
5
50
|
|
|
6
|
-
:root{
|
|
7
|
-
|
|
8
|
-
|
|
51
|
+
:root {
|
|
52
|
+
color-scheme: dark;
|
|
53
|
+
--bg: #080b0d;
|
|
54
|
+
--text: #eff0f1;
|
|
55
|
+
--muted: #b2b7bd;
|
|
56
|
+
--border: #25282d;
|
|
57
|
+
--green: #37ec85;
|
|
58
|
+
}
|
|
59
|
+
* {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
body {
|
|
63
|
+
margin: 0;
|
|
64
|
+
background: var(--bg);
|
|
65
|
+
color: var(--text);
|
|
66
|
+
font:
|
|
67
|
+
15px Inter,
|
|
68
|
+
'Segoe UI',
|
|
69
|
+
Arial,
|
|
70
|
+
sans-serif;
|
|
71
|
+
-webkit-font-smoothing: antialiased;
|
|
72
|
+
}
|
|
73
|
+
a {
|
|
74
|
+
color: inherit;
|
|
75
|
+
text-decoration: none;
|
|
76
|
+
}
|
|
77
|
+
a:focus-visible {
|
|
78
|
+
outline: 2px solid var(--green);
|
|
79
|
+
outline-offset: 5px;
|
|
80
|
+
}
|
|
81
|
+
a:hover {
|
|
82
|
+
color: var(--green);
|
|
83
|
+
}
|
|
84
|
+
.privacy-nav {
|
|
85
|
+
max-width: 880px;
|
|
86
|
+
margin: auto;
|
|
87
|
+
padding: 28px 32px;
|
|
88
|
+
display: flex;
|
|
89
|
+
justify-content: space-between;
|
|
90
|
+
align-items: center;
|
|
91
|
+
border-bottom: 1px solid var(--border);
|
|
92
|
+
}
|
|
93
|
+
.brand {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
gap: 11px;
|
|
97
|
+
font-size: 19px;
|
|
98
|
+
font-weight: 650;
|
|
99
|
+
letter-spacing: -0.5px;
|
|
100
|
+
}
|
|
101
|
+
.privacy-back {
|
|
102
|
+
color: var(--muted);
|
|
103
|
+
font-size: 13px;
|
|
104
|
+
min-height: 44px;
|
|
105
|
+
display: flex;
|
|
106
|
+
align-items: center;
|
|
107
|
+
}
|
|
108
|
+
.privacy-document {
|
|
109
|
+
max-width: 784px;
|
|
110
|
+
margin: auto;
|
|
111
|
+
padding: 50px 32px 40px;
|
|
112
|
+
}
|
|
113
|
+
.privacy-document h1 {
|
|
114
|
+
font-size: 32px;
|
|
115
|
+
font-weight: 550;
|
|
116
|
+
letter-spacing: -1px;
|
|
117
|
+
line-height: 1.2;
|
|
118
|
+
margin: 0 0 22px;
|
|
119
|
+
}
|
|
120
|
+
.privacy-document h2 {
|
|
121
|
+
font-size: 18px;
|
|
122
|
+
font-weight: 550;
|
|
123
|
+
letter-spacing: -0.3px;
|
|
124
|
+
margin: 40px 0 16px;
|
|
125
|
+
padding-top: 26px;
|
|
126
|
+
border-top: 1px solid var(--border);
|
|
127
|
+
}
|
|
128
|
+
.privacy-document p,
|
|
129
|
+
.privacy-document ul {
|
|
130
|
+
color: var(--muted);
|
|
131
|
+
line-height: 1.85;
|
|
132
|
+
margin: 0 0 18px;
|
|
133
|
+
}
|
|
134
|
+
.privacy-document ul {
|
|
135
|
+
padding-left: 21px;
|
|
136
|
+
}
|
|
137
|
+
.privacy-document li {
|
|
138
|
+
padding-left: 4px;
|
|
139
|
+
margin-bottom: 8px;
|
|
140
|
+
}
|
|
141
|
+
.privacy-document code {
|
|
142
|
+
font:
|
|
143
|
+
12px 'Plex Mono',
|
|
144
|
+
Consolas,
|
|
145
|
+
monospace;
|
|
146
|
+
color: var(--text);
|
|
147
|
+
background: #13171c;
|
|
148
|
+
padding: 2px 5px;
|
|
149
|
+
border: 1px solid #22282e;
|
|
150
|
+
border-radius: 3px;
|
|
151
|
+
overflow-wrap: anywhere;
|
|
152
|
+
}
|
|
153
|
+
.privacy-document p a {
|
|
154
|
+
color: var(--text);
|
|
155
|
+
text-decoration: underline;
|
|
156
|
+
text-underline-offset: 4px;
|
|
157
|
+
}
|
|
158
|
+
.privacy-document footer {
|
|
159
|
+
margin-top: 38px;
|
|
160
|
+
padding-top: 22px;
|
|
161
|
+
border-top: 1px solid var(--border);
|
|
162
|
+
font-size: 12px;
|
|
163
|
+
color: var(--muted);
|
|
164
|
+
}
|
|
165
|
+
.privacy-skip {
|
|
166
|
+
position: fixed;
|
|
167
|
+
top: -100px;
|
|
168
|
+
left: 20px;
|
|
169
|
+
background: var(--green);
|
|
170
|
+
color: #080b0d;
|
|
171
|
+
padding: 12px;
|
|
172
|
+
z-index: 2;
|
|
173
|
+
}
|
|
174
|
+
.privacy-skip:focus {
|
|
175
|
+
top: 12px;
|
|
176
|
+
}
|
|
177
|
+
@media (max-width: 600px) {
|
|
178
|
+
.privacy-nav {
|
|
179
|
+
padding: 14px 22px;
|
|
180
|
+
}
|
|
181
|
+
.privacy-document {
|
|
182
|
+
padding: 32px 22px;
|
|
183
|
+
}
|
|
184
|
+
.privacy-document h1 {
|
|
185
|
+
font-size: 27px;
|
|
186
|
+
max-width: 280px;
|
|
187
|
+
}
|
|
188
|
+
.privacy-document h2 {
|
|
189
|
+
font-size: 17px;
|
|
190
|
+
margin-top: 30px;
|
|
191
|
+
padding-top: 22px;
|
|
192
|
+
}
|
|
193
|
+
body {
|
|
194
|
+
font-size: 14px;
|
|
195
|
+
}
|
|
196
|
+
.privacy-document code {
|
|
197
|
+
font-size: 11px;
|
|
198
|
+
}
|
|
199
|
+
}
|
package/dist/public/privacy.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"><meta name="theme-color" content="#080b0d"><title>Privacy and data access — SubValue</title><link rel="icon" href="/icon.svg"><link rel="preload" href="/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="/fonts/plex-mono.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="/privacy.css"></head><body class="privacy-page"><a class="privacy-skip" href="#policy">Skip to content</a><header class="privacy-nav"><a class="brand" href="/"><img src="/logo/mark-green.svg" alt="" width="24" height="24">SubValue</a><a class="privacy-back" href="/">← Back</a></header><main id="policy" class="privacy-document" tabindex="-1"><article><h1>Privacy and data access</h1>
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"><meta name="theme-color" content="#080b0d"><title>Privacy and data access — SubValue</title><link rel="icon" href="/icon.svg"><link rel="preload" href="/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin><link rel="preload" href="/fonts/plex-mono.woff2" as="font" type="font/woff2" crossorigin><link rel="stylesheet" href="/privacy.css"></head><body class="privacy-page"><a class="privacy-skip" href="#policy">Skip to content</a><header class="privacy-nav"><a class="brand" href="/"><img src="/logo/mark-green.svg" alt="" width="24" height="24"><span class="brand-name"><span class="brand-name-label">SubValue</span><svg xmlns="http://www.w3.org/2000/svg" class="brand-wordmark" viewBox="0 0 46 7" fill="currentColor" shape-rendering="crispEdges" aria-hidden="true"><g><rect x="1" y="0" width="1" height="1"/><rect x="2" y="0" width="1" height="1"/><rect x="3" y="0" width="1" height="1"/><rect x="4" y="0" width="1" height="1"/><rect x="0" y="1" width="1" height="1"/><rect x="0" y="2" width="1" height="1"/><rect x="1" y="3" width="1" height="1"/><rect x="2" y="3" width="1" height="1"/><rect x="3" y="3" width="1" height="1"/><rect x="4" y="4" width="1" height="1"/><rect x="4" y="5" width="1" height="1"/><rect x="0" y="6" width="1" height="1"/><rect x="1" y="6" width="1" height="1"/><rect x="2" y="6" width="1" height="1"/><rect x="3" y="6" width="1" height="1"/></g><g><rect x="6" y="0" width="1" height="1"/><rect x="10" y="0" width="1" height="1"/><rect x="6" y="1" width="1" height="1"/><rect x="10" y="1" width="1" height="1"/><rect x="6" y="2" width="1" height="1"/><rect x="10" y="2" width="1" height="1"/><rect x="6" y="3" width="1" height="1"/><rect x="10" y="3" width="1" height="1"/><rect x="6" y="4" width="1" height="1"/><rect x="10" y="4" width="1" height="1"/><rect x="6" y="5" width="1" height="1"/><rect x="10" y="5" width="1" height="1"/><rect x="7" y="6" width="1" height="1"/><rect x="8" y="6" width="1" height="1"/><rect x="9" y="6" width="1" height="1"/></g><g><rect x="12" y="0" width="1" height="1"/><rect x="13" y="0" width="1" height="1"/><rect x="14" y="0" width="1" height="1"/><rect x="15" y="0" width="1" height="1"/><rect x="12" y="1" width="1" height="1"/><rect x="16" y="1" width="1" height="1"/><rect x="12" y="2" width="1" height="1"/><rect x="16" y="2" width="1" height="1"/><rect x="12" y="3" width="1" height="1"/><rect x="13" y="3" width="1" height="1"/><rect x="14" y="3" width="1" height="1"/><rect x="15" y="3" width="1" height="1"/><rect x="12" y="4" width="1" height="1"/><rect x="16" y="4" width="1" height="1"/><rect x="12" y="5" width="1" height="1"/><rect x="16" y="5" width="1" height="1"/><rect x="12" y="6" width="1" height="1"/><rect x="13" y="6" width="1" height="1"/><rect x="14" y="6" width="1" height="1"/><rect x="15" y="6" width="1" height="1"/></g><g class="brand-name-accent"><rect x="18" y="0" width="1" height="1"/><rect x="22" y="0" width="1" height="1"/><rect x="18" y="1" width="1" height="1"/><rect x="22" y="1" width="1" height="1"/><rect x="18" y="2" width="1" height="1"/><rect x="22" y="2" width="1" height="1"/><rect x="18" y="3" width="1" height="1"/><rect x="22" y="3" width="1" height="1"/><rect x="18" y="4" width="1" height="1"/><rect x="22" y="4" width="1" height="1"/><rect x="19" y="5" width="1" height="1"/><rect x="21" y="5" width="1" height="1"/><rect x="20" y="6" width="1" height="1"/></g><g class="brand-name-accent"><rect x="25" y="0" width="1" height="1"/><rect x="26" y="0" width="1" height="1"/><rect x="27" y="0" width="1" height="1"/><rect x="24" y="1" width="1" height="1"/><rect x="28" y="1" width="1" height="1"/><rect x="24" y="2" width="1" height="1"/><rect x="28" y="2" width="1" height="1"/><rect x="24" y="3" width="1" height="1"/><rect x="25" y="3" width="1" height="1"/><rect x="26" y="3" width="1" height="1"/><rect x="27" y="3" width="1" height="1"/><rect x="28" y="3" width="1" height="1"/><rect x="24" y="4" width="1" height="1"/><rect x="28" y="4" width="1" height="1"/><rect x="24" y="5" width="1" height="1"/><rect x="28" y="5" width="1" height="1"/><rect x="24" y="6" width="1" height="1"/><rect x="28" y="6" width="1" height="1"/></g><g class="brand-name-accent"><rect x="30" y="0" width="1" height="1"/><rect x="30" y="1" width="1" height="1"/><rect x="30" y="2" width="1" height="1"/><rect x="30" y="3" width="1" height="1"/><rect x="30" y="4" width="1" height="1"/><rect x="30" y="5" width="1" height="1"/><rect x="30" y="6" width="1" height="1"/><rect x="31" y="6" width="1" height="1"/><rect x="32" y="6" width="1" height="1"/><rect x="33" y="6" width="1" height="1"/></g><g class="brand-name-accent"><rect x="35" y="0" width="1" height="1"/><rect x="39" y="0" width="1" height="1"/><rect x="35" y="1" width="1" height="1"/><rect x="39" y="1" width="1" height="1"/><rect x="35" y="2" width="1" height="1"/><rect x="39" y="2" width="1" height="1"/><rect x="35" y="3" width="1" height="1"/><rect x="39" y="3" width="1" height="1"/><rect x="35" y="4" width="1" height="1"/><rect x="39" y="4" width="1" height="1"/><rect x="35" y="5" width="1" height="1"/><rect x="39" y="5" width="1" height="1"/><rect x="36" y="6" width="1" height="1"/><rect x="37" y="6" width="1" height="1"/><rect x="38" y="6" width="1" height="1"/></g><g class="brand-name-accent"><rect x="41" y="0" width="1" height="1"/><rect x="42" y="0" width="1" height="1"/><rect x="43" y="0" width="1" height="1"/><rect x="44" y="0" width="1" height="1"/><rect x="45" y="0" width="1" height="1"/><rect x="41" y="1" width="1" height="1"/><rect x="41" y="2" width="1" height="1"/><rect x="41" y="3" width="1" height="1"/><rect x="42" y="3" width="1" height="1"/><rect x="43" y="3" width="1" height="1"/><rect x="44" y="3" width="1" height="1"/><rect x="41" y="4" width="1" height="1"/><rect x="41" y="5" width="1" height="1"/><rect x="41" y="6" width="1" height="1"/><rect x="42" y="6" width="1" height="1"/><rect x="43" y="6" width="1" height="1"/><rect x="44" y="6" width="1" height="1"/><rect x="45" y="6" width="1" height="1"/></g></svg></span></a><a class="privacy-back" href="/">← Back</a></header><main id="policy" class="privacy-document" tabindex="-1"><article><h1>Privacy and data access</h1>
|
|
2
2
|
<p>SubValue processes usage on the user's machine. It has no account, cloud usage database, telemetry SDK or runtime upload endpoint.</p>
|
|
3
3
|
<h2>Files read</h2>
|
|
4
4
|
<p>Only these provider sources are opened for usage analysis:</p>
|