@qqbrowser/openclaw-qbot 0.10.18 → 0.10.20
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/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +11 -17
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +147 -99
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +4 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/errors.js +25 -40
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +27 -31
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +40 -44
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +6 -9
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +22 -26
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +688 -315
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +2 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeGuardrailChecksCommand.js +16 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +50 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +204 -16
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +18 -18
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +21 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -51
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +21 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
- package/node_modules/@aws-sdk/core/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +16 -18
- package/node_modules/@aws-sdk/middleware-websocket/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@line/bot-sdk/node_modules/@types/node/package.json +2 -2
- package/node_modules/@nodable/entities/package.json +4 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
- package/node_modules/@nodable/entities/src/index.js +1 -1
- package/node_modules/@slack/oauth/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
- package/node_modules/@slack/oauth/node_modules/@slack/web-api/package.json +1 -1
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
- package/node_modules/@slack/socket-mode/node_modules/@slack/web-api/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
- package/node_modules/@smithy/core/package.json +18 -17
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
- package/node_modules/@smithy/node-http-handler/package.json +8 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
- package/node_modules/@smithy/types/package.json +10 -10
- package/node_modules/axios/dist/axios.js +350 -134
- package/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/axios/dist/browser/axios.cjs +355 -90
- package/node_modules/axios/dist/esm/axios.js +355 -90
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/node/axios.cjs +399 -104
- package/node_modules/axios/index.d.cts +2 -0
- package/node_modules/axios/lib/adapters/fetch.js +113 -37
- package/node_modules/axios/lib/adapters/http.js +132 -43
- package/node_modules/axios/lib/core/Axios.js +3 -2
- package/node_modules/axios/lib/core/AxiosHeaders.js +10 -7
- package/node_modules/axios/lib/core/buildFullPath.js +29 -1
- package/node_modules/axios/lib/core/mergeConfig.js +34 -0
- package/node_modules/axios/lib/defaults/transitional.js +1 -0
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +5 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +16 -11
- package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -3
- package/node_modules/axios/lib/helpers/resolveConfig.js +5 -3
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +33 -1
- package/node_modules/axios/lib/helpers/toFormData.js +40 -10
- package/node_modules/axios/lib/utils.js +75 -11
- package/node_modules/axios/package.json +1 -1
- package/node_modules/body-parser/index.js +4 -20
- package/node_modules/body-parser/lib/read.js +17 -17
- package/node_modules/body-parser/lib/types/json.js +60 -32
- package/node_modules/body-parser/lib/types/raw.js +3 -3
- package/node_modules/body-parser/lib/types/text.js +3 -3
- package/node_modules/body-parser/lib/types/urlencoded.js +16 -20
- package/node_modules/body-parser/lib/utils.js +18 -16
- package/node_modules/body-parser/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/body-parser/node_modules/content-type/package.json +52 -0
- package/node_modules/body-parser/package.json +23 -10
- package/node_modules/form-data/lib/form_data.js +14 -2
- package/node_modules/form-data/package.json +7 -7
- package/node_modules/protobufjs/dist/light/protobuf.js +145 -188
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.js +33 -76
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.js +165 -208
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/package.json +2 -3
- package/node_modules/protobufjs/src/util/minimal.js +0 -3
- package/package.json +1 -1
- package/skills/qqbrowser-skill/SKILL.md +90 -8
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
|
@@ -5,6 +5,7 @@ import { ConverseCommand } from "./commands/ConverseCommand";
|
|
|
5
5
|
import { ConverseStreamCommand, } from "./commands/ConverseStreamCommand";
|
|
6
6
|
import { CountTokensCommand, } from "./commands/CountTokensCommand";
|
|
7
7
|
import { GetAsyncInvokeCommand, } from "./commands/GetAsyncInvokeCommand";
|
|
8
|
+
import { InvokeGuardrailChecksCommand, } from "./commands/InvokeGuardrailChecksCommand";
|
|
8
9
|
import { InvokeModelCommand, } from "./commands/InvokeModelCommand";
|
|
9
10
|
import { InvokeModelWithBidirectionalStreamCommand, } from "./commands/InvokeModelWithBidirectionalStreamCommand";
|
|
10
11
|
import { InvokeModelWithResponseStreamCommand, } from "./commands/InvokeModelWithResponseStreamCommand";
|
|
@@ -17,6 +18,7 @@ const commands = {
|
|
|
17
18
|
ConverseStreamCommand,
|
|
18
19
|
CountTokensCommand,
|
|
19
20
|
GetAsyncInvokeCommand,
|
|
21
|
+
InvokeGuardrailChecksCommand,
|
|
20
22
|
InvokeModelCommand,
|
|
21
23
|
InvokeModelWithBidirectionalStreamCommand,
|
|
22
24
|
InvokeModelWithResponseStreamCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { InvokeGuardrailChecks$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class InvokeGuardrailChecksCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockFrontendService", "InvokeGuardrailChecks", {})
|
|
13
|
+
.n("BedrockRuntimeClient", "InvokeGuardrailChecksCommand")
|
|
14
|
+
.sc(InvokeGuardrailChecks$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./ConverseCommand";
|
|
|
3
3
|
export * from "./ConverseStreamCommand";
|
|
4
4
|
export * from "./CountTokensCommand";
|
|
5
5
|
export * from "./GetAsyncInvokeCommand";
|
|
6
|
+
export * from "./InvokeGuardrailChecksCommand";
|
|
6
7
|
export * from "./InvokeModelCommand";
|
|
7
8
|
export * from "./InvokeModelWithBidirectionalStreamCommand";
|
|
8
9
|
export * from "./InvokeModelWithResponseStreamCommand";
|
|
@@ -128,6 +128,56 @@ export const GuardrailWordPolicyAction = {
|
|
|
128
128
|
export const GuardrailManagedWordType = {
|
|
129
129
|
PROFANITY: "PROFANITY",
|
|
130
130
|
};
|
|
131
|
+
export const GuardrailChecksContentFilterCategory = {
|
|
132
|
+
HATE: "HATE",
|
|
133
|
+
INSULTS: "INSULTS",
|
|
134
|
+
MISCONDUCT: "MISCONDUCT",
|
|
135
|
+
SEXUAL: "SEXUAL",
|
|
136
|
+
VIOLENCE: "VIOLENCE",
|
|
137
|
+
};
|
|
138
|
+
export const GuardrailChecksPromptAttackCategory = {
|
|
139
|
+
JAILBREAK: "JAILBREAK",
|
|
140
|
+
PROMPT_INJECTION: "PROMPT_INJECTION",
|
|
141
|
+
PROMPT_LEAKAGE: "PROMPT_LEAKAGE",
|
|
142
|
+
};
|
|
143
|
+
export const GuardrailChecksSensitiveInformationEntityType = {
|
|
144
|
+
ADDRESS: "ADDRESS",
|
|
145
|
+
AGE: "AGE",
|
|
146
|
+
AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
|
|
147
|
+
AWS_SECRET_KEY: "AWS_SECRET_KEY",
|
|
148
|
+
CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
|
|
149
|
+
CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
|
|
150
|
+
CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
|
|
151
|
+
CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
|
|
152
|
+
CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
|
|
153
|
+
DRIVER_ID: "DRIVER_ID",
|
|
154
|
+
EMAIL: "EMAIL",
|
|
155
|
+
INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
156
|
+
IP_ADDRESS: "IP_ADDRESS",
|
|
157
|
+
LICENSE_PLATE: "LICENSE_PLATE",
|
|
158
|
+
MAC_ADDRESS: "MAC_ADDRESS",
|
|
159
|
+
NAME: "NAME",
|
|
160
|
+
PASSWORD: "PASSWORD",
|
|
161
|
+
PHONE: "PHONE",
|
|
162
|
+
PIN: "PIN",
|
|
163
|
+
SWIFT_CODE: "SWIFT_CODE",
|
|
164
|
+
UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
165
|
+
UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
|
|
166
|
+
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
167
|
+
URL: "URL",
|
|
168
|
+
USERNAME: "USERNAME",
|
|
169
|
+
US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
|
|
170
|
+
US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
|
|
171
|
+
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
172
|
+
US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
|
|
173
|
+
US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
|
|
174
|
+
VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",
|
|
175
|
+
};
|
|
176
|
+
export const GuardrailChecksRole = {
|
|
177
|
+
ASSISTANT: "assistant",
|
|
178
|
+
SYSTEM: "system",
|
|
179
|
+
USER: "user",
|
|
180
|
+
};
|
|
131
181
|
export const GuardrailTrace = {
|
|
132
182
|
DISABLED: "disabled",
|
|
133
183
|
ENABLED: "enabled",
|
|
@@ -101,7 +101,17 @@ const _GARVF = "GuardrailAutomatedReasoningValidFinding";
|
|
|
101
101
|
const _GC = "GuardrailConfiguration";
|
|
102
102
|
const _GCB = "GuardrailContentBlock";
|
|
103
103
|
const _GCBL = "GuardrailContentBlockList";
|
|
104
|
-
const
|
|
104
|
+
const _GCC = "GuardrailChecksConfig";
|
|
105
|
+
const _GCCB = "GuardrailChecksContentBlock";
|
|
106
|
+
const _GCCBL = "GuardrailChecksContentBlockList";
|
|
107
|
+
const _GCCBu = "GuardrailConverseContentBlock";
|
|
108
|
+
const _GCCFC = "GuardrailChecksContentFilterConfig";
|
|
109
|
+
const _GCCFCC = "GuardrailChecksContentFilterCategoryConfig";
|
|
110
|
+
const _GCCFCCL = "GuardrailChecksContentFilterCategoryConfigList";
|
|
111
|
+
const _GCCFR = "GuardrailChecksContentFilterResult";
|
|
112
|
+
const _GCCFRE = "GuardrailChecksContentFilterResultEntry";
|
|
113
|
+
const _GCCFRL = "GuardrailChecksContentFilterResultList";
|
|
114
|
+
const _GCCFU = "GuardrailChecksContentFilterUsage";
|
|
105
115
|
const _GCF = "GuardrailContentFilter";
|
|
106
116
|
const _GCFL = "GuardrailContentFilterList";
|
|
107
117
|
const _GCGF = "GuardrailContextualGroundingFilter";
|
|
@@ -109,8 +119,27 @@ const _GCGFu = "GuardrailContextualGroundingFilters";
|
|
|
109
119
|
const _GCGPA = "GuardrailContextualGroundingPolicyAssessment";
|
|
110
120
|
const _GCIB = "GuardrailConverseImageBlock";
|
|
111
121
|
const _GCIS = "GuardrailConverseImageSource";
|
|
122
|
+
const _GCM = "GuardrailChecksMessage";
|
|
123
|
+
const _GCML = "GuardrailChecksMessageList";
|
|
112
124
|
const _GCPA = "GuardrailContentPolicyAssessment";
|
|
125
|
+
const _GCPAC = "GuardrailChecksPromptAttackConfig";
|
|
126
|
+
const _GCPACC = "GuardrailChecksPromptAttackCategoryConfig";
|
|
127
|
+
const _GCPACCL = "GuardrailChecksPromptAttackCategoryConfigList";
|
|
128
|
+
const _GCPAR = "GuardrailChecksPromptAttackResult";
|
|
129
|
+
const _GCPARE = "GuardrailChecksPromptAttackResultEntry";
|
|
130
|
+
const _GCPARL = "GuardrailChecksPromptAttackResultList";
|
|
131
|
+
const _GCPAU = "GuardrailChecksPromptAttackUsage";
|
|
132
|
+
const _GCR = "GuardrailChecksResults";
|
|
133
|
+
const _GCSIC = "GuardrailChecksSensitiveInformationConfig";
|
|
134
|
+
const _GCSIEC = "GuardrailChecksSensitiveInformationEntityConfig";
|
|
135
|
+
const _GCSIECL = "GuardrailChecksSensitiveInformationEntityConfigList";
|
|
136
|
+
const _GCSIR = "GuardrailChecksSensitiveInformationResult";
|
|
137
|
+
const _GCSIRE = "GuardrailChecksSensitiveInformationResultEntry";
|
|
138
|
+
const _GCSIRL = "GuardrailChecksSensitiveInformationResultList";
|
|
139
|
+
const _GCSIU = "GuardrailChecksSensitiveInformationUsage";
|
|
113
140
|
const _GCTB = "GuardrailConverseTextBlock";
|
|
141
|
+
const _GCTC = "GuardrailChecksTextContent";
|
|
142
|
+
const _GCUR = "GuardrailChecksUsageResults";
|
|
114
143
|
const _GCW = "GuardrailCustomWord";
|
|
115
144
|
const _GCWL = "GuardrailCustomWordList";
|
|
116
145
|
const _GCu = "GuardrailCoverage";
|
|
@@ -140,6 +169,9 @@ const _IB = "ImageBlock";
|
|
|
140
169
|
const _IBD = "ImageBlockDelta";
|
|
141
170
|
const _IBS = "ImageBlockStart";
|
|
142
171
|
const _IC = "InferenceConfiguration";
|
|
172
|
+
const _IGC = "InvokeGuardrailChecks";
|
|
173
|
+
const _IGCR = "InvokeGuardrailChecksRequest";
|
|
174
|
+
const _IGCRn = "InvokeGuardrailChecksResponse";
|
|
143
175
|
const _IM = "InvokeModel";
|
|
144
176
|
const _IMR = "InvokeModelRequest";
|
|
145
177
|
const _IMRn = "InvokeModelResponse";
|
|
@@ -246,6 +278,7 @@ const _au = "audio";
|
|
|
246
278
|
const _aut = "auto";
|
|
247
279
|
const _b = "bytes";
|
|
248
280
|
const _bO = "bucketOwner";
|
|
281
|
+
const _bOe = "beginOffset";
|
|
249
282
|
const _bo = "body";
|
|
250
283
|
const _c = "client";
|
|
251
284
|
const _cBD = "contentBlockDelta";
|
|
@@ -254,9 +287,11 @@ const _cBS = "contentBlockStart";
|
|
|
254
287
|
const _cBSo = "contentBlockStop";
|
|
255
288
|
const _cC = "citationsContent";
|
|
256
289
|
const _cD = "cacheDetails";
|
|
290
|
+
const _cF = "contentFilter";
|
|
257
291
|
const _cFS = "claimsFalseScenario";
|
|
258
292
|
const _cGP = "contextualGroundingPolicy";
|
|
259
293
|
const _cGPU = "contextualGroundingPolicyUnits";
|
|
294
|
+
const _cI = "contentIndex";
|
|
260
295
|
const _cP = "contentPolicy";
|
|
261
296
|
const _cPIU = "contentPolicyImageUnits";
|
|
262
297
|
const _cPU = "contentPolicyUnits";
|
|
@@ -264,11 +299,15 @@ const _cPa = "cachePoint";
|
|
|
264
299
|
const _cR = "contradictingRules";
|
|
265
300
|
const _cRIT = "cacheReadInputTokens";
|
|
266
301
|
const _cRT = "clientRequestToken";
|
|
302
|
+
const _cS = "confidenceScore";
|
|
267
303
|
const _cT = "contentType";
|
|
268
304
|
const _cTS = "claimsTrueScenario";
|
|
269
305
|
const _cW = "customWords";
|
|
270
306
|
const _cWIT = "cacheWriteInputTokens";
|
|
271
|
-
const
|
|
307
|
+
const _ca = "category";
|
|
308
|
+
const _cat = "categories";
|
|
309
|
+
const _ch = "checks";
|
|
310
|
+
const _chu = "chunk";
|
|
272
311
|
const _ci = "citations";
|
|
273
312
|
const _cit = "citation";
|
|
274
313
|
const _cl = "claims";
|
|
@@ -287,9 +326,11 @@ const _des = "description";
|
|
|
287
326
|
const _do = "domain";
|
|
288
327
|
const _doc = "document";
|
|
289
328
|
const _e = "error";
|
|
329
|
+
const _eO = "endOffset";
|
|
290
330
|
const _eT = "endTime";
|
|
291
331
|
const _en = "enabled";
|
|
292
332
|
const _end = "end";
|
|
333
|
+
const _ent = "entities";
|
|
293
334
|
const _f = "format";
|
|
294
335
|
const _fM = "failureMessage";
|
|
295
336
|
const _fS = "filterStrength";
|
|
@@ -339,6 +380,7 @@ const _lo = "logic";
|
|
|
339
380
|
const _m = "message";
|
|
340
381
|
const _mA = "modelArn";
|
|
341
382
|
const _mI = "modelId";
|
|
383
|
+
const _mIe = "messageIndex";
|
|
342
384
|
const _mIo = "modelInput";
|
|
343
385
|
const _mO = "modelOutput";
|
|
344
386
|
const _mR = "maxResults";
|
|
@@ -367,6 +409,7 @@ const _oT = "outputTokens";
|
|
|
367
409
|
const _op = "options";
|
|
368
410
|
const _ou = "output";
|
|
369
411
|
const _p = "premises";
|
|
412
|
+
const _pA = "promptAttack";
|
|
370
413
|
const _pC = "performanceConfig";
|
|
371
414
|
const _pCL = "performanceConfigLatency";
|
|
372
415
|
const _pE = "piiEntities";
|
|
@@ -374,18 +417,20 @@ const _pR = "promptRouter";
|
|
|
374
417
|
const _pV = "promptVariables";
|
|
375
418
|
const _pVA = "policyVersionArn";
|
|
376
419
|
const _q = "qualifiers";
|
|
377
|
-
const _r = "
|
|
420
|
+
const _r = "results";
|
|
378
421
|
const _rC = "reasoningContent";
|
|
379
422
|
const _rCe = "redactedContent";
|
|
380
423
|
const _rM = "requestMetadata";
|
|
381
424
|
const _rN = "resourceName";
|
|
382
425
|
const _rT = "reasoningText";
|
|
383
|
-
const _re = "
|
|
426
|
+
const _re = "regex";
|
|
427
|
+
const _reg = "regexes";
|
|
384
428
|
const _ro = "role";
|
|
385
429
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime";
|
|
386
430
|
const _sB = "sortBy";
|
|
387
431
|
const _sC = "sourceContent";
|
|
388
432
|
const _sE = "statusEquals";
|
|
433
|
+
const _sI = "sensitiveInformation";
|
|
389
434
|
const _sIP = "sensitiveInformationPolicy";
|
|
390
435
|
const _sIPFU = "sensitiveInformationPolicyFreeUnits";
|
|
391
436
|
const _sIPU = "sensitiveInformationPolicyUnits";
|
|
@@ -398,7 +443,8 @@ const _sRI = "searchResultIndex";
|
|
|
398
443
|
const _sRL = "searchResultLocation";
|
|
399
444
|
const _sRe = "searchResult";
|
|
400
445
|
const _sRu = "supportingRules";
|
|
401
|
-
const _sS = "
|
|
446
|
+
const _sS = "severityScore";
|
|
447
|
+
const _sSt = "stopSequences";
|
|
402
448
|
const _sT = "submitTime";
|
|
403
449
|
const _sTA = "submitTimeAfter";
|
|
404
450
|
const _sTB = "submitTimeBefore";
|
|
@@ -434,8 +480,9 @@ const _tPo = "topP";
|
|
|
434
480
|
const _tR = "toolResult";
|
|
435
481
|
const _tS = "toolSpec";
|
|
436
482
|
const _tT = "totalTokens";
|
|
437
|
-
const _tU = "
|
|
483
|
+
const _tU = "textUnits";
|
|
438
484
|
const _tUI = "toolUseId";
|
|
485
|
+
const _tUo = "toolUse";
|
|
439
486
|
const _ta = "tags";
|
|
440
487
|
const _te = "text";
|
|
441
488
|
const _tem = "temperature";
|
|
@@ -448,6 +495,7 @@ const _top = "topics";
|
|
|
448
495
|
const _tr = "trace";
|
|
449
496
|
const _tra = "translation";
|
|
450
497
|
const _tran = "translations";
|
|
498
|
+
const _tru = "truncated";
|
|
451
499
|
const _ty = "type";
|
|
452
500
|
const _u = "usage";
|
|
453
501
|
const _uC = "untranslatedClaims";
|
|
@@ -549,6 +597,7 @@ var AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
|
|
|
549
597
|
var Body = [0, n0, _B, 8, 21];
|
|
550
598
|
var GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
|
|
551
599
|
var GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
|
|
600
|
+
var GuardrailChecksTextContent = [0, n0, _GCTC, 8, 0];
|
|
552
601
|
var ModelInputPayload = [0, n0, _MIP, 8, 15];
|
|
553
602
|
var PartBody = [0, n0, _PB, 8, 21];
|
|
554
603
|
var RequestMetadataJson = [0, n0, _RMJ, 8, 0];
|
|
@@ -827,6 +876,101 @@ export var GuardrailAutomatedReasoningValidFinding$ = [3, n0, _GARVF,
|
|
|
827
876
|
[_tra, _cTS, _sRu, _lW],
|
|
828
877
|
[[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
829
878
|
];
|
|
879
|
+
export var GuardrailChecksConfig$ = [3, n0, _GCC,
|
|
880
|
+
0,
|
|
881
|
+
[_cF, _pA, _sI],
|
|
882
|
+
[() => GuardrailChecksContentFilterConfig$, () => GuardrailChecksPromptAttackConfig$, () => GuardrailChecksSensitiveInformationConfig$]
|
|
883
|
+
];
|
|
884
|
+
export var GuardrailChecksContentFilterCategoryConfig$ = [3, n0, _GCCFCC,
|
|
885
|
+
0,
|
|
886
|
+
[_ca],
|
|
887
|
+
[0], 1
|
|
888
|
+
];
|
|
889
|
+
export var GuardrailChecksContentFilterConfig$ = [3, n0, _GCCFC,
|
|
890
|
+
0,
|
|
891
|
+
[_cat],
|
|
892
|
+
[() => GuardrailChecksContentFilterCategoryConfigList], 1
|
|
893
|
+
];
|
|
894
|
+
export var GuardrailChecksContentFilterResult$ = [3, n0, _GCCFR,
|
|
895
|
+
0,
|
|
896
|
+
[_r],
|
|
897
|
+
[() => GuardrailChecksContentFilterResultList], 1
|
|
898
|
+
];
|
|
899
|
+
export var GuardrailChecksContentFilterResultEntry$ = [3, n0, _GCCFRE,
|
|
900
|
+
0,
|
|
901
|
+
[_ca, _sS],
|
|
902
|
+
[0, 1], 2
|
|
903
|
+
];
|
|
904
|
+
export var GuardrailChecksContentFilterUsage$ = [3, n0, _GCCFU,
|
|
905
|
+
0,
|
|
906
|
+
[_tU],
|
|
907
|
+
[1], 1
|
|
908
|
+
];
|
|
909
|
+
export var GuardrailChecksMessage$ = [3, n0, _GCM,
|
|
910
|
+
0,
|
|
911
|
+
[_ro, _co],
|
|
912
|
+
[0, [() => GuardrailChecksContentBlockList, 0]], 2
|
|
913
|
+
];
|
|
914
|
+
export var GuardrailChecksPromptAttackCategoryConfig$ = [3, n0, _GCPACC,
|
|
915
|
+
0,
|
|
916
|
+
[_ca],
|
|
917
|
+
[0], 1
|
|
918
|
+
];
|
|
919
|
+
export var GuardrailChecksPromptAttackConfig$ = [3, n0, _GCPAC,
|
|
920
|
+
0,
|
|
921
|
+
[_cat],
|
|
922
|
+
[() => GuardrailChecksPromptAttackCategoryConfigList], 1
|
|
923
|
+
];
|
|
924
|
+
export var GuardrailChecksPromptAttackResult$ = [3, n0, _GCPAR,
|
|
925
|
+
0,
|
|
926
|
+
[_r],
|
|
927
|
+
[() => GuardrailChecksPromptAttackResultList], 1
|
|
928
|
+
];
|
|
929
|
+
export var GuardrailChecksPromptAttackResultEntry$ = [3, n0, _GCPARE,
|
|
930
|
+
0,
|
|
931
|
+
[_ca, _sS],
|
|
932
|
+
[0, 1], 2
|
|
933
|
+
];
|
|
934
|
+
export var GuardrailChecksPromptAttackUsage$ = [3, n0, _GCPAU,
|
|
935
|
+
0,
|
|
936
|
+
[_tU],
|
|
937
|
+
[1], 1
|
|
938
|
+
];
|
|
939
|
+
export var GuardrailChecksResults$ = [3, n0, _GCR,
|
|
940
|
+
0,
|
|
941
|
+
[_cF, _pA, _sI],
|
|
942
|
+
[() => GuardrailChecksContentFilterResult$, () => GuardrailChecksPromptAttackResult$, () => GuardrailChecksSensitiveInformationResult$]
|
|
943
|
+
];
|
|
944
|
+
export var GuardrailChecksSensitiveInformationConfig$ = [3, n0, _GCSIC,
|
|
945
|
+
0,
|
|
946
|
+
[_ent],
|
|
947
|
+
[() => GuardrailChecksSensitiveInformationEntityConfigList], 1
|
|
948
|
+
];
|
|
949
|
+
export var GuardrailChecksSensitiveInformationEntityConfig$ = [3, n0, _GCSIEC,
|
|
950
|
+
0,
|
|
951
|
+
[_ty],
|
|
952
|
+
[0], 1
|
|
953
|
+
];
|
|
954
|
+
export var GuardrailChecksSensitiveInformationResult$ = [3, n0, _GCSIR,
|
|
955
|
+
0,
|
|
956
|
+
[_r, _tru],
|
|
957
|
+
[() => GuardrailChecksSensitiveInformationResultList, 2], 1
|
|
958
|
+
];
|
|
959
|
+
export var GuardrailChecksSensitiveInformationResultEntry$ = [3, n0, _GCSIRE,
|
|
960
|
+
0,
|
|
961
|
+
[_ty, _cS, _bOe, _eO, _mIe, _cI],
|
|
962
|
+
[0, 1, 1, 1, 1, 1], 6
|
|
963
|
+
];
|
|
964
|
+
export var GuardrailChecksSensitiveInformationUsage$ = [3, n0, _GCSIU,
|
|
965
|
+
0,
|
|
966
|
+
[_tU],
|
|
967
|
+
[1], 1
|
|
968
|
+
];
|
|
969
|
+
export var GuardrailChecksUsageResults$ = [3, n0, _GCUR,
|
|
970
|
+
0,
|
|
971
|
+
[_cF, _pA, _sI],
|
|
972
|
+
[() => GuardrailChecksContentFilterUsage$, () => GuardrailChecksPromptAttackUsage$, () => GuardrailChecksSensitiveInformationUsage$]
|
|
973
|
+
];
|
|
830
974
|
export var GuardrailConfiguration$ = [3, n0, _GC,
|
|
831
975
|
0,
|
|
832
976
|
[_gIu, _gV, _tr],
|
|
@@ -904,12 +1048,12 @@ export var GuardrailPiiEntityFilter$ = [3, n0, _GPEF,
|
|
|
904
1048
|
];
|
|
905
1049
|
export var GuardrailRegexFilter$ = [3, n0, _GRF,
|
|
906
1050
|
0,
|
|
907
|
-
[_a, _n, _ma,
|
|
1051
|
+
[_a, _n, _ma, _re, _de],
|
|
908
1052
|
[0, 0, 0, 0, 2], 1
|
|
909
1053
|
];
|
|
910
1054
|
export var GuardrailSensitiveInformationPolicyAssessment$ = [3, n0, _GSIPA,
|
|
911
1055
|
0,
|
|
912
|
-
[_pE,
|
|
1056
|
+
[_pE, _reg],
|
|
913
1057
|
[() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList], 2
|
|
914
1058
|
];
|
|
915
1059
|
export var GuardrailStreamConfiguration$ = [3, n0, _GSC,
|
|
@@ -969,9 +1113,19 @@ export var ImageBlockStart$ = [3, n0, _IBS,
|
|
|
969
1113
|
];
|
|
970
1114
|
export var InferenceConfiguration$ = [3, n0, _IC,
|
|
971
1115
|
0,
|
|
972
|
-
[_mT, _tem, _tPo,
|
|
1116
|
+
[_mT, _tem, _tPo, _sSt],
|
|
973
1117
|
[1, 1, 1, 64 | 0]
|
|
974
1118
|
];
|
|
1119
|
+
export var InvokeGuardrailChecksRequest$ = [3, n0, _IGCR,
|
|
1120
|
+
0,
|
|
1121
|
+
[_me, _ch],
|
|
1122
|
+
[[() => GuardrailChecksMessageList, 0], () => GuardrailChecksConfig$], 2
|
|
1123
|
+
];
|
|
1124
|
+
export var InvokeGuardrailChecksResponse$ = [3, n0, _IGCRn,
|
|
1125
|
+
0,
|
|
1126
|
+
[_r, _u],
|
|
1127
|
+
[() => GuardrailChecksResults$, () => GuardrailChecksUsageResults$], 2
|
|
1128
|
+
];
|
|
975
1129
|
export var InvokeModelRequest$ = [3, n0, _IMR,
|
|
976
1130
|
0,
|
|
977
1131
|
[_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe, _rM],
|
|
@@ -1225,6 +1379,32 @@ var GuardrailAutomatedReasoningTranslationOptionList = [1, n0, _GARTOL,
|
|
|
1225
1379
|
0, [() => GuardrailAutomatedReasoningTranslationOption$,
|
|
1226
1380
|
0]
|
|
1227
1381
|
];
|
|
1382
|
+
var GuardrailChecksContentBlockList = [1, n0, _GCCBL,
|
|
1383
|
+
0, [() => GuardrailChecksContentBlock$,
|
|
1384
|
+
0]
|
|
1385
|
+
];
|
|
1386
|
+
var GuardrailChecksContentFilterCategoryConfigList = [1, n0, _GCCFCCL,
|
|
1387
|
+
0, () => GuardrailChecksContentFilterCategoryConfig$
|
|
1388
|
+
];
|
|
1389
|
+
var GuardrailChecksContentFilterResultList = [1, n0, _GCCFRL,
|
|
1390
|
+
0, () => GuardrailChecksContentFilterResultEntry$
|
|
1391
|
+
];
|
|
1392
|
+
var GuardrailChecksMessageList = [1, n0, _GCML,
|
|
1393
|
+
0, [() => GuardrailChecksMessage$,
|
|
1394
|
+
0]
|
|
1395
|
+
];
|
|
1396
|
+
var GuardrailChecksPromptAttackCategoryConfigList = [1, n0, _GCPACCL,
|
|
1397
|
+
0, () => GuardrailChecksPromptAttackCategoryConfig$
|
|
1398
|
+
];
|
|
1399
|
+
var GuardrailChecksPromptAttackResultList = [1, n0, _GCPARL,
|
|
1400
|
+
0, () => GuardrailChecksPromptAttackResultEntry$
|
|
1401
|
+
];
|
|
1402
|
+
var GuardrailChecksSensitiveInformationEntityConfigList = [1, n0, _GCSIECL,
|
|
1403
|
+
0, () => GuardrailChecksSensitiveInformationEntityConfig$
|
|
1404
|
+
];
|
|
1405
|
+
var GuardrailChecksSensitiveInformationResultList = [1, n0, _GCSIRL,
|
|
1406
|
+
0, () => GuardrailChecksSensitiveInformationResultEntry$
|
|
1407
|
+
];
|
|
1228
1408
|
var GuardrailContentBlockList = [1, n0, _GCBL,
|
|
1229
1409
|
0, [() => GuardrailContentBlock$,
|
|
1230
1410
|
0]
|
|
@@ -1327,17 +1507,17 @@ export var CitationSourceContent$ = [4, n0, _CSC,
|
|
|
1327
1507
|
];
|
|
1328
1508
|
export var ContentBlock$ = [4, n0, _CBo,
|
|
1329
1509
|
0,
|
|
1330
|
-
[_te, _ima, _doc, _vi, _au,
|
|
1510
|
+
[_te, _ima, _doc, _vi, _au, _tUo, _tR, _gCua, _cPa, _rC, _cC, _sRe],
|
|
1331
1511
|
[0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
|
|
1332
1512
|
];
|
|
1333
1513
|
export var ContentBlockDelta$ = [4, n0, _CBD,
|
|
1334
1514
|
0,
|
|
1335
|
-
[_te,
|
|
1515
|
+
[_te, _tUo, _tR, _rC, _cit, _ima],
|
|
1336
1516
|
[0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
|
|
1337
1517
|
];
|
|
1338
1518
|
export var ContentBlockStart$ = [4, n0, _CBS,
|
|
1339
1519
|
0,
|
|
1340
|
-
[
|
|
1520
|
+
[_tUo, _tR, _ima],
|
|
1341
1521
|
[() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
|
|
1342
1522
|
];
|
|
1343
1523
|
export var ConverseOutput$ = [4, n0, _CO,
|
|
@@ -1370,12 +1550,17 @@ export var GuardrailAutomatedReasoningFinding$ = [4, n0, _GARF,
|
|
|
1370
1550
|
[_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
|
|
1371
1551
|
[[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
|
|
1372
1552
|
];
|
|
1553
|
+
export var GuardrailChecksContentBlock$ = [4, n0, _GCCB,
|
|
1554
|
+
0,
|
|
1555
|
+
[_te],
|
|
1556
|
+
[[() => GuardrailChecksTextContent, 0]]
|
|
1557
|
+
];
|
|
1373
1558
|
export var GuardrailContentBlock$ = [4, n0, _GCB,
|
|
1374
1559
|
0,
|
|
1375
1560
|
[_te, _ima],
|
|
1376
1561
|
[() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
|
|
1377
1562
|
];
|
|
1378
|
-
export var GuardrailConverseContentBlock$ = [4, n0,
|
|
1563
|
+
export var GuardrailConverseContentBlock$ = [4, n0, _GCCBu,
|
|
1379
1564
|
0,
|
|
1380
1565
|
[_te, _ima],
|
|
1381
1566
|
[() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
|
|
@@ -1397,12 +1582,12 @@ export var ImageSource$ = [4, n0, _IS,
|
|
|
1397
1582
|
];
|
|
1398
1583
|
export var InvokeModelWithBidirectionalStreamInput$ = [4, n0, _IMWBSI,
|
|
1399
1584
|
{ [_stre]: 1 },
|
|
1400
|
-
[
|
|
1585
|
+
[_chu],
|
|
1401
1586
|
[[() => BidirectionalInputPayloadPart$, 0]]
|
|
1402
1587
|
];
|
|
1403
1588
|
export var InvokeModelWithBidirectionalStreamOutput$ = [4, n0, _IMWBSO,
|
|
1404
1589
|
{ [_stre]: 1 },
|
|
1405
|
-
[
|
|
1590
|
+
[_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1406
1591
|
[[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1407
1592
|
];
|
|
1408
1593
|
export var OutputFormatStructure$ = [4, n0, _OFS,
|
|
@@ -1427,7 +1612,7 @@ export var ReasoningContentBlockDelta$ = [4, n0, _RCBD,
|
|
|
1427
1612
|
];
|
|
1428
1613
|
export var ResponseStream$ = [4, n0, _RS,
|
|
1429
1614
|
{ [_stre]: 1 },
|
|
1430
|
-
[
|
|
1615
|
+
[_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1431
1616
|
[[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1432
1617
|
];
|
|
1433
1618
|
export var SystemContentBlock$ = [4, n0, _SCBy,
|
|
@@ -1480,6 +1665,9 @@ export var CountTokens$ = [9, n0, _CTo,
|
|
|
1480
1665
|
export var GetAsyncInvoke$ = [9, n0, _GAI,
|
|
1481
1666
|
{ [_h]: ["GET", "/async-invoke/{invocationArn}", 200] }, () => GetAsyncInvokeRequest$, () => GetAsyncInvokeResponse$
|
|
1482
1667
|
];
|
|
1668
|
+
export var InvokeGuardrailChecks$ = [9, n0, _IGC,
|
|
1669
|
+
{ [_h]: ["POST", "/guardrail-checks/invoke", 200] }, () => InvokeGuardrailChecksRequest$, () => InvokeGuardrailChecksResponse$
|
|
1670
|
+
];
|
|
1483
1671
|
export var InvokeModel$ = [9, n0, _IM,
|
|
1484
1672
|
{ [_h]: ["POST", "/model/{modelId}/invoke", 200] }, () => InvokeModelRequest$, () => InvokeModelResponse$
|
|
1485
1673
|
];
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test": "yarn g:vitest run --passWithNoTests",
|
|
16
|
-
"test:
|
|
17
|
-
"test:
|
|
16
|
+
"test:watch": "yarn g:vitest watch --passWithNoTests",
|
|
17
|
+
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
18
19
|
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
|
|
19
20
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
20
|
-
"test:
|
|
21
|
-
"test:
|
|
22
|
-
"test:
|
|
23
|
-
"test:watch": "yarn g:vitest watch --passWithNoTests"
|
|
21
|
+
"test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts",
|
|
22
|
+
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
|
|
23
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
24
24
|
},
|
|
25
25
|
"main": "./dist-cjs/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
@@ -29,13 +29,13 @@
|
|
|
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/credential-provider-node": "^3.972.
|
|
34
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
36
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
37
|
-
"@aws-sdk/token-providers": "3.
|
|
38
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
+
"@aws-sdk/core": "^3.974.21",
|
|
33
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
34
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.22",
|
|
35
|
+
"@aws-sdk/middleware-eventstream": "^3.972.18",
|
|
36
|
+
"@aws-sdk/middleware-websocket": "^3.972.29",
|
|
37
|
+
"@aws-sdk/token-providers": "3.1069.0",
|
|
38
|
+
"@aws-sdk/types": "^3.973.13",
|
|
39
39
|
"@smithy/core": "^3.24.6",
|
|
40
40
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
41
41
|
"@smithy/node-http-handler": "^4.7.6",
|