@adhdev/daemon-standalone 1.0.30 → 1.0.31-rc.1
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/index.js +2460 -684
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/public/assets/{index-DxPMyJIl.js → index-Cb-NM2qs.js} +3 -3
- package/public/assets/{terminal-BZj_X5zy.js → terminal-DiXj2eIR.js} +1 -1
- package/public/assets/{vendor-cL4V2vaO.js → vendor-DyCWA2YZ.js} +57 -49
- package/public/index.html +2 -2
- package/vendor/mcp-server/index.js +7 -0
- package/vendor/mcp-server/index.js.map +1 -1
- package/vendor/session-host-daemon/index.js +0 -0
- package/vendor/session-host-daemon/index.mjs +0 -0
package/public/index.html
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<meta name="description" content="ADHDev self-hosted dashboard for controlling AI agents" />
|
|
8
8
|
<link rel="icon" href="/otter-logo.png" />
|
|
9
9
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet" />
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-Cb-NM2qs.js"></script>
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-DyCWA2YZ.js">
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-DaANjDZS.css">
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
@@ -943,6 +943,7 @@ var MESH_STATUS_TOOL = {
|
|
|
943
943
|
_gemini_compat: { type: "string", description: "Dummy property for Gemini compatibility. Ignore this." },
|
|
944
944
|
includeStaleDirectWorkDetails: { type: "boolean", description: "Opt in to the full staleDirectWork array. Defaults false; normal status returns compact staleDirectWorkSummary only." },
|
|
945
945
|
includeSessions: { type: "boolean", description: "Opt in to per-node live session arrays. Default false: compact mode returns a per-node sessionSummary (counts) and de-duplicated full session lists under top-level daemonSessions keyed by daemonId (sessions are not repeated for every node that shares a daemon). Set true to also include the full session array on each node." },
|
|
946
|
+
includeUsage: { type: "boolean", description: "Opt in to the token/cost usage rollup for this mesh (usage.total, usage.retained, usage.byNode, usage.costCoverage). Default false \u2014 usage is not read on ordinary status polls. Token counts come from each provider native transcript; costUsd is only present for providers that compute one themselves (hermes), so costCoverage reports how many sessions contributed a cost." },
|
|
946
947
|
compact: { type: "boolean", description: "Slim payload for LLM callers. Default true. Folds per-node session arrays to sessionSummary and de-duplicates daemon-shared sessions into daemonSessions. Set false (or verbose=true) for the full dashboard-grade payload." },
|
|
947
948
|
verbose: { type: "boolean", description: "Force the full payload; overrides compact." }
|
|
948
949
|
}
|
|
@@ -4103,6 +4104,12 @@ async function meshStatus(ctx, args = {}) {
|
|
|
4103
4104
|
response.ledgerSummary = ledgerSummary;
|
|
4104
4105
|
} catch {
|
|
4105
4106
|
}
|
|
4107
|
+
if (args.includeUsage === true) {
|
|
4108
|
+
try {
|
|
4109
|
+
response.usage = (0, import_daemon_core4.summarizeMeshUsage)(mesh.id);
|
|
4110
|
+
} catch {
|
|
4111
|
+
}
|
|
4112
|
+
}
|
|
4106
4113
|
try {
|
|
4107
4114
|
if (compact) {
|
|
4108
4115
|
const { live, historyFold } = (0, import_daemon_core4.getMeshStatusMissionsCompact)(mesh.id);
|