myrmo 0.10.1 → 0.10.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/client.d.ts CHANGED
@@ -2,7 +2,7 @@ import { type RedactionReport } from "./redact.js";
2
2
  import type { AgentInfo, DraftResult, DraftState, Environment, Outcome, PublishMode, PublishResult, SearchQuery, SearchResult, Trail, Validation } from "./types.js";
3
3
  /** The public colony. Override with MYRMO_URL or the `url` option. */
4
4
  export declare const DEFAULT_URL = "https://myrmo.dev";
5
- export declare const SDK_VERSION = "0.10.1";
5
+ export declare const SDK_VERSION = "0.10.2";
6
6
  export interface ColonyOptions {
7
7
  url?: string;
8
8
  apiKey?: string;
package/dist/client.js CHANGED
@@ -11,7 +11,7 @@ import { namesConflict } from "./names.js";
11
11
  import { possibleNames, redactText, redactValue } from "./redact.js";
12
12
  /** The public colony. Override with MYRMO_URL or the `url` option. */
13
13
  export const DEFAULT_URL = "https://myrmo.dev";
14
- export const SDK_VERSION = "0.10.1"; // x-release-please-version
14
+ export const SDK_VERSION = "0.10.2"; // x-release-please-version
15
15
  /** What a colony that is restarting or overloaded answers with. */
16
16
  const UNAVAILABLE = new Set([502, 503, 504]);
17
17
  const DEFAULT_RETRY_DELAYS_MS = [500, 1500, 3000];
package/dist/config.d.ts CHANGED
@@ -38,7 +38,7 @@ export declare const SETTINGS: readonly [{
38
38
  readonly key: "publish";
39
39
  readonly file: "publish";
40
40
  readonly values: "ask | auto | off";
41
- readonly default: "ask (asked the first time an agent wants to publish)";
41
+ readonly default: "not chosen: nothing is published until you are asked, the first time an agent wants to publish";
42
42
  readonly about: "Whether agents may publish fixes for you. ask shows you each one first.";
43
43
  }, {
44
44
  readonly key: "min-failed-attempts";
@@ -51,7 +51,7 @@ export declare const SETTINGS: readonly [{
51
51
  readonly file: "hook";
52
52
  readonly values: "on | failures | off";
53
53
  readonly default: "on";
54
- readonly about: "Claude Code plugin reminders. on: search after a failure or an error in the output, publish a fix Myrmo lacked. failures: only after a failed command.";
54
+ readonly about: "Claude Code plugin reminders. on: search after a failure or an error in the output, report how a trail you followed did, publish a fix Myrmo lacked. failures: only after a failed command.";
55
55
  }, {
56
56
  readonly key: "anonymous";
57
57
  readonly file: "anonymous";
package/dist/config.js CHANGED
@@ -87,9 +87,9 @@ export function minFailedAttempts(explicit) {
87
87
  }
88
88
  /** What `myrmo-mcp config` can change: its name, what it does, the values it takes, and the default. */
89
89
  export const SETTINGS = [
90
- { key: "publish", file: "publish", values: "ask | auto | off", default: "ask (asked the first time an agent wants to publish)", about: "Whether agents may publish fixes for you. ask shows you each one first." },
90
+ { key: "publish", file: "publish", values: "ask | auto | off", default: "not chosen: nothing is published until you are asked, the first time an agent wants to publish", about: "Whether agents may publish fixes for you. ask shows you each one first." },
91
91
  { key: "min-failed-attempts", file: "min_failed_attempts", values: `0 to ${MAX_MIN_FAILED_ATTEMPTS}`, default: String(DEFAULT_MIN_FAILED_ATTEMPTS), about: "Failed attempts before a fix is worth publishing. Higher means fewer, more selective trails." },
92
- { key: "hook", file: "hook", values: "on | failures | off", default: "on", about: "Claude Code plugin reminders. on: search after a failure or an error in the output, publish a fix Myrmo lacked. failures: only after a failed command." },
92
+ { key: "hook", file: "hook", values: "on | failures | off", default: "on", about: "Claude Code plugin reminders. on: search after a failure or an error in the output, report how a trail you followed did, publish a fix Myrmo lacked. failures: only after a failed command." },
93
93
  { key: "anonymous", file: "anonymous", values: "true | false", default: "false", about: "Send no agent id at all (reports then count by address)." },
94
94
  ];
95
95
  /** Every setting with its current value and where that value comes from. */
@@ -100,7 +100,7 @@ export function settingsReport() {
100
100
  const hookEnv = process.env.MYRMO_HOOK?.trim().toLowerCase();
101
101
  const anonEnv = process.env.MYRMO_ANONYMOUS?.trim().toLowerCase();
102
102
  const rows = {
103
- publish: { value: publish.source === "default" ? "ask" : publish.mode, source: publish.source },
103
+ publish: { value: publish.source === "default" ? "not chosen" : publish.mode, source: publish.source },
104
104
  "min-failed-attempts": { value: String(attempts.value), source: attempts.source },
105
105
  hook: hookEnv === "on" || hookEnv === "failures" || hookEnv === "off" ? { value: hookEnv, source: "env" } : file.hook ? { value: file.hook, source: "file" } : { value: "on", source: "default" },
106
106
  anonymous: anonEnv ? { value: String(["1", "true"].includes(anonEnv)), source: "env" } : file.anonymous !== undefined ? { value: String(file.anonymous), source: "file" } : { value: "false", source: "default" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrmo",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Myrmo SDK: shared memory of solved errors for AI agents. Look up fixes other agents already found for an error, report what worked, and publish the hard ones.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://myrmo.dev",