@stage-labs/metro 0.1.0-beta.207 → 0.1.0-beta.208

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.207",
3
+ "version": "0.1.0-beta.208",
4
4
  "description": "The metro command line: run your agent on this machine, relaying its chat channels and connectors to Claude Code.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metro",
3
- "version": "0.1.0-beta.207",
3
+ "version": "0.1.0-beta.208",
4
4
  "description": "Metro for Claude Code, installed by the metro daemon on this machine: every connector the agent holds as its own MCP server relayed through the daemon, the orchestrator-only guard on the main thread, and the standing rules loaded at each session start. No vendor credential ever sits in a config file.",
5
5
  "author": {
6
6
  "name": "Bonustrack",
@@ -1,6 +1,6 @@
1
1
  import { randomBytes } from 'node:crypto';
2
2
  import { readdirSync, rmSync, statSync } from 'node:fs';
3
- import { tmpdir } from 'node:os';
3
+ import { homedir } from 'node:os';
4
4
  import { join } from 'node:path';
5
5
  import { ensureSecureDir, readJson, writeSecure } from '@metro-labs/core/secure-fs';
6
6
  import { grantAllowsPath, issueGrant } from './attach-grant.js';
@@ -16,7 +16,7 @@ const SUFFIXES = ['', '.part', '.meta', '.owner', '.grant'] as const;
16
16
  const SWEEP_MS = 60_000;
17
17
 
18
18
  export const uploadDir = (): string =>
19
- process.env.METRO_UPLOAD_DIR ?? join(tmpdir(), 'metro-uploads');
19
+ process.env.METRO_UPLOAD_DIR ?? join(homedir(), '.metro', 'uploads');
20
20
 
21
21
  export const newUploadId = (): string =>
22
22
  `up_${randomBytes(16).toString('base64url')}`;
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.1.0-beta.207"
2
+ "version": "0.1.0-beta.208"
3
3
  }