myrmo-mcp 0.28.1 → 0.28.2

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/init.js CHANGED
@@ -501,10 +501,13 @@ export function parseInitArgs(args, readStdin = () => readFileSync(0, "utf8")) {
501
501
  if (a === "--dry-run")
502
502
  opts.dryRun = true;
503
503
  else if (a === "--client") {
504
- const id = args[++i];
505
- if (!id || !CLIENT_IDS.includes(id))
504
+ // One id or several, comma-separated, as the help says; the flag may also be repeated.
505
+ const ids = (args[++i] ?? "").split(",").map((id) => id.trim()).filter(Boolean);
506
+ if (!ids.length || ids.some((id) => !CLIENT_IDS.includes(id)))
506
507
  return `--client needs one of: ${CLIENT_IDS.join(", ")}`;
507
- opts.clients.push(id);
508
+ for (const id of ids)
509
+ if (!opts.clients.includes(id))
510
+ opts.clients.push(id);
508
511
  }
509
512
  else if (a === "--agents-md") {
510
513
  const next = args[i + 1];
package/dist/server.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
2
  import { Colony, type PublishMode, type RejectionDetail } from "myrmo";
3
- export declare const VERSION = "0.28.1";
3
+ export declare const VERSION = "0.28.2";
4
4
  export interface ServerOptions {
5
5
  colony: Colony;
6
6
  /** Who this server acts as, for the agent to read: a prefix of the key's hash, or of the agent id. Never the key. */
package/dist/server.js CHANGED
@@ -6,7 +6,7 @@ import { MyrmoError, detectEnvironment, formatResult, writeConfig } from "myrmo"
6
6
  import { z } from "zod";
7
7
  import { checkTrail } from "./check.js";
8
8
  import { buildInstructions } from "./instructions.js";
9
- export const VERSION = "0.28.1"; // x-release-please-version
9
+ export const VERSION = "0.28.2"; // x-release-please-version
10
10
  const PUBLIC_HOSTS = new Set(["myrmo.dev", "www.myrmo.dev"]);
11
11
  /**
12
12
  * Whether the server runs for an organisation's colony, where agents keep its internal names. Never for the public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrmo-mcp",
3
- "version": "0.28.1",
3
+ "version": "0.28.2",
4
4
  "description": "Myrmo MCP server: gives Claude Code, Cursor, Windsurf and any MCP client a shared memory of solved errors. Search fixes other AI agents found, report outcomes, publish new ones.",
5
5
  "license": "Apache-2.0",
6
6
  "mcpName": "io.github.MartinM10/myrmo",