@relayfile/sdk 0.10.64 → 0.10.66
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/package-version.d.ts +1 -1
- package/dist/package-version.js +1 -1
- package/dist/relay-cli/index.d.ts +0 -6
- package/dist/relay-cli/index.js +11 -1
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RELAYFILE_VERSION = "0.10.
|
|
1
|
+
export declare const RELAYFILE_VERSION = "0.10.66";
|
package/dist/package-version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/sync-package-version.mjs during every SDK build.
|
|
2
|
-
export const RELAYFILE_VERSION = "0.10.
|
|
2
|
+
export const RELAYFILE_VERSION = "0.10.66";
|
|
@@ -114,12 +114,6 @@ export declare function relayfileCommands(): readonly RelayCliCommandSpec[];
|
|
|
114
114
|
* @returns The routable top-level tokens.
|
|
115
115
|
*/
|
|
116
116
|
export declare function routableTopLevelNames(): readonly string[];
|
|
117
|
-
/**
|
|
118
|
-
* Create relayfile's mountable CLI surface.
|
|
119
|
-
*
|
|
120
|
-
* @param options - Optional overrides for binary lookup, env, and cwd.
|
|
121
|
-
* @returns A surface satisfying `@agent-relay/cli-surface`'s `RelayCliSurface`.
|
|
122
|
-
*/
|
|
123
117
|
export declare function createRelayCliSurface(options?: CreateRelayCliSurfaceOptions): RelayCliSurface;
|
|
124
118
|
export { buildGoRunBinary, goRunBinaryPath, GoBuildFailedError, GoToolchainMissingError, RelayfileBinaryNotFoundError, resolveRelayfileBinary, findSourceCheckoutRoot, formatBinaryNotFoundMessage, genericBinaryName, platformBinaryName, platformPackageBinaryName, platformPackageName, platformPackageNames, GO_TOOLCHAIN_MISSING_MESSAGE, RELAYFILE_CLI_BIN_ENV, type BuildGoRunBinaryOptions, type RelayfileBinaryResolution, type RelayfileGoRunResolution, type ResolveRelayfileBinaryOptions } from "./resolve-binary.js";
|
|
125
119
|
export { announceSetupIntent, hasValidSetupArguments, parseGoDurationMilliseconds, parseSetupArguments, prepareCloudSession, shouldPrepareCloudSession, loadCloudSessionSDK, DEFAULT_CLOUD_API_URL, SETUP_INTENT, SETUP_INTENT_PRINTED_ENV, type CloudPreflightOptions, type EnsureCloudSession } from "./cloud-preflight.js";
|
package/dist/relay-cli/index.js
CHANGED
|
@@ -94,6 +94,11 @@ function exitCodeForSignal(signal) {
|
|
|
94
94
|
* @param options - Optional overrides for binary lookup, env, and cwd.
|
|
95
95
|
* @returns A surface satisfying `@agent-relay/cli-surface`'s `RelayCliSurface`.
|
|
96
96
|
*/
|
|
97
|
+
/**
|
|
98
|
+
* How users reach this binary when it is mounted, for messages that instruct
|
|
99
|
+
* them to run something. Matches the group name the host registers.
|
|
100
|
+
*/
|
|
101
|
+
const MOUNTED_PROGRAM_NAME = "agent-relay file";
|
|
97
102
|
export function createRelayCliSurface(options = {}) {
|
|
98
103
|
const commands = relayfileCommands();
|
|
99
104
|
return {
|
|
@@ -166,7 +171,12 @@ export function createRelayCliSurface(options = {}) {
|
|
|
166
171
|
// signal handlers are installed: the host owns them.
|
|
167
172
|
const child = spawn(command, childArgs, {
|
|
168
173
|
cwd,
|
|
169
|
-
|
|
174
|
+
// The binary writes messages that tell users to run something. It
|
|
175
|
+
// has no way to know it was reached through a host, so left alone it
|
|
176
|
+
// says "run relayfile login", naming a binary someone who installed
|
|
177
|
+
// `agent-relay` does not have. Telling it how it was invoked keeps
|
|
178
|
+
// that advice followable; unset, direct users still see `relayfile`.
|
|
179
|
+
env: { ...env, RELAYFILE_PROGRAM_NAME: MOUNTED_PROGRAM_NAME },
|
|
170
180
|
stdio: ["inherit", "pipe", "pipe"]
|
|
171
181
|
});
|
|
172
182
|
// No setEncoding: the bytes go to `io` exactly as the binary wrote
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relayfile/sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.66",
|
|
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",
|
|
@@ -66,21 +66,21 @@
|
|
|
66
66
|
"check:command-spec": "node scripts/gen-command-spec.mjs --check"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@relayfile/core": "0.10.
|
|
69
|
+
"@relayfile/core": "0.10.66",
|
|
70
70
|
"ignore": "^7.0.5",
|
|
71
71
|
"tar": "^7.5.10"
|
|
72
72
|
},
|
|
73
73
|
"optionalDependencies": {
|
|
74
|
-
"@relayfile/cli-darwin-arm64": "0.10.
|
|
75
|
-
"@relayfile/cli-darwin-x64": "0.10.
|
|
76
|
-
"@relayfile/cli-linux-arm64": "0.10.
|
|
77
|
-
"@relayfile/cli-linux-x64": "0.10.
|
|
78
|
-
"@relayfile/cli-win32-arm64": "0.10.
|
|
79
|
-
"@relayfile/cli-win32-x64": "0.10.
|
|
80
|
-
"@relayfile/mount-darwin-arm64": "0.10.
|
|
81
|
-
"@relayfile/mount-darwin-x64": "0.10.
|
|
82
|
-
"@relayfile/mount-linux-arm64": "0.10.
|
|
83
|
-
"@relayfile/mount-linux-x64": "0.10.
|
|
74
|
+
"@relayfile/cli-darwin-arm64": "0.10.66",
|
|
75
|
+
"@relayfile/cli-darwin-x64": "0.10.66",
|
|
76
|
+
"@relayfile/cli-linux-arm64": "0.10.66",
|
|
77
|
+
"@relayfile/cli-linux-x64": "0.10.66",
|
|
78
|
+
"@relayfile/cli-win32-arm64": "0.10.66",
|
|
79
|
+
"@relayfile/cli-win32-x64": "0.10.66",
|
|
80
|
+
"@relayfile/mount-darwin-arm64": "0.10.66",
|
|
81
|
+
"@relayfile/mount-darwin-x64": "0.10.66",
|
|
82
|
+
"@relayfile/mount-linux-arm64": "0.10.66",
|
|
83
|
+
"@relayfile/mount-linux-x64": "0.10.66"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@agent-relay/cli-surface": "^12.2.4",
|