@psnext/slingcli 2.5.20260602-3 → 2.5.20260607-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/bin/sling.js +59 -17
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-websocket/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@earendil-works/pi-agent-core/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +45 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +827 -140
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +32 -12
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js +13 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +4 -2
- package/node_modules/@earendil-works/pi-ai/package.json +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/cli/args.js +15 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/agent-session.js +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/auth-storage.js +4 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/compaction/branch-summarization.js +9 -3
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/export-html/template.js +19 -6
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/model-resolver.js +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/package-manager.js +47 -13
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-attribution.js +72 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/provider-display-names.js +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/resource-loader.js +28 -20
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/sdk.js +2 -30
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/settings-manager.js +71 -30
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/slash-commands.js +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/bash.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/find.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/grep.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/ls.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/read.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/tools/write.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/core/trust-manager.js +130 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/index.js +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/main.js +54 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/config-selector.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/footer.js +7 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/index.js +1 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +3 -12
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +22 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/trust-selector.js +86 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/interactive-mode.js +40 -0
- package/node_modules/@earendil-works/pi-coding-agent/dist/package-manager-cli.js +55 -8
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/git.js +54 -22
- package/node_modules/@earendil-works/pi-coding-agent/dist/utils/open-browser.js +22 -0
- package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +12 -12
- package/node_modules/@earendil-works/pi-coding-agent/package.json +5 -4
- package/node_modules/@earendil-works/pi-tui/dist/utils.js +3 -0
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/http2.d.ts +3 -0
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +7 -9
- package/node_modules/google-auth-library/build/src/auth/gdchclient.d.ts +47 -0
- package/node_modules/google-auth-library/build/src/auth/gdchclient.js +307 -0
- package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +5 -4
- package/node_modules/google-auth-library/build/src/auth/googleauth.js +18 -1
- package/node_modules/google-auth-library/build/src/index.d.ts +1 -0
- package/node_modules/google-auth-library/build/src/index.js +4 -1
- package/node_modules/google-auth-library/package.json +2 -4
- package/node_modules/semver/classes/semver.js +19 -2
- package/node_modules/semver/package.json +1 -1
- package/node_modules/undici/lib/global.js +1 -1
- package/node_modules/undici/lib/handler/unwrap-handler.js +6 -0
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/dispatcher.d.ts +2 -0
- package/package.json +6 -6
- package/slingshot/index.js +275 -273
|
@@ -64,129 +64,112 @@ const _s_registry = TypeRegistry.for(_s);
|
|
|
64
64
|
export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
65
65
|
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
66
66
|
const n0_registry = TypeRegistry.for(n0);
|
|
67
|
-
export var ExpiredTokenException$ = [
|
|
68
|
-
-3,
|
|
69
|
-
n0,
|
|
70
|
-
_ETE,
|
|
67
|
+
export var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
71
68
|
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
72
69
|
[_m],
|
|
73
|
-
[0]
|
|
70
|
+
[0]
|
|
74
71
|
];
|
|
75
72
|
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
76
|
-
export var IDPCommunicationErrorException$ = [
|
|
77
|
-
-3,
|
|
78
|
-
n0,
|
|
79
|
-
_IDPCEE,
|
|
73
|
+
export var IDPCommunicationErrorException$ = [-3, n0, _IDPCEE,
|
|
80
74
|
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
81
75
|
[_m],
|
|
82
|
-
[0]
|
|
76
|
+
[0]
|
|
83
77
|
];
|
|
84
78
|
n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
85
|
-
export var IDPRejectedClaimException$ = [
|
|
86
|
-
-3,
|
|
87
|
-
n0,
|
|
88
|
-
_IDPRCE,
|
|
79
|
+
export var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,
|
|
89
80
|
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
90
81
|
[_m],
|
|
91
|
-
[0]
|
|
82
|
+
[0]
|
|
92
83
|
];
|
|
93
84
|
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
94
|
-
export var InvalidIdentityTokenException$ = [
|
|
95
|
-
-3,
|
|
96
|
-
n0,
|
|
97
|
-
_IITE,
|
|
85
|
+
export var InvalidIdentityTokenException$ = [-3, n0, _IITE,
|
|
98
86
|
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
99
87
|
[_m],
|
|
100
|
-
[0]
|
|
88
|
+
[0]
|
|
101
89
|
];
|
|
102
90
|
n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
103
|
-
export var MalformedPolicyDocumentException$ = [
|
|
104
|
-
-3,
|
|
105
|
-
n0,
|
|
106
|
-
_MPDE,
|
|
91
|
+
export var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
|
|
107
92
|
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
108
93
|
[_m],
|
|
109
|
-
[0]
|
|
94
|
+
[0]
|
|
110
95
|
];
|
|
111
96
|
n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
112
|
-
export var PackedPolicyTooLargeException$ = [
|
|
113
|
-
-3,
|
|
114
|
-
n0,
|
|
115
|
-
_PPTLE,
|
|
97
|
+
export var PackedPolicyTooLargeException$ = [-3, n0, _PPTLE,
|
|
116
98
|
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
117
99
|
[_m],
|
|
118
|
-
[0]
|
|
100
|
+
[0]
|
|
119
101
|
];
|
|
120
102
|
n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
121
|
-
export var RegionDisabledException$ = [
|
|
122
|
-
-3,
|
|
123
|
-
n0,
|
|
124
|
-
_RDE,
|
|
103
|
+
export var RegionDisabledException$ = [-3, n0, _RDE,
|
|
125
104
|
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
126
105
|
[_m],
|
|
127
|
-
[0]
|
|
106
|
+
[0]
|
|
128
107
|
];
|
|
129
108
|
n0_registry.registerError(RegionDisabledException$, RegionDisabledException);
|
|
130
|
-
export const errorTypeRegistries = [
|
|
109
|
+
export const errorTypeRegistries = [
|
|
110
|
+
_s_registry,
|
|
111
|
+
n0_registry,
|
|
112
|
+
];
|
|
131
113
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
132
114
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
133
|
-
export var AssumedRoleUser$ = [3, n0, _ARU,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
115
|
+
export var AssumedRoleUser$ = [3, n0, _ARU,
|
|
116
|
+
0,
|
|
117
|
+
[_ARI, _A],
|
|
118
|
+
[0, 0], 2
|
|
119
|
+
];
|
|
120
|
+
export var AssumeRoleRequest$ = [3, n0, _ARR,
|
|
138
121
|
0,
|
|
139
122
|
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
140
|
-
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
141
|
-
2,
|
|
123
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], 2
|
|
142
124
|
];
|
|
143
|
-
export var AssumeRoleResponse$ = [
|
|
144
|
-
3,
|
|
145
|
-
n0,
|
|
146
|
-
_ARRs,
|
|
125
|
+
export var AssumeRoleResponse$ = [3, n0, _ARRs,
|
|
147
126
|
0,
|
|
148
127
|
[_C, _ARU, _PPS, _SI],
|
|
149
|
-
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
128
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
150
129
|
];
|
|
151
|
-
export var AssumeRoleWithWebIdentityRequest$ = [
|
|
152
|
-
3,
|
|
153
|
-
n0,
|
|
154
|
-
_ARWWIR,
|
|
130
|
+
export var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,
|
|
155
131
|
0,
|
|
156
132
|
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
157
|
-
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
158
|
-
3,
|
|
133
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], 3
|
|
159
134
|
];
|
|
160
|
-
export var AssumeRoleWithWebIdentityResponse$ = [
|
|
161
|
-
3,
|
|
162
|
-
n0,
|
|
163
|
-
_ARWWIRs,
|
|
135
|
+
export var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,
|
|
164
136
|
0,
|
|
165
137
|
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
166
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
138
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
167
139
|
];
|
|
168
|
-
export var Credentials$ = [
|
|
169
|
-
3,
|
|
170
|
-
n0,
|
|
171
|
-
_C,
|
|
140
|
+
export var Credentials$ = [3, n0, _C,
|
|
172
141
|
0,
|
|
173
142
|
[_AKI, _SAK, _ST, _E],
|
|
174
|
-
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
var
|
|
182
|
-
var tagKeyListType = 64 | 0;
|
|
183
|
-
var tagListType = [1, n0, _tLT, 0, () => Tag$];
|
|
184
|
-
export var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$];
|
|
185
|
-
export var AssumeRoleWithWebIdentity$ = [
|
|
186
|
-
9,
|
|
187
|
-
n0,
|
|
188
|
-
_ARWWI,
|
|
143
|
+
[0, [() => accessKeySecretType, 0], 0, 4], 4
|
|
144
|
+
];
|
|
145
|
+
export var PolicyDescriptorType$ = [3, n0, _PDT,
|
|
146
|
+
0,
|
|
147
|
+
[_a],
|
|
148
|
+
[0]
|
|
149
|
+
];
|
|
150
|
+
export var ProvidedContext$ = [3, n0, _PCr,
|
|
189
151
|
0,
|
|
190
|
-
|
|
191
|
-
|
|
152
|
+
[_PAr, _CA],
|
|
153
|
+
[0, 0]
|
|
154
|
+
];
|
|
155
|
+
export var Tag$ = [3, n0, _Ta,
|
|
156
|
+
0,
|
|
157
|
+
[_K, _V],
|
|
158
|
+
[0, 0], 2
|
|
159
|
+
];
|
|
160
|
+
var policyDescriptorListType = [1, n0, _pDLT,
|
|
161
|
+
0, () => PolicyDescriptorType$
|
|
162
|
+
];
|
|
163
|
+
var ProvidedContextsListType = [1, n0, _PCLT,
|
|
164
|
+
0, () => ProvidedContext$
|
|
165
|
+
];
|
|
166
|
+
var tagKeyListType = 64 | 0;
|
|
167
|
+
var tagListType = [1, n0, _tLT,
|
|
168
|
+
0, () => Tag$
|
|
169
|
+
];
|
|
170
|
+
export var AssumeRole$ = [9, n0, _AR,
|
|
171
|
+
0, () => AssumeRoleRequest$, () => AssumeRoleResponse$
|
|
172
|
+
];
|
|
173
|
+
export var AssumeRoleWithWebIdentity$ = [9, n0, _ARWWI,
|
|
174
|
+
0, () => AssumeRoleWithWebIdentityRequest$, () => AssumeRoleWithWebIdentityResponse$
|
|
192
175
|
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var node_https = require('node:https');
|
|
4
3
|
var protocols = require('@smithy/core/protocols');
|
|
4
|
+
var node_https = require('node:https');
|
|
5
5
|
var node_stream = require('node:stream');
|
|
6
6
|
var http2 = require('node:http2');
|
|
7
7
|
|
|
@@ -414,7 +414,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
414
414
|
socketAcquisitionWarningTimeout,
|
|
415
415
|
throwOnRequestTimeout,
|
|
416
416
|
httpAgentProvider: async () => {
|
|
417
|
-
const
|
|
417
|
+
const node_http = await import('node:http');
|
|
418
|
+
const { Agent, request } = node_http.default ?? node_http;
|
|
418
419
|
hRequest = request;
|
|
419
420
|
hAgent = Agent;
|
|
420
421
|
if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
|
|
@@ -666,6 +667,7 @@ class NodeHttp2ConnectionManager {
|
|
|
666
667
|
}
|
|
667
668
|
}
|
|
668
669
|
|
|
670
|
+
const { constants } = http2;
|
|
669
671
|
class NodeHttp2Handler {
|
|
670
672
|
config;
|
|
671
673
|
configProvider;
|
|
@@ -760,8 +762,8 @@ class NodeHttp2Handler {
|
|
|
760
762
|
}
|
|
761
763
|
const clientHttp2Stream = session.request({
|
|
762
764
|
...request.headers,
|
|
763
|
-
[
|
|
764
|
-
[
|
|
765
|
+
[constants.HTTP2_HEADER_PATH]: path,
|
|
766
|
+
[constants.HTTP2_HEADER_METHOD]: method,
|
|
765
767
|
});
|
|
766
768
|
if (effectiveRequestTimeout) {
|
|
767
769
|
clientHttp2Stream.setTimeout(effectiveRequestTimeout, () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Agent as hsAgent, request as hsRequest } from "node:https";
|
|
2
1
|
import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
|
|
3
2
|
import { buildAbortError } from "./build-abort-error";
|
|
4
3
|
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
|
|
5
4
|
import { getTransformedHeaders } from "./get-transformed-headers";
|
|
5
|
+
import { node_https } from "./node-https";
|
|
6
6
|
import { setConnectionTimeout } from "./set-connection-timeout";
|
|
7
7
|
import { setRequestTimeout } from "./set-request-timeout";
|
|
8
8
|
import { setSocketKeepAlive } from "./set-socket-keep-alive";
|
|
@@ -107,7 +107,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
107
107
|
const expectContinue = headers ? (headers.Expect ?? headers.expect) === "100-continue" : false;
|
|
108
108
|
let agent = isSSL ? config.httpsAgent : config.httpAgent;
|
|
109
109
|
if (expectContinue && !this.externalAgent) {
|
|
110
|
-
agent = new (isSSL ?
|
|
110
|
+
agent = new (isSSL ? node_https.Agent : hAgent)({
|
|
111
111
|
keepAlive: false,
|
|
112
112
|
maxSockets: Infinity,
|
|
113
113
|
});
|
|
@@ -145,7 +145,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
145
145
|
agent,
|
|
146
146
|
auth,
|
|
147
147
|
};
|
|
148
|
-
const requestFunc = isSSL ?
|
|
148
|
+
const requestFunc = isSSL ? node_https.request : hRequest;
|
|
149
149
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
150
150
|
const httpResponse = new HttpResponse({
|
|
151
151
|
statusCode: res.statusCode || -1,
|
|
@@ -218,7 +218,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
218
218
|
socketAcquisitionWarningTimeout,
|
|
219
219
|
throwOnRequestTimeout,
|
|
220
220
|
httpAgentProvider: async () => {
|
|
221
|
-
const
|
|
221
|
+
const node_http = await import("node:http");
|
|
222
|
+
const { Agent, request } = node_http.default ?? node_http;
|
|
222
223
|
hRequest = request;
|
|
223
224
|
hAgent = Agent;
|
|
224
225
|
if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
|
|
@@ -228,11 +229,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
228
229
|
return new hAgent({ keepAlive, maxSockets, ...httpAgent });
|
|
229
230
|
},
|
|
230
231
|
httpsAgent: (() => {
|
|
231
|
-
if (httpsAgent instanceof
|
|
232
|
+
if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
|
|
232
233
|
this.externalAgent = true;
|
|
233
234
|
return httpsAgent;
|
|
234
235
|
}
|
|
235
|
-
return new
|
|
236
|
+
return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
|
|
236
237
|
})(),
|
|
237
238
|
logger,
|
|
238
239
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { constants } from "node:http2";
|
|
2
1
|
import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
|
|
3
2
|
import { buildAbortError } from "./build-abort-error";
|
|
4
3
|
import { getTransformedHeaders } from "./get-transformed-headers";
|
|
4
|
+
import { node_http2 } from "./node-http2";
|
|
5
5
|
import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
|
|
6
6
|
import { writeRequestBody } from "./write-request-body";
|
|
7
|
+
const { constants } = node_http2;
|
|
7
8
|
export class NodeHttp2Handler {
|
|
8
9
|
config;
|
|
9
10
|
configProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Agent as hAgentType } from "node:http";
|
|
2
|
-
import { Agent as
|
|
2
|
+
import type { Agent as hsAgentType } from "node:https";
|
|
3
3
|
import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
|
|
4
4
|
import type { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types";
|
|
5
5
|
export { NodeHttpHandlerOptions };
|
|
@@ -35,7 +35,7 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
|
|
|
35
35
|
* @param logger - channel for the warning.
|
|
36
36
|
* @returns timestamp of last emitted warning.
|
|
37
37
|
*/
|
|
38
|
-
static checkSocketUsage(agent: hAgentType |
|
|
38
|
+
static checkSocketUsage(agent: hAgentType | hsAgentType, socketWarningTimestamp: number, logger?: Logger): number;
|
|
39
39
|
constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
|
|
40
40
|
destroy(): void;
|
|
41
41
|
handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ClientSessionOptions, SecureClientSessionOptions } from "node:http2";
|
|
2
2
|
import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
|
|
3
3
|
import type { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.17",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"author": {
|
|
25
25
|
"name": "AWS SDK for JavaScript Team",
|
|
26
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
26
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
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.
|
|
33
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
35
|
-
"@smithy/core": "^3.24.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.4.
|
|
37
|
-
"@smithy/node-http-handler": "^4.7.
|
|
38
|
-
"@smithy/types": "^4.14.
|
|
32
|
+
"@aws-sdk/core": "^3.974.18",
|
|
33
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.32",
|
|
34
|
+
"@aws-sdk/types": "^3.973.11",
|
|
35
|
+
"@smithy/core": "^3.24.6",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.4.6",
|
|
37
|
+
"@smithy/node-http-handler": "^4.7.6",
|
|
38
|
+
"@smithy/types": "^4.14.3",
|
|
39
39
|
"tslib": "^2.6.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.32",
|
|
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",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "AWS SDK for JavaScript Team",
|
|
24
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
24
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/signature-v4": "^5.4.
|
|
30
|
-
"@smithy/types": "^4.14.
|
|
28
|
+
"@aws-sdk/types": "^3.973.11",
|
|
29
|
+
"@smithy/signature-v4": "^5.4.6",
|
|
30
|
+
"@smithy/types": "^4.14.3",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.11",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"author": {
|
|
21
21
|
"name": "AWS SDK for JavaScript Team",
|
|
22
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
22
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"engines": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages-internal/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.14.
|
|
45
|
+
"@smithy/types": "^4.14.3",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-locate-window",
|
|
3
|
-
"version": "3.965.
|
|
3
|
+
"version": "3.965.6",
|
|
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-locate-window",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"sideEffects": false,
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "AWS SDK for JavaScript Team",
|
|
18
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
18
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.28",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/types": "^4.14.
|
|
6
|
+
"@smithy/types": "^4.14.3",
|
|
7
7
|
"fast-xml-parser": "5.7.3",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "AWS SDK for JavaScript Team",
|
|
24
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
24
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"main": "./dist-cjs/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-agent-core",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.1",
|
|
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.78.
|
|
32
|
+
"@earendil-works/pi-ai": "^0.78.1",
|
|
33
33
|
"ignore": "7.0.5",
|
|
34
34
|
"typebox": "1.1.38",
|
|
35
35
|
"yaml": "2.9.0"
|
|
@@ -93,8 +93,10 @@ function getApiKeyEnvVars(provider) {
|
|
|
93
93
|
return ["ANTHROPIC_OAUTH_TOKEN", "ANTHROPIC_API_KEY"];
|
|
94
94
|
}
|
|
95
95
|
const envMap = {
|
|
96
|
+
"ant-ling": "ANT_LING_API_KEY",
|
|
96
97
|
openai: "OPENAI_API_KEY",
|
|
97
98
|
"azure-openai-responses": "AZURE_OPENAI_API_KEY",
|
|
99
|
+
nvidia: "NVIDIA_API_KEY",
|
|
98
100
|
deepseek: "DEEPSEEK_API_KEY",
|
|
99
101
|
google: "GEMINI_API_KEY",
|
|
100
102
|
"google-vertex": "GOOGLE_CLOUD_API_KEY",
|
|
@@ -104,6 +106,7 @@ function getApiKeyEnvVars(provider) {
|
|
|
104
106
|
openrouter: "OPENROUTER_API_KEY",
|
|
105
107
|
"vercel-ai-gateway": "AI_GATEWAY_API_KEY",
|
|
106
108
|
zai: "ZAI_API_KEY",
|
|
109
|
+
"zai-coding-cn": "ZAI_CODING_CN_API_KEY",
|
|
107
110
|
mistral: "MISTRAL_API_KEY",
|
|
108
111
|
minimax: "MINIMAX_API_KEY",
|
|
109
112
|
"minimax-cn": "MINIMAX_CN_API_KEY",
|
|
@@ -122,6 +122,21 @@ export const IMAGE_MODELS = {
|
|
|
122
122
|
"cacheWrite": 0
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
|
+
"microsoft/mai-image-2.5": {
|
|
126
|
+
id: "microsoft/mai-image-2.5",
|
|
127
|
+
name: "Microsoft: MAI-Image-2.5",
|
|
128
|
+
api: "openrouter-images",
|
|
129
|
+
provider: "openrouter",
|
|
130
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
131
|
+
input: ["text", "image"],
|
|
132
|
+
output: ["image"],
|
|
133
|
+
cost: {
|
|
134
|
+
"input": 5,
|
|
135
|
+
"output": 0,
|
|
136
|
+
"cacheRead": 0,
|
|
137
|
+
"cacheWrite": 0
|
|
138
|
+
}
|
|
139
|
+
},
|
|
125
140
|
"openai/gpt-5-image": {
|
|
126
141
|
id: "openai/gpt-5-image",
|
|
127
142
|
name: "OpenAI: GPT-5 Image",
|
|
@@ -422,6 +437,36 @@ export const IMAGE_MODELS = {
|
|
|
422
437
|
"cacheWrite": 0
|
|
423
438
|
}
|
|
424
439
|
},
|
|
440
|
+
"sourceful/riverflow-v2.5-fast:free": {
|
|
441
|
+
id: "sourceful/riverflow-v2.5-fast:free",
|
|
442
|
+
name: "Sourceful: Riverflow V2.5 Fast (free)",
|
|
443
|
+
api: "openrouter-images",
|
|
444
|
+
provider: "openrouter",
|
|
445
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
446
|
+
input: ["text", "image"],
|
|
447
|
+
output: ["image"],
|
|
448
|
+
cost: {
|
|
449
|
+
"input": 0,
|
|
450
|
+
"output": 0,
|
|
451
|
+
"cacheRead": 0,
|
|
452
|
+
"cacheWrite": 0
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"sourceful/riverflow-v2.5-pro:free": {
|
|
456
|
+
id: "sourceful/riverflow-v2.5-pro:free",
|
|
457
|
+
name: "Sourceful: Riverflow V2.5 Pro (free)",
|
|
458
|
+
api: "openrouter-images",
|
|
459
|
+
provider: "openrouter",
|
|
460
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
461
|
+
input: ["text", "image"],
|
|
462
|
+
output: ["image"],
|
|
463
|
+
cost: {
|
|
464
|
+
"input": 0,
|
|
465
|
+
"output": 0,
|
|
466
|
+
"cacheRead": 0,
|
|
467
|
+
"cacheWrite": 0
|
|
468
|
+
}
|
|
469
|
+
},
|
|
425
470
|
"x-ai/grok-imagine-image-quality": {
|
|
426
471
|
id: "x-ai/grok-imagine-image-quality",
|
|
427
472
|
name: "xAI: Grok Imagine Image Quality",
|