@agenticmail/enterprise 0.5.135 → 0.5.136
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/chunk-6SP2YIDD.js +898 -0
- package/dist/chunk-A6VPPBF6.js +1910 -0
- package/dist/chunk-AALG4XI4.js +16412 -0
- package/dist/chunk-KKRF3VDD.js +2195 -0
- package/dist/cli-agent-DIXEAOHB.js +631 -0
- package/dist/cli-serve-LJTD2ZIG.js +34 -0
- package/dist/cli.js +3 -3
- package/dist/dashboard/pages/agent-detail.js +13 -11
- package/dist/index.js +4 -4
- package/dist/lifecycle-JVO47LOR.js +10 -0
- package/dist/routes-MATAKKVZ.js +6960 -0
- package/dist/runtime-EQRE6SBJ.js +49 -0
- package/dist/server-FJHIX7DF.js +12 -0
- package/dist/setup-C6KX3OVN.js +20 -0
- package/package.json +1 -1
- package/src/dashboard/pages/agent-detail.js +13 -11
- package/src/engine/lifecycle.ts +37 -0
|
@@ -228,11 +228,12 @@ function OverviewSection(props) {
|
|
|
228
228
|
var rawTraits = identity.personality_traits || identity.traits || config.personality_traits || {};
|
|
229
229
|
var traitList = Array.isArray(rawTraits) ? rawTraits : Object.values(rawTraits);
|
|
230
230
|
|
|
231
|
-
var
|
|
232
|
-
var
|
|
233
|
-
var
|
|
234
|
-
var
|
|
235
|
-
var
|
|
231
|
+
var uu = usageData?.usage || usageData || {};
|
|
232
|
+
var tokensToday = uu.tokensToday || uu.today?.tokens || 0;
|
|
233
|
+
var costToday = uu.costToday || uu.today?.cost || 0;
|
|
234
|
+
var uptime = uu.uptime || uu.uptimeSeconds || usageData?.uptime || 0;
|
|
235
|
+
var errorRate = uu.errorRate || uu.today?.errorRate || 0;
|
|
236
|
+
var activeSessions = uu.activeSessionCount || uu.activeSessions || uu.sessions?.active || 0;
|
|
236
237
|
|
|
237
238
|
if (loading) {
|
|
238
239
|
return h('div', { style: { padding: 40, textAlign: 'center', color: 'var(--text-muted)' } }, 'Loading overview...');
|
|
@@ -1336,12 +1337,13 @@ function BudgetSection(props) {
|
|
|
1336
1337
|
|
|
1337
1338
|
// ─── Derived Usage Values ───────────────────────────────
|
|
1338
1339
|
|
|
1339
|
-
var
|
|
1340
|
-
var
|
|
1341
|
-
var
|
|
1342
|
-
var
|
|
1343
|
-
var
|
|
1344
|
-
var
|
|
1340
|
+
var bu = usageData?.usage || usageData || {};
|
|
1341
|
+
var tokensToday = bu.tokensToday || bu.today?.tokens || 0;
|
|
1342
|
+
var tokensMonth = bu.tokensThisMonth || bu.tokensMonth || bu.month?.tokens || 0;
|
|
1343
|
+
var costToday = bu.costToday || bu.today?.cost || 0;
|
|
1344
|
+
var costMonth = bu.costThisMonth || bu.costMonth || bu.month?.cost || 0;
|
|
1345
|
+
var sessionsToday = bu.sessionsToday || bu.today?.sessions || 0;
|
|
1346
|
+
var errorsToday = bu.errorsToday || bu.today?.errors || 0;
|
|
1345
1347
|
|
|
1346
1348
|
// ─── Budget Limits ──────────────────────────────────────
|
|
1347
1349
|
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
provision,
|
|
15
15
|
runSetupWizard
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6SP2YIDD.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionJournal,
|
|
19
19
|
ActivityTracker,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
executeTool,
|
|
61
61
|
runAgentLoop,
|
|
62
62
|
toolsToDefinitions
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-AALG4XI4.js";
|
|
64
64
|
import "./chunk-TYW5XTOW.js";
|
|
65
65
|
import "./chunk-AQH4DFYV.js";
|
|
66
66
|
import {
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
requireRole,
|
|
77
77
|
securityHeaders,
|
|
78
78
|
validate
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-KKRF3VDD.js";
|
|
80
80
|
import "./chunk-3SMTCIR4.js";
|
|
81
81
|
import "./chunk-RO537U6H.js";
|
|
82
82
|
import "./chunk-DRXMYYKN.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
AgentConfigGenerator,
|
|
91
91
|
AgentLifecycleManager,
|
|
92
92
|
DeploymentEngine
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-A6VPPBF6.js";
|
|
94
94
|
import {
|
|
95
95
|
CircuitBreaker,
|
|
96
96
|
CircuitOpenError,
|