myrmo 0.11.0 → 0.12.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.
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.11.0";
5
+ export declare const SDK_VERSION = "0.12.0";
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.11.0"; // x-release-please-version
14
+ export const SDK_VERSION = "0.12.0"; // 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/redact.js CHANGED
@@ -120,6 +120,7 @@ const RULES = [
120
120
  r("api_key", String.raw `\bxox[abprs]-[A-Za-z0-9\-]{10,}`, "", fixed("api_key")),
121
121
  r("api_key", String.raw `\bAIza[0-9A-Za-z_\-]{35}`, "", fixed("api_key")),
122
122
  r("api_key", String.raw `\b[rs]k_(?:live|test)_[A-Za-z0-9]{20,}`, "", fixed("api_key")),
123
+ r("api_key", String.raw `\bmyk_[0-9a-f]{64}\b`, "", fixed("api_key")),
123
124
  r("api_key", String.raw `\bnpm_[A-Za-z0-9]{36}\b`, "", fixed("api_key")),
124
125
  r("api_key", String.raw `\bhf_[A-Za-z0-9]{30,}`, "", fixed("api_key")),
125
126
  r("api_key", String.raw `\bSG\.[A-Za-z0-9_\-]{16,}\.[A-Za-z0-9_\-]{16,}`, "", fixed("api_key")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrmo",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
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",