jev-dev-harness 0.1.8 β 0.1.9
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/dashboard/index.html +437 -155
- package/dist/cli/banner.js +1 -1
- package/dist/cli/dashboard.d.ts.map +1 -1
- package/dist/cli/dashboard.js +33 -22
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/cli/index.js +2 -2
- package/package.json +1 -1
package/dashboard/index.html
CHANGED
|
@@ -44,25 +44,38 @@
|
|
|
44
44
|
jev-dev-harness
|
|
45
45
|
</h1>
|
|
46
46
|
<span class="text-[10px] font-mono uppercase px-2 py-0.5 rounded-full bg-blue-500/10 border border-blue-500/30 text-blue-400 font-bold">
|
|
47
|
-
v0.1.
|
|
47
|
+
v0.1.9
|
|
48
48
|
</span>
|
|
49
49
|
</div>
|
|
50
|
-
<p class="text-xs text-slate-400">
|
|
50
|
+
<p class="text-xs text-slate-400" data-i18n="header_subtitle">
|
|
51
51
|
Runtime Developer Harness & Live Telemetry for AI Coding Agents
|
|
52
52
|
</p>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
55
|
|
|
56
|
-
<!-- Tab Switcher -->
|
|
57
|
-
<div class="flex items-center gap-2
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
<!-- Header Controls: Language Toggle & Tab Switcher -->
|
|
57
|
+
<div class="flex flex-wrap items-center gap-2.5">
|
|
58
|
+
<!-- Language Selector Toggle -->
|
|
59
|
+
<div class="flex items-center bg-slate-950/80 p-1 rounded-xl border border-slate-800 text-xs font-mono">
|
|
60
|
+
<button id="langBtnEn" onclick="setLanguage('en')" class="px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5" title="English">
|
|
61
|
+
<span>πΊπΈ</span><span>EN</span>
|
|
62
|
+
</button>
|
|
63
|
+
<button id="langBtnPt" onclick="setLanguage('pt')" class="px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5" title="PortuguΓͺs (Brasil)">
|
|
64
|
+
<span>π§π·</span><span>PT</span>
|
|
65
|
+
</button>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<!-- Tab Switcher -->
|
|
69
|
+
<div class="flex items-center gap-1.5 bg-slate-950/80 p-1 rounded-xl border border-slate-800">
|
|
70
|
+
<button id="tabBtnLive" onclick="switchTab('live')" class="px-3.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all flex items-center gap-2 tab-active cursor-pointer">
|
|
71
|
+
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
|
|
72
|
+
<span data-i18n="tab_live">Live Telemetry</span>
|
|
73
|
+
</button>
|
|
74
|
+
<button id="tabBtnRoi" onclick="switchTab('roi')" class="px-3.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all flex items-center gap-2 tab-inactive cursor-pointer">
|
|
75
|
+
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path></svg>
|
|
76
|
+
<span data-i18n="tab_roi">ROI & Simulator</span>
|
|
77
|
+
</button>
|
|
78
|
+
</div>
|
|
66
79
|
</div>
|
|
67
80
|
</header>
|
|
68
81
|
|
|
@@ -71,10 +84,10 @@
|
|
|
71
84
|
<div class="flex items-center gap-2.5">
|
|
72
85
|
<span class="w-2.5 h-2.5 rounded-full bg-purple-400 animate-ping"></span>
|
|
73
86
|
<span class="text-slate-200">
|
|
74
|
-
π New update available
|
|
87
|
+
π <span data-i18n="update_new">New update available:</span> <strong id="updateCurrentVer" class="text-slate-400 font-semibold"></strong> β <strong id="updateLatestVer" class="text-purple-300 font-bold"></strong>. Run <code class="bg-purple-900/40 border border-purple-700/50 px-1.5 py-0.5 rounded text-white font-mono">jev-dev update</code>
|
|
75
88
|
</span>
|
|
76
89
|
</div>
|
|
77
|
-
<a href="https://github.com/celolopes/jev-dev-harness/releases" target="_blank" class="px-3 py-1.5 rounded-lg bg-purple-600 hover:bg-purple-500 active:scale-95 text-white font-bold transition-all text-center self-start sm:self-auto cursor-pointer">
|
|
90
|
+
<a href="https://github.com/celolopes/jev-dev-harness/releases" target="_blank" class="px-3 py-1.5 rounded-lg bg-purple-600 hover:bg-purple-500 active:scale-95 text-white font-bold transition-all text-center self-start sm:self-auto cursor-pointer" data-i18n="update_view">
|
|
78
91
|
View Release
|
|
79
92
|
</a>
|
|
80
93
|
</div>
|
|
@@ -88,31 +101,31 @@
|
|
|
88
101
|
<div class="border border-emerald-500/30 bg-emerald-950/20 backdrop-blur-md rounded-2xl p-5 md:p-6 shadow-xl relative overflow-hidden">
|
|
89
102
|
<div class="flex flex-col md:flex-row items-start md:items-center justify-between gap-4">
|
|
90
103
|
<div class="space-y-1.5">
|
|
91
|
-
<div class="inline-flex items-center gap-2 font-mono text-xs text-emerald-400 font-semibold bg-emerald-500/10 px-2.5 py-1 rounded-full border border-emerald-500/20">
|
|
104
|
+
<div class="inline-flex items-center gap-2 font-mono text-xs text-emerald-400 font-semibold bg-emerald-500/10 px-2.5 py-1 rounded-full border border-emerald-500/20" data-i18n="status_banner_badge">
|
|
92
105
|
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-ping"></span>
|
|
93
106
|
Codex Desktop β’ Antigravity β’ Claude Code
|
|
94
107
|
</div>
|
|
95
108
|
<div class="flex items-center gap-2">
|
|
96
109
|
<svg class="w-6 h-6 text-emerald-400 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path></svg>
|
|
97
|
-
<h2 class="text-2xl font-bold text-white tracking-tight">Active Telemetry & Protection</h2>
|
|
110
|
+
<h2 class="text-2xl font-bold text-white tracking-tight" data-i18n="status_banner_title">Active Telemetry & Protection</h2>
|
|
98
111
|
</div>
|
|
99
112
|
<p id="liveStatusSubtext" class="text-xs md:text-sm text-slate-300">
|
|
100
113
|
Jev optimized <strong id="liveDecidedCount" class="text-emerald-300">0</strong> requests across your coding agents.
|
|
101
114
|
</p>
|
|
102
115
|
<div class="text-[11px] text-slate-400 font-mono flex flex-wrap items-center gap-2 pt-1">
|
|
103
|
-
<span>Model
|
|
116
|
+
<span><span data-i18n="status_model">Model:</span> <span class="text-slate-200">TypeSafe Jev System One</span></span>
|
|
104
117
|
<span>β’</span>
|
|
105
|
-
<span id="liveStreamStatus" class="text-emerald-400">β‘ Live Stream: Connected</span>
|
|
118
|
+
<span id="liveStreamStatus" class="text-emerald-400" data-i18n="status_stream">β‘ Live Stream: Connected</span>
|
|
106
119
|
<span>β’</span>
|
|
107
|
-
<span>Store
|
|
120
|
+
<span><span data-i18n="status_store">Store:</span> <code class="text-slate-300">~/.jev-dev/telemetry.jsonl</code></span>
|
|
108
121
|
</div>
|
|
109
122
|
</div>
|
|
110
123
|
|
|
111
124
|
<div class="flex items-center gap-2 self-start md:self-auto">
|
|
112
|
-
<button onclick="clearHistory()" class="px-3.5 py-2 rounded-xl bg-slate-900 hover:bg-slate-800 border border-slate-700 text-slate-300 hover:text-white text-xs font-mono transition-all cursor-pointer">
|
|
125
|
+
<button onclick="clearHistory()" class="px-3.5 py-2 rounded-xl bg-slate-900 hover:bg-slate-800 border border-slate-700 text-slate-300 hover:text-white text-xs font-mono transition-all cursor-pointer" data-i18n="btn_clear">
|
|
113
126
|
Clear History
|
|
114
127
|
</button>
|
|
115
|
-
<button onclick="refreshData()" class="px-3.5 py-2 rounded-xl bg-emerald-600 hover:bg-emerald-500 text-white text-xs font-mono font-bold transition-all shadow-lg shadow-emerald-600/20 cursor-pointer">
|
|
128
|
+
<button onclick="refreshData()" class="px-3.5 py-2 rounded-xl bg-emerald-600 hover:bg-emerald-500 text-white text-xs font-mono font-bold transition-all shadow-lg shadow-emerald-600/20 cursor-pointer" data-i18n="btn_refresh">
|
|
116
129
|
Refresh
|
|
117
130
|
</button>
|
|
118
131
|
</div>
|
|
@@ -123,42 +136,42 @@
|
|
|
123
136
|
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3">
|
|
124
137
|
<!-- Card 1: Requests -->
|
|
125
138
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
126
|
-
<div class="text-[11px] font-semibold text-slate-400 uppercase tracking-wider mb-1">Agent Ops</div>
|
|
139
|
+
<div class="text-[11px] font-semibold text-slate-400 uppercase tracking-wider mb-1" data-i18n="card_ops_title">Agent Ops</div>
|
|
127
140
|
<div id="metricTotalEvents" class="text-2xl font-extrabold text-white font-mono">0</div>
|
|
128
|
-
<p class="text-[10px] text-slate-400 mt-1">Through harness</p>
|
|
141
|
+
<p class="text-[10px] text-slate-400 mt-1" data-i18n="card_ops_sub">Through harness</p>
|
|
129
142
|
</div>
|
|
130
143
|
|
|
131
144
|
<!-- Card 2: Tokens Saved -->
|
|
132
145
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
133
|
-
<div class="text-[11px] font-semibold text-purple-400 uppercase tracking-wider mb-1">Tokens Saved</div>
|
|
146
|
+
<div class="text-[11px] font-semibold text-purple-400 uppercase tracking-wider mb-1" data-i18n="card_tokens_title">Tokens Saved</div>
|
|
134
147
|
<div id="metricTokensSaved" class="text-2xl font-extrabold text-purple-300 font-mono">0</div>
|
|
135
|
-
<p id="metricTokensSavedSub" class="text-[10px] text-slate-400 mt-1">~92% context cut</p>
|
|
148
|
+
<p id="metricTokensSavedSub" class="text-[10px] text-slate-400 mt-1" data-i18n="card_tokens_sub">~92% context cut</p>
|
|
136
149
|
</div>
|
|
137
150
|
|
|
138
151
|
<!-- Card 3: Cash Saved -->
|
|
139
152
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
140
|
-
<div class="text-[11px] font-semibold text-emerald-400 uppercase tracking-wider mb-1">$ Net Saved</div>
|
|
153
|
+
<div class="text-[11px] font-semibold text-emerald-400 uppercase tracking-wider mb-1" data-i18n="card_cash_title">$ Net Saved</div>
|
|
141
154
|
<div id="metricDollarsSaved" class="text-2xl font-extrabold text-emerald-300 font-mono">$0.00</div>
|
|
142
|
-
<p class="text-[10px] text-slate-400 mt-1">vs LLM input waste</p>
|
|
155
|
+
<p class="text-[10px] text-slate-400 mt-1" data-i18n="card_cash_sub">vs LLM input waste</p>
|
|
143
156
|
</div>
|
|
144
157
|
|
|
145
158
|
<!-- Card 4: Jev Latency -->
|
|
146
159
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
147
|
-
<div class="text-[11px] font-semibold text-blue-400 uppercase tracking-wider mb-1">Avg Latency</div>
|
|
160
|
+
<div class="text-[11px] font-semibold text-blue-400 uppercase tracking-wider mb-1" data-i18n="card_latency_title">Avg Latency</div>
|
|
148
161
|
<div id="metricLatency" class="text-2xl font-extrabold text-blue-300 font-mono">-- ms</div>
|
|
149
162
|
<p id="metricLatencySub" class="text-[10px] text-slate-400 mt-1">p95: -- ms</p>
|
|
150
163
|
</div>
|
|
151
164
|
|
|
152
165
|
<!-- Card 5: Tool Guard -->
|
|
153
166
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
154
|
-
<div class="text-[11px] font-semibold text-amber-400 uppercase tracking-wider mb-1">Tool Guard</div>
|
|
167
|
+
<div class="text-[11px] font-semibold text-amber-400 uppercase tracking-wider mb-1" data-i18n="card_guard_title">Tool Guard</div>
|
|
155
168
|
<div id="metricGuardCount" class="text-2xl font-extrabold text-amber-300 font-mono">0</div>
|
|
156
169
|
<p id="metricGuardSub" class="text-[10px] text-slate-400 mt-1">0 blocked</p>
|
|
157
170
|
</div>
|
|
158
171
|
|
|
159
172
|
<!-- Card 6: Patch Audits -->
|
|
160
173
|
<div class="p-4 rounded-xl bg-slate-900 border border-slate-800 shadow-sm">
|
|
161
|
-
<div class="text-[11px] font-semibold text-rose-400 uppercase tracking-wider mb-1">Patch Audits</div>
|
|
174
|
+
<div class="text-[11px] font-semibold text-rose-400 uppercase tracking-wider mb-1" data-i18n="card_patch_title">Patch Audits</div>
|
|
162
175
|
<div id="metricPatchCount" class="text-2xl font-extrabold text-rose-300 font-mono">0</div>
|
|
163
176
|
<p id="metricPatchSub" class="text-[10px] text-slate-400 mt-1">Avg risk: --/100</p>
|
|
164
177
|
</div>
|
|
@@ -169,7 +182,7 @@
|
|
|
169
182
|
<!-- What happened to each request -->
|
|
170
183
|
<div class="lg:col-span-7 border border-slate-800 bg-slate-900/90 rounded-2xl p-5 shadow-xl space-y-4">
|
|
171
184
|
<div class="flex items-center justify-between">
|
|
172
|
-
<h3 class="text-sm font-bold text-white uppercase tracking-wider font-mono">What happened to each request</h3>
|
|
185
|
+
<h3 class="text-sm font-bold text-white uppercase tracking-wider font-mono" data-i18n="chart_title">What happened to each request</h3>
|
|
173
186
|
<span id="distSummaryText" class="text-xs text-slate-400 font-mono">0 total requests</span>
|
|
174
187
|
</div>
|
|
175
188
|
|
|
@@ -185,41 +198,41 @@
|
|
|
185
198
|
<div class="grid grid-cols-2 sm:grid-cols-4 gap-2 pt-2 text-xs font-mono">
|
|
186
199
|
<div class="flex items-center gap-2">
|
|
187
200
|
<span class="w-3 h-3 rounded bg-purple-500 flex-shrink-0"></span>
|
|
188
|
-
<span class="text-slate-300">Context Rank (<span id="pctRank">0%</span>)</span>
|
|
201
|
+
<span class="text-slate-300"><span data-i18n="legend_rank">Context Rank</span> (<span id="pctRank">0%</span>)</span>
|
|
189
202
|
</div>
|
|
190
203
|
<div class="flex items-center gap-2">
|
|
191
204
|
<span class="w-3 h-3 rounded bg-amber-500 flex-shrink-0"></span>
|
|
192
|
-
<span class="text-slate-300">Tool Guard (<span id="pctGuard">0%</span>)</span>
|
|
205
|
+
<span class="text-slate-300"><span data-i18n="legend_guard">Tool Guard</span> (<span id="pctGuard">0%</span>)</span>
|
|
193
206
|
</div>
|
|
194
207
|
<div class="flex items-center gap-2">
|
|
195
208
|
<span class="w-3 h-3 rounded bg-blue-500 flex-shrink-0"></span>
|
|
196
|
-
<span class="text-slate-300">Patch Audit (<span id="pctPatch">0%</span>)</span>
|
|
209
|
+
<span class="text-slate-300"><span data-i18n="legend_patch">Patch Audit</span> (<span id="pctPatch">0%</span>)</span>
|
|
197
210
|
</div>
|
|
198
211
|
<div class="flex items-center gap-2">
|
|
199
212
|
<span class="w-3 h-3 rounded bg-emerald-500 flex-shrink-0"></span>
|
|
200
|
-
<span class="text-slate-300">Semantic Lint (<span id="pctLint">0%</span>)</span>
|
|
213
|
+
<span class="text-slate-300"><span data-i18n="legend_lint">Semantic Lint</span> (<span id="pctLint">0%</span>)</span>
|
|
201
214
|
</div>
|
|
202
215
|
</div>
|
|
203
216
|
</div>
|
|
204
217
|
|
|
205
218
|
<!-- Protection & Interception Summary -->
|
|
206
219
|
<div class="lg:col-span-5 border border-slate-800 bg-slate-900/90 rounded-2xl p-5 shadow-xl space-y-3 flex flex-col justify-between">
|
|
207
|
-
<h3 class="text-sm font-bold text-white uppercase tracking-wider font-mono">Safety & Gate Verdicts</h3>
|
|
220
|
+
<h3 class="text-sm font-bold text-white uppercase tracking-wider font-mono" data-i18n="verdicts_title">Safety & Gate Verdicts</h3>
|
|
208
221
|
<div class="space-y-2 text-xs font-mono">
|
|
209
222
|
<div class="flex justify-between items-center p-2 rounded-lg bg-slate-950/60 border border-slate-800">
|
|
210
|
-
<span class="text-slate-400">Destructive Commands Blocked:</span>
|
|
223
|
+
<span class="text-slate-400" data-i18n="verdicts_cmd_label">Destructive Commands Blocked:</span>
|
|
211
224
|
<span id="gateBlockedVal" class="text-emerald-400 font-bold">0 safe</span>
|
|
212
225
|
</div>
|
|
213
226
|
<div class="flex justify-between items-center p-2 rounded-lg bg-slate-950/60 border border-slate-800">
|
|
214
|
-
<span class="text-slate-400">Patches Escalated / Blocked:</span>
|
|
227
|
+
<span class="text-slate-400" data-i18n="verdicts_patch_label">Patches Escalated / Blocked:</span>
|
|
215
228
|
<span id="gateEscalatedVal" class="text-amber-400 font-bold">0 escalated</span>
|
|
216
229
|
</div>
|
|
217
230
|
<div class="flex justify-between items-center p-2 rounded-lg bg-slate-950/60 border border-slate-800">
|
|
218
|
-
<span class="text-slate-400">Context Reduction Rate:</span>
|
|
231
|
+
<span class="text-slate-400" data-i18n="verdicts_reduction_label">Context Reduction Rate:</span>
|
|
219
232
|
<span id="gateAvgReductionVal" class="text-purple-400 font-bold">92.4%</span>
|
|
220
233
|
</div>
|
|
221
234
|
</div>
|
|
222
|
-
<div class="text-[11px] text-slate-500 text-right">
|
|
235
|
+
<div class="text-[11px] text-slate-500 text-right" data-i18n="verdicts_engine">
|
|
223
236
|
Deterministic rule gates + Jev System One
|
|
224
237
|
</div>
|
|
225
238
|
</div>
|
|
@@ -230,26 +243,26 @@
|
|
|
230
243
|
<div class="flex items-center justify-between">
|
|
231
244
|
<div class="flex items-center gap-2">
|
|
232
245
|
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-ping"></span>
|
|
233
|
-
<h3 class="text-base font-bold text-white font-mono">Live Operations Stream</h3>
|
|
246
|
+
<h3 class="text-base font-bold text-white font-mono" data-i18n="stream_title">Live Operations Stream</h3>
|
|
234
247
|
</div>
|
|
235
|
-
<span class="text-xs text-slate-400 font-mono" id="feedCountText">Listening for agent tool calls...</span>
|
|
248
|
+
<span class="text-xs text-slate-400 font-mono" id="feedCountText" data-i18n="stream_listening">Listening for agent tool calls...</span>
|
|
236
249
|
</div>
|
|
237
250
|
|
|
238
251
|
<div class="overflow-x-auto">
|
|
239
252
|
<table class="w-full text-left text-xs font-mono text-slate-300">
|
|
240
253
|
<thead class="text-[11px] uppercase bg-slate-950/80 text-slate-400 border-y border-slate-800">
|
|
241
254
|
<tr>
|
|
242
|
-
<th scope="col" class="py-2.5 px-3">Time</th>
|
|
243
|
-
<th scope="col" class="py-2.5 px-3">Operation</th>
|
|
244
|
-
<th scope="col" class="py-2.5 px-3">Target / Detail</th>
|
|
245
|
-
<th scope="col" class="py-2.5 px-3">Outcome / Impact</th>
|
|
246
|
-
<th scope="col" class="py-2.5 px-3">Speed</th>
|
|
247
|
-
<th scope="col" class="py-2.5 px-3">Status</th>
|
|
255
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_time">Time</th>
|
|
256
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_operation">Operation</th>
|
|
257
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_target">Target / Detail</th>
|
|
258
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_outcome">Outcome / Impact</th>
|
|
259
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_speed">Speed</th>
|
|
260
|
+
<th scope="col" class="py-2.5 px-3" data-i18n="th_status">Status</th>
|
|
248
261
|
</tr>
|
|
249
262
|
</thead>
|
|
250
263
|
<tbody id="eventsTableBody" class="divide-y divide-slate-800/60">
|
|
251
264
|
<tr id="emptyEventsRow">
|
|
252
|
-
<td colspan="6" class="py-8 text-center text-slate-500">
|
|
265
|
+
<td colspan="6" class="py-8 text-center text-slate-500" data-i18n="table_empty">
|
|
253
266
|
No telemetry events recorded yet. Run a prompt in Codex Desktop or Antigravity to see live data here!
|
|
254
267
|
</td>
|
|
255
268
|
</tr>
|
|
@@ -271,11 +284,11 @@
|
|
|
271
284
|
<div>
|
|
272
285
|
<h2 class="text-xl font-bold text-white flex items-center gap-2">
|
|
273
286
|
<svg class="w-5 h-5 text-emerald-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
|
|
274
|
-
Interactive ROI & Dollar Savings Calculator
|
|
287
|
+
<span data-i18n="calc_title">Interactive ROI & Dollar Savings Calculator</span>
|
|
275
288
|
</h2>
|
|
276
|
-
<p class="text-xs md:text-sm text-slate-400">Simulate monthly and annual savings based on your team size and model usage.</p>
|
|
289
|
+
<p class="text-xs md:text-sm text-slate-400" data-i18n="calc_subtitle">Simulate monthly and annual savings based on your team size and model usage.</p>
|
|
277
290
|
</div>
|
|
278
|
-
<span class="px-3 py-1 rounded-full text-xs font-mono bg-emerald-500/10 text-emerald-300 border border-emerald-500/20">
|
|
291
|
+
<span class="px-3 py-1 rounded-full text-xs font-mono bg-emerald-500/10 text-emerald-300 border border-emerald-500/20" data-i18n="calc_badge">
|
|
279
292
|
Interactive Model
|
|
280
293
|
</span>
|
|
281
294
|
</div>
|
|
@@ -285,34 +298,34 @@
|
|
|
285
298
|
<div class="lg:col-span-6 space-y-6">
|
|
286
299
|
<div>
|
|
287
300
|
<div class="flex justify-between items-center mb-2">
|
|
288
|
-
<label class="text-sm font-medium text-slate-300">Team Size (Engineers with AI Agents)</label>
|
|
301
|
+
<label class="text-sm font-medium text-slate-300" data-i18n="calc_team_label">Team Size (Engineers with AI Agents)</label>
|
|
289
302
|
<span id="teamSizeVal" class="text-base font-bold text-purple-400 font-mono">10 devs</span>
|
|
290
303
|
</div>
|
|
291
304
|
<input id="teamSize" type="range" min="1" max="100" value="10" class="w-full h-2 bg-slate-700 rounded-lg appearance-none cursor-pointer accent-purple-500" oninput="updateCalculator()">
|
|
292
305
|
<div class="flex justify-between text-[11px] text-slate-500 mt-1 font-mono">
|
|
293
|
-
<span>1 solo</span>
|
|
294
|
-
<span>10 team</span>
|
|
295
|
-
<span>50 squad</span>
|
|
296
|
-
<span>100 enterprise</span>
|
|
306
|
+
<span data-i18n="calc_team_solo">1 solo</span>
|
|
307
|
+
<span data-i18n="calc_team_team">10 team</span>
|
|
308
|
+
<span data-i18n="calc_team_squad">50 squad</span>
|
|
309
|
+
<span data-i18n="calc_team_enterprise">100 enterprise</span>
|
|
297
310
|
</div>
|
|
298
311
|
</div>
|
|
299
312
|
|
|
300
313
|
<div>
|
|
301
314
|
<div class="flex justify-between items-center mb-2">
|
|
302
|
-
<label class="text-sm font-medium text-slate-300">Agent Prompts per Dev / Day</label>
|
|
315
|
+
<label class="text-sm font-medium text-slate-300" data-i18n="calc_prompts_label">Agent Prompts per Dev / Day</label>
|
|
303
316
|
<span id="promptsVal" class="text-base font-bold text-blue-400 font-mono">40 prompts</span>
|
|
304
317
|
</div>
|
|
305
318
|
<input id="promptsPerDay" type="range" min="10" max="150" step="5" value="40" class="w-full h-2 bg-slate-700 rounded-lg appearance-none cursor-pointer accent-blue-500" oninput="updateCalculator()">
|
|
306
319
|
<div class="flex justify-between text-[11px] text-slate-500 mt-1 font-mono">
|
|
307
|
-
<span>10 light</span>
|
|
308
|
-
<span>40 standard</span>
|
|
309
|
-
<span>80 intense</span>
|
|
310
|
-
<span>150 power user</span>
|
|
320
|
+
<span data-i18n="calc_prompts_light">10 light</span>
|
|
321
|
+
<span data-i18n="calc_prompts_standard">40 standard</span>
|
|
322
|
+
<span data-i18n="calc_prompts_intense">80 intense</span>
|
|
323
|
+
<span data-i18n="calc_prompts_power">150 power user</span>
|
|
311
324
|
</div>
|
|
312
325
|
</div>
|
|
313
326
|
|
|
314
327
|
<div>
|
|
315
|
-
<label class="block text-sm font-medium text-slate-300 mb-2">Target Agent Model & Pricing</label>
|
|
328
|
+
<label class="block text-sm font-medium text-slate-300 mb-2" data-i18n="calc_model_label">Target Agent Model & Pricing</label>
|
|
316
329
|
<select id="modelSelect" class="w-full bg-slate-800 border border-slate-700 rounded-xl px-4 py-2.5 text-sm text-slate-200 focus:outline-none focus:border-purple-500" onchange="updateCalculator()">
|
|
317
330
|
<option value="3.00">Claude 3.5 Sonnet ($3.00 / million input tokens)</option>
|
|
318
331
|
<option value="2.50">OpenAI GPT-4o ($2.50 / million input tokens)</option>
|
|
@@ -326,23 +339,23 @@
|
|
|
326
339
|
<div class="lg:col-span-6 bg-slate-950/60 border border-slate-800/80 rounded-xl p-6 flex flex-col justify-between">
|
|
327
340
|
<div class="space-y-4">
|
|
328
341
|
<div class="flex items-center justify-between pb-3 border-b border-slate-800 text-xs">
|
|
329
|
-
<span class="text-slate-400">Monthly Tokens Without Jev:</span>
|
|
342
|
+
<span class="text-slate-400" data-i18n="calc_tokens_without">Monthly Tokens Without Jev:</span>
|
|
330
343
|
<span id="tokensWithoutVal" class="font-mono text-slate-300 font-semibold">748M tokens</span>
|
|
331
344
|
</div>
|
|
332
345
|
<div class="flex items-center justify-between pb-3 border-b border-slate-800 text-xs">
|
|
333
|
-
<span class="text-slate-400">Monthly Tokens With Jev (Surgical):</span>
|
|
346
|
+
<span class="text-slate-400" data-i18n="calc_tokens_with">Monthly Tokens With Jev (Surgical):</span>
|
|
334
347
|
<span id="tokensWithVal" class="font-mono text-purple-300 font-semibold">57M tokens (-92.4%)</span>
|
|
335
348
|
</div>
|
|
336
349
|
<div class="grid grid-cols-2 gap-3 pt-2">
|
|
337
350
|
<div class="p-3 rounded-lg bg-red-950/20 border border-red-900/30">
|
|
338
|
-
<span class="text-[11px] uppercase font-bold text-red-400 block">Cost Without Jev</span>
|
|
351
|
+
<span class="text-[11px] uppercase font-bold text-red-400 block" data-i18n="calc_cost_without">Cost Without Jev</span>
|
|
339
352
|
<span id="costWithoutVal" class="text-xl font-bold font-mono text-red-200">$2,244.00</span>
|
|
340
|
-
<span class="text-[10px] text-slate-400 block mt-0.5">/ month</span>
|
|
353
|
+
<span class="text-[10px] text-slate-400 block mt-0.5" data-i18n="calc_per_month">/ month</span>
|
|
341
354
|
</div>
|
|
342
355
|
<div class="p-3 rounded-lg bg-emerald-950/20 border border-emerald-900/30">
|
|
343
|
-
<span class="text-[11px] uppercase font-bold text-emerald-400 block">Cost With Jev</span>
|
|
356
|
+
<span class="text-[11px] uppercase font-bold text-emerald-400 block" data-i18n="calc_cost_with">Cost With Jev</span>
|
|
344
357
|
<span id="costWithVal" class="text-xl font-bold font-mono text-emerald-200">$171.60</span>
|
|
345
|
-
<span class="text-[10px] text-slate-400 block mt-0.5">/ month</span>
|
|
358
|
+
<span class="text-[10px] text-slate-400 block mt-0.5" data-i18n="calc_per_month">/ month</span>
|
|
346
359
|
</div>
|
|
347
360
|
</div>
|
|
348
361
|
</div>
|
|
@@ -350,11 +363,11 @@
|
|
|
350
363
|
<div class="mt-6 pt-4 border-t border-slate-800/80 bg-gradient-to-r from-purple-950/30 to-emerald-950/30 p-4 rounded-xl border border-purple-900/30">
|
|
351
364
|
<div class="flex items-baseline justify-between">
|
|
352
365
|
<div>
|
|
353
|
-
<span class="text-xs uppercase font-extrabold tracking-wider text-emerald-400 block">Net Monthly Cash Saved</span>
|
|
366
|
+
<span class="text-xs uppercase font-extrabold tracking-wider text-emerald-400 block" data-i18n="calc_net_monthly">Net Monthly Cash Saved</span>
|
|
354
367
|
<span id="savingsMonthVal" class="text-3xl font-black font-mono text-white">$2,072.40</span>
|
|
355
368
|
</div>
|
|
356
369
|
<div class="text-right">
|
|
357
|
-
<span class="text-xs uppercase font-extrabold tracking-wider text-purple-400 block">Annual Savings</span>
|
|
370
|
+
<span class="text-xs uppercase font-extrabold tracking-wider text-purple-400 block" data-i18n="calc_annual">Annual Savings</span>
|
|
358
371
|
<span id="savingsYearVal" class="text-xl font-bold font-mono text-purple-200">$24,868.80</span>
|
|
359
372
|
</div>
|
|
360
373
|
</div>
|
|
@@ -365,35 +378,35 @@
|
|
|
365
378
|
|
|
366
379
|
<!-- Side-by-Side Matrix -->
|
|
367
380
|
<section class="border border-slate-800 bg-slate-900/80 rounded-2xl p-6 md:p-8 shadow-xl space-y-6">
|
|
368
|
-
<h2 class="text-xl font-bold text-white font-mono">Side-by-Side Architectural Matrix</h2>
|
|
381
|
+
<h2 class="text-xl font-bold text-white font-mono" data-i18n="matrix_title">Side-by-Side Architectural Matrix</h2>
|
|
369
382
|
<div class="overflow-x-auto">
|
|
370
383
|
<table class="w-full text-left text-sm text-slate-300">
|
|
371
384
|
<thead class="text-xs uppercase bg-slate-950/60 text-slate-400 border-y border-slate-800">
|
|
372
385
|
<tr>
|
|
373
|
-
<th scope="col" class="py-3 px-4">Feature / Dimension</th>
|
|
374
|
-
<th scope="col" class="py-3 px-4 text-red-400 bg-red-950/10 border-x border-slate-800">Without Jev (Vanilla Agent)</th>
|
|
375
|
-
<th scope="col" class="py-3 px-4 text-emerald-400 bg-emerald-950/10">With Jev Developer Harness</th>
|
|
376
|
-
<th scope="col" class="py-3 px-4 text-purple-400">Competitive Advantage</th>
|
|
386
|
+
<th scope="col" class="py-3 px-4" data-i18n="matrix_th_feat">Feature / Dimension</th>
|
|
387
|
+
<th scope="col" class="py-3 px-4 text-red-400 bg-red-950/10 border-x border-slate-800" data-i18n="matrix_th_without">Without Jev (Vanilla Agent)</th>
|
|
388
|
+
<th scope="col" class="py-3 px-4 text-emerald-400 bg-emerald-950/10" data-i18n="matrix_th_with">With Jev Developer Harness</th>
|
|
389
|
+
<th scope="col" class="py-3 px-4 text-purple-400" data-i18n="matrix_th_adv">Competitive Advantage</th>
|
|
377
390
|
</tr>
|
|
378
391
|
</thead>
|
|
379
392
|
<tbody class="divide-y divide-slate-800/60 font-normal">
|
|
380
393
|
<tr class="hover:bg-slate-800/30">
|
|
381
|
-
<td class="py-3.5 px-4 font-semibold text-white">Context Discovery</td>
|
|
382
|
-
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800">Dumps 40β90 files into prompt. High "lost in the middle" rate.</td>
|
|
383
|
-
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium">4-stage ranker isolates the exact 3β5 crucial files.</td>
|
|
384
|
-
<td class="py-3.5 px-4 font-semibold text-purple-300">92%β94% token cut, pinpoint code grounding.</td>
|
|
394
|
+
<td class="py-3.5 px-4 font-semibold text-white" data-i18n="matrix_r1_feat">Context Discovery</td>
|
|
395
|
+
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800" data-i18n="matrix_r1_without">Dumps 40β90 files into prompt. High "lost in the middle" rate.</td>
|
|
396
|
+
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium" data-i18n="matrix_r1_with">4-stage ranker isolates the exact 3β5 crucial files.</td>
|
|
397
|
+
<td class="py-3.5 px-4 font-semibold text-purple-300" data-i18n="matrix_r1_adv">92%β94% token cut, pinpoint code grounding.</td>
|
|
385
398
|
</tr>
|
|
386
399
|
<tr class="hover:bg-slate-800/30">
|
|
387
|
-
<td class="py-3.5 px-4 font-semibold text-white">Shell Command Execution</td>
|
|
388
|
-
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800">LLM executes terminal commands blindly (risk of `rm -rf`, `git reset`).</td>
|
|
389
|
-
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium"><1ms lexical classifier + Jev evaluator for unknown syntax.</td>
|
|
390
|
-
<td class="py-3.5 px-4 font-semibold text-purple-300">100% deterministic guard blocking destructive actions.</td>
|
|
400
|
+
<td class="py-3.5 px-4 font-semibold text-white" data-i18n="matrix_r2_feat">Shell Command Execution</td>
|
|
401
|
+
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800" data-i18n="matrix_r2_without">LLM executes terminal commands blindly (risk of `rm -rf`, `git reset`).</td>
|
|
402
|
+
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium" data-i18n="matrix_r2_with"><1ms lexical classifier + Jev evaluator for unknown syntax.</td>
|
|
403
|
+
<td class="py-3.5 px-4 font-semibold text-purple-300" data-i18n="matrix_r2_adv">100% deterministic guard blocking destructive actions.</td>
|
|
391
404
|
</tr>
|
|
392
405
|
<tr class="hover:bg-slate-800/30">
|
|
393
|
-
<td class="py-3.5 px-4 font-semibold text-white">Git Diff & Patch Audit</td>
|
|
394
|
-
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800">Manual developer review or waiting minutes for remote CI runs.</td>
|
|
395
|
-
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium">Sub-second (~750ms) System One pre-commit hook automatically audits diffs.</td>
|
|
396
|
-
<td class="py-3.5 px-4 font-semibold text-purple-300">Catches credential leaks & regression risk before commit.</td>
|
|
406
|
+
<td class="py-3.5 px-4 font-semibold text-white" data-i18n="matrix_r3_feat">Git Diff & Patch Audit</td>
|
|
407
|
+
<td class="py-3.5 px-4 text-slate-400 bg-red-950/5 border-x border-slate-800" data-i18n="matrix_r3_without">Manual developer review or waiting minutes for remote CI runs.</td>
|
|
408
|
+
<td class="py-3.5 px-4 text-emerald-200 bg-emerald-950/5 font-medium" data-i18n="matrix_r3_with">Sub-second (~750ms) System One pre-commit hook automatically audits diffs.</td>
|
|
409
|
+
<td class="py-3.5 px-4 font-semibold text-purple-300" data-i18n="matrix_r3_adv">Catches credential leaks & regression risk before commit.</td>
|
|
397
410
|
</tr>
|
|
398
411
|
</tbody>
|
|
399
412
|
</table>
|
|
@@ -403,8 +416,8 @@
|
|
|
403
416
|
</div>
|
|
404
417
|
|
|
405
418
|
<!-- Footer -->
|
|
406
|
-
<footer class="text-center text-xs text-slate-500 py-4 font-mono">
|
|
407
|
-
jev-dev-harness v0.1.
|
|
419
|
+
<footer class="text-center text-xs text-slate-500 py-4 font-mono" data-i18n="footer">
|
|
420
|
+
jev-dev-harness v0.1.9 β’ Licensed under MIT β’ Powered by TypeSafe AI / Jev System One
|
|
408
421
|
</footer>
|
|
409
422
|
|
|
410
423
|
</div>
|
|
@@ -431,68 +444,331 @@
|
|
|
431
444
|
}
|
|
432
445
|
}
|
|
433
446
|
|
|
447
|
+
// ==========================================
|
|
448
|
+
// Internationalization (i18n) - EN & PT-BR
|
|
449
|
+
// ==========================================
|
|
450
|
+
const I18N = {
|
|
451
|
+
en: {
|
|
452
|
+
header_subtitle: 'Runtime Developer Harness & Live Telemetry for AI Coding Agents',
|
|
453
|
+
tab_live: 'Live Telemetry',
|
|
454
|
+
tab_roi: 'ROI & Simulator',
|
|
455
|
+
update_new: 'New update available:',
|
|
456
|
+
update_view: 'View Release',
|
|
457
|
+
status_banner_badge: 'Codex Desktop β’ Antigravity β’ Claude Code',
|
|
458
|
+
status_banner_title: 'Active Telemetry & Protection',
|
|
459
|
+
status_model: 'Model:',
|
|
460
|
+
status_stream: 'β‘ Live Stream: Connected',
|
|
461
|
+
status_store: 'Store:',
|
|
462
|
+
btn_clear: 'Clear History',
|
|
463
|
+
btn_refresh: 'Refresh',
|
|
464
|
+
card_ops_title: 'Agent Ops',
|
|
465
|
+
card_ops_sub: 'Through harness',
|
|
466
|
+
card_tokens_title: 'Tokens Saved',
|
|
467
|
+
card_tokens_sub: '~92% context cut',
|
|
468
|
+
card_cash_title: '$ Net Saved',
|
|
469
|
+
card_cash_sub: 'vs LLM input waste',
|
|
470
|
+
card_latency_title: 'Avg Latency',
|
|
471
|
+
card_guard_title: 'Tool Guard',
|
|
472
|
+
card_patch_title: 'Patch Audits',
|
|
473
|
+
chart_title: 'What happened to each request',
|
|
474
|
+
legend_rank: 'Context Rank',
|
|
475
|
+
legend_guard: 'Tool Guard',
|
|
476
|
+
legend_patch: 'Patch Audit',
|
|
477
|
+
legend_lint: 'Semantic Lint',
|
|
478
|
+
verdicts_title: 'Safety & Gate Verdicts',
|
|
479
|
+
verdicts_cmd_label: 'Destructive Commands Blocked:',
|
|
480
|
+
verdicts_patch_label: 'Patches Escalated / Blocked:',
|
|
481
|
+
verdicts_reduction_label: 'Context Reduction Rate:',
|
|
482
|
+
verdicts_engine: 'Deterministic rule gates + Jev System One',
|
|
483
|
+
stream_title: 'Live Operations Stream',
|
|
484
|
+
stream_listening: 'Listening for agent tool calls...',
|
|
485
|
+
th_time: 'Time',
|
|
486
|
+
th_operation: 'Operation',
|
|
487
|
+
th_target: 'Target / Detail',
|
|
488
|
+
th_outcome: 'Outcome / Impact',
|
|
489
|
+
th_speed: 'Speed',
|
|
490
|
+
th_status: 'Status',
|
|
491
|
+
table_empty: 'No telemetry events recorded yet. Run a prompt in Codex Desktop or Antigravity to see live data here!',
|
|
492
|
+
calc_title: 'Interactive ROI & Dollar Savings Calculator',
|
|
493
|
+
calc_subtitle: 'Simulate monthly and annual savings based on your team size and model usage.',
|
|
494
|
+
calc_badge: 'Interactive Model',
|
|
495
|
+
calc_team_label: 'Team Size (Engineers with AI Agents)',
|
|
496
|
+
calc_team_solo: '1 solo',
|
|
497
|
+
calc_team_team: '10 team',
|
|
498
|
+
calc_team_squad: '50 squad',
|
|
499
|
+
calc_team_enterprise: '100 enterprise',
|
|
500
|
+
calc_prompts_label: 'Agent Prompts per Dev / Day',
|
|
501
|
+
calc_prompts_light: '10 light',
|
|
502
|
+
calc_prompts_standard: '40 standard',
|
|
503
|
+
calc_prompts_intense: '80 intense',
|
|
504
|
+
calc_prompts_power: '150 power user',
|
|
505
|
+
calc_model_label: 'Target Agent Model & Pricing',
|
|
506
|
+
calc_tokens_without: 'Monthly Tokens Without Jev:',
|
|
507
|
+
calc_tokens_with: 'Monthly Tokens With Jev (Surgical):',
|
|
508
|
+
calc_cost_without: 'Cost Without Jev',
|
|
509
|
+
calc_cost_with: 'Cost With Jev',
|
|
510
|
+
calc_per_month: '/ month',
|
|
511
|
+
calc_net_monthly: 'Net Monthly Cash Saved',
|
|
512
|
+
calc_annual: 'Annual Savings',
|
|
513
|
+
matrix_title: 'Side-by-Side Architectural Matrix',
|
|
514
|
+
matrix_th_feat: 'Feature / Dimension',
|
|
515
|
+
matrix_th_without: 'Without Jev (Vanilla Agent)',
|
|
516
|
+
matrix_th_with: 'With Jev Developer Harness',
|
|
517
|
+
matrix_th_adv: 'Competitive Advantage',
|
|
518
|
+
matrix_r1_feat: 'Context Discovery',
|
|
519
|
+
matrix_r1_without: 'Dumps 40β90 files into prompt. High "lost in the middle" rate.',
|
|
520
|
+
matrix_r1_with: '4-stage ranker isolates the exact 3β5 crucial files.',
|
|
521
|
+
matrix_r1_adv: '92%β94% token cut, pinpoint code grounding.',
|
|
522
|
+
matrix_r2_feat: 'Shell Command Execution',
|
|
523
|
+
matrix_r2_without: 'LLM executes terminal commands blindly (risk of `rm -rf`, `git reset`).',
|
|
524
|
+
matrix_r2_with: '<1ms lexical classifier + Jev evaluator for unknown syntax.',
|
|
525
|
+
matrix_r2_adv: '100% deterministic guard blocking destructive actions.',
|
|
526
|
+
matrix_r3_feat: 'Git Diff & Patch Audit',
|
|
527
|
+
matrix_r3_without: 'Manual developer review or waiting minutes for remote CI runs.',
|
|
528
|
+
matrix_r3_with: 'Sub-second (~750ms) System One pre-commit hook automatically audits diffs.',
|
|
529
|
+
matrix_r3_adv: 'Catches credential leaks & regression risk before commit.',
|
|
530
|
+
footer: 'jev-dev-harness v0.1.9 β’ Licensed under MIT β’ Powered by TypeSafe AI / Jev System One'
|
|
531
|
+
},
|
|
532
|
+
pt: {
|
|
533
|
+
header_subtitle: 'Runtime Developer Harness e Telemetria em Tempo Real para Agentes de IA',
|
|
534
|
+
tab_live: 'Telemetria em Tempo Real',
|
|
535
|
+
tab_roi: 'ROI e Simulador',
|
|
536
|
+
update_new: 'Nova atualizaΓ§Γ£o disponΓvel:',
|
|
537
|
+
update_view: 'Ver LanΓ§amento',
|
|
538
|
+
status_banner_badge: 'Codex Desktop β’ Antigravity β’ Claude Code',
|
|
539
|
+
status_banner_title: 'Telemetria Ativa & ProteΓ§Γ£o',
|
|
540
|
+
status_model: 'Modelo:',
|
|
541
|
+
status_stream: 'β‘ Fluxo ao Vivo: Conectado',
|
|
542
|
+
status_store: 'Armazenamento:',
|
|
543
|
+
btn_clear: 'Limpar HistΓ³rico',
|
|
544
|
+
btn_refresh: 'Atualizar',
|
|
545
|
+
card_ops_title: 'OperaΓ§Γ΅es de IA',
|
|
546
|
+
card_ops_sub: 'Via harness',
|
|
547
|
+
card_tokens_title: 'Tokens Economizados',
|
|
548
|
+
card_tokens_sub: '~92% de corte de contexto',
|
|
549
|
+
card_cash_title: 'Economia LΓquida',
|
|
550
|
+
card_cash_sub: 'vs desperdΓcio em LLMs',
|
|
551
|
+
card_latency_title: 'LatΓͺncia MΓ©dia',
|
|
552
|
+
card_guard_title: 'Guarda de Comandos',
|
|
553
|
+
card_patch_title: 'Auditorias de Patch',
|
|
554
|
+
chart_title: 'O que ocorreu com cada requisiΓ§Γ£o',
|
|
555
|
+
legend_rank: 'Rank de Contexto',
|
|
556
|
+
legend_guard: 'Guarda de Comandos',
|
|
557
|
+
legend_patch: 'Auditoria de Patch',
|
|
558
|
+
legend_lint: 'Lint SemΓ’ntico',
|
|
559
|
+
verdicts_title: 'Vereditos de SeguranΓ§a & PortΓ΅es',
|
|
560
|
+
verdicts_cmd_label: 'Comandos Destrutivos Bloqueados:',
|
|
561
|
+
verdicts_patch_label: 'Patches Escalados / Bloqueados:',
|
|
562
|
+
verdicts_reduction_label: 'Taxa de ReduΓ§Γ£o de Contexto:',
|
|
563
|
+
verdicts_engine: 'Regras determinΓsticas + Jev System One',
|
|
564
|
+
stream_title: 'Fluxo de OperaΓ§Γ΅es em Tempo Real',
|
|
565
|
+
stream_listening: 'Escutando chamadas de ferramentas dos agentes...',
|
|
566
|
+
th_time: 'HorΓ‘rio',
|
|
567
|
+
th_operation: 'OperaΓ§Γ£o',
|
|
568
|
+
th_target: 'Alvo / Detalhe',
|
|
569
|
+
th_outcome: 'Resultado / Impacto',
|
|
570
|
+
th_speed: 'Tempo',
|
|
571
|
+
th_status: 'Status',
|
|
572
|
+
table_empty: 'Nenhum evento de telemetria registrado ainda. Execute um prompt no Codex Desktop ou Antigravity para ver os dados ao vivo aqui!',
|
|
573
|
+
calc_title: 'Calculadora Interativa de ROI e Economia Financeira',
|
|
574
|
+
calc_subtitle: 'Simule a economia mensal e anual com base no tamanho da sua equipe e modelos de IA.',
|
|
575
|
+
calc_badge: 'Modelo Interativo',
|
|
576
|
+
calc_team_label: 'Tamanho da Equipe (Engenheiros com Agentes IA)',
|
|
577
|
+
calc_team_solo: '1 solo',
|
|
578
|
+
calc_team_team: '10 time',
|
|
579
|
+
calc_team_squad: '50 squad',
|
|
580
|
+
calc_team_enterprise: '100 corporativo',
|
|
581
|
+
calc_prompts_label: 'Prompts do Agente por Dev / Dia',
|
|
582
|
+
calc_prompts_light: '10 leve',
|
|
583
|
+
calc_prompts_standard: '40 padrΓ£o',
|
|
584
|
+
calc_prompts_intense: '80 intenso',
|
|
585
|
+
calc_prompts_power: '150 avanΓ§ado',
|
|
586
|
+
calc_model_label: 'Modelo do Agente e Custo',
|
|
587
|
+
calc_tokens_without: 'Tokens Mensais Sem o Jev:',
|
|
588
|
+
calc_tokens_with: 'Tokens Mensais Com o Jev (CirΓΊrgico):',
|
|
589
|
+
calc_cost_without: 'Custo Sem o Jev',
|
|
590
|
+
calc_cost_with: 'Custo Com o Jev',
|
|
591
|
+
calc_per_month: '/ mΓͺs',
|
|
592
|
+
calc_net_monthly: 'Economia LΓquida Mensal',
|
|
593
|
+
calc_annual: 'Economia Anual',
|
|
594
|
+
matrix_title: 'Matriz Comparativa de Arquitetura',
|
|
595
|
+
matrix_th_feat: 'Funcionalidade / DimensΓ£o',
|
|
596
|
+
matrix_th_without: 'Sem o Jev (Agente PadrΓ£o)',
|
|
597
|
+
matrix_th_with: 'Com Jev Developer Harness',
|
|
598
|
+
matrix_th_adv: 'Vantagem Competitiva',
|
|
599
|
+
matrix_r1_feat: 'Descoberta de Contexto',
|
|
600
|
+
matrix_r1_without: 'Despeja 40β90 arquivos no prompt. Alta taxa de perda de atenΓ§Γ£o ("lost in the middle").',
|
|
601
|
+
matrix_r1_with: 'Ranker em 4 estΓ‘gios isola com precisΓ£o os 3β5 arquivos cruciais.',
|
|
602
|
+
matrix_r1_adv: 'ReduΓ§Γ£o de 92%β94% de tokens, precisΓ£o mΓ‘xima de contexto.',
|
|
603
|
+
matrix_r2_feat: 'ExecuΓ§Γ£o de Comandos de Shell',
|
|
604
|
+
matrix_r2_without: 'LLM executa comandos Γ s cegas no terminal (risco de `rm -rf`, `git reset`).',
|
|
605
|
+
matrix_r2_with: 'Classificador lΓ©xico <1ms + avaliador Jev para comandos desconhecidos.',
|
|
606
|
+
matrix_r2_adv: 'Guarda 100% determinΓstico que bloqueia aΓ§Γ΅es destrutivas.',
|
|
607
|
+
matrix_r3_feat: 'Auditoria de Diffs & Patches Git',
|
|
608
|
+
matrix_r3_without: 'RevisΓ£o manual do dev ou minutos de espera em pipelines lentos de CI.',
|
|
609
|
+
matrix_r3_with: 'Pre-commit hook System One sub-segundo (~750ms) audita diffs automaticamente.',
|
|
610
|
+
matrix_r3_adv: 'Detecta vazamentos de credenciais e risco de regressΓ£o antes do commit.',
|
|
611
|
+
footer: 'jev-dev-harness v0.1.9 β’ Licenciado sob MIT β’ Desenvolvido com TypeSafe AI / Jev System One'
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
let currentLang = 'en';
|
|
616
|
+
|
|
617
|
+
function setLanguage(lang) {
|
|
618
|
+
currentLang = (lang === 'pt' || lang === 'pt-BR') ? 'pt' : 'en';
|
|
619
|
+
try {
|
|
620
|
+
localStorage.setItem('jev_dashboard_lang', currentLang);
|
|
621
|
+
} catch (e) {}
|
|
622
|
+
|
|
623
|
+
// Update button visual styles
|
|
624
|
+
const btnEn = document.getElementById('langBtnEn');
|
|
625
|
+
const btnPt = document.getElementById('langBtnPt');
|
|
626
|
+
if (btnEn && btnPt) {
|
|
627
|
+
if (currentLang === 'pt') {
|
|
628
|
+
btnPt.className = 'px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5 bg-emerald-600 text-white shadow-sm font-bold';
|
|
629
|
+
btnEn.className = 'px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5 text-slate-400 hover:text-white font-medium';
|
|
630
|
+
} else {
|
|
631
|
+
btnEn.className = 'px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5 bg-purple-600 text-white shadow-sm font-bold';
|
|
632
|
+
btnPt.className = 'px-2.5 py-1.5 rounded-lg text-xs font-semibold font-mono transition-all cursor-pointer flex items-center gap-1.5 text-slate-400 hover:text-white font-medium';
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
// Translate all [data-i18n] elements
|
|
637
|
+
document.querySelectorAll('[data-i18n]').forEach(el => {
|
|
638
|
+
const key = el.getAttribute('data-i18n');
|
|
639
|
+
if (I18N[currentLang] && I18N[currentLang][key]) {
|
|
640
|
+
el.innerHTML = I18N[currentLang][key];
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
|
|
644
|
+
// Re-render dynamic elements with active translation
|
|
645
|
+
if (currentSummary) {
|
|
646
|
+
updateTelemetryUi(currentSummary, eventsList);
|
|
647
|
+
} else {
|
|
648
|
+
renderEventsTable(eventsList);
|
|
649
|
+
}
|
|
650
|
+
updateCalculator();
|
|
651
|
+
}
|
|
652
|
+
|
|
434
653
|
// Live Telemetry Handlers
|
|
435
654
|
let currentSummary = null;
|
|
436
655
|
let eventsList = [];
|
|
437
656
|
|
|
438
657
|
function updateTelemetryUi(summary, events) {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
document.getElementById('metricGuardCount').innerText = summary.guardStats?.totalChecked || 0;
|
|
449
|
-
document.getElementById('metricGuardSub').innerText = `${summary.guardStats?.blocked || 0} blocked`;
|
|
450
|
-
document.getElementById('metricPatchCount').innerText = summary.patchStats?.totalAudited || 0;
|
|
451
|
-
document.getElementById('metricPatchSub').innerText = `Avg risk: ${summary.patchStats?.avgRiskScore || 0}/100`;
|
|
452
|
-
|
|
453
|
-
document.getElementById('gateBlockedVal').innerText = `${summary.guardStats?.blocked || 0} blocked (${summary.guardStats?.allowed || 0} safe)`;
|
|
454
|
-
document.getElementById('gateEscalatedVal').innerText = `${summary.patchStats?.escalated || 0} escalated (${summary.patchStats?.approved || 0} approved)`;
|
|
455
|
-
document.getElementById('gateAvgReductionVal').innerText = summary.contextStats?.avgReductionPct ? `${summary.contextStats.avgReductionPct}%` : '92.4%';
|
|
456
|
-
|
|
457
|
-
// Stacked Bar
|
|
458
|
-
const total = summary.totalEvents || 1;
|
|
459
|
-
const rankCount = summary.byType?.context_rank || 0;
|
|
460
|
-
const guardCount = summary.byType?.guard_check || 0;
|
|
461
|
-
const patchCount = summary.byType?.patch_review || 0;
|
|
462
|
-
const lintCount = summary.byType?.lint_semantic || 0;
|
|
463
|
-
|
|
464
|
-
const pRank = Math.round((rankCount / total) * 100);
|
|
465
|
-
const pGuard = Math.round((guardCount / total) * 100);
|
|
466
|
-
const pPatch = Math.round((patchCount / total) * 100);
|
|
467
|
-
const pLint = Math.max(0, 100 - pRank - pGuard - pPatch);
|
|
468
|
-
|
|
469
|
-
document.getElementById('barRank').style.width = `${pRank}%`;
|
|
470
|
-
document.getElementById('barGuard').style.width = `${pGuard}%`;
|
|
471
|
-
document.getElementById('barPatch').style.width = `${pPatch}%`;
|
|
472
|
-
document.getElementById('barLint').style.width = `${pLint}%`;
|
|
473
|
-
|
|
474
|
-
document.getElementById('pctRank').innerText = `${pRank}%`;
|
|
475
|
-
document.getElementById('pctGuard').innerText = `${pGuard}%`;
|
|
476
|
-
document.getElementById('pctPatch').innerText = `${pPatch}%`;
|
|
477
|
-
document.getElementById('pctLint').innerText = `${pLint}%`;
|
|
478
|
-
document.getElementById('distSummaryText').innerText = `${summary.totalEvents} total requests logged`;
|
|
479
|
-
}
|
|
658
|
+
try {
|
|
659
|
+
if (summary) {
|
|
660
|
+
currentSummary = summary;
|
|
661
|
+
const subtextEl = document.getElementById('liveStatusSubtext');
|
|
662
|
+
if (subtextEl) {
|
|
663
|
+
subtextEl.innerHTML = currentLang === 'pt'
|
|
664
|
+
? `O Jev otimizou <strong id="liveDecidedCount" class="text-emerald-300">${summary.totalEvents}</strong> requisiΓ§Γ΅es em todos os seus agentes de codificaΓ§Γ£o.`
|
|
665
|
+
: `Jev optimized <strong id="liveDecidedCount" class="text-emerald-300">${summary.totalEvents}</strong> requests across your coding agents.`;
|
|
666
|
+
}
|
|
480
667
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
668
|
+
const totalEl = document.getElementById('metricTotalEvents');
|
|
669
|
+
if (totalEl) totalEl.innerText = summary.totalEvents;
|
|
670
|
+
|
|
671
|
+
const tokensEl = document.getElementById('metricTokensSaved');
|
|
672
|
+
if (tokensEl) tokensEl.innerText = `${(summary.totalTokensSaved || 0).toLocaleString(currentLang === 'pt' ? 'pt-BR' : 'en-US')}`;
|
|
673
|
+
|
|
674
|
+
const dollarsEl = document.getElementById('metricDollarsSaved');
|
|
675
|
+
if (dollarsEl) dollarsEl.innerText = `$${(summary.estimatedDollarsSaved || 0).toFixed(2)}`;
|
|
676
|
+
|
|
677
|
+
const latEl = document.getElementById('metricLatency');
|
|
678
|
+
if (latEl) latEl.innerText = summary.avgLatencyMs ? `${summary.avgLatencyMs} ms` : '-- ms';
|
|
679
|
+
|
|
680
|
+
const latSubEl = document.getElementById('metricLatencySub');
|
|
681
|
+
if (latSubEl) latSubEl.innerText = summary.p95LatencyMs ? `p95: ${summary.p95LatencyMs} ms` : 'p95: -- ms';
|
|
682
|
+
|
|
683
|
+
const guardEl = document.getElementById('metricGuardCount');
|
|
684
|
+
if (guardEl) guardEl.innerText = summary.guardStats?.totalChecked || 0;
|
|
685
|
+
|
|
686
|
+
const guardSubEl = document.getElementById('metricGuardSub');
|
|
687
|
+
if (guardSubEl) guardSubEl.innerText = currentLang === 'pt'
|
|
688
|
+
? `${summary.guardStats?.blocked || 0} bloqueados`
|
|
689
|
+
: `${summary.guardStats?.blocked || 0} blocked`;
|
|
690
|
+
|
|
691
|
+
const patchEl = document.getElementById('metricPatchCount');
|
|
692
|
+
if (patchEl) patchEl.innerText = summary.patchStats?.totalAudited || 0;
|
|
693
|
+
|
|
694
|
+
const patchSubEl = document.getElementById('metricPatchSub');
|
|
695
|
+
if (patchSubEl) patchSubEl.innerText = currentLang === 'pt'
|
|
696
|
+
? `Risco mΓ©dio: ${summary.patchStats?.avgRiskScore || 0}/100`
|
|
697
|
+
: `Avg risk: ${summary.patchStats?.avgRiskScore || 0}/100`;
|
|
698
|
+
|
|
699
|
+
const gateBlockedEl = document.getElementById('gateBlockedVal');
|
|
700
|
+
if (gateBlockedEl) gateBlockedEl.innerText = currentLang === 'pt'
|
|
701
|
+
? `${summary.guardStats?.blocked || 0} bloqueados (${summary.guardStats?.allowed || 0} seguros)`
|
|
702
|
+
: `${summary.guardStats?.blocked || 0} blocked (${summary.guardStats?.allowed || 0} safe)`;
|
|
703
|
+
|
|
704
|
+
const gateEscalatedEl = document.getElementById('gateEscalatedVal');
|
|
705
|
+
if (gateEscalatedEl) gateEscalatedEl.innerText = currentLang === 'pt'
|
|
706
|
+
? `${summary.patchStats?.escalated || 0} escalados (${summary.patchStats?.approved || 0} aprovados)`
|
|
707
|
+
: `${summary.patchStats?.escalated || 0} escalated (${summary.patchStats?.approved || 0} approved)`;
|
|
708
|
+
|
|
709
|
+
const gateRedEl = document.getElementById('gateAvgReductionVal');
|
|
710
|
+
if (gateRedEl) gateRedEl.innerText = summary.contextStats?.avgReductionPct ? `${summary.contextStats.avgReductionPct}%` : '92.4%';
|
|
711
|
+
|
|
712
|
+
// Stacked Bar
|
|
713
|
+
const total = summary.totalEvents || 1;
|
|
714
|
+
const rankCount = summary.byType?.context_rank || 0;
|
|
715
|
+
const guardCount = summary.byType?.guard_check || 0;
|
|
716
|
+
const patchCount = summary.byType?.patch_review || 0;
|
|
717
|
+
const lintCount = summary.byType?.lint_semantic || 0;
|
|
718
|
+
|
|
719
|
+
const pRank = Math.round((rankCount / total) * 100);
|
|
720
|
+
const pGuard = Math.round((guardCount / total) * 100);
|
|
721
|
+
const pPatch = Math.round((patchCount / total) * 100);
|
|
722
|
+
const pLint = Math.max(0, 100 - pRank - pGuard - pPatch);
|
|
723
|
+
|
|
724
|
+
const barRank = document.getElementById('barRank');
|
|
725
|
+
if (barRank) barRank.style.width = `${pRank}%`;
|
|
726
|
+
const barGuard = document.getElementById('barGuard');
|
|
727
|
+
if (barGuard) barGuard.style.width = `${pGuard}%`;
|
|
728
|
+
const barPatch = document.getElementById('barPatch');
|
|
729
|
+
if (barPatch) barPatch.style.width = `${pPatch}%`;
|
|
730
|
+
const barLint = document.getElementById('barLint');
|
|
731
|
+
if (barLint) barLint.style.width = `${pLint}%`;
|
|
732
|
+
|
|
733
|
+
const pctRank = document.getElementById('pctRank');
|
|
734
|
+
if (pctRank) pctRank.innerText = `${pRank}%`;
|
|
735
|
+
const pctGuard = document.getElementById('pctGuard');
|
|
736
|
+
if (pctGuard) pctGuard.innerText = `${pGuard}%`;
|
|
737
|
+
const pctPatch = document.getElementById('pctPatch');
|
|
738
|
+
if (pctPatch) pctPatch.innerText = `${pPatch}%`;
|
|
739
|
+
const pctLint = document.getElementById('pctLint');
|
|
740
|
+
if (pctLint) pctLint.innerText = `${pLint}%`;
|
|
741
|
+
|
|
742
|
+
const distSummary = document.getElementById('distSummaryText');
|
|
743
|
+
if (distSummary) distSummary.innerText = currentLang === 'pt'
|
|
744
|
+
? `${summary.totalEvents} requisiΓ§Γ΅es totais registradas`
|
|
745
|
+
: `${summary.totalEvents} total requests logged`;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
if (events && Array.isArray(events)) {
|
|
749
|
+
eventsList = events;
|
|
750
|
+
renderEventsTable(events);
|
|
751
|
+
}
|
|
752
|
+
} catch (err) {
|
|
753
|
+
console.error('Error updating telemetry UI:', err);
|
|
484
754
|
}
|
|
485
755
|
}
|
|
486
756
|
|
|
487
757
|
function renderEventsTable(events) {
|
|
488
758
|
const tbody = document.getElementById('eventsTableBody');
|
|
489
759
|
if (!events || events.length === 0) {
|
|
490
|
-
|
|
491
|
-
|
|
760
|
+
const emptyMsg = currentLang === 'pt'
|
|
761
|
+
? 'Nenhum evento de telemetria registrado ainda. Execute um prompt no Codex Desktop ou Antigravity para ver os dados ao vivo aqui!'
|
|
762
|
+
: 'No telemetry events recorded yet. Run a prompt in Codex Desktop or Antigravity to see live data here!';
|
|
763
|
+
tbody.innerHTML = `<tr id="emptyEventsRow"><td colspan="6" class="py-8 text-center text-slate-500">${emptyMsg}</td></tr>`;
|
|
764
|
+
document.getElementById('feedCountText').innerText = currentLang === 'pt' ? '0 eventos gravados' : '0 events recorded';
|
|
492
765
|
return;
|
|
493
766
|
}
|
|
494
767
|
|
|
495
|
-
document.getElementById('feedCountText').innerText =
|
|
768
|
+
document.getElementById('feedCountText').innerText = currentLang === 'pt'
|
|
769
|
+
? `${events.length} eventos recentes`
|
|
770
|
+
: `${events.length} latest events`;
|
|
771
|
+
|
|
496
772
|
tbody.innerHTML = events.map(e => {
|
|
497
773
|
const time = new Date(e.timestamp).toLocaleTimeString();
|
|
498
774
|
let typeBadge = '';
|
|
@@ -502,30 +778,30 @@
|
|
|
502
778
|
|
|
503
779
|
if (e.type === 'context_rank') {
|
|
504
780
|
typeBadge = '<span class="px-2 py-0.5 rounded bg-purple-500/10 text-purple-400 border border-purple-500/20 font-bold">CONTEXT_RANK</span>';
|
|
505
|
-
detail = `<span class="text-slate-300 truncate max-w-xs block" title="${escapeHtml(e.task)}">${escapeHtml(e.task || 'File context ranking')}</span>`;
|
|
506
|
-
outcome = `<span class="text-purple-300 font-semibold">${e.selectedFiles}/${e.initialCandidates} files (-${e.reductionPct}%)</span>`;
|
|
507
|
-
statusBadge =
|
|
781
|
+
detail = `<span class="text-slate-300 truncate max-w-xs block" title="${escapeHtml(e.task)}">${escapeHtml(e.task || (currentLang === 'pt' ? 'Ranqueamento de contexto' : 'File context ranking'))}</span>`;
|
|
782
|
+
outcome = `<span class="text-purple-300 font-semibold">${e.selectedFiles}/${e.initialCandidates} ${currentLang === 'pt' ? 'arquivos' : 'files'} (-${e.reductionPct}%)</span>`;
|
|
783
|
+
statusBadge = `<span class="px-2 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/20">${currentLang === 'pt' ? 'RANQUEADO' : 'RANKED'}</span>`;
|
|
508
784
|
} else if (e.type === 'guard_check') {
|
|
509
785
|
typeBadge = '<span class="px-2 py-0.5 rounded bg-amber-500/10 text-amber-400 border border-amber-500/20 font-bold">TOOL_GUARD</span>';
|
|
510
786
|
detail = `<code class="text-slate-300 truncate max-w-xs block text-[11px]" title="${escapeHtml(e.command)}">${escapeHtml(e.command)}</code>`;
|
|
511
787
|
outcome = `<span class="${e.allowed ? 'text-emerald-400' : 'text-red-400'}">${e.category} (${e.riskLevel})</span>`;
|
|
512
788
|
statusBadge = e.allowed
|
|
513
|
-
?
|
|
514
|
-
:
|
|
789
|
+
? `<span class="px-2 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/20">${currentLang === 'pt' ? 'PERMITIDO' : 'ALLOWED'}</span>`
|
|
790
|
+
: `<span class="px-2 py-0.5 rounded bg-red-500/10 text-red-400 border border-red-500/20 font-bold animate-pulse">${currentLang === 'pt' ? 'BLOQUEADO' : 'BLOCKED'}</span>`;
|
|
515
791
|
} else if (e.type === 'patch_review') {
|
|
516
792
|
typeBadge = '<span class="px-2 py-0.5 rounded bg-blue-500/10 text-blue-400 border border-blue-500/20 font-bold">PATCH_REVIEW</span>';
|
|
517
|
-
detail = `<span class="text-slate-300">${e.filesCount} file(s) (+${e.additions}/-${e.deletions})</span>`;
|
|
518
|
-
outcome = `<span class="text-slate-300 font-semibold"
|
|
793
|
+
detail = `<span class="text-slate-300">${e.filesCount} ${currentLang === 'pt' ? 'arquivo(s)' : 'file(s)'} (+${e.additions}/-${e.deletions})</span>`;
|
|
794
|
+
outcome = `<span class="text-slate-300 font-semibold">${currentLang === 'pt' ? 'Risco' : 'Risk'}: ${e.riskScore}/100</span>`;
|
|
519
795
|
statusBadge = e.status === 'APPROVED'
|
|
520
|
-
?
|
|
521
|
-
:
|
|
796
|
+
? `<span class="px-2 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/20">${currentLang === 'pt' ? 'APROVADO' : 'APPROVED'}</span>`
|
|
797
|
+
: `<span class="px-2 py-0.5 rounded bg-amber-500/10 text-amber-400 border border-amber-500/20">${currentLang === 'pt' ? 'ESCALADO' : 'ESCALATED'}</span>`;
|
|
522
798
|
} else {
|
|
523
799
|
typeBadge = '<span class="px-2 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/20 font-bold">LINT_SEMANTIC</span>';
|
|
524
|
-
detail = `<span class="text-slate-300">${e.violationsCount || 0} violations</span>`;
|
|
800
|
+
detail = `<span class="text-slate-300">${e.violationsCount || 0} ${currentLang === 'pt' ? 'violaΓ§Γ΅es' : 'violations'}</span>`;
|
|
525
801
|
outcome = `<span class="text-slate-300">${e.status}</span>`;
|
|
526
802
|
statusBadge = e.passed
|
|
527
|
-
?
|
|
528
|
-
:
|
|
803
|
+
? `<span class="px-2 py-0.5 rounded bg-emerald-500/10 text-emerald-400 border border-emerald-500/20">${currentLang === 'pt' ? 'APROVADO' : 'PASSED'}</span>`
|
|
804
|
+
: `<span class="px-2 py-0.5 rounded bg-red-500/10 text-red-400 border border-red-500/20">${currentLang === 'pt' ? 'VIOLAΓΓES' : 'VIOLATIONS'}</span>`;
|
|
529
805
|
}
|
|
530
806
|
|
|
531
807
|
return `<tr class="hover:bg-slate-800/40">
|
|
@@ -573,7 +849,7 @@
|
|
|
573
849
|
evtSource.onopen = function() {
|
|
574
850
|
const statusEl = document.getElementById('liveStreamStatus');
|
|
575
851
|
if (statusEl) {
|
|
576
|
-
statusEl.innerText = 'β‘ Live Stream: Connected';
|
|
852
|
+
statusEl.innerText = currentLang === 'pt' ? 'β‘ Fluxo ao Vivo: Conectado' : 'β‘ Live Stream: Connected';
|
|
577
853
|
statusEl.className = 'text-emerald-400';
|
|
578
854
|
}
|
|
579
855
|
};
|
|
@@ -581,7 +857,7 @@
|
|
|
581
857
|
evtSource.onerror = function() {
|
|
582
858
|
const statusEl = document.getElementById('liveStreamStatus');
|
|
583
859
|
if (statusEl) {
|
|
584
|
-
statusEl.innerText = 'π Reconnecting...';
|
|
860
|
+
statusEl.innerText = currentLang === 'pt' ? 'π Reconectando...' : 'π Reconnecting...';
|
|
585
861
|
statusEl.className = 'text-amber-400';
|
|
586
862
|
}
|
|
587
863
|
};
|
|
@@ -617,14 +893,17 @@
|
|
|
617
893
|
window.addEventListener('focus', refreshData);
|
|
618
894
|
|
|
619
895
|
async function clearHistory() {
|
|
620
|
-
|
|
896
|
+
const confirmMsg = currentLang === 'pt'
|
|
897
|
+
? 'Deseja limpar todo o histΓ³rico de telemetria gravado?'
|
|
898
|
+
: 'Clear all recorded telemetry history?';
|
|
899
|
+
if (!confirm(confirmMsg)) return;
|
|
621
900
|
try {
|
|
622
901
|
const res = await fetch('/api/clear', { method: 'POST' });
|
|
623
902
|
if (res.ok) {
|
|
624
903
|
await refreshData();
|
|
625
904
|
}
|
|
626
905
|
} catch (err) {
|
|
627
|
-
alert('Failed to clear history');
|
|
906
|
+
alert(currentLang === 'pt' ? 'Falha ao limpar histΓ³rico' : 'Failed to clear history');
|
|
628
907
|
}
|
|
629
908
|
}
|
|
630
909
|
|
|
@@ -677,10 +956,13 @@
|
|
|
677
956
|
}
|
|
678
957
|
}
|
|
679
958
|
|
|
680
|
-
// Init
|
|
959
|
+
// Init & Language Auto-detection
|
|
960
|
+
const savedLang = localStorage.getItem('jev_dashboard_lang');
|
|
961
|
+
const browserLang = (navigator.language || '').toLowerCase().startsWith('pt') ? 'pt' : 'en';
|
|
962
|
+
setLanguage(savedLang || browserLang);
|
|
963
|
+
|
|
681
964
|
refreshData();
|
|
682
965
|
initLiveStream();
|
|
683
|
-
updateCalculator();
|
|
684
966
|
checkUpdates();
|
|
685
967
|
</script>
|
|
686
968
|
</body>
|
package/dist/cli/banner.js
CHANGED
|
@@ -9,7 +9,7 @@ export function getJevBanner(subtitle) {
|
|
|
9
9
|
const dim = "\x1b[2m";
|
|
10
10
|
const reset = "\x1b[0m";
|
|
11
11
|
const lines = [
|
|
12
|
-
`${cyan}${bold} /\\ __ _____ _ _ ${purple}${bold}JEV DEVELOPER HARNESS ${reset}${dim}v0.1.
|
|
12
|
+
`${cyan}${bold} /\\ __ _____ _ _ ${purple}${bold}JEV DEVELOPER HARNESS ${reset}${dim}v0.1.9${reset}`,
|
|
13
13
|
`${cyan}${bold} / \\ \\ V / __| | | | ${reset}${bold}TypeSafe AI System One Engine${reset}`,
|
|
14
14
|
`${cyan}${bold} / /\\ \\ | \\ / _| | |_| | ${purple}${dim}Runtime Safety β’ Token Reducer β’ Live Telemetry${reset}`,
|
|
15
15
|
`${cyan}${bold} \\ \\/ / \\_/|___| \\___/ ${reset}${dim}https://typesafe.ai${reset}`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/cli/dashboard.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAY7C;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAmB7C;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/cli/dashboard.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAY7C;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAmB7C;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsRxF"}
|
package/dist/cli/dashboard.js
CHANGED
|
@@ -95,25 +95,13 @@ export async function startDashboardServer(options = {}) {
|
|
|
95
95
|
return;
|
|
96
96
|
const stat = fs.statSync(telemetryFilePath);
|
|
97
97
|
if (stat.size > lastKnownSize) {
|
|
98
|
-
const newBytes = stat.size - lastKnownSize;
|
|
99
|
-
const buffer = Buffer.alloc(newBytes);
|
|
100
|
-
const fd = fs.openSync(telemetryFilePath, "r");
|
|
101
|
-
try {
|
|
102
|
-
fs.readSync(fd, buffer, 0, newBytes, lastKnownSize);
|
|
103
|
-
}
|
|
104
|
-
finally {
|
|
105
|
-
fs.closeSync(fd);
|
|
106
|
-
}
|
|
107
98
|
lastKnownSize = stat.size;
|
|
108
|
-
const
|
|
109
|
-
for (
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
broadcastEvent(ev);
|
|
114
|
-
}
|
|
99
|
+
const recent = getTelemetryEvents(25);
|
|
100
|
+
for (let i = recent.length - 1; i >= 0; i--) {
|
|
101
|
+
const ev = recent[i];
|
|
102
|
+
if (ev && ev.id && !processedEventIds.has(ev.id)) {
|
|
103
|
+
broadcastEvent(ev);
|
|
115
104
|
}
|
|
116
|
-
catch { }
|
|
117
105
|
}
|
|
118
106
|
}
|
|
119
107
|
else if (stat.size < lastKnownSize) {
|
|
@@ -150,7 +138,7 @@ export async function startDashboardServer(options = {}) {
|
|
|
150
138
|
}
|
|
151
139
|
// API: Update Status
|
|
152
140
|
if (pathname === "/api/update-status" && req.method === "GET") {
|
|
153
|
-
checkForUpdates("0.1.
|
|
141
|
+
checkForUpdates("0.1.9")
|
|
154
142
|
.then((info) => {
|
|
155
143
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
156
144
|
res.end(JSON.stringify(info));
|
|
@@ -158,8 +146,8 @@ export async function startDashboardServer(options = {}) {
|
|
|
158
146
|
.catch(() => {
|
|
159
147
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
160
148
|
res.end(JSON.stringify({
|
|
161
|
-
currentVersion: "0.1.
|
|
162
|
-
latestVersion: "0.1.
|
|
149
|
+
currentVersion: "0.1.9",
|
|
150
|
+
latestVersion: "0.1.9",
|
|
163
151
|
updateAvailable: false,
|
|
164
152
|
}));
|
|
165
153
|
});
|
|
@@ -190,6 +178,9 @@ export async function startDashboardServer(options = {}) {
|
|
|
190
178
|
"Cache-Control": "no-cache, no-transform",
|
|
191
179
|
Connection: "keep-alive",
|
|
192
180
|
});
|
|
181
|
+
if (typeof res.flushHeaders === "function") {
|
|
182
|
+
res.flushHeaders();
|
|
183
|
+
}
|
|
193
184
|
// Send initial state
|
|
194
185
|
const initialPayload = JSON.stringify({
|
|
195
186
|
type: "init",
|
|
@@ -262,12 +253,22 @@ export async function startDashboardServer(options = {}) {
|
|
|
262
253
|
// Serve HTML Dashboard
|
|
263
254
|
if (pathname === "/" || pathname === "/index.html") {
|
|
264
255
|
if (htmlPath && fs.existsSync(htmlPath)) {
|
|
265
|
-
res.writeHead(200, {
|
|
256
|
+
res.writeHead(200, {
|
|
257
|
+
"Content-Type": "text/html; charset=utf-8",
|
|
258
|
+
"Cache-Control": "no-cache, no-store, must-revalidate, max-age=0",
|
|
259
|
+
"Pragma": "no-cache",
|
|
260
|
+
"Expires": "0",
|
|
261
|
+
});
|
|
266
262
|
fs.createReadStream(htmlPath).pipe(res);
|
|
267
263
|
return;
|
|
268
264
|
}
|
|
269
265
|
// Basic fallback if HTML file is missing
|
|
270
|
-
res.writeHead(200, {
|
|
266
|
+
res.writeHead(200, {
|
|
267
|
+
"Content-Type": "text/html; charset=utf-8",
|
|
268
|
+
"Cache-Control": "no-cache, no-store, must-revalidate, max-age=0",
|
|
269
|
+
"Pragma": "no-cache",
|
|
270
|
+
"Expires": "0",
|
|
271
|
+
});
|
|
271
272
|
res.end(`<!DOCTYPE html><html><body><h1>Jev Live Dashboard</h1><p>Telemetry recorded in ${getTelemetryFilePath()}</p></body></html>`);
|
|
272
273
|
return;
|
|
273
274
|
}
|
|
@@ -275,6 +276,16 @@ export async function startDashboardServer(options = {}) {
|
|
|
275
276
|
res.writeHead(404, { "Content-Type": "text/plain" });
|
|
276
277
|
res.end("Not Found");
|
|
277
278
|
});
|
|
279
|
+
server.on("error", (err) => {
|
|
280
|
+
if (err.code === "EADDRINUSE") {
|
|
281
|
+
console.error(`\nβ Port ${port} is already in use by a previous dashboard server.`);
|
|
282
|
+
console.error(`π‘ Tip: Stop the previous dashboard process (Ctrl+C in its terminal) or run with a different port:\n jev-dev dashboard -p 3742\n`);
|
|
283
|
+
process.exit(1);
|
|
284
|
+
}
|
|
285
|
+
else {
|
|
286
|
+
console.error("Dashboard server error:", err);
|
|
287
|
+
}
|
|
288
|
+
});
|
|
278
289
|
server.listen(port, () => {
|
|
279
290
|
const url = `http://localhost:${port}`;
|
|
280
291
|
printJevBanner("π LIVE TELEMETRY WEB DASHBOARD");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../../src/cli/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,IA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M,CAAC,KAAK,CAAC,GAAG,EAAE;YAChB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAClC,CAAC"}
|
package/dist/cli/index.js
CHANGED
|
@@ -19,7 +19,7 @@ export function createCli() {
|
|
|
19
19
|
program
|
|
20
20
|
.name("jev-dev")
|
|
21
21
|
.description("Developer Harness with TypeSafe AI / Jev for AI Coding Agents")
|
|
22
|
-
.version("0.1.
|
|
22
|
+
.version("0.1.9");
|
|
23
23
|
// ==========================================
|
|
24
24
|
// COMMAND: context rank (Phase 2)
|
|
25
25
|
// ==========================================
|
|
@@ -466,7 +466,7 @@ export function createCli() {
|
|
|
466
466
|
program.hook("postAction", async (_thisCommand, actionCommand) => {
|
|
467
467
|
if (actionCommand.name() !== "mcp") {
|
|
468
468
|
try {
|
|
469
|
-
const update = await checkForUpdates("0.1.
|
|
469
|
+
const update = await checkForUpdates("0.1.9");
|
|
470
470
|
printUpdateNotification(update);
|
|
471
471
|
}
|
|
472
472
|
catch {
|