agent-relay 4.0.32 → 4.0.33

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.
Files changed (118) hide show
  1. package/bin/agent-relay-broker-darwin-arm64 +0 -0
  2. package/bin/agent-relay-broker-darwin-x64 +0 -0
  3. package/bin/agent-relay-broker-linux-arm64 +0 -0
  4. package/bin/agent-relay-broker-linux-x64 +0 -0
  5. package/dist/src/cli/commands/on/start.d.ts.map +1 -1
  6. package/dist/src/cli/commands/on/start.js +149 -111
  7. package/dist/src/cli/commands/on/start.js.map +1 -1
  8. package/node_modules/@agent-relay/cloud/package.json +2 -2
  9. package/node_modules/@agent-relay/config/package.json +1 -1
  10. package/node_modules/@agent-relay/hooks/package.json +4 -4
  11. package/node_modules/@agent-relay/sdk/package.json +2 -2
  12. package/node_modules/@agent-relay/telemetry/package.json +1 -1
  13. package/node_modules/@agent-relay/trajectory/package.json +2 -2
  14. package/node_modules/@agent-relay/user-directory/package.json +2 -2
  15. package/node_modules/@agent-relay/utils/package.json +2 -2
  16. package/node_modules/@relayfile/local-mount/README.md +215 -0
  17. package/node_modules/@relayfile/local-mount/dist/auto-sync.d.ts +31 -0
  18. package/node_modules/@relayfile/local-mount/dist/auto-sync.js +466 -0
  19. package/node_modules/@relayfile/local-mount/dist/dotfiles.d.ts +18 -0
  20. package/node_modules/@relayfile/local-mount/dist/dotfiles.js +43 -0
  21. package/node_modules/@relayfile/local-mount/dist/index.d.ts +4 -0
  22. package/node_modules/@relayfile/local-mount/dist/index.js +3 -0
  23. package/node_modules/@relayfile/local-mount/dist/launch.d.ts +50 -0
  24. package/node_modules/@relayfile/local-mount/dist/launch.js +129 -0
  25. package/node_modules/@relayfile/local-mount/dist/symlink-mount.d.ts +23 -0
  26. package/{dist/src/cli/commands/on → node_modules/@relayfile/local-mount/dist}/symlink-mount.js +88 -20
  27. package/node_modules/@relayfile/local-mount/node_modules/chokidar/LICENSE +21 -0
  28. package/node_modules/@relayfile/local-mount/node_modules/chokidar/README.md +305 -0
  29. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/handler.d.ts +90 -0
  30. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/handler.js +629 -0
  31. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/index.d.ts +215 -0
  32. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/index.js +798 -0
  33. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/package.json +1 -0
  34. package/node_modules/@relayfile/local-mount/node_modules/chokidar/handler.d.ts +90 -0
  35. package/node_modules/@relayfile/local-mount/node_modules/chokidar/handler.js +635 -0
  36. package/node_modules/@relayfile/local-mount/node_modules/chokidar/index.d.ts +215 -0
  37. package/node_modules/@relayfile/local-mount/node_modules/chokidar/index.js +804 -0
  38. package/node_modules/@relayfile/local-mount/node_modules/chokidar/package.json +69 -0
  39. package/node_modules/@relayfile/local-mount/node_modules/readdirp/LICENSE +21 -0
  40. package/node_modules/@relayfile/local-mount/node_modules/readdirp/README.md +120 -0
  41. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/index.d.ts +108 -0
  42. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/index.js +257 -0
  43. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/package.json +1 -0
  44. package/node_modules/@relayfile/local-mount/node_modules/readdirp/index.d.ts +108 -0
  45. package/node_modules/@relayfile/local-mount/node_modules/readdirp/index.js +263 -0
  46. package/node_modules/@relayfile/local-mount/node_modules/readdirp/package.json +70 -0
  47. package/node_modules/@relayfile/local-mount/package.json +47 -0
  48. package/node_modules/@smithy/config-resolver/package.json +2 -2
  49. package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
  50. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
  51. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
  52. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
  53. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
  54. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
  55. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
  56. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  57. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
  58. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
  59. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
  60. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
  61. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
  62. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
  63. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
  64. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
  65. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  66. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  67. package/node_modules/@smithy/core/package.json +2 -2
  68. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  69. package/node_modules/@smithy/middleware-retry/package.json +5 -5
  70. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  71. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +188 -93
  72. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +45 -0
  73. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +71 -35
  74. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
  75. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +41 -40
  76. package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +42 -0
  77. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +34 -14
  78. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
  79. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -5
  80. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  81. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +5 -0
  82. package/node_modules/@smithy/service-error-classification/dist-es/index.js +4 -0
  83. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
  84. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  85. package/node_modules/@smithy/smithy-client/package.json +4 -4
  86. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  87. package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
  88. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +65 -53
  89. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
  90. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
  91. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
  92. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
  93. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +10 -8
  94. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
  95. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
  96. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
  97. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
  98. package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -15
  99. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
  100. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
  101. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
  102. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
  103. package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +2 -2
  104. package/node_modules/@smithy/util-endpoints/package.json +1 -1
  105. package/node_modules/@smithy/util-retry/package.json +2 -2
  106. package/node_modules/@smithy/util-stream/package.json +2 -2
  107. package/package.json +25 -11
  108. package/packages/cloud/package.json +2 -2
  109. package/packages/config/package.json +1 -1
  110. package/packages/hooks/package.json +4 -4
  111. package/packages/sdk/package.json +2 -2
  112. package/packages/telemetry/package.json +1 -1
  113. package/packages/trajectory/package.json +2 -2
  114. package/packages/user-directory/package.json +2 -2
  115. package/packages/utils/package.json +2 -2
  116. package/dist/src/cli/commands/on/symlink-mount.d.ts +0 -12
  117. package/dist/src/cli/commands/on/symlink-mount.d.ts.map +0 -1
  118. package/dist/src/cli/commands/on/symlink-mount.js.map +0 -1
@@ -2,21 +2,25 @@ import { debugId, toDebugString } from "../debug";
2
2
  import { evaluateCondition } from "./evaluateCondition";
3
3
  export const evaluateConditions = (conditions = [], options) => {
4
4
  const conditionsReferenceRecord = {};
5
+ const conditionOptions = {
6
+ ...options,
7
+ referenceRecord: { ...options.referenceRecord },
8
+ };
9
+ let didAssign = false;
5
10
  for (const condition of conditions) {
6
- const { result, toAssign } = evaluateCondition(condition, {
7
- ...options,
8
- referenceRecord: {
9
- ...options.referenceRecord,
10
- ...conditionsReferenceRecord,
11
- },
12
- });
11
+ const { result, toAssign } = evaluateCondition(condition, conditionOptions);
13
12
  if (!result) {
14
13
  return { result };
15
14
  }
16
15
  if (toAssign) {
16
+ didAssign = true;
17
17
  conditionsReferenceRecord[toAssign.name] = toAssign.value;
18
+ conditionOptions.referenceRecord[toAssign.name] = toAssign.value;
18
19
  options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
19
20
  }
20
21
  }
21
- return { result: true, referenceRecord: conditionsReferenceRecord };
22
+ if (didAssign) {
23
+ return { result: true, referenceRecord: conditionsReferenceRecord };
24
+ }
25
+ return { result: true };
22
26
  };
@@ -9,19 +9,20 @@ export const evaluateEndpointRule = (endpointRule, options) => {
9
9
  if (!result) {
10
10
  return;
11
11
  }
12
- const endpointRuleOptions = {
13
- ...options,
14
- referenceRecord: { ...options.referenceRecord, ...referenceRecord },
15
- };
12
+ const endpointRuleOptions = referenceRecord
13
+ ? {
14
+ ...options,
15
+ referenceRecord: { ...options.referenceRecord, ...referenceRecord },
16
+ }
17
+ : options;
16
18
  const { url, properties, headers } = endpoint;
17
19
  options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
18
- return {
19
- ...(headers != undefined && {
20
- headers: getEndpointHeaders(headers, endpointRuleOptions),
21
- }),
22
- ...(properties != undefined && {
23
- properties: getEndpointProperties(properties, endpointRuleOptions),
24
- }),
25
- url: getEndpointUrl(url, endpointRuleOptions),
26
- };
20
+ const endpointToReturn = { url: getEndpointUrl(url, endpointRuleOptions) };
21
+ if (headers != null) {
22
+ endpointToReturn.headers = getEndpointHeaders(headers, endpointRuleOptions);
23
+ }
24
+ if (properties != null) {
25
+ endpointToReturn.properties = getEndpointProperties(properties, endpointRuleOptions);
26
+ }
27
+ return endpointToReturn;
27
28
  };
@@ -7,8 +7,11 @@ export const evaluateErrorRule = (errorRule, options) => {
7
7
  if (!result) {
8
8
  return;
9
9
  }
10
- throw new EndpointError(evaluateExpression(error, "Error", {
11
- ...options,
12
- referenceRecord: { ...options.referenceRecord, ...referenceRecord },
13
- }));
10
+ const errorRuleOptions = referenceRecord
11
+ ? {
12
+ ...options,
13
+ referenceRecord: { ...options.referenceRecord, ...referenceRecord },
14
+ }
15
+ : options;
16
+ throw new EndpointError(evaluateExpression(error, "Error", errorRuleOptions));
14
17
  };
@@ -26,17 +26,19 @@ export const callFunction = ({ fn, argv }, options) => {
26
26
  evaluatedArgs[i] = group.evaluateExpression(arg, "arg", options);
27
27
  }
28
28
  }
29
- if (fn.includes(".")) {
30
- const fnSegments = fn.split(".");
31
- if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
32
- return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
29
+ const namespaceSeparatorIndex = fn.indexOf(".");
30
+ if (namespaceSeparatorIndex !== -1) {
31
+ const namespaceFunctions = customEndpointFunctions[fn.slice(0, namespaceSeparatorIndex)];
32
+ const customFunction = namespaceFunctions?.[fn.slice(namespaceSeparatorIndex + 1)];
33
+ if (typeof customFunction === "function") {
34
+ return customFunction(...evaluatedArgs);
33
35
  }
34
36
  }
35
- if (typeof endpointFunctions[fn] !== "function") {
36
- throw new Error(`function ${fn} not loaded in endpointFunctions.`);
37
- }
38
37
  const callable = endpointFunctions[fn];
39
- return callable(...evaluatedArgs);
38
+ if (typeof callable === "function") {
39
+ return callable(...evaluatedArgs);
40
+ }
41
+ throw new Error(`function ${fn} not loaded in endpointFunctions.`);
40
42
  };
41
43
  export const group = {
42
44
  evaluateExpression,
@@ -31,10 +31,10 @@ export const evaluateTreeRule = (treeRule, options) => {
31
31
  if (!result) {
32
32
  return;
33
33
  }
34
- return group.evaluateRules(rules, {
35
- ...options,
36
- referenceRecord: { ...options.referenceRecord, ...referenceRecord },
37
- });
34
+ const treeRuleOptions = referenceRecord
35
+ ? { ...options, referenceRecord: { ...options.referenceRecord, ...referenceRecord } }
36
+ : options;
37
+ return group.evaluateRules(rules, treeRuleOptions);
38
38
  };
39
39
  export const group = {
40
40
  evaluateRules,
@@ -1,12 +1,12 @@
1
1
  import { EndpointError } from "../types";
2
2
  import { evaluateExpression } from "./evaluateExpression";
3
- export const getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => ({
4
- ...acc,
5
- [headerKey]: headerVal.map((headerValEntry) => {
3
+ export const getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
4
+ acc[headerKey] = headerVal.map((headerValEntry) => {
6
5
  const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
7
6
  if (typeof processedExpr !== "string") {
8
7
  throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`);
9
8
  }
10
9
  return processedExpr;
11
- }),
12
- }), {});
10
+ });
11
+ return acc;
12
+ }, {});
@@ -1,9 +1,9 @@
1
1
  import { EndpointError } from "../types";
2
2
  import { evaluateTemplate } from "./evaluateTemplate";
3
- export const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
4
- ...acc,
5
- [propertyKey]: group.getEndpointProperty(propertyVal, options),
6
- }), {});
3
+ export const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
4
+ acc[propertyKey] = group.getEndpointProperty(propertyVal, options);
5
+ return acc;
6
+ }, {});
7
7
  export const getEndpointProperty = (property, options) => {
8
8
  if (Array.isArray(property)) {
9
9
  return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
@@ -1,4 +1,4 @@
1
- import type { EndpointARN, EndpointPartition, Logger } from "@smithy/types";
1
+ import type { EndpointARN, EndpointPartition, EndpointURL, Logger } from "@smithy/types";
2
2
  export type ReferenceObject = {
3
3
  ref: string;
4
4
  };
@@ -7,9 +7,9 @@ export type FunctionObject = {
7
7
  argv: FunctionArgv;
8
8
  };
9
9
  export type FunctionArgv = Array<Expression | boolean | number>;
10
- export type FunctionReturn = string | boolean | number | EndpointARN | EndpointPartition | {
10
+ export type FunctionReturn = string | boolean | number | EndpointARN | EndpointPartition | EndpointURL | {
11
11
  [key: string]: FunctionReturn;
12
- } | null;
12
+ } | Array<FunctionReturn> | null;
13
13
  export type ConditionObject = FunctionObject & {
14
14
  assign?: string;
15
15
  };
@@ -1,15 +1,2 @@
1
- import { coalesce, ite, split } from "../lib";
2
- export declare const endpointFunctions: {
3
- booleanEquals: (value1: boolean, value2: boolean) => boolean;
4
- coalesce: typeof coalesce;
5
- getAttr: (value: import("../lib").GetAttrValue, path: string) => import("../lib").GetAttrValue;
6
- isSet: (value: unknown) => value is {};
7
- isValidHostLabel: (value: string, allowSubDomains?: boolean) => boolean;
8
- ite: typeof ite;
9
- not: (value: boolean) => boolean;
10
- parseURL: (value: string | URL | import("@smithy/types").Endpoint) => import("@smithy/types").EndpointURL | null;
11
- split: typeof split;
12
- stringEquals: (value1: string, value2: string) => boolean;
13
- substring: (input: string, start: number, stop: number, reverse: boolean) => string | null;
14
- uriEncode: (value: string) => string;
15
- };
1
+ import type { EndpointFunctions } from "../types";
2
+ export declare const endpointFunctions: EndpointFunctions;
@@ -1,8 +1,11 @@
1
1
  import type { ConditionObject, EvaluateOptions } from "../types";
2
- export declare const evaluateCondition: ({ assign, ...fnArgs }: ConditionObject, options: EvaluateOptions) => {
3
- toAssign?: {
2
+ export declare const evaluateCondition: (condition: ConditionObject, options: EvaluateOptions) => {
3
+ result: boolean;
4
+ toAssign: {
4
5
  name: string;
5
6
  value: import("../types").FunctionReturn;
6
- } | undefined;
7
+ };
8
+ } | {
7
9
  result: boolean;
10
+ toAssign?: undefined;
8
11
  };
@@ -1,8 +1,8 @@
1
1
  import type { ConditionObject, EvaluateOptions, FunctionReturn } from "../types";
2
2
  export declare const evaluateConditions: (conditions: ConditionObject[] | undefined, options: EvaluateOptions) => {
3
- result: false;
4
- referenceRecord?: undefined;
5
- } | {
6
3
  result: boolean;
7
4
  referenceRecord: Record<string, FunctionReturn>;
5
+ } | {
6
+ result: boolean;
7
+ referenceRecord?: undefined;
8
8
  };
@@ -1,2 +1,2 @@
1
1
  import type { EndpointObjectHeaders, EvaluateOptions } from "../types";
2
- export declare const getEndpointHeaders: (headers: EndpointObjectHeaders, options: EvaluateOptions) => {};
2
+ export declare const getEndpointHeaders: (headers: EndpointObjectHeaders, options: EvaluateOptions) => Record<string, string[]>;
@@ -1,8 +1,8 @@
1
1
  import type { EndpointObjectProperty } from "@smithy/types";
2
2
  import type { EndpointObjectProperties, EvaluateOptions } from "../types";
3
- export declare const getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {};
3
+ export declare const getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => Record<string, EndpointObjectProperty>;
4
4
  export declare const getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty;
5
5
  export declare const group: {
6
6
  getEndpointProperty: (property: EndpointObjectProperty, options: EvaluateOptions) => EndpointObjectProperty;
7
- getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => {};
7
+ getEndpointProperties: (properties: EndpointObjectProperties, options: EvaluateOptions) => Record<string, EndpointObjectProperty>;
8
8
  };
@@ -1,4 +1,4 @@
1
1
  import type { EvaluateOptions, ReferenceObject } from "../types";
2
- export declare const getReferenceValue: ({ ref }: ReferenceObject, options: EvaluateOptions) => string | number | boolean | import("@smithy/types").EndpointPartition | import("@smithy/types").EndpointARN | {
2
+ export declare const getReferenceValue: ({ ref }: ReferenceObject, options: EvaluateOptions) => string | number | boolean | import("@smithy/types").EndpointPartition | import("@smithy/types").EndpointARN | import("@smithy/types").EndpointURL | {
3
3
  [key: string]: import("../types").FunctionReturn;
4
- };
4
+ } | import("../types").FunctionReturn[];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Utilities to help with endpoint resolution.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,7 +30,7 @@
30
30
  "license": "Apache-2.0",
31
31
  "sideEffects": false,
32
32
  "dependencies": {
33
- "@smithy/service-error-classification": "^4.2.14",
33
+ "@smithy/service-error-classification": "^4.3.0",
34
34
  "@smithy/types": "^4.14.1",
35
35
  "tslib": "^2.6.2"
36
36
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.5.23",
3
+ "version": "4.5.24",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
6
  "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline util-stream",
@@ -29,7 +29,7 @@
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
31
  "@smithy/fetch-http-handler": "^5.3.17",
32
- "@smithy/node-http-handler": "^4.5.3",
32
+ "@smithy/node-http-handler": "^4.6.0",
33
33
  "@smithy/types": "^4.14.1",
34
34
  "@smithy/util-base64": "^4.3.2",
35
35
  "@smithy/util-buffer-from": "^4.2.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-relay",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Real-time agent-to-agent communication system",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -98,7 +98,8 @@
98
98
  "@agent-relay/trajectory",
99
99
  "@agent-relay/user-directory",
100
100
  "@agent-relay/utils",
101
- "@relaycast/sdk"
101
+ "@relaycast/sdk",
102
+ "@relayfile/local-mount"
102
103
  ],
103
104
  "publishConfig": {
104
105
  "access": "public"
@@ -196,20 +197,21 @@
196
197
  },
197
198
  "homepage": "https://github.com/AgentWorkforce/relay#readme",
198
199
  "dependencies": {
199
- "@agent-relay/cloud": "4.0.32",
200
- "@agent-relay/config": "4.0.32",
201
- "@agent-relay/hooks": "4.0.32",
202
- "@agent-relay/sdk": "4.0.32",
203
- "@agent-relay/telemetry": "4.0.32",
204
- "@agent-relay/trajectory": "4.0.32",
205
- "@agent-relay/user-directory": "4.0.32",
206
- "@agent-relay/utils": "4.0.32",
200
+ "@agent-relay/cloud": "4.0.33",
201
+ "@agent-relay/config": "4.0.33",
202
+ "@agent-relay/hooks": "4.0.33",
203
+ "@agent-relay/sdk": "4.0.33",
204
+ "@agent-relay/telemetry": "4.0.33",
205
+ "@agent-relay/trajectory": "4.0.33",
206
+ "@agent-relay/user-directory": "4.0.33",
207
+ "@agent-relay/utils": "4.0.33",
207
208
  "@aws-sdk/client-s3": "3.1020.0",
208
209
  "@modelcontextprotocol/sdk": "^1.0.0",
209
210
  "@relayauth/core": "^0.1.2",
210
211
  "@relayauth/sdk": "^0.1.2",
211
212
  "@relaycast/mcp": "1.0.0",
212
213
  "@relaycast/sdk": "^1.1.0",
214
+ "@relayfile/local-mount": "^0.2.2",
213
215
  "@relayfile/sdk": "^0.1.2",
214
216
  "@sinclair/typebox": "^0.34.14",
215
217
  "agent-trajectories": "^0.5.4",
@@ -269,5 +271,17 @@
269
271
  "flatted": "^3.4.2",
270
272
  "react": "^18.3.1",
271
273
  "react-dom": "^18.3.1"
272
- }
274
+ },
275
+ "bundleDependencies": [
276
+ "@agent-relay/cloud",
277
+ "@agent-relay/config",
278
+ "@agent-relay/hooks",
279
+ "@agent-relay/sdk",
280
+ "@agent-relay/telemetry",
281
+ "@agent-relay/trajectory",
282
+ "@agent-relay/user-directory",
283
+ "@agent-relay/utils",
284
+ "@relaycast/sdk",
285
+ "@relayfile/local-mount"
286
+ ]
273
287
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/cloud",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Cloud SDK for Agent Relay — auth, workflow execution, and provider connections",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "test:watch": "vitest"
24
24
  },
25
25
  "dependencies": {
26
- "@agent-relay/config": "4.0.32",
26
+ "@agent-relay/config": "4.0.33",
27
27
  "@aws-sdk/client-s3": "3.1020.0",
28
28
  "ignore": "^7.0.5",
29
29
  "tar": "^7.5.10"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/config",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Shared configuration schemas and loaders for Agent Relay",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/hooks",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Hook emitter, registry, and trajectory hooks for Agent Relay",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,9 +37,9 @@
37
37
  "test:watch": "vitest"
38
38
  },
39
39
  "dependencies": {
40
- "@agent-relay/config": "4.0.32",
41
- "@agent-relay/trajectory": "4.0.32",
42
- "@agent-relay/sdk": "4.0.32"
40
+ "@agent-relay/config": "4.0.33",
41
+ "@agent-relay/trajectory": "4.0.33",
42
+ "@agent-relay/sdk": "4.0.33"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^22.19.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/sdk",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -134,7 +134,7 @@
134
134
  "@types/ws": "^8.5.10"
135
135
  },
136
136
  "dependencies": {
137
- "@agent-relay/config": "4.0.32",
137
+ "@agent-relay/config": "4.0.33",
138
138
  "@relaycast/sdk": "^1.1.0",
139
139
  "@relayfile/sdk": "^0.1.2",
140
140
  "@sinclair/typebox": "^0.34.48",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/telemetry",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Anonymous telemetry for Agent Relay usage analytics",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/trajectory",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Trajectory integration utilities (trail/PDERO) for Relay",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "test:watch": "vitest"
23
23
  },
24
24
  "dependencies": {
25
- "@agent-relay/config": "4.0.32"
25
+ "@agent-relay/config": "4.0.33"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.19.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/user-directory",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "User directory service for agent-relay (per-user credential storage)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "test:watch": "vitest"
23
23
  },
24
24
  "dependencies": {
25
- "@agent-relay/utils": "4.0.32"
25
+ "@agent-relay/utils": "4.0.33"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.19.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/utils",
3
- "version": "4.0.32",
3
+ "version": "4.0.33",
4
4
  "description": "Shared utilities for agent-relay: logging, name generation, command resolution, update checking",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -111,7 +111,7 @@
111
111
  "vitest": "^3.2.4"
112
112
  },
113
113
  "dependencies": {
114
- "@agent-relay/config": "4.0.32",
114
+ "@agent-relay/config": "4.0.33",
115
115
  "compare-versions": "^6.1.1"
116
116
  },
117
117
  "publishConfig": {
@@ -1,12 +0,0 @@
1
- export interface SymlinkMountOptions {
2
- ignoredPatterns: string[];
3
- readonlyPatterns: string[];
4
- excludeDirs: string[];
5
- }
6
- export interface SymlinkMountHandle {
7
- mountDir: string;
8
- syncBack(): Promise<number>;
9
- cleanup(): void;
10
- }
11
- export declare function createSymlinkMount(projectDir: string, mountDir: string, options: SymlinkMountOptions): SymlinkMountHandle;
12
- //# sourceMappingURL=symlink-mount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"symlink-mount.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/on/symlink-mount.ts"],"names":[],"mappings":"AAiBA,MAAM,WAAW,mBAAmB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