You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build: update service model for bearer-token-service.json
1. get latest service models:
- `client/token/bearer-token-service.json`
- from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external-2022-11-11/c2j/codewhispererruntime-2022-11-11.json`
- `client/sigv4/service.json`
- from: `<AWSVectorConsolasRuntimeServiceModel>/aws-sdk-external/c2j/codewhisperer-2024-10-25.json`
2. !!NOTE!! remove line `"signatureVersion": "bearer",` from `bearer-token-service.json`
3. restore the script that was mysteriously reverted in
#161 without any
documented alternative...
4. run `./node_modules/.bin/ts-node server/aws-lsp-codewhisperer/script/genclient.ts`
service model version: 1.0.20901.0
* feat(paidtier): detect Free Tier, show "Upgrade" button
- control MynahUI from Flare server
* feat(paidtier): "/manage" quickaction
* feat(paidtier): Chat UI gets AWS Account ID from user
* fix(paidtier): ux changes
* fix(paidtier): skip for non-builderid user
* fix(paidtier): ux changes: Chat UI does *not* get AWS Account ID
* fix(paidtier): ux changes
// description: `Link an AWS account to upgrade ${qProName}`,
40
+
text: 'Continue',
41
+
disabled: false,
42
+
}
43
+
44
+
exportconstfreeTierLimitCard: ChatItem={
45
+
type: ChatItemType.ANSWER,
46
+
// Note: starts with a non-breaking space to workaround https://github.com/aws/mynah-ui/issues/349
47
+
title: ' Monthly request limit reached',
48
+
messageId: 'freetier-limit',
49
+
status: 'warning',
50
+
buttons: [],
51
+
icon: 'warning',
52
+
// iconStatus: 'success',
53
+
header: {
54
+
icon: 'warning',
55
+
iconStatus: 'warning',
56
+
body: `Upgrade to ${qProName}`,
57
+
},
58
+
canBeDismissed: false,
59
+
fullWidth: true,
60
+
body: `To increase your limit, subscribe to ${qProName}. During the upgrade, you'll be asked to link your Builder ID to the AWS account that will be billed the monthly subscription fee. Learn more about [pricing >](${paidTierLearnMoreUrl})`,
61
+
}
62
+
63
+
exportconstfreeTierLimitDirective: ChatItem={
64
+
type: ChatItemType.DIRECTIVE,
65
+
// title: '...',
66
+
// header: { },
67
+
messageId: 'freetier-limit-directive',
68
+
fullWidth: true,
69
+
contentHorizontalAlignment: 'center',
70
+
canBeDismissed: false,
71
+
body: 'Unable to send. Monthly invocation limit met for this month.',
72
+
}
73
+
74
+
/** "Banner" (sticky card) shown above the chat prompt. */
0 commit comments