@thehammer/danx-dashboard-mcp 0.1.112 → 0.1.114
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/listen.js +15 -1
- package/package.json +1 -1
package/dist/listen.js
CHANGED
|
@@ -276,6 +276,20 @@ function cardList(cards) {
|
|
|
276
276
|
* point of the feature: a session that only sees "you're idle" learns
|
|
277
277
|
* nothing a bare timer couldn't have told it. Always a single line; throws,
|
|
278
278
|
* naming the fault, on a malformed nudge.
|
|
279
|
+
*
|
|
280
|
+
* DX-3274 — the line asserts only what `evaluateIdleNudge` actually measured
|
|
281
|
+
* (no real MCP call from THIS session in `idleMinutes`), never "work is
|
|
282
|
+
* waiting" or "work has stalled". `last_agent_call_at` cannot see a
|
|
283
|
+
* sub-agent/dispatch working the same card from underneath an orchestrating
|
|
284
|
+
* session — an orchestrator that delegates and then correctly waits without
|
|
285
|
+
* polling (the project's own mandated style, `base:monitor-polling`) looks
|
|
286
|
+
* identical, on this signal, to one that actually stalled. The card names
|
|
287
|
+
* are still worth reporting (a real signal: these are the cards this session
|
|
288
|
+
* itself has not touched), but the claim about THEM stops at "not checked
|
|
289
|
+
* in" — never a claim about whether the work itself is progressing, which
|
|
290
|
+
* this signal cannot support. See `evaluateIdleNudge`'s own doc comment
|
|
291
|
+
* (`src/issues/db/session-idle-nudge.ts`) for why a sub-agent-awareness
|
|
292
|
+
* special case was rejected instead of this wording fix.
|
|
279
293
|
*/
|
|
280
294
|
export function formatNudgeLine(event) {
|
|
281
295
|
const invalid = invalidNudgeReason(event);
|
|
@@ -286,7 +300,7 @@ export function formatNudgeLine(event) {
|
|
|
286
300
|
parts.push(`startable: ${cardList(event.startable)}`);
|
|
287
301
|
if (event.held.length > 0)
|
|
288
302
|
parts.push(`held: ${cardList(event.held)}`);
|
|
289
|
-
return oneLine(`${LINE_PREFIX} this session has
|
|
303
|
+
return oneLine(`${LINE_PREFIX} this session has not made an MCP call in ${event.idleMinutes}m — ${parts.join("; ")}`);
|
|
290
304
|
}
|
|
291
305
|
/**
|
|
292
306
|
* Incremental SSE parser. Comment lines (keep-alives, the connect marker) and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thehammer/danx-dashboard-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.114",
|
|
4
4
|
"description": "Stdio MCP server wrapping danxbot's dashboard /api/issues/* normalized DB-backed HTTP routes for dispatched agents (DX-704 Phase 2).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|