@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.
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +276 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +276 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +276 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +21 -57
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +30 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +252 -261
- package/node_modules/@earendil-works/pi-ai/dist/models.js +4 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +52 -34
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +11 -9
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +7 -4
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js +15 -5
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +18 -17
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +21 -8
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +8 -7
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/stream.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +17 -22
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +3 -2
- package/node_modules/@earendil-works/pi-ai/dist/utils/provider-env.js +44 -0
- package/node_modules/@earendil-works/pi-ai/package.json +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bun/restore-sandbox-env.js +4 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +10 -7
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +8 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/compaction.js +10 -10
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +75 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/http-dispatcher.js +17 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-registry.js +8 -4
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/project-trust.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-attribution.js +10 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resolve-config-value.js +19 -19
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +2 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +6 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +4 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +17 -5
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +4 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +0 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/session-selector.js +0 -5
- package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +6 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/child-process.js +23 -5
- package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +17 -17
- package/node_modules/@earendil-works/pi-coding-agent/package.json +4 -4
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +5 -1
- package/node_modules/@earendil-works/pi-tui/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +10 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +10 -1
- package/node_modules/@types/node/assert.d.ts +144 -17
- package/node_modules/@types/node/async_hooks.d.ts +9 -9
- package/node_modules/@types/node/buffer.d.ts +0 -5
- package/node_modules/@types/node/child_process.d.ts +17 -21
- package/node_modules/@types/node/cluster.d.ts +13 -13
- package/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +454 -571
- package/node_modules/@types/node/diagnostics_channel.d.ts +20 -9
- package/node_modules/@types/node/dns.d.ts +14 -14
- package/node_modules/@types/node/events.d.ts +3 -3
- package/node_modules/@types/node/fs/promises.d.ts +4 -4
- package/node_modules/@types/node/fs.d.ts +3 -12
- package/node_modules/@types/node/globals.d.ts +4 -4
- package/node_modules/@types/node/http.d.ts +5 -5
- package/node_modules/@types/node/http2.d.ts +1 -1
- package/node_modules/@types/node/index.d.ts +0 -3
- package/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/node/module.d.ts +16 -45
- package/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/node/os.d.ts +2 -2
- package/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/node/perf_hooks.d.ts +1 -9
- package/node_modules/@types/node/process.d.ts +11 -11
- package/node_modules/@types/node/readline.d.ts +12 -11
- package/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/node/sqlite.d.ts +1 -1
- package/node_modules/@types/node/stream/promises.d.ts +2 -2
- package/node_modules/@types/node/stream/web.d.ts +1 -1
- package/node_modules/@types/node/stream.d.ts +5 -5
- package/node_modules/@types/node/test/reporters.d.ts +1 -1
- package/node_modules/@types/node/test.d.ts +8 -8
- package/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/node/ts5.6/index.d.ts +1 -4
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -3
- package/node_modules/@types/node/url.d.ts +3 -3
- package/node_modules/@types/node/util/types.d.ts +1 -1
- package/node_modules/@types/node/util.d.ts +3 -20
- package/node_modules/@types/node/v8.d.ts +1 -1
- package/node_modules/@types/node/vm.d.ts +9 -9
- package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/anynum/package.json +2 -2
- package/node_modules/marked/README.md +13 -4
- package/node_modules/marked/bin/main.js +16 -14
- package/node_modules/marked/bin/marked.js +2 -1
- package/node_modules/marked/lib/marked.d.ts +157 -125
- package/node_modules/marked/lib/marked.esm.js +67 -2179
- package/node_modules/marked/lib/marked.esm.js.map +3 -3
- package/node_modules/marked/lib/marked.umd.js +67 -2201
- package/node_modules/marked/lib/marked.umd.js.map +3 -3
- package/node_modules/marked/man/marked.1 +4 -2
- package/node_modules/marked/man/marked.1.md +2 -1
- package/node_modules/marked/package.json +27 -35
- package/node_modules/path-expression-matcher/README.md +82 -7
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +83 -2
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +3 -2
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +18 -2
- package/node_modules/path-expression-matcher/src/Matcher.js +93 -3
- package/node_modules/path-expression-matcher/src/index.d.ts +67 -1
- package/node_modules/semver/classes/range.js +6 -2
- package/node_modules/semver/package.json +1 -1
- package/node_modules/strnum/package.json +5 -4
- package/node_modules/undici-types/agent.d.ts +0 -2
- package/node_modules/undici-types/client.d.ts +25 -19
- package/node_modules/undici-types/dispatcher.d.ts +7 -33
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici-types/fetch.d.ts +24 -4
- package/node_modules/undici-types/h2c-client.d.ts +6 -6
- package/node_modules/undici-types/handlers.d.ts +1 -2
- package/node_modules/undici-types/header.d.ts +5 -0
- package/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/pool.d.ts +0 -2
- package/node_modules/undici-types/proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
- package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/webidl.d.ts +0 -1
- package/package.json +6 -6
- package/slingshot/index.js +253 -253
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/marked/lib/marked.cjs +0 -2211
- package/node_modules/marked/lib/marked.cjs.map +0 -7
- package/node_modules/marked/lib/marked.d.cts +0 -728
- package/node_modules/marked/marked.min.js +0 -69
- /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.
|
|
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.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
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.
|
|
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.
|
|
32
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
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.
|
|
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.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
33
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
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.
|
|
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.
|
|
32
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
33
|
-
"@aws-sdk/token-providers": "3.
|
|
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.
|
|
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.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
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.
|
|
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.
|
|
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",
|
package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.8.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
+
"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.
|
|
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
|
-
|
|
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 =
|
|
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) => !!
|
|
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
|
|
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 = !!(
|
|
148
|
-
|
|
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 (
|
|
165
|
-
(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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)",
|