agent-relay 4.0.32 → 4.0.34

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 (226) 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/index.cjs +1 -3
  6. package/dist/src/cli/commands/on/start.d.ts.map +1 -1
  7. package/dist/src/cli/commands/on/start.js +149 -111
  8. package/dist/src/cli/commands/on/start.js.map +1 -1
  9. package/dist/src/cli/commands/setup.js +2 -2
  10. package/dist/src/cli/commands/setup.js.map +1 -1
  11. package/node_modules/@agent-relay/cloud/package.json +2 -2
  12. package/node_modules/@agent-relay/config/package.json +1 -1
  13. package/node_modules/@agent-relay/hooks/package.json +4 -4
  14. package/node_modules/@agent-relay/sdk/dist/workflows/runner.d.ts.map +1 -1
  15. package/node_modules/@agent-relay/sdk/dist/workflows/runner.js +7 -5
  16. package/node_modules/@agent-relay/sdk/dist/workflows/runner.js.map +1 -1
  17. package/node_modules/@agent-relay/sdk/package.json +2 -2
  18. package/node_modules/@agent-relay/telemetry/dist/config.d.ts +1 -1
  19. package/node_modules/@agent-relay/telemetry/dist/config.d.ts.map +1 -1
  20. package/node_modules/@agent-relay/telemetry/dist/config.js +6 -3
  21. package/node_modules/@agent-relay/telemetry/dist/config.js.map +1 -1
  22. package/node_modules/@agent-relay/telemetry/package.json +1 -1
  23. package/node_modules/@agent-relay/trajectory/package.json +2 -2
  24. package/node_modules/@agent-relay/user-directory/package.json +2 -2
  25. package/node_modules/@agent-relay/utils/package.json +2 -2
  26. package/node_modules/@aws-sdk/core/dist-cjs/index.js +18 -10
  27. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +18 -10
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
  29. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +6 -3
  30. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
  31. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
  32. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
  33. package/node_modules/@aws-sdk/core/package.json +1 -1
  34. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  35. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  36. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  37. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  38. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  39. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  40. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  41. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  42. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  43. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
  44. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  45. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
  46. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
  47. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
  48. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
  49. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
  50. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
  51. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
  52. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
  53. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
  54. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
  55. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
  56. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
  57. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
  58. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
  59. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
  60. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
  61. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
  62. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
  63. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
  64. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
  65. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
  66. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
  67. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
  68. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
  69. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
  70. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
  71. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
  72. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
  73. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  74. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
  75. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
  76. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  77. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
  78. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
  79. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
  80. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
  81. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
  82. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
  83. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
  84. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
  85. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
  86. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
  87. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
  88. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
  89. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
  90. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
  91. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
  92. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
  93. package/node_modules/@aws-sdk/nested-clients/package.json +5 -4
  94. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  95. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  96. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  97. package/node_modules/@relayfile/local-mount/README.md +215 -0
  98. package/node_modules/@relayfile/local-mount/dist/auto-sync.d.ts +31 -0
  99. package/node_modules/@relayfile/local-mount/dist/auto-sync.js +466 -0
  100. package/node_modules/@relayfile/local-mount/dist/dotfiles.d.ts +18 -0
  101. package/node_modules/@relayfile/local-mount/dist/dotfiles.js +43 -0
  102. package/node_modules/@relayfile/local-mount/dist/index.d.ts +4 -0
  103. package/node_modules/@relayfile/local-mount/dist/index.js +3 -0
  104. package/node_modules/@relayfile/local-mount/dist/launch.d.ts +50 -0
  105. package/node_modules/@relayfile/local-mount/dist/launch.js +129 -0
  106. package/node_modules/@relayfile/local-mount/dist/symlink-mount.d.ts +23 -0
  107. package/{dist/src/cli/commands/on → node_modules/@relayfile/local-mount/dist}/symlink-mount.js +88 -20
  108. package/node_modules/@relayfile/local-mount/node_modules/chokidar/LICENSE +21 -0
  109. package/node_modules/@relayfile/local-mount/node_modules/chokidar/README.md +305 -0
  110. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/handler.d.ts +90 -0
  111. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/handler.js +629 -0
  112. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/index.d.ts +215 -0
  113. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/index.js +798 -0
  114. package/node_modules/@relayfile/local-mount/node_modules/chokidar/esm/package.json +1 -0
  115. package/node_modules/@relayfile/local-mount/node_modules/chokidar/handler.d.ts +90 -0
  116. package/node_modules/@relayfile/local-mount/node_modules/chokidar/handler.js +635 -0
  117. package/node_modules/@relayfile/local-mount/node_modules/chokidar/index.d.ts +215 -0
  118. package/node_modules/@relayfile/local-mount/node_modules/chokidar/index.js +804 -0
  119. package/node_modules/@relayfile/local-mount/node_modules/chokidar/package.json +69 -0
  120. package/node_modules/@relayfile/local-mount/node_modules/readdirp/LICENSE +21 -0
  121. package/node_modules/@relayfile/local-mount/node_modules/readdirp/README.md +120 -0
  122. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/index.d.ts +108 -0
  123. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/index.js +257 -0
  124. package/node_modules/@relayfile/local-mount/node_modules/readdirp/esm/package.json +1 -0
  125. package/node_modules/@relayfile/local-mount/node_modules/readdirp/index.d.ts +108 -0
  126. package/node_modules/@relayfile/local-mount/node_modules/readdirp/index.js +263 -0
  127. package/node_modules/@relayfile/local-mount/node_modules/readdirp/package.json +70 -0
  128. package/node_modules/@relayfile/local-mount/package.json +47 -0
  129. package/node_modules/@smithy/config-resolver/package.json +2 -2
  130. package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
  131. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
  132. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
  133. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
  134. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
  135. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
  136. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
  137. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  138. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
  139. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
  140. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
  141. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
  142. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
  143. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
  144. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
  145. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
  146. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  147. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  148. package/node_modules/@smithy/core/package.json +2 -2
  149. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  150. package/node_modules/@smithy/middleware-retry/package.json +5 -5
  151. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  152. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +188 -93
  153. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +45 -0
  154. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +71 -35
  155. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
  156. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +41 -40
  157. package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +42 -0
  158. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +34 -14
  159. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
  160. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +0 -5
  161. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  162. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +5 -0
  163. package/node_modules/@smithy/service-error-classification/dist-es/index.js +4 -0
  164. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
  165. package/node_modules/@smithy/service-error-classification/package.json +1 -1
  166. package/node_modules/@smithy/smithy-client/package.json +4 -4
  167. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  168. package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
  169. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +65 -53
  170. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
  171. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
  172. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
  173. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
  174. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +10 -8
  175. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
  176. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
  177. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
  178. package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
  179. package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -15
  180. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
  181. package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
  182. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
  183. package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
  184. package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +2 -2
  185. package/node_modules/@smithy/util-endpoints/package.json +1 -1
  186. package/node_modules/@smithy/util-retry/package.json +2 -2
  187. package/node_modules/@smithy/util-stream/package.json +2 -2
  188. package/package.json +25 -11
  189. package/packages/cloud/package.json +2 -2
  190. package/packages/config/package.json +1 -1
  191. package/packages/hooks/package.json +4 -4
  192. package/packages/sdk/dist/workflows/runner.d.ts.map +1 -1
  193. package/packages/sdk/dist/workflows/runner.js +7 -5
  194. package/packages/sdk/dist/workflows/runner.js.map +1 -1
  195. package/packages/sdk/package.json +2 -2
  196. package/packages/telemetry/dist/config.d.ts +1 -1
  197. package/packages/telemetry/dist/config.d.ts.map +1 -1
  198. package/packages/telemetry/dist/config.js +6 -3
  199. package/packages/telemetry/dist/config.js.map +1 -1
  200. package/packages/telemetry/package.json +1 -1
  201. package/packages/trajectory/package.json +2 -2
  202. package/packages/user-directory/package.json +2 -2
  203. package/packages/utils/package.json +2 -2
  204. package/dist/src/cli/commands/on/symlink-mount.d.ts +0 -12
  205. package/dist/src/cli/commands/on/symlink-mount.d.ts.map +0 -1
  206. package/dist/src/cli/commands/on/symlink-mount.js.map +0 -1
  207. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
  208. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
  212. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
  213. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
  214. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
  215. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
@@ -72,7 +72,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
72
72
  ))
73
73
  | undefined;
74
74
  endpointProvider: (
75
- params: import("./endpoint/EndpointParameters").EndpointParameters,
75
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
76
76
  context?: {
77
77
  logger?: import("@smithy/types").Logger;
78
78
  }
@@ -118,10 +118,16 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
118
118
  signingEscapePath?: boolean;
119
119
  systemClockOffset?: number;
120
120
  signingRegion?: string;
121
- signerConstructor?: new (
122
- options: import("@smithy/signature-v4").SignatureV4Init &
123
- import("@smithy/signature-v4").SignatureV4CryptoInit
124
- ) => import("@smithy/types").RequestSigner;
121
+ signerConstructor:
122
+ | (new (
123
+ options: import("@smithy/signature-v4").SignatureV4Init &
124
+ import("@smithy/signature-v4").SignatureV4CryptoInit
125
+ ) => import("@smithy/types").RequestSigner)
126
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
127
+ sigv4aSigningRegionSet?:
128
+ | string[]
129
+ | undefined
130
+ | import("@smithy/types").Provider<string[] | undefined>;
125
131
  useGlobalEndpoint?:
126
132
  | boolean
127
133
  | undefined
@@ -1,3 +1,4 @@
1
+ import { AwsSdkSigV4ASigner } from "@aws-sdk/core/httpAuthSchemes";
1
2
  import { NoAuthSigner } from "@smithy/core";
2
3
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
3
4
  import { IdentityProviderConfig } from "@smithy/types";
@@ -14,17 +15,30 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
14
15
  ) => Promise<import("@smithy/types").UserAgent>;
15
16
  httpAuthSchemes:
16
17
  | import("@smithy/types").HttpAuthScheme[]
17
- | {
18
- schemeId: string;
19
- identityProvider: (
20
- ipc: IdentityProviderConfig
21
- ) =>
22
- | import("@smithy/types").IdentityProvider<
23
- import("@smithy/types").Identity
24
- >
25
- | (() => Promise<{}>);
26
- signer: NoAuthSigner;
27
- }[];
18
+ | (
19
+ | {
20
+ schemeId: string;
21
+ identityProvider: (
22
+ ipc: IdentityProviderConfig
23
+ ) =>
24
+ | import("@smithy/types").IdentityProvider<
25
+ import("@smithy/types").Identity
26
+ >
27
+ | undefined;
28
+ signer: AwsSdkSigV4ASigner;
29
+ }
30
+ | {
31
+ schemeId: string;
32
+ identityProvider: (
33
+ ipc: IdentityProviderConfig
34
+ ) =>
35
+ | import("@smithy/types").IdentityProvider<
36
+ import("@smithy/types").Identity
37
+ >
38
+ | (() => Promise<{}>);
39
+ signer: NoAuthSigner;
40
+ }
41
+ )[];
28
42
  maxAttempts: number | import("@smithy/types").Provider<number>;
29
43
  region: string | import("@smithy/types").Provider<string>;
30
44
  requestHandler:
@@ -32,6 +46,9 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
32
46
  | import("@smithy/protocol-http").HttpHandler<any>;
33
47
  retryMode: string | import("@smithy/types").Provider<string>;
34
48
  sha256: import("@smithy/types").HashConstructor;
49
+ sigv4aSigningRegionSet:
50
+ | string[]
51
+ | import("@smithy/types").Provider<string[] | undefined>;
35
52
  streamCollector: import("@smithy/types").StreamCollector;
36
53
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
54
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -81,7 +98,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
81
98
  ))
82
99
  | undefined;
83
100
  endpointProvider: (
84
- params: import("./endpoint/EndpointParameters").EndpointParameters,
101
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
85
102
  context?: {
86
103
  logger?: import("@smithy/types").Logger;
87
104
  }
@@ -100,10 +117,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
100
117
  signingEscapePath?: boolean;
101
118
  systemClockOffset?: number;
102
119
  signingRegion?: string;
103
- signerConstructor?: new (
104
- options: import("@smithy/signature-v4").SignatureV4Init &
105
- import("@smithy/signature-v4").SignatureV4CryptoInit
106
- ) => import("@smithy/types").RequestSigner;
120
+ signerConstructor:
121
+ | (new (
122
+ options: import("@smithy/signature-v4").SignatureV4Init &
123
+ import("@smithy/signature-v4").SignatureV4CryptoInit
124
+ ) => import("@smithy/types").RequestSigner)
125
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
107
126
  useGlobalEndpoint?:
108
127
  | boolean
109
128
  | undefined
@@ -76,7 +76,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
76
76
  ))
77
77
  | undefined;
78
78
  endpointProvider: (
79
- params: import("./endpoint/EndpointParameters").EndpointParameters,
79
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
80
  context?: {
81
81
  logger?: import("@smithy/types").Logger;
82
82
  }
@@ -122,10 +122,16 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
122
122
  signingEscapePath?: boolean;
123
123
  systemClockOffset?: number;
124
124
  signingRegion?: string;
125
- signerConstructor?: new (
126
- options: import("@smithy/signature-v4").SignatureV4Init &
127
- import("@smithy/signature-v4").SignatureV4CryptoInit
128
- ) => import("@smithy/types").RequestSigner;
125
+ signerConstructor:
126
+ | (new (
127
+ options: import("@smithy/signature-v4").SignatureV4Init &
128
+ import("@smithy/signature-v4").SignatureV4CryptoInit
129
+ ) => import("@smithy/types").RequestSigner)
130
+ | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
131
+ sigv4aSigningRegionSet?:
132
+ | string[]
133
+ | undefined
134
+ | import("@smithy/types").Provider<string[] | undefined>;
129
135
  useGlobalEndpoint?:
130
136
  | boolean
131
137
  | undefined
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
3
+ import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
4
  import { NoAuthSigner } from "@smithy/core";
4
5
  import { IdentityProviderConfig } from "@smithy/types";
5
6
  import { STSClientConfig } from "./STSClient";
@@ -9,7 +10,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
9
10
  base64Encoder: (_input: Uint8Array | string) => string;
10
11
  disableHostPrefix: boolean;
11
12
  endpointProvider: (
12
- params: import("./endpoint/EndpointParameters").EndpointParameters,
13
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
13
14
  context?: {
14
15
  logger?: import("@smithy/types").Logger;
15
16
  }
@@ -52,6 +53,12 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
52
53
  defaultNamespace?: string;
53
54
  };
54
55
  serviceId: string;
56
+ signerConstructor:
57
+ | (new (
58
+ options: import("@smithy/signature-v4").SignatureV4Init &
59
+ import("@smithy/signature-v4").SignatureV4CryptoInit
60
+ ) => import("@smithy/types").RequestSigner)
61
+ | typeof SignatureV4MultiRegion;
55
62
  urlParser: import("@smithy/types").UrlParser;
56
63
  utf8Decoder: import("@smithy/types").Decoder;
57
64
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.996.21",
3
+ "version": "3.997.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,16 +29,17 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.974.1",
32
+ "@aws-sdk/core": "^3.974.2",
33
33
  "@aws-sdk/middleware-host-header": "^3.972.10",
34
34
  "@aws-sdk/middleware-logger": "^3.972.10",
35
35
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
36
- "@aws-sdk/middleware-user-agent": "^3.972.31",
36
+ "@aws-sdk/middleware-user-agent": "^3.972.32",
37
37
  "@aws-sdk/region-config-resolver": "^3.972.12",
38
+ "@aws-sdk/signature-v4-multi-region": "^3.996.19",
38
39
  "@aws-sdk/types": "^3.973.8",
39
40
  "@aws-sdk/util-endpoints": "^3.996.7",
40
41
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
41
- "@aws-sdk/util-user-agent-node": "^3.973.17",
42
+ "@aws-sdk/util-user-agent-node": "^3.973.18",
42
43
  "@smithy/config-resolver": "^4.4.16",
43
44
  "@smithy/core": "^3.23.15",
44
45
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.18",
3
+ "version": "3.996.19",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/middleware-sdk-s3": "^3.972.30",
28
+ "@aws-sdk/middleware-sdk-s3": "^3.972.31",
29
29
  "@aws-sdk/types": "^3.973.8",
30
30
  "@smithy/protocol-http": "^5.3.14",
31
31
  "@smithy/signature-v4": "^5.3.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1032.0",
3
+ "version": "3.1033.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.1",
33
- "@aws-sdk/nested-clients": "^3.996.21",
32
+ "@aws-sdk/core": "^3.974.2",
33
+ "@aws-sdk/nested-clients": "^3.997.0",
34
34
  "@aws-sdk/types": "^3.973.8",
35
35
  "@smithy/property-provider": "^4.2.14",
36
36
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.973.17",
3
+ "version": "3.973.18",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-user-agent": "^3.972.31",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.32",
28
28
  "@aws-sdk/types": "^3.973.8",
29
29
  "@smithy/node-config-provider": "^4.3.14",
30
30
  "@smithy/types": "^4.14.1",
@@ -0,0 +1,215 @@
1
+ # @relayfile/local-mount
2
+
3
+ Create a temporary mounted mirror of a project directory, enforce `.agentignore` and `.agentreadonly` rules inside that mount, run an agent or CLI there, then sync writable changes back to the real project on exit.
4
+
5
+ This package is useful when you want an agent to work in a constrained workspace without giving it direct write access to every file in the source tree.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @relayfile/local-mount
11
+ ```
12
+
13
+ ## What it exports
14
+
15
+ ### `createSymlinkMount(projectDir, mountDir, options)`
16
+
17
+ Builds a mounted copy of `projectDir` at `mountDir` and returns a handle:
18
+
19
+ ```ts
20
+ interface SymlinkMountHandle {
21
+ mountDir: string;
22
+ syncBack(): Promise<number>;
23
+ startAutoSync(opts?: AutoSyncOptions): AutoSyncHandle;
24
+ cleanup(): void;
25
+ }
26
+ ```
27
+
28
+ Behavior:
29
+ - Copies regular files into the mount
30
+ - Applies ignore rules from `ignoredPatterns`
31
+ - Marks read-only matches as mode `0o444`
32
+ - Excludes `.git` and `node_modules` by default
33
+ - Writes `_MOUNT_README.md` and `.relayfile-local-mount` into the mount
34
+ - Skips syncing `_MOUNT_README.md`, `.relayfile-local-mount`, ignored files, read-only files, and symlinks back to the source project
35
+
36
+ ### `readAgentDotfiles(projectDir, options?)`
37
+
38
+ Reads project-local permission dotfiles and returns compiled pattern lists:
39
+
40
+ - `.agentignore`
41
+ - `.agentreadonly`
42
+ - `.{agentName}.agentignore` (optional)
43
+ - `.{agentName}.agentreadonly` (optional)
44
+
45
+ Blank lines and `#` comments are ignored.
46
+
47
+ ```ts
48
+ const { ignoredPatterns, readonlyPatterns } = readAgentDotfiles(projectDir, {
49
+ agentName: 'reviewer',
50
+ });
51
+ ```
52
+
53
+ ### `launchOnMount(options)`
54
+
55
+ High-level helper that:
56
+ 1. creates a mount,
57
+ 2. starts bidirectional auto-sync (see below, controllable via `autoSync`),
58
+ 3. runs a CLI inside the mount,
59
+ 4. forwards `SIGINT` and `SIGTERM`,
60
+ 5. stops auto-sync and runs a final sync-back pass after the child exits,
61
+ 6. cleans up the mount directory.
62
+
63
+ It resolves with the child process exit code. `onAfterSync(count)` receives the sum of files changed by auto-sync plus the final sync-back pass.
64
+
65
+ ### Auto-sync
66
+
67
+ By default, `launchOnMount` keeps the mount and project directory in sync continuously while the CLI is running, rather than only at exit. The same machinery is available standalone via `handle.startAutoSync()`.
68
+
69
+ ```ts
70
+ interface AutoSyncOptions {
71
+ /** Full-reconcile interval as a safety net. Default: 10_000 ms. */
72
+ scanIntervalMs?: number;
73
+ /** chokidar `awaitWriteFinish` stability threshold. Default: 200 ms. */
74
+ writeFinishMs?: number;
75
+ /** Invoked on sync errors. Defaults to swallowing them. */
76
+ onError?: (err: Error) => void;
77
+ }
78
+
79
+ interface AutoSyncHandle {
80
+ stop(): Promise<void>;
81
+ reconcile(): Promise<number>;
82
+ totalChanges(): number;
83
+ ready(): Promise<void>;
84
+ }
85
+ ```
86
+
87
+ Control it from `launchOnMount`:
88
+
89
+ ```ts
90
+ // Disable entirely — only the final sync-back pass runs.
91
+ launchOnMount({ /* ... */, autoSync: false });
92
+
93
+ // Tune it.
94
+ launchOnMount({ /* ... */, autoSync: { scanIntervalMs: 5_000, writeFinishMs: 100 } });
95
+ ```
96
+
97
+ How it works:
98
+ - chokidar watches both the mount and the project tree
99
+ - every `scanIntervalMs`, a full reconcile walks both trees as a safety net for missed events
100
+ - per-file `mtime` is tracked at the last sync, so the scan skips files that haven't changed
101
+
102
+ Conflict and delete rules:
103
+ - both sides changed since last sync → **mount wins**
104
+ - only one side changed → propagate that change
105
+ - one side deleted and the other unchanged since last sync → propagate the delete
106
+ - one side deleted and the other changed since last sync → recreate the missing file from the changed side
107
+ - readonly paths never flow mount→project; project-side edits still flow into the mount (the mount copy is re-chmodded `0o444`)
108
+ - `_MOUNT_README.md`, `.relayfile-local-mount`, ignored paths, and excluded directories never cross
109
+
110
+ ## Dotfile semantics
111
+
112
+ `@relayfile/local-mount` uses glob-style patterns, powered by [`ignore`](https://www.npmjs.com/package/ignore).
113
+
114
+ ### `.agentignore`
115
+
116
+ Files matching these patterns are omitted from the mount entirely.
117
+
118
+ Example:
119
+
120
+ ```gitignore
121
+ secrets/
122
+ .env
123
+ coverage/
124
+ ```
125
+
126
+ ### `.agentreadonly`
127
+
128
+ Files matching these patterns are copied into the mount, but made read-only.
129
+ Changes to those files are not synced back.
130
+
131
+ Example:
132
+
133
+ ```gitignore
134
+ package.json
135
+ docs/**
136
+ *.lock
137
+ ```
138
+
139
+ ### Per-agent overrides
140
+
141
+ If you pass `agentName`, the package also reads:
142
+
143
+ - `.{agentName}.agentignore`
144
+ - `.{agentName}.agentreadonly`
145
+
146
+ Those patterns are appended to the generic ones.
147
+
148
+ ## Practical example
149
+
150
+ ```ts
151
+ import { launchOnMount, readAgentDotfiles } from '@relayfile/local-mount';
152
+ import path from 'node:path';
153
+ import os from 'node:os';
154
+
155
+ const projectDir = '/projects/acme-api';
156
+ const mountDir = path.join(os.tmpdir(), 'acme-api-agent-mount');
157
+
158
+ const { ignoredPatterns, readonlyPatterns } = readAgentDotfiles(projectDir, {
159
+ agentName: 'reviewer',
160
+ });
161
+
162
+ const result = await launchOnMount({
163
+ cli: 'claude',
164
+ args: ['--print', 'Review the codebase and update TODOs if needed.'],
165
+ projectDir,
166
+ mountDir,
167
+ ignoredPatterns,
168
+ readonlyPatterns,
169
+ excludeDirs: ['dist'],
170
+ agentName: 'reviewer',
171
+ onBeforeLaunch: async (dir) => {
172
+ // Add extra instructions or scratch files inside the mount if needed.
173
+ console.log(`Mount ready at ${dir}`);
174
+ },
175
+ onAfterSync: async (count) => {
176
+ console.log(`Synced ${count} writable file(s) back to the project`);
177
+ },
178
+ });
179
+
180
+ console.log(result.exitCode);
181
+ ```
182
+
183
+ ## Sync-back behavior
184
+
185
+ `syncBack()` is the one-shot, mount-only sweep used as a final pass (and available on its own if you disable auto-sync). It only writes files that are safe and writable:
186
+
187
+ - changed writable files are copied back
188
+ - new writable files created in the mount are copied back
189
+ - unchanged files are skipped
190
+ - ignored files are skipped
191
+ - read-only matches are skipped
192
+ - symlinks inside the mount are skipped
193
+
194
+ The returned number is the count of files written back to `projectDir` in that pass. `syncBack()` never deletes — delete propagation is handled by auto-sync.
195
+
196
+ ## Safety constraints
197
+
198
+ The implementation is intentionally conservative about `mountDir`:
199
+
200
+ - `mountDir` must be different from `projectDir`
201
+ - `mountDir` cannot be a filesystem root
202
+ - `mountDir` cannot overlap the source project directory in either direction
203
+ - if `mountDir` already exists, it must contain the `.relayfile-local-mount` marker file from a previous mount created by this package
204
+
205
+ These checks help prevent accidental deletion of unrelated directories during mount recreation and cleanup.
206
+
207
+ ## Notes
208
+
209
+ - Requires Node.js 18+
210
+ - The current implementation copies files into the mount rather than creating filesystem-level FUSE mounts
211
+ - Source symlinks are only copied when they resolve to regular files inside the source project
212
+
213
+ ## License
214
+
215
+ MIT
@@ -0,0 +1,31 @@
1
+ export interface AutoSyncContext {
2
+ realMountDir: string;
3
+ realProjectDir: string;
4
+ isExcluded: (relPosix: string) => boolean;
5
+ /**
6
+ * Directory-only ignore patterns (ending in `/`) must only match when the
7
+ * path is a directory. Callers that know the path's type pass `isDirectory`;
8
+ * callers that don't (chokidar's prune filter) should check both forms.
9
+ */
10
+ isIgnored: (relPosix: string, isDirectory?: boolean) => boolean;
11
+ isReadonly: (relPosix: string) => boolean;
12
+ isReservedFile: (relPosix: string) => boolean;
13
+ }
14
+ export interface AutoSyncOptions {
15
+ /** Full-reconcile interval as a safety net. Default: 10_000ms. */
16
+ scanIntervalMs?: number;
17
+ /** chokidar awaitWriteFinish stabilityThreshold in ms. Default: 200. */
18
+ writeFinishMs?: number;
19
+ /** Invoked on errors during sync — logged by default consumer. */
20
+ onError?: (err: Error) => void;
21
+ }
22
+ export interface AutoSyncHandle {
23
+ stop(): Promise<void>;
24
+ /** Force a reconcile now; returns number of files copied/deleted. */
25
+ reconcile(): Promise<number>;
26
+ /** Cumulative files changed (copied or deleted) since autosync started. */
27
+ totalChanges(): number;
28
+ /** Resolves once both watchers have completed their initial scan. */
29
+ ready(): Promise<void>;
30
+ }
31
+ export declare function startAutoSync(ctx: AutoSyncContext, opts?: AutoSyncOptions): AutoSyncHandle;