@thehammer/danx-dashboard-mcp 0.1.239 → 0.1.241

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 CHANGED
@@ -555,7 +555,8 @@ strictTool("plan_connect",
555
555
  "titles and a first page of open cards) and `listenerHealth` (when its `state` is not `healthy`, do its " +
556
556
  "`nextStep`). A session is on at most one plan: connecting elsewhere moves it, and `movedFrom` names the " +
557
557
  "plan it left. Afterwards a `danxbot_api` call to a `/api/plans/mine/...` route acts on this plan and " +
558
- "takes no plan id.", {
558
+ "takes no plan id. DX-4493: a reply's `naming` block (status `needed`) gives your `{Name}: PLAN-NNN {short " +
559
+ "title}`; rename this thread to it (`set_session_title`, or ask for `/rename`), then connect again with that `title`.", {
559
560
  plan_id: z
560
561
  .number()
561
562
  .int()
@@ -566,7 +567,7 @@ strictTool("plan_connect",
566
567
  .string()
567
568
  .min(1)
568
569
  .optional()
569
- .describe('This session\'s own Claude title: `get_session({session_id:"self"}).title`, verbatim, never invented and never the plan\'s name. Omit to keep the stored title.'),
570
+ .describe('The `naming` block\'s exact `{Name}: PLAN-NNN {short title}`, after renaming this thread. Omit on the first connect.'),
570
571
  disconnect: z.boolean().optional().describe("true = leave `plan_id` (your current plan); no `title`."),
571
572
  },
572
573
  // DX-2862 — the connect is also the moment this session's event bridge learns
@@ -34,8 +34,7 @@ export const POLL_GRACE_MS = 90_000;
34
34
  const KEEP_KEY_FILE_EVERY_MS = 60 * 60 * 1000;
35
35
  /** The request's title when the agent gave none: the session id's first characters. */
36
36
  const TITLE_FALLBACK_LENGTH = 8;
37
- export const SIGN_IN_HALT = "Not signed in to the danxbot dashboard. Call `plan_connect` (with `title`: your session's own " +
38
- "title) to request access; the user approves it in their browser, then this tool works.";
37
+ export const SIGN_IN_HALT = "Not signed in to the danxbot dashboard. Call `plan_connect` (with `plan_id`) to request access; the user approves it in their browser, then this tool works.";
39
38
  /** DX-4418: the session's key lapsed (a day unused) or the dashboard does not know it; a PERSON's revoke is `keyRevokedHalt` instead. */
40
39
  export const KEY_LAPSED_HALT = "The dashboard no longer accepts this session's key (it lapsed after a day unused), so this session is signed out. " +
41
40
  SIGN_IN_HALT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.239",
3
+ "version": "0.1.241",
4
4
  "description": "Stdio MCP server fronting danxbot's dashboard API for agents (operator sessions and dispatched workers alike): the generic danxbot_api/danxbot_api_list/danxbot_api_spec tools reach any route the caller's credential may call, plus dedicated agent-specific tools (plan_connect, danxbot_complete, and other per-dispatch lifecycle callbacks) (DX-3465, PLN-11 R-25).",
5
5
  "license": "MIT",
6
6
  "type": "module",