@relayfile/sdk 0.10.57-rc.0 → 0.10.58-rc.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.
@@ -0,0 +1 @@
1
+ export declare const RELAYFILE_VERSION = "0.10.58-rc.0";
@@ -0,0 +1,2 @@
1
+ // Generated by scripts/sync-package-version.mjs during every SDK build.
2
+ export const RELAYFILE_VERSION = "0.10.58-rc.0";
@@ -3,12 +3,10 @@ import { createHash } from 'node:crypto';
3
3
  import { accessSync, chmodSync, constants, createWriteStream, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync, } from 'node:fs';
4
4
  import { mkdtemp, rm } from 'node:fs/promises';
5
5
  import https from 'node:https';
6
- import { createRequire } from 'node:module';
7
6
  import os from 'node:os';
8
7
  import path from 'node:path';
9
8
  import { assertExactMountLayout } from './mount-layout-guard.js';
10
- const require = createRequire(import.meta.url);
11
- const RELAYFILE_VERSION = String(require('../package.json').version);
9
+ import { RELAYFILE_VERSION } from './package-version.js';
12
10
  const RELEASE_BASE_URL = 'https://github.com/AgentWorkforce/relayfile/releases/download';
13
11
  const CHECKSUMS_FILE = 'checksums.txt';
14
12
  const CACHE_DIR = path.join(os.homedir(), '.agent-relay', 'bin');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayfile/sdk",
3
- "version": "0.10.57-rc.0",
3
+ "version": "0.10.58-rc.0",
4
4
  "description": "TypeScript SDK for relayfile — real-time filesystem for humans and agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -46,9 +46,10 @@
46
46
  "dist"
47
47
  ],
48
48
  "scripts": {
49
- "build": "tsc",
49
+ "build": "node scripts/sync-package-version.mjs && tsc",
50
50
  "typecheck": "tsc --noEmit",
51
51
  "test": "vitest run",
52
+ "test:bundle:bun": "node scripts/verify-bun-workspace-mount.mjs",
52
53
  "test:e2e": "node scripts/setup-e2e.mjs",
53
54
  "post-auth-mount:e2e": "node scripts/post-auth-mount-session-e2e.mjs",
54
55
  "e2e:post-auth-mount-session": "node scripts/post-auth-mount-session-e2e.mjs",
@@ -59,15 +60,15 @@
59
60
  "prepublishOnly": "npm run build"
60
61
  },
61
62
  "dependencies": {
62
- "@relayfile/core": "0.10.57-rc.0",
63
+ "@relayfile/core": "0.10.58-rc.0",
63
64
  "ignore": "^7.0.5",
64
65
  "tar": "^7.5.10"
65
66
  },
66
67
  "optionalDependencies": {
67
- "@relayfile/mount-darwin-arm64": "0.10.57-rc.0",
68
- "@relayfile/mount-darwin-x64": "0.10.57-rc.0",
69
- "@relayfile/mount-linux-arm64": "0.10.57-rc.0",
70
- "@relayfile/mount-linux-x64": "0.10.57-rc.0"
68
+ "@relayfile/mount-darwin-arm64": "0.10.58-rc.0",
69
+ "@relayfile/mount-darwin-x64": "0.10.58-rc.0",
70
+ "@relayfile/mount-linux-arm64": "0.10.58-rc.0",
71
+ "@relayfile/mount-linux-x64": "0.10.58-rc.0"
71
72
  },
72
73
  "devDependencies": {
73
74
  "typescript": "^5.7.3",