@stage-labs/metro 0.1.0-beta.37 → 0.1.0-beta.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stage-labs/metro",
3
- "version": "0.1.0-beta.37",
3
+ "version": "0.1.0-beta.38",
4
4
  "description": "The metro command line. Sign in once per machine, then hand your MCP connector list to Claude Code without the credentials touching disk, argv or shell history.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -7,7 +7,7 @@ import type { LoadedAccount, LoadedAgent, StationSource } from './materialize.js
7
7
 
8
8
  export const AGENT_FILE = 'agent.json';
9
9
 
10
- const KEY_RE = /^mk_[A-Za-z0-9_-]{16,128}$/;
10
+ const KEY_RE = /^[A-Za-z0-9_-]{16,128}$/;
11
11
  const ADDRESS_RE = /^0x[0-9a-f]{40}$/;
12
12
  const STATION_NAMES = new Set<string>(STATIONS);
13
13
 
@@ -85,7 +85,7 @@ export function parseAgentFile(raw: string, path: string): AgentFile {
85
85
  fail(path, 'id is not an 11-character id');
86
86
  if (typeof name !== 'string' || !AGENT_NAME_RE.test(name))
87
87
  fail(path, 'name is not a valid agent name');
88
- const key = optionalMatch(parsed.key, KEY_RE, path, 'key is not an mk_ key');
88
+ const key = optionalMatch(parsed.key, KEY_RE, path, 'key is not an agent key');
89
89
  const owner = optionalMatch(
90
90
  parsed.owner,
91
91
  ADDRESS_RE,
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.1.0-beta.37"
2
+ "version": "0.1.0-beta.38"
3
3
  }