@agentistics/mcp 2.145.2 → 2.147.0

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.
@@ -2395,12 +2395,13 @@ var TOOLS = [
2395
2395
  },
2396
2396
  {
2397
2397
  name: "agentistics_session_switch_account",
2398
- description: "Continue a session on ANOTHER account of the same harness (multiple accounts must be on). Use it when a session hit its account's usage limit and another account has room. With no `accountId` it lists the accounts the session can move to (the recommended one first, from the plan router) and whether its last turn stopped on a usage limit. With `accountId` it ends the session, copies its conversation to that account (never moves it) and resumes the SAME conversation there; the session keeps its name, task and note under a new id, which is returned. `resendPending: true` re-sends, once, the message the limit refused. Claude Code and Codex only; an account that is off for agents, removed or signed out is refused in words.",
2398
+ description: "Continue a session on ANOTHER account — of its own harness or of another harness (multiple accounts must be on). Use it when a session hit its account's usage limit and another account has room. With no `accountId` it lists every account the session can move to, each with its `harness` (its own harness's other accounts first, then every other harness that can start a session here; the recommended one per harness from the plan router) and whether its last turn stopped on a usage limit. With `accountId` and no `harness` (or its own harness) it ends the session, copies its conversation to that account (never moves it) and resumes the SAME conversation there — Claude Code and Codex only. With `harness` set to ANOTHER harness it starts a NEW session there in the same folder, task, subtask and role, briefed with a summary of the conversation, and ends the old one only after the new one is running (a failure leaves the old one untouched). The new id is returned. `resendPending: true` re-sends, once, the message the limit refused. An account that is off for agents, removed or signed out is refused in words.",
2399
2399
  inputSchema: {
2400
2400
  type: "object",
2401
2401
  properties: {
2402
2402
  ref: { type: "string", description: "The session: managed id or conversation id." },
2403
2403
  accountId: { type: "string", description: "The target account id (acc_…). Omit to list the options." },
2404
+ harness: { type: "string", description: "The target harness (claude, codex, gemini, copilot, antigravity, kimi, opencode). Omit = the session's own harness." },
2404
2405
  resendPending: { type: "boolean", description: "Re-send the message the usage limit refused, once." }
2405
2406
  },
2406
2407
  required: ["ref"]
@@ -2893,6 +2894,7 @@ async function callTool(req) {
2893
2894
  id: a.ref,
2894
2895
  accountId: a.accountId,
2895
2896
  resendPending: a.resendPending === true,
2897
+ ...typeof a.harness === "string" && a.harness ? { harness: a.harness } : {},
2896
2898
  session: sessionProof(process.env) ?? null
2897
2899
  });
2898
2900
  return { content: [{ type: "text", text: JSON.stringify(body, null, 2) }] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentistics/mcp",
3
- "version": "2.145.2",
3
+ "version": "2.147.0",
4
4
  "description": "Agentistics MCP server — Claude Code analytics for Claude Desktop and Claude Code",
5
5
  "type": "module",
6
6
  "main": "./dist/agentistics-mcp.js",