@psnext/slingcli 2.5.20260617-1 → 2.5.20260621-1

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 (170) hide show
  1. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +276 -1
  2. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +276 -1
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +276 -1
  4. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
  5. package/node_modules/@aws-sdk/core/package.json +1 -1
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  7. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +2 -2
  8. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  9. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  10. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  11. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  12. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  13. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +3 -3
  14. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  15. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  16. package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  22. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +2 -2
  23. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  24. package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
  25. package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +21 -57
  26. package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +30 -0
  27. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +252 -261
  28. package/node_modules/@earendil-works/pi-ai/dist/models.js +4 -1
  29. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +52 -34
  30. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +11 -9
  31. package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +7 -4
  32. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js +4 -3
  33. package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js +15 -5
  34. package/node_modules/@earendil-works/pi-ai/dist/providers/google.js +2 -1
  35. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +18 -17
  36. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +21 -8
  37. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js +2 -1
  38. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +8 -7
  39. package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +1 -0
  40. package/node_modules/@earendil-works/pi-ai/dist/stream.js +1 -1
  41. package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +17 -22
  42. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js +2 -1
  43. package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +3 -2
  44. package/node_modules/@earendil-works/pi-ai/dist/utils/provider-env.js +44 -0
  45. package/node_modules/@earendil-works/pi-ai/package.json +1 -1
  46. package/node_modules/@earendil-works/pi-coding-agent/dist/bun/restore-sandbox-env.js +4 -0
  47. package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +1 -1
  48. package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +10 -7
  49. package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +8 -1
  50. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +2 -2
  51. package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +10 -10
  52. package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +75 -3
  53. package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +17 -1
  54. package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +8 -4
  55. package/node_modules/@earendil-works/pi-coding-agent/dist/core/project-trust.js +1 -1
  56. package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-attribution.js +10 -0
  57. package/node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js +19 -19
  58. package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +2 -0
  59. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +6 -6
  60. package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +4 -0
  61. package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +17 -5
  62. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +4 -0
  63. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -1
  64. package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -5
  65. package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +6 -6
  66. package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js +23 -5
  67. package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +17 -17
  68. package/node_modules/@earendil-works/pi-coding-agent/package.json +4 -4
  69. package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +5 -1
  70. package/node_modules/@earendil-works/pi-tui/package.json +2 -2
  71. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +10 -2
  72. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -2
  73. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
  74. package/node_modules/@smithy/core/package.json +1 -1
  75. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  76. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  77. package/node_modules/@smithy/signature-v4/package.json +2 -2
  78. package/node_modules/@types/node/README.md +1 -1
  79. package/node_modules/@types/node/assert/strict.d.ts +10 -1
  80. package/node_modules/@types/node/assert.d.ts +144 -17
  81. package/node_modules/@types/node/async_hooks.d.ts +9 -9
  82. package/node_modules/@types/node/buffer.d.ts +0 -5
  83. package/node_modules/@types/node/child_process.d.ts +17 -21
  84. package/node_modules/@types/node/cluster.d.ts +13 -13
  85. package/node_modules/@types/node/console.d.ts +1 -1
  86. package/node_modules/@types/node/crypto.d.ts +454 -571
  87. package/node_modules/@types/node/diagnostics_channel.d.ts +20 -9
  88. package/node_modules/@types/node/dns.d.ts +14 -14
  89. package/node_modules/@types/node/events.d.ts +3 -3
  90. package/node_modules/@types/node/fs/promises.d.ts +4 -4
  91. package/node_modules/@types/node/fs.d.ts +3 -12
  92. package/node_modules/@types/node/globals.d.ts +4 -4
  93. package/node_modules/@types/node/http.d.ts +5 -5
  94. package/node_modules/@types/node/http2.d.ts +1 -1
  95. package/node_modules/@types/node/index.d.ts +0 -3
  96. package/node_modules/@types/node/inspector.d.ts +1 -1
  97. package/node_modules/@types/node/module.d.ts +16 -45
  98. package/node_modules/@types/node/net.d.ts +1 -1
  99. package/node_modules/@types/node/os.d.ts +2 -2
  100. package/node_modules/@types/node/package.json +4 -4
  101. package/node_modules/@types/node/perf_hooks.d.ts +1 -9
  102. package/node_modules/@types/node/process.d.ts +11 -11
  103. package/node_modules/@types/node/readline.d.ts +12 -11
  104. package/node_modules/@types/node/repl.d.ts +10 -10
  105. package/node_modules/@types/node/sqlite.d.ts +1 -1
  106. package/node_modules/@types/node/stream/promises.d.ts +2 -2
  107. package/node_modules/@types/node/stream/web.d.ts +1 -1
  108. package/node_modules/@types/node/stream.d.ts +5 -5
  109. package/node_modules/@types/node/test/reporters.d.ts +1 -1
  110. package/node_modules/@types/node/test.d.ts +8 -8
  111. package/node_modules/@types/node/tls.d.ts +1 -1
  112. package/node_modules/@types/node/ts5.6/index.d.ts +1 -4
  113. package/node_modules/@types/node/ts5.7/index.d.ts +0 -3
  114. package/node_modules/@types/node/url.d.ts +3 -3
  115. package/node_modules/@types/node/util/types.d.ts +1 -1
  116. package/node_modules/@types/node/util.d.ts +3 -20
  117. package/node_modules/@types/node/v8.d.ts +1 -1
  118. package/node_modules/@types/node/vm.d.ts +9 -9
  119. package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
  120. package/node_modules/@types/node/worker_threads.d.ts +2 -5
  121. package/node_modules/@types/node/zlib.d.ts +3 -3
  122. package/node_modules/anynum/package.json +2 -2
  123. package/node_modules/marked/README.md +13 -4
  124. package/node_modules/marked/bin/main.js +16 -14
  125. package/node_modules/marked/bin/marked.js +2 -1
  126. package/node_modules/marked/lib/marked.d.ts +157 -125
  127. package/node_modules/marked/lib/marked.esm.js +67 -2179
  128. package/node_modules/marked/lib/marked.esm.js.map +3 -3
  129. package/node_modules/marked/lib/marked.umd.js +67 -2201
  130. package/node_modules/marked/lib/marked.umd.js.map +3 -3
  131. package/node_modules/marked/man/marked.1 +4 -2
  132. package/node_modules/marked/man/marked.1.md +2 -1
  133. package/node_modules/marked/package.json +27 -35
  134. package/node_modules/path-expression-matcher/README.md +82 -7
  135. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  136. package/node_modules/path-expression-matcher/lib/pem.d.cts +83 -2
  137. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  138. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  139. package/node_modules/path-expression-matcher/package.json +3 -2
  140. package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
  141. package/node_modules/path-expression-matcher/src/Matcher.js +93 -3
  142. package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
  143. package/node_modules/semver/classes/range.js +6 -2
  144. package/node_modules/semver/package.json +1 -1
  145. package/node_modules/strnum/package.json +5 -4
  146. package/node_modules/undici-types/agent.d.ts +0 -2
  147. package/node_modules/undici-types/client.d.ts +25 -19
  148. package/node_modules/undici-types/dispatcher.d.ts +7 -33
  149. package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
  150. package/node_modules/undici-types/fetch.d.ts +24 -4
  151. package/node_modules/undici-types/h2c-client.d.ts +6 -6
  152. package/node_modules/undici-types/handlers.d.ts +1 -2
  153. package/node_modules/undici-types/header.d.ts +5 -0
  154. package/node_modules/undici-types/index.d.ts +3 -1
  155. package/node_modules/undici-types/interceptors.d.ts +1 -1
  156. package/node_modules/undici-types/package.json +1 -1
  157. package/node_modules/undici-types/pool.d.ts +0 -2
  158. package/node_modules/undici-types/proxy-agent.d.ts +2 -2
  159. package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
  160. package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
  161. package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
  162. package/node_modules/undici-types/webidl.d.ts +0 -1
  163. package/package.json +6 -6
  164. package/slingshot/index.js +253 -253
  165. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  166. package/node_modules/marked/lib/marked.cjs +0 -2211
  167. package/node_modules/marked/lib/marked.cjs.map +0 -7
  168. package/node_modules/marked/lib/marked.d.cts +0 -728
  169. package/node_modules/marked/marked.min.js +0 -69
  170. /package/node_modules/marked/{LICENSE.md → LICENSE} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.54",
3
+ "version": "3.972.55",
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.21",
32
- "@aws-sdk/credential-provider-env": "^3.972.47",
33
- "@aws-sdk/credential-provider-http": "^3.972.49",
34
- "@aws-sdk/credential-provider-login": "^3.972.53",
35
- "@aws-sdk/credential-provider-process": "^3.972.47",
36
- "@aws-sdk/credential-provider-sso": "^3.972.53",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.53",
38
- "@aws-sdk/nested-clients": "^3.997.21",
31
+ "@aws-sdk/core": "^3.974.22",
32
+ "@aws-sdk/credential-provider-env": "^3.972.48",
33
+ "@aws-sdk/credential-provider-http": "^3.972.50",
34
+ "@aws-sdk/credential-provider-login": "^3.972.54",
35
+ "@aws-sdk/credential-provider-process": "^3.972.48",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.54",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.54",
38
+ "@aws-sdk/nested-clients": "^3.997.22",
39
39
  "@aws-sdk/types": "^3.973.13",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.53",
3
+ "version": "3.972.54",
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.21",
32
- "@aws-sdk/nested-clients": "^3.997.21",
31
+ "@aws-sdk/core": "^3.974.22",
32
+ "@aws-sdk/nested-clients": "^3.997.22",
33
33
  "@aws-sdk/types": "^3.973.13",
34
34
  "@smithy/core": "^3.24.6",
35
35
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.56",
3
+ "version": "3.972.57",
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.47",
35
- "@aws-sdk/credential-provider-http": "^3.972.49",
36
- "@aws-sdk/credential-provider-ini": "^3.972.54",
37
- "@aws-sdk/credential-provider-process": "^3.972.47",
38
- "@aws-sdk/credential-provider-sso": "^3.972.53",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.53",
34
+ "@aws-sdk/credential-provider-env": "^3.972.48",
35
+ "@aws-sdk/credential-provider-http": "^3.972.50",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.55",
37
+ "@aws-sdk/credential-provider-process": "^3.972.48",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.54",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.54",
40
40
  "@aws-sdk/types": "^3.973.13",
41
41
  "@smithy/core": "^3.24.6",
42
42
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.47",
3
+ "version": "3.972.48",
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.21",
29
+ "@aws-sdk/core": "^3.974.22",
30
30
  "@aws-sdk/types": "^3.973.13",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1069.0",
3
+ "version": "3.1071.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.21",
33
- "@aws-sdk/nested-clients": "^3.997.21",
32
+ "@aws-sdk/core": "^3.974.22",
33
+ "@aws-sdk/nested-clients": "^3.997.22",
34
34
  "@aws-sdk/types": "^3.973.13",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.53",
3
+ "version": "3.972.54",
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",
@@ -28,9 +28,9 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.21",
32
- "@aws-sdk/nested-clients": "^3.997.21",
33
- "@aws-sdk/token-providers": "3.1069.0",
31
+ "@aws-sdk/core": "^3.974.22",
32
+ "@aws-sdk/nested-clients": "^3.997.22",
33
+ "@aws-sdk/token-providers": "3.1071.0",
34
34
  "@aws-sdk/types": "^3.973.13",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.53",
3
+ "version": "3.972.54",
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.21",
38
- "@aws-sdk/nested-clients": "^3.997.21",
37
+ "@aws-sdk/core": "^3.974.22",
38
+ "@aws-sdk/nested-clients": "^3.997.22",
39
39
  "@aws-sdk/types": "^3.973.13",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-websocket",
3
- "version": "3.972.29",
3
+ "version": "3.972.30",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "^3.974.21",
27
+ "@aws-sdk/core": "^3.974.22",
28
28
  "@aws-sdk/types": "^3.973.13",
29
29
  "@smithy/core": "^3.24.6",
30
30
  "@smithy/fetch-http-handler": "^5.4.6",
@@ -79,7 +79,7 @@ const commonParams = {
79
79
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
80
80
  };
81
81
 
82
- var version = "3.997.20";
82
+ var version = "3.997.21";
83
83
  var packageInfo = {
84
84
  version: version};
85
85
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.20";
78
+ var version = "3.997.21";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.20";
78
+ var version = "3.997.21";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.20";
78
+ var version = "3.997.21";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -256,7 +256,7 @@ const commonParams = {
256
256
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
257
257
  };
258
258
 
259
- var version = "3.997.20";
259
+ var version = "3.997.21";
260
260
  var packageInfo = {
261
261
  version: version};
262
262
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
@@ -26,7 +26,7 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/core": "^3.25.0",
29
+ "@smithy/core": "^3.25.1",
30
30
  "@smithy/types": "^4.15.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.21",
3
+ "version": "3.997.22",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
- "@aws-sdk/core": "^3.974.21",
33
+ "@aws-sdk/core": "^3.974.22",
34
34
  "@aws-sdk/signature-v4-multi-region": "^3.996.35",
35
35
  "@aws-sdk/types": "^3.973.13",
36
36
  "@smithy/core": "^3.24.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@earendil-works/pi-agent-core",
3
- "version": "0.79.3",
3
+ "version": "0.79.6",
4
4
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "prepublishOnly": "npm run clean && npm run build"
30
30
  },
31
31
  "dependencies": {
32
- "@earendil-works/pi-ai": "^0.79.3",
32
+ "@earendil-works/pi-ai": "^0.79.6",
33
33
  "ignore": "7.0.5",
34
34
  "typebox": "1.1.38",
35
35
  "yaml": "2.9.0"
@@ -26,40 +26,13 @@ if (typeof process !== "undefined" && (process.versions?.node || process.version
26
26
  _join = m.join;
27
27
  });
28
28
  }
29
- let _procEnvCache = null;
30
- /**
31
- * Fallback for https://github.com/oven-sh/bun/issues/27802
32
- * Bun compiled binaries have an empty `process.env` inside sandbox
33
- * environments on Linux. We can recover the env from `/proc/self/environ`.
34
- */
35
- function getProcEnv(key) {
36
- if (!process.versions?.bun)
37
- return undefined;
38
- if (typeof process === "undefined")
39
- return undefined;
40
- // If process.env already has entries, the bug is not triggered.
41
- if (Object.keys(process.env).length > 0)
42
- return undefined;
43
- if (_procEnvCache === null) {
44
- _procEnvCache = new Map();
45
- try {
46
- const { readFileSync } = require("node:fs");
47
- const data = readFileSync("/proc/self/environ", "utf-8");
48
- for (const entry of data.split("\0")) {
49
- const idx = entry.indexOf("=");
50
- if (idx > 0) {
51
- _procEnvCache.set(entry.slice(0, idx), entry.slice(idx + 1));
52
- }
53
- }
54
- }
55
- catch {
56
- // /proc/self/environ may not be readable.
57
- }
58
- }
59
- return _procEnvCache.get(key);
60
- }
29
+ import { getProviderEnvValue } from "./utils/provider-env.js";
61
30
  let cachedVertexAdcCredentialsExists = null;
62
- function hasVertexAdcCredentials() {
31
+ function hasVertexAdcCredentials(env) {
32
+ const explicitCredentialsPath = env?.GOOGLE_APPLICATION_CREDENTIALS;
33
+ if (explicitCredentialsPath) {
34
+ return _existsSync ? _existsSync(explicitCredentialsPath) : false;
35
+ }
63
36
  if (cachedVertexAdcCredentialsExists === null) {
64
37
  // If node modules haven't loaded yet (async import race at startup),
65
38
  // return false WITHOUT caching so the next call retries once they're ready.
@@ -73,7 +46,7 @@ function hasVertexAdcCredentials() {
73
46
  return false;
74
47
  }
75
48
  // Check GOOGLE_APPLICATION_CREDENTIALS env var first (standard way)
76
- const gacPath = process.env.GOOGLE_APPLICATION_CREDENTIALS || getProcEnv("GOOGLE_APPLICATION_CREDENTIALS");
49
+ const gacPath = getProviderEnvValue("GOOGLE_APPLICATION_CREDENTIALS", env);
77
50
  if (gacPath) {
78
51
  cachedVertexAdcCredentialsExists = _existsSync(gacPath);
79
52
  }
@@ -128,27 +101,24 @@ function getApiKeyEnvVars(provider) {
128
101
  const envVar = envMap[provider];
129
102
  return envVar ? [envVar] : undefined;
130
103
  }
131
- export function findEnvKeys(provider) {
104
+ export function findEnvKeys(provider, env) {
132
105
  const envVars = getApiKeyEnvVars(provider);
133
106
  if (!envVars)
134
107
  return undefined;
135
- const found = envVars.filter((envVar) => !!process.env[envVar] || !!getProcEnv(envVar));
108
+ const found = envVars.filter((envVar) => !!getProviderEnvValue(envVar, env));
136
109
  return found.length > 0 ? found : undefined;
137
110
  }
138
- export function getEnvApiKey(provider) {
139
- const envKeys = findEnvKeys(provider);
111
+ export function getEnvApiKey(provider, env) {
112
+ const envKeys = findEnvKeys(provider, env);
140
113
  if (envKeys?.[0]) {
141
- return process.env[envKeys[0]] || getProcEnv(envKeys[0]);
114
+ return getProviderEnvValue(envKeys[0], env);
142
115
  }
143
116
  // Vertex AI supports either an explicit API key or Application Default Credentials.
144
117
  // Auth is configured via `gcloud auth application-default login`.
145
118
  if (provider === "google-vertex") {
146
- const hasCredentials = hasVertexAdcCredentials();
147
- const hasProject = !!(process.env.GOOGLE_CLOUD_PROJECT ||
148
- process.env.GCLOUD_PROJECT ||
149
- getProcEnv("GOOGLE_CLOUD_PROJECT") ||
150
- getProcEnv("GCLOUD_PROJECT"));
151
- const hasLocation = !!(process.env.GOOGLE_CLOUD_LOCATION || getProcEnv("GOOGLE_CLOUD_LOCATION"));
119
+ const hasCredentials = hasVertexAdcCredentials(env);
120
+ const hasProject = !!(getProviderEnvValue("GOOGLE_CLOUD_PROJECT", env) || getProviderEnvValue("GCLOUD_PROJECT", env));
121
+ const hasLocation = !!getProviderEnvValue("GOOGLE_CLOUD_LOCATION", env);
152
122
  if (hasCredentials && hasProject && hasLocation) {
153
123
  return "<authenticated>";
154
124
  }
@@ -161,18 +131,12 @@ export function getEnvApiKey(provider) {
161
131
  // 4. AWS_CONTAINER_CREDENTIALS_RELATIVE_URI - ECS task roles
162
132
  // 5. AWS_CONTAINER_CREDENTIALS_FULL_URI - ECS task roles (full URI)
163
133
  // 6. AWS_WEB_IDENTITY_TOKEN_FILE - IRSA (IAM Roles for Service Accounts)
164
- if (process.env.AWS_PROFILE ||
165
- (process.env.AWS_ACCESS_KEY_ID && process.env.AWS_SECRET_ACCESS_KEY) ||
166
- process.env.AWS_BEARER_TOKEN_BEDROCK ||
167
- process.env.AWS_CONTAINER_CREDENTIALS_RELATIVE_URI ||
168
- process.env.AWS_CONTAINER_CREDENTIALS_FULL_URI ||
169
- process.env.AWS_WEB_IDENTITY_TOKEN_FILE ||
170
- getProcEnv("AWS_PROFILE") ||
171
- (getProcEnv("AWS_ACCESS_KEY_ID") && getProcEnv("AWS_SECRET_ACCESS_KEY")) ||
172
- getProcEnv("AWS_BEARER_TOKEN_BEDROCK") ||
173
- getProcEnv("AWS_CONTAINER_CREDENTIALS_RELATIVE_URI") ||
174
- getProcEnv("AWS_CONTAINER_CREDENTIALS_FULL_URI") ||
175
- getProcEnv("AWS_WEB_IDENTITY_TOKEN_FILE")) {
134
+ if (getProviderEnvValue("AWS_PROFILE", env) ||
135
+ (getProviderEnvValue("AWS_ACCESS_KEY_ID", env) && getProviderEnvValue("AWS_SECRET_ACCESS_KEY", env)) ||
136
+ getProviderEnvValue("AWS_BEARER_TOKEN_BEDROCK", env) ||
137
+ getProviderEnvValue("AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", env) ||
138
+ getProviderEnvValue("AWS_CONTAINER_CREDENTIALS_FULL_URI", env) ||
139
+ getProviderEnvValue("AWS_WEB_IDENTITY_TOKEN_FILE", env)) {
176
140
  return "<authenticated>";
177
141
  }
178
142
  }
@@ -92,6 +92,21 @@ export const IMAGE_MODELS = {
92
92
  "cacheWrite": 0.08333333333333334
93
93
  }
94
94
  },
95
+ "google/gemini-3-pro-image": {
96
+ id: "google/gemini-3-pro-image",
97
+ name: "Google: Nano Banana Pro (Gemini 3 Pro Image)",
98
+ api: "openrouter-images",
99
+ provider: "openrouter",
100
+ baseUrl: "https://openrouter.ai/api/v1",
101
+ input: ["image", "text"],
102
+ output: ["image", "text"],
103
+ cost: {
104
+ "input": 2,
105
+ "output": 12,
106
+ "cacheRead": 0.19999999999999998,
107
+ "cacheWrite": 0.375
108
+ }
109
+ },
95
110
  "google/gemini-3-pro-image-preview": {
96
111
  id: "google/gemini-3-pro-image-preview",
97
112
  name: "Google: Nano Banana Pro (Gemini 3 Pro Image Preview)",
@@ -107,6 +122,21 @@ export const IMAGE_MODELS = {
107
122
  "cacheWrite": 0.375
108
123
  }
109
124
  },
125
+ "google/gemini-3.1-flash-image": {
126
+ id: "google/gemini-3.1-flash-image",
127
+ name: "Google: Nano Banana 2 (Gemini 3.1 Flash Image)",
128
+ api: "openrouter-images",
129
+ provider: "openrouter",
130
+ baseUrl: "https://openrouter.ai/api/v1",
131
+ input: ["image", "text"],
132
+ output: ["image", "text"],
133
+ cost: {
134
+ "input": 0.5,
135
+ "output": 3,
136
+ "cacheRead": 0,
137
+ "cacheWrite": 0
138
+ }
139
+ },
110
140
  "google/gemini-3.1-flash-image-preview": {
111
141
  id: "google/gemini-3.1-flash-image-preview",
112
142
  name: "Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)",