@stacksjs/ts-cloud 0.16.38 → 0.16.39
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/aws/bedrock.d.ts +110 -9
- package/dist/aws/index.js +1 -1
- package/dist/bin/{chunk-8496fsmq.js → chunk-ehnevjt4.js} +31 -31
- package/dist/bin/cli.js +3 -3
- package/dist/bin/dashboard-server.js +1 -1
- package/dist/{chunk-ej9dqt2r.js → chunk-0rvnerbw.js} +1 -1
- package/dist/{chunk-t80x808z.js → chunk-ffjgw5m6.js} +1 -1
- package/dist/deploy/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/accept-invitation.html +1 -1
- package/dist/ui/access-denied.html +1 -1
- package/dist/ui/account/automation.html +6 -6
- package/dist/ui/account/security.html +2 -2
- package/dist/ui/applications/compose.html +6 -6
- package/dist/ui/applications/new.html +2 -2
- package/dist/ui/data/backups.html +6 -6
- package/dist/ui/data/services.html +6 -6
- package/dist/ui/data/volumes.html +6 -6
- package/dist/ui/index.html +6 -6
- package/dist/ui/infrastructure/topology.html +6 -6
- package/dist/ui/integrations.html +2 -2
- package/dist/ui/operations/alerts.html +6 -6
- package/dist/ui/operations/configuration.html +6 -6
- package/dist/ui/operations/jobs.html +6 -6
- package/dist/ui/operations/maintenance.html +5 -5
- package/dist/ui/operations/observability.html +6 -6
- package/dist/ui/operations/previews.html +6 -6
- package/dist/ui/operations/queue.html +6 -6
- package/dist/ui/operations/regions.html +5 -5
- package/dist/ui/operations/releases.html +6 -6
- package/dist/ui/operations/spend.html +6 -6
- package/dist/ui/operations/workloads.html +6 -6
- package/dist/ui/security.html +2 -2
- package/dist/ui/server/actions.html +6 -6
- package/dist/ui/server/activity.html +1 -1
- package/dist/ui/server/capacity.html +6 -6
- package/dist/ui/server/database.html +6 -6
- package/dist/ui/server/deployments.html +5 -5
- package/dist/ui/server/diagnostics.html +2 -2
- package/dist/ui/server/firewall.html +6 -6
- package/dist/ui/server/fleet.html +6 -6
- package/dist/ui/server/logs.html +6 -6
- package/dist/ui/server/metrics.html +5 -5
- package/dist/ui/server/security.html +1 -1
- package/dist/ui/server/services.html +2 -2
- package/dist/ui/server/sites.html +6 -6
- package/dist/ui/server/ssh-keys.html +6 -6
- package/dist/ui/server/team.html +5 -5
- package/dist/ui/server/terminal.html +2 -2
- package/dist/ui/serverless/alarms.html +6 -6
- package/dist/ui/serverless/assets.html +2 -2
- package/dist/ui/serverless/cost.html +2 -2
- package/dist/ui/serverless/data.html +6 -6
- package/dist/ui/serverless/deployments.html +2 -2
- package/dist/ui/serverless/firewall.html +1 -1
- package/dist/ui/serverless/functions.html +6 -6
- package/dist/ui/serverless/logs.html +6 -6
- package/dist/ui/serverless/metrics.html +2 -2
- package/dist/ui/serverless/queues.html +5 -5
- package/dist/ui/serverless/secrets.html +5 -5
- package/dist/ui/serverless/traces.html +6 -6
- package/dist/ui/serverless.html +6 -6
- package/package.json +3 -3
package/dist/aws/bedrock.d.ts
CHANGED
|
@@ -108,9 +108,59 @@ export interface BedrockStreamChunk {
|
|
|
108
108
|
message: string;
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* A Converse content block. Converse keys each block by its kind rather than
|
|
113
|
+
* tagging it with `type` the way Anthropic's Messages API does; a
|
|
114
|
+
* `{ type: 'text', text }` block is refused with a ValidationException.
|
|
115
|
+
*/
|
|
116
|
+
export type ConverseContentBlock = {
|
|
117
|
+
text: string;
|
|
118
|
+
} | {
|
|
119
|
+
image: {
|
|
120
|
+
format: 'png' | 'jpeg' | 'gif' | 'webp';
|
|
121
|
+
source: {
|
|
122
|
+
bytes: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | {
|
|
126
|
+
document: {
|
|
127
|
+
format: 'pdf' | 'csv' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'html' | 'txt' | 'md';
|
|
128
|
+
name: string;
|
|
129
|
+
source: {
|
|
130
|
+
bytes: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
} | {
|
|
134
|
+
toolUse: {
|
|
135
|
+
toolUseId: string;
|
|
136
|
+
name: string;
|
|
137
|
+
input: Record<string, unknown>;
|
|
138
|
+
};
|
|
139
|
+
} | {
|
|
140
|
+
toolResult: {
|
|
141
|
+
toolUseId: string;
|
|
142
|
+
content: Array<{
|
|
143
|
+
text: string;
|
|
144
|
+
} | {
|
|
145
|
+
json: unknown;
|
|
146
|
+
}>;
|
|
147
|
+
status?: 'success' | 'error';
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export interface ConverseMessage {
|
|
151
|
+
role: 'user' | 'assistant';
|
|
152
|
+
content: ConverseContentBlock[];
|
|
153
|
+
}
|
|
154
|
+
export interface ConverseToolSpec {
|
|
155
|
+
name: string;
|
|
156
|
+
description?: string;
|
|
157
|
+
inputSchema: {
|
|
158
|
+
json: Record<string, unknown>;
|
|
159
|
+
};
|
|
160
|
+
}
|
|
111
161
|
export interface ConverseCommandInput {
|
|
112
162
|
modelId: string;
|
|
113
|
-
messages:
|
|
163
|
+
messages: ConverseMessage[];
|
|
114
164
|
system?: Array<{
|
|
115
165
|
text: string;
|
|
116
166
|
}>;
|
|
@@ -122,7 +172,7 @@ export interface ConverseCommandInput {
|
|
|
122
172
|
};
|
|
123
173
|
toolConfig?: {
|
|
124
174
|
tools: Array<{
|
|
125
|
-
toolSpec:
|
|
175
|
+
toolSpec: ConverseToolSpec;
|
|
126
176
|
}>;
|
|
127
177
|
toolChoice?: {
|
|
128
178
|
auto: Record<string, never>;
|
|
@@ -142,9 +192,9 @@ export interface ConverseCommandInput {
|
|
|
142
192
|
}
|
|
143
193
|
export interface ConverseCommandOutput {
|
|
144
194
|
output: {
|
|
145
|
-
message?:
|
|
195
|
+
message?: ConverseMessage;
|
|
146
196
|
};
|
|
147
|
-
stopReason: 'end_turn' | 'tool_use' | 'max_tokens' | 'stop_sequence' | 'guardrail_intervened' | 'content_filtered';
|
|
197
|
+
stopReason: 'end_turn' | 'tool_use' | 'max_tokens' | 'stop_sequence' | 'guardrail_intervened' | 'content_filtered' | 'malformed_model_output' | 'malformed_tool_use' | 'model_context_window_exceeded';
|
|
148
198
|
usage: {
|
|
149
199
|
inputTokens: number;
|
|
150
200
|
outputTokens: number;
|
|
@@ -356,12 +406,40 @@ export interface GetCustomModelCommandOutput {
|
|
|
356
406
|
}>;
|
|
357
407
|
creationTime: string;
|
|
358
408
|
}
|
|
359
|
-
export interface
|
|
409
|
+
export interface GetFoundationModelAvailabilityCommandOutput {
|
|
410
|
+
modelId: string;
|
|
411
|
+
agreementAvailability: {
|
|
412
|
+
status: 'AVAILABLE' | 'PENDING' | 'NOT_AVAILABLE' | 'ERROR';
|
|
413
|
+
errorMessage?: string | null;
|
|
414
|
+
};
|
|
415
|
+
authorizationStatus: 'AUTHORIZED' | 'NOT_AUTHORIZED';
|
|
416
|
+
entitlementAvailability: 'AVAILABLE' | 'NOT_AVAILABLE';
|
|
417
|
+
regionAvailability: 'AVAILABLE' | 'NOT_AVAILABLE';
|
|
418
|
+
}
|
|
419
|
+
export interface FoundationModelAgreementOffer {
|
|
420
|
+
offerId: string;
|
|
421
|
+
offerToken: string;
|
|
422
|
+
termDetails?: Record<string, unknown>;
|
|
423
|
+
}
|
|
424
|
+
export interface ListFoundationModelAgreementOffersCommandOutput {
|
|
425
|
+
modelId: string;
|
|
426
|
+
offers: FoundationModelAgreementOffer[];
|
|
427
|
+
}
|
|
428
|
+
export interface CreateFoundationModelAgreementCommandInput {
|
|
429
|
+
modelId: string;
|
|
430
|
+
offerToken: string;
|
|
431
|
+
}
|
|
432
|
+
export interface RequestModelAccessCommandInput {
|
|
360
433
|
modelId: string;
|
|
361
434
|
}
|
|
362
|
-
export interface
|
|
363
|
-
status: 'PENDING' | 'APPROVED' | 'DENIED';
|
|
435
|
+
export interface RequestModelAccessCommandOutput {
|
|
364
436
|
modelId: string;
|
|
437
|
+
/**
|
|
438
|
+
* `available` - the model can be invoked now, no agreement needed or one
|
|
439
|
+
* already in place. `requested` - an agreement was created from the model's
|
|
440
|
+
* public offer; Bedrock processes it asynchronously.
|
|
441
|
+
*/
|
|
442
|
+
status: 'available' | 'requested';
|
|
365
443
|
}
|
|
366
444
|
export interface ListModelInvocationJobsCommandInput {
|
|
367
445
|
submitTimeAfter?: string;
|
|
@@ -976,9 +1054,32 @@ export declare class BedrockClient {
|
|
|
976
1054
|
*/
|
|
977
1055
|
deleteCustomModel(params: DeleteCustomModelCommandInput): Promise<DeleteCustomModelCommandOutput>;
|
|
978
1056
|
/**
|
|
979
|
-
*
|
|
1057
|
+
* Whether `modelId` can be invoked in this region by this account, and
|
|
1058
|
+
* whether an agreement is still needed.
|
|
1059
|
+
*/
|
|
1060
|
+
getFoundationModelAvailability(modelId: string): Promise<GetFoundationModelAvailabilityCommandOutput>;
|
|
1061
|
+
/**
|
|
1062
|
+
* The agreement offers for a marketplace model. A first-party model takes
|
|
1063
|
+
* no agreement and Bedrock answers 400 "Agreement not supported".
|
|
1064
|
+
*/
|
|
1065
|
+
listFoundationModelAgreementOffers(modelId: string, offerType?: 'ALL' | 'PUBLIC'): Promise<ListFoundationModelAgreementOffersCommandOutput>;
|
|
1066
|
+
/**
|
|
1067
|
+
* Accept an offer for a model. Bedrock answers 202 and processes it
|
|
1068
|
+
* asynchronously.
|
|
1069
|
+
*/
|
|
1070
|
+
createFoundationModelAgreement(params: CreateFoundationModelAgreementCommandInput): Promise<{
|
|
1071
|
+
modelId: string;
|
|
1072
|
+
}>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Make a foundation model invocable: a no-op for a model that needs no
|
|
1075
|
+
* agreement or already has one, otherwise an agreement from its public offer.
|
|
1076
|
+
*
|
|
1077
|
+
* This used to POST to `/foundation-model-entitlement`, which is not a
|
|
1078
|
+
* Bedrock operation, so it never requested anything. A model the account is
|
|
1079
|
+
* not authorised for (Anthropic's first-use form, for one) is refused with
|
|
1080
|
+
* the reason rather than reported as requested.
|
|
980
1081
|
*/
|
|
981
|
-
requestModelAccess(params:
|
|
1082
|
+
requestModelAccess(params: RequestModelAccessCommandInput): Promise<RequestModelAccessCommandOutput>;
|
|
982
1083
|
/**
|
|
983
1084
|
* Create a guardrail
|
|
984
1085
|
*/
|
package/dist/aws/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ye,ar,Ss,Is,eg,Wa,Ja,bs,Cs,Xa,nt,K,it,oe,E,Se,vn,Ya,_e,Za,Tn,tg,Xf,ec,tc,wn,Rn,Yf,Zf,TS,wS,RS,DS,kt,PS,NS,kS,BS,Bt,eh,th,rh,xt,nh,ih,sh,Dn,xS,OS,_S,cr,LS,$S,MS,rc,nc,rg,FS,US,QS,dr,oh,ah,lr,st,Pn,ic,ng,HS,ig,GS,Ot,VS,qS,jS,zS,ce,KS,WS,JS,XS,ur,YS,ZS,eI,Nn,sc,oc,sg,og,ac,gr}from"../chunk-
|
|
1
|
+
import{ye,ar,Ss,Is,eg,Wa,Ja,bs,Cs,Xa,nt,K,it,oe,E,Se,vn,Ya,_e,Za,Tn,tg,Xf,ec,tc,wn,Rn,Yf,Zf,TS,wS,RS,DS,kt,PS,NS,kS,BS,Bt,eh,th,rh,xt,nh,ih,sh,Dn,xS,OS,_S,cr,LS,$S,MS,rc,nc,rg,FS,US,QS,dr,oh,ah,lr,st,Pn,ic,ng,HS,ig,GS,Ot,VS,qS,jS,zS,ce,KS,WS,JS,XS,ur,YS,ZS,eI,Nn,sc,oc,sg,og,ac,gr}from"../chunk-0rvnerbw.js";import{Ie,ot,kn,ch}from"../chunk-n8g8t8hf.js";import{cc,Le,S}from"../chunk-n1r9313b.js";import{$e}from"../chunk-kyn6a4zf.js";import{W}from"../chunk-p4rknh9f.js";import{at,de,Me,be,_t,xn,vs,Ts,pr,mr,On,fr,ws,Rs,Ds,Ps,J,Ns,ks,Bs,xs,le,Os,_s,Ls,D,uc,_n,gc,ue,hr}from"../chunk-5vk7nss8.js";import{I}from"../chunk-2n4ktft4.js";import{Pr,Re}from"../chunk-j1aq97br.js";import{h}from"../chunk-zvyrpmvd.js";import{o}from"../chunk-xr7ew64s.js";import{kr,Wg,Jg,hi,n,l,Rh}from"../chunk-dg834141.js";export{ue as ACMClient,hr as ACMDnsValidator,n as AWSClient,ic as ApplicationAutoScalingClient,ar as AwsBackupClient,Zf as BedrockAgentClient,Yf as BedrockAgentRuntimeClient,Rn as BedrockClient,wn as BedrockRuntimeClient,h as CloudFormationClient,S as CloudFrontClient,Se as CloudWatchLogsClient,be as CloudflareProvider,kt as ComprehendClient,vn as ConnectClient,Cs as CostExplorerClient,_n as DnsProviderFactory,_e as DynamoDBClient,Pr as EC2Client,$e as ECRClient,nt as ECSClient,gr as EFSClient,Ya as ELBv2Client,st as ElastiCacheClient,kn as EmailClient,lr as EventBridgeClient,Me as GoDaddyProvider,Ie as IAMClient,ng as ImapServer,dr as KendraClient,E as LambdaClient,Za as OpenSearchClient,at as PROXIABLE_RECORD_TYPES,rc as PersonalizeClient,rg as PersonalizeEventsClient,nc as PersonalizeRuntimeClient,Dn as PollyClient,de as PorkbunProvider,W as RDSClient,Bt as RekognitionClient,I as Route53Client,Xa as Route53DomainsClient,J as Route53Provider,o as S3Client,ot as SESClient,it as SNSClient,oe as SQSClient,Re as SSMClient,ye as STSClient,Pn as SchedulerClient,K as SecretsManagerClient,Ot as SmsClient,ac as SmsVoiceClient,ig as SmtpServer,Nn as SupportClient,sc as SupportTemplates,xt as TextractClient,Tn as TranscribeClient,cr as TranslateClient,le as UnifiedDnsValidator,ur as VoiceClient,PS as analyzeSentiment,Ds as applyDeclaredZoneSettings,Bs as applyZoneMigration,l as buildQueryParams,Jg as canonicalUriFor,hi as coerceXmlValues,RS as completeWithClaude,cc as configOrigins,BS as containsPii,th as countFacesInS3Image,tg as crc32,zS as createDeliveryReceiptHandler,D as createDnsProvider,_s as createGoDaddyValidator,bs as createObjectStorageClient,Os as createPorkbunValidator,ZS as createRecordingHandler,Ls as createRoute53Validator,_S as createSSML,qS as createScheduledSmsHandler,jS as createSmsClient,VS as createSmsInboxHandler,og as createSmsInfrastructure,eI as createVoiceClient,YS as createVoicemailHandler,ec as decodeEventStream,Xf as decodeEventStreamMessage,fr as delegateZone,ws as delegateZoneFromConfig,Rs as describeDelegation,Ps as describeZoneSettings,Rh as detectCredentialSource,uc as detectDnsProvider,eh as detectLabelsFromS3,kS as detectLanguage,gc as dnsProviders,ch as email,tc as eventStreamError,Ns as exportRoute53Zone,NS as extractEntities,ih as extractFormsFromS3,sh as extractTablesFromS3,nh as extractTextFromS3,KS as formatPhoneNumber,DS as generateEmbeddings,JS as getCountryCode,FS as getRecommendations,US as getSimilarItems,sg as getSmsInfrastructureStatus,rh as isContentSafe,pr as isNameserverRegistrar,XS as isSamePhoneNumber,WS as isValidPhoneNumber,mr as isZoneHost,Is as keyMatchesFilters,wS as listClaudeModels,MS as listLanguages,OS as listVoices,eg as migrateObjectStorage,ce as normalizePhoneNumber,ks as planZoneMigration,_t as policyTag,Wa as providerEndpoint,xn as qualifyName,Ts as reconcileDeclaredRecords,Ss as remapKey,TS as requestModelAccess,vs as resolveDeclaredRecords,Ja as resolveObjectStorage,kr as resolveS3Endpoint,ah as retrieveForRag,Le as s3OriginBucket,On as sameNameservers,oh as search,oc as setupSmsInfrastructure,Wg as signingNameFor,HS as startImapServer,GS as startSmtpServer,xS as textToSpeech,QS as trackEvent,LS as translate,$S as translateToMultiple,xs as verifyZoneParity};
|