agent-relay 4.0.38 → 4.0.40

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 (85) hide show
  1. package/dist/index.cjs +26 -0
  2. package/node_modules/@agent-relay/cloud/package.json +2 -2
  3. package/node_modules/@agent-relay/config/package.json +1 -1
  4. package/node_modules/@agent-relay/hooks/package.json +4 -4
  5. package/node_modules/@agent-relay/sdk/dist/broker-path.d.ts +5 -2
  6. package/node_modules/@agent-relay/sdk/dist/broker-path.d.ts.map +1 -1
  7. package/node_modules/@agent-relay/sdk/dist/broker-path.js +40 -4
  8. package/node_modules/@agent-relay/sdk/dist/broker-path.js.map +1 -1
  9. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/budget-enforcement.test.js +7 -27
  10. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/budget-enforcement.test.js.map +1 -1
  11. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/budget-tracker.test.js +1 -1
  12. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/budget-tracker.test.js.map +1 -1
  13. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/verification-traceback.test.js.map +1 -1
  14. package/node_modules/@agent-relay/sdk/dist/workflows/__tests__/verification.test.js.map +1 -1
  15. package/node_modules/@agent-relay/sdk/dist/workflows/budget-tracker.d.ts.map +1 -1
  16. package/node_modules/@agent-relay/sdk/dist/workflows/budget-tracker.js +7 -3
  17. package/node_modules/@agent-relay/sdk/dist/workflows/budget-tracker.js.map +1 -1
  18. package/node_modules/@agent-relay/sdk/dist/workflows/run-summary-table.d.ts.map +1 -1
  19. package/node_modules/@agent-relay/sdk/dist/workflows/run-summary-table.js +4 -2
  20. package/node_modules/@agent-relay/sdk/dist/workflows/run-summary-table.js.map +1 -1
  21. package/node_modules/@agent-relay/sdk/package.json +3 -3
  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 +0 -1
  27. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +0 -1
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -1
  29. package/node_modules/@aws-sdk/core/package.json +1 -1
  30. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  31. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  32. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  33. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  34. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  35. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  36. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  37. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  38. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
  39. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +9 -25
  40. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
  41. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
  42. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +9 -25
  43. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
  44. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
  45. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +2 -1
  46. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
  47. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
  48. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +2 -0
  49. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
  50. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
  51. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +12 -5
  52. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  53. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
  54. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
  57. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  58. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  59. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  60. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  61. package/package.json +9 -9
  62. package/packages/cloud/package.json +2 -2
  63. package/packages/config/package.json +1 -1
  64. package/packages/hooks/package.json +4 -4
  65. package/packages/sdk/dist/broker-path.d.ts +5 -2
  66. package/packages/sdk/dist/broker-path.d.ts.map +1 -1
  67. package/packages/sdk/dist/broker-path.js +40 -4
  68. package/packages/sdk/dist/broker-path.js.map +1 -1
  69. package/packages/sdk/dist/workflows/__tests__/budget-enforcement.test.js +7 -27
  70. package/packages/sdk/dist/workflows/__tests__/budget-enforcement.test.js.map +1 -1
  71. package/packages/sdk/dist/workflows/__tests__/budget-tracker.test.js +1 -1
  72. package/packages/sdk/dist/workflows/__tests__/budget-tracker.test.js.map +1 -1
  73. package/packages/sdk/dist/workflows/__tests__/verification-traceback.test.js.map +1 -1
  74. package/packages/sdk/dist/workflows/__tests__/verification.test.js.map +1 -1
  75. package/packages/sdk/dist/workflows/budget-tracker.d.ts.map +1 -1
  76. package/packages/sdk/dist/workflows/budget-tracker.js +7 -3
  77. package/packages/sdk/dist/workflows/budget-tracker.js.map +1 -1
  78. package/packages/sdk/dist/workflows/run-summary-table.d.ts.map +1 -1
  79. package/packages/sdk/dist/workflows/run-summary-table.js +4 -2
  80. package/packages/sdk/dist/workflows/run-summary-table.js.map +1 -1
  81. package/packages/sdk/package.json +3 -3
  82. package/packages/telemetry/package.json +1 -1
  83. package/packages/trajectory/package.json +2 -2
  84. package/packages/user-directory/package.json +2 -2
  85. package/packages/utils/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"run-summary-table.d.ts","sourceRoot":"","sources":["../../src/workflows/run-summary-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAoB,MAAM,qBAAqB,CAAC;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAkDnD,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,WAAW,EAAE,EACvB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EACtC,UAAU,CAAC,EAAE,oBAAoB,GAChC,MAAM,CAyFR"}
1
+ {"version":3,"file":"run-summary-table.d.ts","sourceRoot":"","sources":["../../src/workflows/run-summary-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,oBAAoB,EAAoB,MAAM,qBAAqB,CAAC;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAkDnD,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,WAAW,EAAE,EACvB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EACtC,UAAU,CAAC,EAAE,oBAAoB,GAChC,MAAM,CA+FR"}
@@ -64,10 +64,12 @@ export function formatRunSummaryTable(outcomes, reports, budgetData) {
64
64
  ? [20, 6, 16, 10, 18, 10, 10]
65
65
  : [20, 6, 16, 10, 10, 10];
66
66
  const lines = [];
67
- lines.push(headers.map((h, i) => {
67
+ lines.push(headers
68
+ .map((h, i) => {
68
69
  const align = i <= 2 ? 'left' : 'right';
69
70
  return pad(h, widths[i], align);
70
- }).join(' '));
71
+ })
72
+ .join(' '));
71
73
  let totalCost = 0;
72
74
  let totalTokens = 0;
73
75
  let totalDurationMs = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"run-summary-table.js","sourceRoot":"","sources":["../../src/workflows/run-summary-table.ts"],"names":[],"mappings":"AAIA,SAAS,cAAc,CAAC,KAAgC;IACtD,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACnE,CAAC;AAED,SAAS,YAAY,CAAC,MAAoC;IACxD,IAAI,CAAC,MAAM,EAAE,MAAM;QAAE,OAAO,IAAI,CAAC;IACjC,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC;IACnF,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AACvC,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAyB;IAClD,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1E,CAAC;AAED,SAAS,YAAY,CAAC,MAAoC;IACxD,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,MAAM,QAAQ,GAAG,GAAG,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE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AAc,CAAC,KAAK,CAAC,EAAE;YACxF,CAAC,CAAC,IAAI,CAAC;QACX,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;IAClE,CAAC;IACD,MAAM,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;IAC5D,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;IAC1D,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;IACnF,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAEjC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACrD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/sdk",
3
- "version": "4.0.38",
3
+ "version": "4.0.40",
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.38",
137
+ "@agent-relay/config": "4.0.40",
138
138
  "@relaycast/sdk": "^1.1.0",
139
139
  "@relayfile/sdk": ">=0.1.2 <1",
140
140
  "@sinclair/typebox": "^0.34.48",
@@ -147,7 +147,7 @@
147
147
  "yaml": "^2.7.0"
148
148
  },
149
149
  "peerDependencies": {
150
- "@agent-relay/credential-proxy": "4.0.38",
150
+ "@agent-relay/credential-proxy": "4.0.40",
151
151
  "@anthropic-ai/claude-agent-sdk": ">=0.1.0",
152
152
  "@google/adk": ">=0.5.0",
153
153
  "@langchain/langgraph": ">=1.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-relay/telemetry",
3
- "version": "4.0.38",
3
+ "version": "4.0.40",
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.38",
3
+ "version": "4.0.40",
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.38"
25
+ "@agent-relay/config": "4.0.40"
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.38",
3
+ "version": "4.0.40",
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.38"
25
+ "@agent-relay/utils": "4.0.40"
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.38",
3
+ "version": "4.0.40",
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.38",
114
+ "@agent-relay/config": "4.0.40",
115
115
  "compare-versions": "^6.1.1"
116
116
  },
117
117
  "publishConfig": {
@@ -2154,7 +2154,6 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
2154
2154
  this.codec = new XmlCodec(settings);
2155
2155
  this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
2156
2156
  this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
2157
- this.compositeErrorRegistry;
2158
2157
  }
2159
2158
  getPayloadCodec() {
2160
2159
  return this.codec;
@@ -1798,7 +1798,6 @@ class AwsRestXmlProtocol extends protocols.HttpBindingProtocol {
1798
1798
  this.codec = new XmlCodec(settings);
1799
1799
  this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
1800
1800
  this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
1801
- this.compositeErrorRegistry;
1802
1801
  }
1803
1802
  getPayloadCodec() {
1804
1803
  return this.codec;
@@ -22,7 +22,6 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
22
22
  this.codec = new XmlCodec(settings);
23
23
  this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
24
24
  this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
25
- this.compositeErrorRegistry;
26
25
  }
27
26
  getPayloadCodec() {
28
27
  return this.codec;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.3",
3
+ "version": "3.974.4",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.29",
3
+ "version": "3.972.30",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.3",
29
+ "@aws-sdk/core": "^3.974.4",
30
30
  "@aws-sdk/types": "^3.973.8",
31
31
  "@smithy/property-provider": "^4.2.14",
32
32
  "@smithy/types": "^4.14.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.31",
3
+ "version": "3.972.32",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.3",
31
+ "@aws-sdk/core": "^3.974.4",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@smithy/fetch-http-handler": "^5.3.17",
34
34
  "@smithy/node-http-handler": "^4.6.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.33",
3
+ "version": "3.972.34",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.3",
32
- "@aws-sdk/credential-provider-env": "^3.972.29",
33
- "@aws-sdk/credential-provider-http": "^3.972.31",
34
- "@aws-sdk/credential-provider-login": "^3.972.33",
35
- "@aws-sdk/credential-provider-process": "^3.972.29",
36
- "@aws-sdk/credential-provider-sso": "^3.972.33",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.33",
38
- "@aws-sdk/nested-clients": "^3.997.1",
31
+ "@aws-sdk/core": "^3.974.4",
32
+ "@aws-sdk/credential-provider-env": "^3.972.30",
33
+ "@aws-sdk/credential-provider-http": "^3.972.32",
34
+ "@aws-sdk/credential-provider-login": "^3.972.34",
35
+ "@aws-sdk/credential-provider-process": "^3.972.30",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.34",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.34",
38
+ "@aws-sdk/nested-clients": "^3.997.2",
39
39
  "@aws-sdk/types": "^3.973.8",
40
40
  "@smithy/credential-provider-imds": "^4.2.14",
41
41
  "@smithy/property-provider": "^4.2.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.33",
3
+ "version": "3.972.34",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.3",
32
- "@aws-sdk/nested-clients": "^3.997.1",
31
+ "@aws-sdk/core": "^3.974.4",
32
+ "@aws-sdk/nested-clients": "^3.997.2",
33
33
  "@aws-sdk/types": "^3.973.8",
34
34
  "@smithy/property-provider": "^4.2.14",
35
35
  "@smithy/protocol-http": "^5.3.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.34",
3
+ "version": "3.972.35",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.29",
35
- "@aws-sdk/credential-provider-http": "^3.972.31",
36
- "@aws-sdk/credential-provider-ini": "^3.972.33",
37
- "@aws-sdk/credential-provider-process": "^3.972.29",
38
- "@aws-sdk/credential-provider-sso": "^3.972.33",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.33",
34
+ "@aws-sdk/credential-provider-env": "^3.972.30",
35
+ "@aws-sdk/credential-provider-http": "^3.972.32",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.34",
37
+ "@aws-sdk/credential-provider-process": "^3.972.30",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.34",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.34",
40
40
  "@aws-sdk/types": "^3.973.8",
41
41
  "@smithy/credential-provider-imds": "^4.2.14",
42
42
  "@smithy/property-provider": "^4.2.14",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.29",
3
+ "version": "3.972.30",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.3",
29
+ "@aws-sdk/core": "^3.974.4",
30
30
  "@aws-sdk/types": "^3.973.8",
31
31
  "@smithy/property-provider": "^4.2.14",
32
32
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.33",
3
+ "version": "3.972.34",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.3",
30
- "@aws-sdk/nested-clients": "^3.997.1",
31
- "@aws-sdk/token-providers": "3.1034.0",
29
+ "@aws-sdk/core": "^3.974.4",
30
+ "@aws-sdk/nested-clients": "^3.997.2",
31
+ "@aws-sdk/token-providers": "3.1035.0",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@smithy/property-provider": "^4.2.14",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.33",
3
+ "version": "3.972.34",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.3",
38
- "@aws-sdk/nested-clients": "^3.997.1",
37
+ "@aws-sdk/core": "^3.974.4",
38
+ "@aws-sdk/nested-clients": "^3.997.2",
39
39
  "@aws-sdk/types": "^3.973.8",
40
40
  "@smithy/property-provider": "^4.2.14",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.9",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-flexible-checksums",
3
- "version": "3.974.11",
3
+ "version": "3.974.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
@@ -37,7 +37,7 @@
37
37
  "@aws-crypto/crc32": "5.2.0",
38
38
  "@aws-crypto/crc32c": "5.2.0",
39
39
  "@aws-crypto/util": "5.2.0",
40
- "@aws-sdk/core": "^3.974.3",
40
+ "@aws-sdk/core": "^3.974.4",
41
41
  "@aws-sdk/crc64-nvme": "^3.972.7",
42
42
  "@aws-sdk/types": "^3.973.8",
43
43
  "@smithy/is-array-buffer": "^4.2.2",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var protocolHttp = require('@smithy/protocol-http');
4
4
  var smithyClient = require('@smithy/smithy-client');
5
- var utilStream = require('@smithy/util-stream');
5
+ var toStream = require('./toStream');
6
6
  var utilArnParser = require('@aws-sdk/util-arn-parser');
7
7
  var protocols = require('@aws-sdk/core/protocols');
8
8
  var schema = require('@smithy/core/schema');
@@ -419,45 +419,29 @@ const THROW_IF_EMPTY_BODY = {
419
419
  UploadPartCopyCommand: true,
420
420
  CompleteMultipartUploadCommand: true,
421
421
  };
422
- const MAX_BYTES_TO_INSPECT = 3000;
423
422
  const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
424
423
  const result = await next(args);
425
424
  const { response } = result;
426
425
  if (!protocolHttp.HttpResponse.isInstance(response)) {
427
426
  return result;
428
427
  }
429
- const { statusCode, body: sourceBody } = response;
428
+ const { statusCode, body } = response;
430
429
  if (statusCode < 200 || statusCode >= 300) {
431
430
  return result;
432
431
  }
433
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
434
- typeof sourceBody?.pipe === "function" ||
435
- typeof sourceBody?.tee === "function";
436
- if (!isSplittableStream) {
437
- return result;
438
- }
439
- let bodyCopy = sourceBody;
440
- let body = sourceBody;
441
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
442
- [bodyCopy, body] = await utilStream.splitStream(sourceBody);
443
- }
444
- response.body = body;
445
- const bodyBytes = await collectBody(bodyCopy, {
446
- streamCollector: async (stream) => {
447
- return utilStream.headStream(stream, MAX_BYTES_TO_INSPECT);
448
- },
449
- });
450
- if (typeof bodyCopy?.destroy === "function") {
451
- bodyCopy.destroy();
452
- }
453
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
432
+ const bodyBytes = await collectBody(body, config);
433
+ response.body = toStream.toStream(bodyBytes);
454
434
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
455
435
  const err = new Error("S3 aborted request");
436
+ err.$metadata = {
437
+ httpStatusCode: 503,
438
+ };
456
439
  err.name = "InternalError";
457
440
  throw err;
458
441
  }
442
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
459
443
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
460
- response.statusCode = 400;
444
+ response.statusCode = 503;
461
445
  }
462
446
  return result;
463
447
  };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ function toStream(bytes) {
5
+ return new ReadableStream({
6
+ start(controller) {
7
+ controller.enqueue(bytes);
8
+ controller.close();
9
+ },
10
+ });
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toStream = toStream;
4
+ const node_stream_1 = require("node:stream");
5
+ function toStream(bytes) {
6
+ return node_stream_1.Readable.from(Buffer.from(bytes));
7
+ }
@@ -1,49 +1,33 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
- import { headStream, splitStream } from "@smithy/util-stream";
2
+ import { toStream } from "./toStream";
3
3
  const THROW_IF_EMPTY_BODY = {
4
4
  CopyObjectCommand: true,
5
5
  UploadPartCopyCommand: true,
6
6
  CompleteMultipartUploadCommand: true,
7
7
  };
8
- const MAX_BYTES_TO_INSPECT = 3000;
9
8
  export const throw200ExceptionsMiddleware = (config) => (next, context) => async (args) => {
10
9
  const result = await next(args);
11
10
  const { response } = result;
12
11
  if (!HttpResponse.isInstance(response)) {
13
12
  return result;
14
13
  }
15
- const { statusCode, body: sourceBody } = response;
14
+ const { statusCode, body } = response;
16
15
  if (statusCode < 200 || statusCode >= 300) {
17
16
  return result;
18
17
  }
19
- const isSplittableStream = typeof sourceBody?.stream === "function" ||
20
- typeof sourceBody?.pipe === "function" ||
21
- typeof sourceBody?.tee === "function";
22
- if (!isSplittableStream) {
23
- return result;
24
- }
25
- let bodyCopy = sourceBody;
26
- let body = sourceBody;
27
- if (sourceBody && typeof sourceBody === "object" && !(sourceBody instanceof Uint8Array)) {
28
- [bodyCopy, body] = await splitStream(sourceBody);
29
- }
30
- response.body = body;
31
- const bodyBytes = await collectBody(bodyCopy, {
32
- streamCollector: async (stream) => {
33
- return headStream(stream, MAX_BYTES_TO_INSPECT);
34
- },
35
- });
36
- if (typeof bodyCopy?.destroy === "function") {
37
- bodyCopy.destroy();
38
- }
39
- const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
18
+ const bodyBytes = await collectBody(body, config);
19
+ response.body = toStream(bodyBytes);
40
20
  if (bodyBytes.length === 0 && THROW_IF_EMPTY_BODY[context.commandName]) {
41
21
  const err = new Error("S3 aborted request");
22
+ err.$metadata = {
23
+ httpStatusCode: 503,
24
+ };
42
25
  err.name = "InternalError";
43
26
  throw err;
44
27
  }
28
+ const bodyStringTail = config.utf8Encoder(bodyBytes.subarray(bodyBytes.length - 16));
45
29
  if (bodyStringTail && bodyStringTail.endsWith("</Error>")) {
46
- response.statusCode = 400;
30
+ response.statusCode = 503;
47
31
  }
48
32
  return result;
49
33
  };
@@ -0,0 +1,8 @@
1
+ export function toStream(bytes) {
2
+ return new ReadableStream({
3
+ start(controller) {
4
+ controller.enqueue(bytes);
5
+ controller.close();
6
+ },
7
+ });
8
+ }
@@ -0,0 +1,4 @@
1
+ import { Readable } from "node:stream";
2
+ export function toStream(bytes) {
3
+ return Readable.from(Buffer.from(bytes));
4
+ }
@@ -1,5 +1,6 @@
1
- import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions } from "@smithy/types";
1
+ import type { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions, StreamCollector } from "@smithy/types";
2
2
  type PreviouslyResolved = {
3
+ streamCollector: StreamCollector;
3
4
  utf8Encoder: Encoder;
4
5
  };
5
6
  /**
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,5 @@
1
+ import { Readable } from "node:stream";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -3,8 +3,10 @@ import {
3
3
  Encoder,
4
4
  Pluggable,
5
5
  RelativeMiddlewareOptions,
6
+ StreamCollector,
6
7
  } from "@smithy/types";
7
8
  type PreviouslyResolved = {
9
+ streamCollector: StreamCollector;
8
10
  utf8Encoder: Encoder;
9
11
  };
10
12
  export declare const throw200ExceptionsMiddleware: (
@@ -0,0 +1 @@
1
+ export declare function toStream(bytes: Uint8Array): ReadableStream;
@@ -0,0 +1,2 @@
1
+ import { Readable } from "node:stream";
2
+ export declare function toStream(bytes: Uint8Array): Readable;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.32",
3
+ "version": "3.972.33",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
@@ -9,13 +9,13 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
- "test": "yarn g:vitest run",
13
12
  "test:types": "tsc -p tsconfig.test.json",
14
- "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
15
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
16
13
  "extract:docs": "api-extractor run --local",
14
+ "test": "yarn g:vitest run",
17
15
  "test:watch": "yarn g:vitest watch",
16
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:types",
18
17
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
18
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
19
19
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
20
20
  },
21
21
  "main": "./dist-cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.3",
31
+ "@aws-sdk/core": "^3.974.4",
32
32
  "@aws-sdk/types": "^3.973.8",
33
33
  "@aws-sdk/util-arn-parser": "^3.972.3",
34
34
  "@smithy/core": "^3.23.16",
@@ -63,6 +63,13 @@
63
63
  "files": [
64
64
  "dist-*/**"
65
65
  ],
66
+ "browser": {
67
+ "./dist-es/toStream": "./dist-es/toStream.browser"
68
+ },
69
+ "react-native": {
70
+ "./dist-es/toStream": "./dist-es/toStream.browser",
71
+ "./dist-cjs/toStream": "./dist-cjs/toStream.browser"
72
+ },
66
73
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3",
67
74
  "repository": {
68
75
  "type": "git",