@adhdev/daemon-standalone 0.9.82-rc.321 → 0.9.82-rc.322
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 +45 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/index-COSRbW4F.js +113 -0
- package/public/index.html +1 -1
- package/vendor/mcp-server/index.js +22 -1
- package/vendor/mcp-server/index.js.map +1 -1
package/public/index.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-COSRbW4F.js"></script>
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/vendor-BHUMCOj6.js">
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-B-j0dOYD.css">
|
|
13
13
|
</head>
|
|
@@ -1217,6 +1217,7 @@ function compactMeshStatusNode(entry) {
|
|
|
1217
1217
|
seeStaleDaemonBuilds: true
|
|
1218
1218
|
};
|
|
1219
1219
|
}
|
|
1220
|
+
delete next.capabilityTagsByProvider;
|
|
1220
1221
|
for (const k of Object.keys(next)) {
|
|
1221
1222
|
if (k === "git" || k === "machine" || k === "branchConvergence" || k === "staleDaemonBuild" || k === "sessions") continue;
|
|
1222
1223
|
next[k] = elideLargeNestedValue(k, next[k]);
|
|
@@ -1265,6 +1266,9 @@ function minimalCompactNode(entry) {
|
|
|
1265
1266
|
branch: entry.branch,
|
|
1266
1267
|
launchReady: entry.launchReady,
|
|
1267
1268
|
...entry.providerPriority !== void 0 ? { providerPriority: entry.providerPriority } : {},
|
|
1269
|
+
// Keep the routable tag set on quiet/folded nodes — a coordinator planning
|
|
1270
|
+
// required_tags routing needs it even for nodes with nothing to converge.
|
|
1271
|
+
...entry.capabilityTags !== void 0 ? { capabilityTags: entry.capabilityTags } : {},
|
|
1268
1272
|
...entry.launchBlockedReason !== void 0 ? { launchBlockedReason: entry.launchBlockedReason } : {},
|
|
1269
1273
|
...bc ? { branchConvergence: bc } : {},
|
|
1270
1274
|
...entry.sessionSummary ? { sessionSummary: entry.sessionSummary } : {},
|
|
@@ -1883,6 +1887,21 @@ function readProviderPriority(policy) {
|
|
|
1883
1887
|
const raw = policy?.providerPriority;
|
|
1884
1888
|
return Array.isArray(raw) ? raw.map((type) => typeof type === "string" ? type.trim() : "").filter(Boolean) : [];
|
|
1885
1889
|
}
|
|
1890
|
+
function buildNodeCapabilityExposure(node) {
|
|
1891
|
+
const providers = readProviderPriority(node.policy);
|
|
1892
|
+
const capabilityTags = (0, import_daemon_core.buildMeshNodeCapabilityTags)(node);
|
|
1893
|
+
const exposure = { capabilityTags };
|
|
1894
|
+
if (providers.length) {
|
|
1895
|
+
const byProvider = {};
|
|
1896
|
+
for (const provider of providers) {
|
|
1897
|
+
byProvider[provider] = (0, import_daemon_core.buildMeshNodeCapabilityTags)(node, provider);
|
|
1898
|
+
}
|
|
1899
|
+
exposure.capabilityTagsByProvider = byProvider;
|
|
1900
|
+
}
|
|
1901
|
+
const capabilities = Array.isArray(node.capabilities) ? node.capabilities.filter((tag) => typeof tag === "string" && !!tag.trim()) : [];
|
|
1902
|
+
if (capabilities.length) exposure.capabilities = capabilities;
|
|
1903
|
+
return exposure;
|
|
1904
|
+
}
|
|
1886
1905
|
function readSpawnedSessionVisibility(policy) {
|
|
1887
1906
|
return policy?.spawnedSessionVisibility === "hidden" ? "hidden" : "visible";
|
|
1888
1907
|
}
|
|
@@ -2717,7 +2736,8 @@ async function meshStatus(ctx, args = {}) {
|
|
|
2717
2736
|
machine: buildNodeMachineIdentity(ctx, node),
|
|
2718
2737
|
daemonId: readNodeDaemonId(node),
|
|
2719
2738
|
machineId: readNodeMachineId(node),
|
|
2720
|
-
...getNodeLaunchReadiness(node)
|
|
2739
|
+
...getNodeLaunchReadiness(node),
|
|
2740
|
+
...buildNodeCapabilityExposure(node)
|
|
2721
2741
|
};
|
|
2722
2742
|
try {
|
|
2723
2743
|
const autoDiscover = node.policy?.autoDiscoverSubmodules !== false;
|
|
@@ -3276,6 +3296,7 @@ async function meshListNodes(ctx) {
|
|
|
3276
3296
|
policy: n.policy,
|
|
3277
3297
|
relatedRepos: readRelatedRepos(n),
|
|
3278
3298
|
...getNodeLaunchReadiness(n),
|
|
3299
|
+
...buildNodeCapabilityExposure(n),
|
|
3279
3300
|
userOverrides: n.userOverrides
|
|
3280
3301
|
}))
|
|
3281
3302
|
}, null, 2);
|