@aws/nx-plugin 0.81.0 → 0.82.0

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.
Files changed (28) hide show
  1. package/LICENSE-THIRD-PARTY +118 -79
  2. package/package.json +4 -4
  3. package/src/infra/app/__snapshots__/generator.spec.ts.snap +11 -11
  4. package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  5. package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +5 -5
  6. package/src/trpc/react/__snapshots__/generator.spec.ts.snap +2 -3
  7. package/src/trpc/react/generator.js +1 -2
  8. package/src/trpc/react/generator.js.map +1 -1
  9. package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
  10. package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +28 -28
  11. package/src/ts/strands-agent/__snapshots__/generator.spec.ts.snap +5 -4
  12. package/src/ts/strands-agent/files/app/router.ts.template +5 -4
  13. package/src/utils/connection/open-api/react.js +1 -2
  14. package/src/utils/connection/open-api/react.js.map +1 -1
  15. package/src/utils/files/common/shadcn/src/components/ui/alert.tsx.template +3 -3
  16. package/src/utils/files/common/shadcn/src/components/ui/breadcrumb.tsx.template +3 -3
  17. package/src/utils/files/common/shadcn/src/components/ui/button.tsx.template +4 -4
  18. package/src/utils/files/common/shadcn/src/components/ui/card.tsx.template +2 -2
  19. package/src/utils/files/common/shadcn/src/components/ui/input.tsx.template +3 -3
  20. package/src/utils/files/common/shadcn/src/components/ui/separator.tsx.template +1 -1
  21. package/src/utils/files/common/shadcn/src/components/ui/sheet.tsx.template +9 -9
  22. package/src/utils/files/common/shadcn/src/components/ui/sidebar.tsx.template +18 -18
  23. package/src/utils/files/common/shadcn/src/components/ui/skeleton.tsx.template +1 -1
  24. package/src/utils/files/common/shadcn/src/components/ui/tooltip.tsx.template +2 -2
  25. package/src/utils/files/website/hooks/sigv4/useSigV4.tsx.template +2 -3
  26. package/src/utils/versions.d.ts +40 -42
  27. package/src/utils/versions.js +39 -41
  28. package/src/utils/versions.js.map +1 -1
@@ -19,11 +19,12 @@ export const appRouter = router({
19
19
 
20
20
  for await (const event of agent.stream(opts.input.message)) {
21
21
  if (
22
- event.type === 'modelContentBlockDeltaEvent' &&
23
- event.delta.type === 'textDelta'
22
+ event.type === 'modelStreamUpdateEvent' &&
23
+ event.event.type === 'modelContentBlockDeltaEvent' &&
24
+ event.event.delta.type === 'textDelta'
24
25
  ) {
25
- yield event.delta.text;
26
- } else if (event.type === 'modelMessageStopEvent') {
26
+ yield event.event.delta.text;
27
+ } else if (event.type === 'modelMessageEvent') {
27
28
  yield '\n';
28
29
  }
29
30
  }
@@ -120,8 +120,7 @@ const addOpenApiReactClient = (tree_1, _a) => tslib_1.__awaiter(void 0, [tree_1,
120
120
  ? [
121
121
  'oidc-client-ts',
122
122
  'react-oidc-context',
123
- '@aws-sdk/client-cognito-identity',
124
- '@aws-sdk/credential-provider-cognito-identity',
123
+ '@aws-sdk/credential-providers',
125
124
  'aws4fetch',
126
125
  ]
127
126
  : []),
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../../../../../packages/nx-plugin/src/utils/connection/open-api/react.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAQoB;AACpB,uCAAqD;AACrD,yCAA8C;AAC9C,mCAA4C;AAC5C,2GAAwF;AACxF,mCAA2C;AAC3C,iEAAwE;AAExE,mCAA4E;AAC5E,6CAA8C;AAqC9C;;GAEG;AACI,MAAM,qBAAqB,GAAG,aAYnC,EAAE,4DAXF,IAAU,EACV,EACE,OAAO,EACP,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,IAAI,GACyB;IAE/B,MAAM,eAAe,GAAG,YAAY,IAAA,iBAAS,EAAC,OAAO,CAAC,SAAS,CAAC;IAChE,MAAM,oBAAoB,GAAG,SAAS,eAAe,EAAE,CAAC;IAExD,MAAM,kB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qB,CAAC,IAAI,EAC1B,oBAAoB,CAAC,IAAI,EACzB;QACE,GAAG,EAAE,oBAAoB,IAAI,GAAG;QAChC,OAAO;QACP,mFAAmF;QACnF,wDAAwD;QACxD,qFAAqF;QACrF,uFAAuF;QACvF,2BAA2B,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;KACrE,CACF,CAAC;IAEF,IAAA,qCAA4B,EAC1B,IAAI,EACJ,IAAA,uBAAY,EAAC;QACX,GAAI,CAAC,IAAI,KAAK,KAAK;YACjB,CAAC,CAAC;gBACE,gBAAgB;gBAChB,oBAAoB;gBACpB,kCAAkC;gBAClC,+CAA+C;gBAC/C,WAAW;aACZ;YACH,CAAC,CAAC,EAAE,CAAS;QACf,GAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAS;QAC9D,uBAAuB;QACvB,gCAAgC;KACjC,CAAC,EACF,IAAA,uBAAY,EAAC,CAAC,eAAe,CAAC,CAAC,CAChC,CAAC;AACJ,CAAC,CAAA,CAAC;AA3NW,QAAA,qBAAqB,yBA2NhC"}
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../../../../../packages/nx-plugin/src/utils/connection/open-api/react.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAQoB;AACpB,uCAAqD;AACrD,yCAA8C;AAC9C,mCAA4C;AAC5C,2GAAwF;AACxF,mCAA2C;AAC3C,iEAAwE;AAExE,mCAA4E;AAC5E,6CAA8C;AAqC9C;;GAEG;AACI,MAAM,qBAAqB,GAAG,aAYnC,EAAE,4DAXF,IAAU,EACV,EACE,OAAO,EACP,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,IAAI,GACyB;IAE/B,MAAM,eAAe,GAAG,YAAY,IAAA,iBAAS,EAAC,OAAO,CAAC,SAAS,CAAC;IAChE,MAAM,oBAAoB,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IAC5D,IAAA,mCAAqB,EACnB,IAAI,EACJ,qBAAqB,CAAC,IAAI,EAC1B,oBAAoB,CAAC,IAAI,EACzB;QACE,GAAG,EAAE,oBAAoB,IAAI,GAAG;QAChC,OAAO;QACP,mFAAmF;QACnF,wDAAwD;QACxD,qFAAqF;QACrF,uFAAuF;QACvF,2BAA2B,EAAE,CAAC,eAAe,EAAE,oBAAoB,CAAC;KACrE,CACF,CAAC;IAEF,IAAA,qCAA4B,EAC1B,IAAI,EACJ,IAAA,uBAAY,EAAC;QACX,GAAI,CAAC,IAAI,KAAK,KAAK;YACjB,CAAC,CAAC;gBACE,gBAAgB;gBAChB,oBAAoB;gBACpB,+BAA+B;gBAC/B,WAAW;aACZ;YACH,CAAC,CAAC,EAAE,CAAS;QACf,GAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAS;QAC9D,uBAAuB;QACvB,gCAAgC;KACjC,CAAC,EACF,IAAA,uBAAY,EAAC,CAAC,eAAe,CAAC,CAAC,CAChC,CAAC;AACJ,CAAC,CAAA,CAAC;AA1NW,QAAA,qBAAqB,yBA0NhC"}
@@ -4,13 +4,13 @@ import { cva, type VariantProps } from "class-variance-authority"
4
4
  import { cn } from "<%= scopeAlias %>common-shadcn/lib/utils"
5
5
 
6
6
  const alertVariants = cva(
7
- "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
7
+ "relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
8
8
  {
9
9
  variants: {
10
10
  variant: {
11
11
  default: "bg-card text-card-foreground",
12
12
  destructive:
13
- "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
13
+ "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 [&>svg]:text-current",
14
14
  },
15
15
  },
16
16
  defaultVariants: {
@@ -55,7 +55,7 @@ function AlertDescription({
55
55
  <div
56
56
  data-slot="alert-description"
57
57
  className={cn(
58
- "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
58
+ "col-start-2 grid justify-items-start gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed",
59
59
  className
60
60
  )}
61
61
  {...props}
@@ -13,7 +13,7 @@ function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {
13
13
  <ol
14
14
  data-slot="breadcrumb-list"
15
15
  className={cn(
16
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
16
+ "flex flex-wrap items-center gap-1.5 text-sm break-words text-muted-foreground sm:gap-2.5",
17
17
  className
18
18
  )}
19
19
  {...props}
@@ -43,7 +43,7 @@ function BreadcrumbLink({
43
43
  return (
44
44
  <Comp
45
45
  data-slot="breadcrumb-link"
46
- className={cn("hover:text-foreground transition-colors", className)}
46
+ className={cn("transition-colors hover:text-foreground", className)}
47
47
  {...props}
48
48
  />
49
49
  )
@@ -56,7 +56,7 @@ function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {
56
56
  role="link"
57
57
  aria-disabled="true"
58
58
  aria-current="page"
59
- className={cn("text-foreground font-normal", className)}
59
+ className={cn("font-normal text-foreground", className)}
60
60
  {...props}
61
61
  />
62
62
  )
@@ -5,15 +5,15 @@ import { Slot } from "radix-ui"
5
5
  import { cn } from "<%= scopeAlias %>common-shadcn/lib/utils"
6
6
 
7
7
  const buttonVariants = cva(
8
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
8
+ "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9
9
  {
10
10
  variants: {
11
11
  variant: {
12
12
  default: "bg-primary text-primary-foreground hover:bg-primary/90",
13
13
  destructive:
14
- "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
14
+ "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
15
15
  outline:
16
- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
16
+ "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
17
17
  secondary:
18
18
  "bg-secondary text-secondary-foreground hover:bg-secondary/80",
19
19
  ghost:
@@ -23,7 +23,7 @@ const buttonVariants = cva(
23
23
  size: {
24
24
  default: "h-9 px-4 py-2 has-[>svg]:px-3",
25
25
  xs: "h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
26
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
26
+ sm: "h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",
27
27
  lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
28
28
  icon: "size-9",
29
29
  "icon-xs": "size-6 rounded-md [&_svg:not([class*='size-'])]:size-3",
@@ -7,7 +7,7 @@ function Card({ className, ...props }: React.ComponentProps<"div">) {
7
7
  <div
8
8
  data-slot="card"
9
9
  className={cn(
10
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
10
+ "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",
11
11
  className
12
12
  )}
13
13
  {...props}
@@ -42,7 +42,7 @@ function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
42
42
  return (
43
43
  <div
44
44
  data-slot="card-description"
45
- className={cn("text-muted-foreground text-sm", className)}
45
+ className={cn("text-sm text-muted-foreground", className)}
46
46
  {...props}
47
47
  />
48
48
  )
@@ -8,9 +8,9 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {
8
8
  type={type}
9
9
  data-slot="input"
10
10
  className={cn(
11
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
12
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
13
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
11
+ "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
12
+ "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
13
+ "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
14
14
  className
15
15
  )}
16
16
  {...props}
@@ -17,7 +17,7 @@ function Separator({
17
17
  decorative={decorative}
18
18
  orientation={orientation}
19
19
  className={cn(
20
- "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
20
+ "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
21
21
  className
22
22
  )}
23
23
  {...props}
@@ -36,7 +36,7 @@ function SheetOverlay({
36
36
  <SheetPrimitive.Overlay
37
37
  data-slot="sheet-overlay"
38
38
  className={cn(
39
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
39
+ "fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
40
40
  className
41
41
  )}
42
42
  {...props}
@@ -60,22 +60,22 @@ function SheetContent({
60
60
  <SheetPrimitive.Content
61
61
  data-slot="sheet-content"
62
62
  className={cn(
63
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
63
+ "fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
64
64
  side === "right" &&
65
- "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
65
+ "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",
66
66
  side === "left" &&
67
- "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
67
+ "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
68
68
  side === "top" &&
69
- "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
69
+ "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
70
70
  side === "bottom" &&
71
- "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
71
+ "inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
72
72
  className
73
73
  )}
74
74
  {...props}
75
75
  >
76
76
  {children}
77
77
  {showCloseButton && (
78
- <SheetPrimitive.Close className="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none">
78
+ <SheetPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary">
79
79
  <XIcon className="size-4" />
80
80
  <span className="sr-only">Close</span>
81
81
  </SheetPrimitive.Close>
@@ -112,7 +112,7 @@ function SheetTitle({
112
112
  return (
113
113
  <SheetPrimitive.Title
114
114
  data-slot="sheet-title"
115
- className={cn("text-foreground font-semibold", className)}
115
+ className={cn("font-semibold text-foreground", className)}
116
116
  {...props}
117
117
  />
118
118
  )
@@ -125,7 +125,7 @@ function SheetDescription({
125
125
  return (
126
126
  <SheetPrimitive.Description
127
127
  data-slot="sheet-description"
128
- className={cn("text-muted-foreground text-sm", className)}
128
+ className={cn("text-sm text-muted-foreground", className)}
129
129
  {...props}
130
130
  />
131
131
  )
@@ -139,7 +139,7 @@ function SidebarProvider({
139
139
  } as React.CSSProperties
140
140
  }
141
141
  className={cn(
142
- "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
142
+ "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
143
143
  className
144
144
  )}
145
145
  {...props}
@@ -170,7 +170,7 @@ function Sidebar({
170
170
  <div
171
171
  data-slot="sidebar"
172
172
  className={cn(
173
- "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
173
+ "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
174
174
  className
175
175
  )}
176
176
  {...props}
@@ -187,7 +187,7 @@ function Sidebar({
187
187
  data-sidebar="sidebar"
188
188
  data-slot="sidebar"
189
189
  data-mobile="true"
190
- className="bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden"
190
+ className="w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
191
191
  style={
192
192
  {
193
193
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE,
@@ -207,7 +207,7 @@ function Sidebar({
207
207
 
208
208
  return (
209
209
  <div
210
- className="group peer text-sidebar-foreground hidden md:block"
210
+ className="group peer hidden text-sidebar-foreground md:block"
211
211
  data-state={state}
212
212
  data-collapsible={state === "collapsed" ? collapsible : ""}
213
213
  data-variant={variant}
@@ -244,7 +244,7 @@ function Sidebar({
244
244
  <div
245
245
  data-sidebar="sidebar"
246
246
  data-slot="sidebar-inner"
247
- className="bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
247
+ className="flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm"
248
248
  >
249
249
  {children}
250
250
  </div>
@@ -291,10 +291,10 @@ function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
291
291
  onClick={toggleSidebar}
292
292
  title="Toggle Sidebar"
293
293
  className={cn(
294
- "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
294
+ "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex",
295
295
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
296
296
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
297
- "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
297
+ "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar",
298
298
  "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
299
299
  "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
300
300
  className
@@ -309,7 +309,7 @@ function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
309
309
  <main
310
310
  data-slot="sidebar-inset"
311
311
  className={cn(
312
- "bg-background relative flex w-full flex-1 flex-col",
312
+ "relative flex w-full flex-1 flex-col bg-background",
313
313
  "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
314
314
  className
315
315
  )}
@@ -326,7 +326,7 @@ function SidebarInput({
326
326
  <Input
327
327
  data-slot="sidebar-input"
328
328
  data-sidebar="input"
329
- className={cn("bg-background h-8 w-full shadow-none", className)}
329
+ className={cn("h-8 w-full bg-background shadow-none", className)}
330
330
  {...props}
331
331
  />
332
332
  )
@@ -362,7 +362,7 @@ function SidebarSeparator({
362
362
  <Separator
363
363
  data-slot="sidebar-separator"
364
364
  data-sidebar="separator"
365
- className={cn("bg-sidebar-border mx-2 w-auto", className)}
365
+ className={cn("mx-2 w-auto bg-sidebar-border", className)}
366
366
  {...props}
367
367
  />
368
368
  )
@@ -405,7 +405,7 @@ function SidebarGroupLabel({
405
405
  data-slot="sidebar-group-label"
406
406
  data-sidebar="group-label"
407
407
  className={cn(
408
- "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
408
+ "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
409
409
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
410
410
  className
411
411
  )}
@@ -426,7 +426,7 @@ function SidebarGroupAction({
426
426
  data-slot="sidebar-group-action"
427
427
  data-sidebar="group-action"
428
428
  className={cn(
429
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
429
+ "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
430
430
  // Increases the hit area of the button on mobile.
431
431
  "after:absolute after:-inset-2 md:after:hidden",
432
432
  "group-data-[collapsible=icon]:hidden",
@@ -474,7 +474,7 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {
474
474
  }
475
475
 
476
476
  const sidebarMenuButtonVariants = cva(
477
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
477
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
478
478
  {
479
479
  variants: {
480
480
  variant: {
@@ -561,7 +561,7 @@ function SidebarMenuAction({
561
561
  data-slot="sidebar-menu-action"
562
562
  data-sidebar="menu-action"
563
563
  className={cn(
564
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
564
+ "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
565
565
  // Increases the hit area of the button on mobile.
566
566
  "after:absolute after:-inset-2 md:after:hidden",
567
567
  "peer-data-[size=sm]/menu-button:top-1",
@@ -569,7 +569,7 @@ function SidebarMenuAction({
569
569
  "peer-data-[size=lg]/menu-button:top-2.5",
570
570
  "group-data-[collapsible=icon]:hidden",
571
571
  showOnHover &&
572
- "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
572
+ "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground data-[state=open]:opacity-100 md:opacity-0",
573
573
  className
574
574
  )}
575
575
  {...props}
@@ -586,7 +586,7 @@ function SidebarMenuBadge({
586
586
  data-slot="sidebar-menu-badge"
587
587
  data-sidebar="menu-badge"
588
588
  className={cn(
589
- "text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
589
+ "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none",
590
590
  "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
591
591
  "peer-data-[size=sm]/menu-button:top-1",
592
592
  "peer-data-[size=default]/menu-button:top-1.5",
@@ -643,7 +643,7 @@ function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) {
643
643
  data-slot="sidebar-menu-sub"
644
644
  data-sidebar="menu-sub"
645
645
  className={cn(
646
- "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
646
+ "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5",
647
647
  "group-data-[collapsible=icon]:hidden",
648
648
  className
649
649
  )}
@@ -686,7 +686,7 @@ function SidebarMenuSubButton({
686
686
  data-size={size}
687
687
  data-active={isActive}
688
688
  className={cn(
689
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
689
+ "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
690
690
  "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
691
691
  size === "sm" && "text-xs",
692
692
  size === "md" && "text-sm",
@@ -4,7 +4,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
4
4
  return (
5
5
  <div
6
6
  data-slot="skeleton"
7
- className={cn("bg-accent animate-pulse rounded-md", className)}
7
+ className={cn("animate-pulse rounded-md bg-accent", className)}
8
8
  {...props}
9
9
  />
10
10
  )
@@ -42,13 +42,13 @@ function TooltipContent({
42
42
  data-slot="tooltip-content"
43
43
  sideOffset={sideOffset}
44
44
  className={cn(
45
- "bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
45
+ "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
46
46
  className
47
47
  )}
48
48
  {...props}
49
49
  >
50
50
  {children}
51
- <TooltipPrimitive.Arrow className="bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />
51
+ <TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" />
52
52
  </TooltipPrimitive.Content>
53
53
  </TooltipPrimitive.Portal>
54
54
  )
@@ -1,6 +1,5 @@
1
1
  import { AwsClient } from 'aws4fetch';
2
- import { CognitoIdentityClient } from '@aws-sdk/client-cognito-identity';
3
- import { fromCognitoIdentityPool } from '@aws-sdk/credential-provider-cognito-identity';
2
+ import { fromCognitoIdentityPool } from '@aws-sdk/credential-providers';
4
3
  import { useCallback, useRef } from 'react';
5
4
  import { useAuth } from 'react-oidc-context';
6
5
  import { useRuntimeConfig } from './useRuntimeConfig';
@@ -64,7 +63,7 @@ export const useSigV4 = (): SigV4Client => {
64
63
  }
65
64
 
66
65
  const credentialsFromCognitoIdentityPool = fromCognitoIdentityPool({
67
- client: new CognitoIdentityClient({ region: cognitoProps.region }),
66
+ clientConfig: { region: cognitoProps.region },
68
67
  identityPoolId: cognitoProps.identityPoolId,
69
68
  logins: {
70
69
  [`cognito-idp.${cognitoProps.region}.amazonaws.com/${cognitoProps.userPoolId}`]:
@@ -6,11 +6,9 @@
6
6
  * Versons for TypeScript dependencies added by generators
7
7
  */
8
8
  export declare const TS_VERSIONS: {
9
- readonly '@aws-sdk/client-cognito-identity': "3.992.0";
10
- readonly '@aws-sdk/client-dynamodb': "3.992.0";
11
- readonly '@aws-sdk/client-sts': "3.992.0";
12
- readonly '@aws-sdk/credential-providers': "3.992.0";
13
- readonly '@aws-sdk/credential-provider-cognito-identity': "3.972.3";
9
+ readonly '@aws-sdk/client-dynamodb': "3.1004.0";
10
+ readonly '@aws-sdk/client-sts': "3.1004.0";
11
+ readonly '@aws-sdk/credential-providers': "3.1004.0";
14
12
  readonly '@aws-smithy/server-apigateway': "1.0.0-alpha.10";
15
13
  readonly '@aws-smithy/server-node': "1.0.0-alpha.10";
16
14
  readonly '@aws-lambda-powertools/logger': "2.31.0";
@@ -18,43 +16,43 @@ export declare const TS_VERSIONS: {
18
16
  readonly '@aws-lambda-powertools/tracer': "2.31.0";
19
17
  readonly '@aws-lambda-powertools/parser': "2.31.0";
20
18
  readonly '@middy/core': "6.4.5";
21
- readonly '@nxlv/python': "22.1.0";
19
+ readonly '@nxlv/python': "22.1.1";
22
20
  readonly '@nx-extend/terraform': "9.0.1";
23
21
  readonly '@nx/devkit': "22.5.3";
24
22
  readonly '@nx/react': "22.5.3";
25
23
  readonly 'create-nx-workspace': "22.5.3";
26
- readonly '@modelcontextprotocol/sdk': "1.27.0";
24
+ readonly '@modelcontextprotocol/sdk': "1.27.1";
27
25
  readonly '@modelcontextprotocol/inspector': "0.19.0";
28
- readonly '@strands-agents/sdk': "0.2.2";
29
- readonly '@tanstack/react-router': "1.160.2";
30
- readonly '@tanstack/router-plugin': "1.160.2";
31
- readonly '@tanstack/router-generator': "1.160.1";
32
- readonly '@tanstack/virtual-file-routes': "1.154.7";
33
- readonly '@tanstack/router-utils': "1.158.0";
34
- readonly '@cloudscape-design/board-components': "3.0.149";
35
- readonly '@cloudscape-design/components': "3.0.1204";
36
- readonly '@cloudscape-design/global-styles': "1.0.50";
26
+ readonly '@strands-agents/sdk': "0.4.0";
27
+ readonly '@tanstack/react-router': "1.163.3";
28
+ readonly '@tanstack/router-plugin': "1.164.0";
29
+ readonly '@tanstack/router-generator': "1.164.0";
30
+ readonly '@tanstack/virtual-file-routes': "1.161.4";
31
+ readonly '@tanstack/router-utils': "1.161.4";
32
+ readonly '@cloudscape-design/board-components': "3.0.150";
33
+ readonly '@cloudscape-design/components': "3.0.1217";
34
+ readonly '@cloudscape-design/global-styles': "1.0.51";
37
35
  readonly '@tanstack/react-query': "5.90.21";
38
36
  readonly '@tanstack/react-query-devtools': "5.91.3";
39
- readonly '@trpc/tanstack-react-query': "11.10.0";
40
- readonly '@trpc/client': "11.10.0";
41
- readonly '@trpc/server': "11.10.0";
42
- readonly '@types/node': "22.19.11";
43
- readonly '@types/aws-lambda': "8.10.160";
37
+ readonly '@trpc/tanstack-react-query': "11.11.0";
38
+ readonly '@trpc/client': "11.11.0";
39
+ readonly '@trpc/server': "11.11.0";
40
+ readonly '@types/node': "22.19.13";
41
+ readonly '@types/aws-lambda': "8.10.161";
44
42
  readonly '@types/cors': "2.8.19";
45
43
  readonly '@types/ws': "8.18.1";
46
44
  readonly '@types/express': "5.0.6";
47
- readonly '@smithy/types': "4.12.0";
45
+ readonly '@smithy/types': "4.13.0";
48
46
  readonly aws4fetch: "1.0.20";
49
- readonly 'aws-cdk': "2.1106.0";
50
- readonly 'aws-cdk-lib': "2.238.0";
51
- readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.238.0-alpha.0";
47
+ readonly 'aws-cdk': "2.1108.0";
48
+ readonly 'aws-cdk-lib': "2.241.0";
49
+ readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.241.0-alpha.0";
52
50
  readonly 'aws-xray-sdk-core': "3.12.0";
53
- readonly constructs: "10.5.0";
51
+ readonly constructs: "10.5.1";
54
52
  readonly cors: "2.8.6";
55
53
  readonly 'class-variance-authority': "0.7.1";
56
54
  readonly clsx: "2.1.1";
57
- readonly electrodb: "3.5.3";
55
+ readonly electrodb: "3.7.0";
58
56
  readonly esbuild: "0.27.3";
59
57
  readonly 'event-source-polyfill': "1.0.31";
60
58
  readonly '@types/event-source-polyfill': "1.0.5";
@@ -63,7 +61,7 @@ export declare const TS_VERSIONS: {
63
61
  readonly 'jsonc-eslint-parser': "2.4.2";
64
62
  readonly 'make-dir-cli': "4.0.0";
65
63
  readonly ncp: "2.0.0";
66
- readonly 'npm-check-updates': "19.3.2";
64
+ readonly 'npm-check-updates': "19.6.3";
67
65
  readonly 'oidc-client-ts': "3.4.1";
68
66
  readonly prettier: "3.8.1";
69
67
  readonly 'react-oidc-context': "3.3.0";
@@ -72,14 +70,14 @@ export declare const TS_VERSIONS: {
72
70
  readonly rimraf: "6.1.3";
73
71
  readonly rolldown: "1.0.0-rc.1";
74
72
  readonly 'source-map-support': "0.5.21";
75
- readonly tailwindcss: "4.1.18";
76
- readonly '@tailwindcss/vite': "4.1.18";
73
+ readonly tailwindcss: "4.2.1";
74
+ readonly '@tailwindcss/vite': "4.2.1";
77
75
  readonly tsx: "4.21.0";
78
- readonly 'lucide-react': "0.574.0";
76
+ readonly 'lucide-react': "0.576.0";
79
77
  readonly 'radix-ui': "1.4.3";
80
78
  readonly shadcn: "3.8.5";
81
79
  readonly 'tw-animate-css': "1.4.0";
82
- readonly 'tailwind-merge': "3.4.1";
80
+ readonly 'tailwind-merge': "3.5.0";
83
81
  readonly 'vite-tsconfig-paths': "5.1.4";
84
82
  readonly zod: "4.3.6";
85
83
  readonly ws: "8.19.0";
@@ -89,25 +87,25 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
89
87
  * Add versions to the given dependencies
90
88
  */
91
89
  export declare const withVersions: (deps: ITsDepVersion[]) => {
92
- [k: string]: "22.5.3" | "3.8.1" | "1.27.0" | "22.1.0" | "4.3.6" | "3.992.0" | "3.972.3" | "1.0.0-alpha.10" | "2.31.0" | "6.4.5" | "9.0.1" | "0.19.0" | "0.2.2" | "1.160.2" | "1.160.1" | "1.154.7" | "1.158.0" | "3.0.149" | "3.0.1204" | "1.0.50" | "5.90.21" | "5.91.3" | "11.10.0" | "22.19.11" | "8.10.160" | "2.8.19" | "8.18.1" | "5.0.6" | "4.12.0" | "1.0.20" | "2.1106.0" | "2.238.0" | "2.238.0-alpha.0" | "3.12.0" | "10.5.0" | "2.8.6" | "0.7.1" | "2.1.1" | "3.5.3" | "0.27.3" | "1.0.31" | "1.0.5" | "5.5.5" | "5.2.1" | "2.4.2" | "4.0.0" | "2.0.0" | "19.3.2" | "3.4.1" | "3.3.0" | "19.2.4" | "6.1.3" | "1.0.0-rc.1" | "0.5.21" | "4.1.18" | "4.21.0" | "0.574.0" | "1.4.3" | "3.8.5" | "1.4.0" | "5.1.4" | "8.19.0";
90
+ [k: string]: "22.5.3" | "3.8.1" | "1.27.1" | "22.1.1" | "4.3.6" | "3.1004.0" | "1.0.0-alpha.10" | "2.31.0" | "6.4.5" | "9.0.1" | "0.19.0" | "0.4.0" | "1.163.3" | "1.164.0" | "1.161.4" | "3.0.150" | "3.0.1217" | "1.0.51" | "5.90.21" | "5.91.3" | "11.11.0" | "22.19.13" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.13.0" | "1.0.20" | "2.1108.0" | "2.241.0" | "2.241.0-alpha.0" | "3.12.0" | "10.5.1" | "2.8.6" | "0.7.1" | "2.1.1" | "3.7.0" | "0.27.3" | "1.0.31" | "1.0.5" | "5.5.5" | "5.2.1" | "2.4.2" | "4.0.0" | "2.0.0" | "19.6.3" | "3.4.1" | "3.3.0" | "19.2.4" | "6.1.3" | "1.0.0-rc.1" | "0.5.21" | "4.2.1" | "4.21.0" | "0.576.0" | "1.4.3" | "3.8.5" | "1.4.0" | "3.5.0" | "5.1.4" | "8.19.0";
93
91
  };
94
92
  /**
95
93
  * Versions for Python dependencies added by generators
96
94
  */
97
95
  export declare const PY_VERSIONS: {
98
- readonly 'aws-lambda-powertools': "==3.24.0";
99
- readonly 'aws-lambda-powertools[tracer]': "==3.24.0";
100
- readonly 'aws-lambda-powertools[parser]': "==3.24.0";
96
+ readonly 'aws-lambda-powertools': "==3.25.0";
97
+ readonly 'aws-lambda-powertools[tracer]': "==3.25.0";
98
+ readonly 'aws-lambda-powertools[parser]': "==3.25.0";
101
99
  readonly 'aws-opentelemetry-distro': "==0.15.0";
102
100
  readonly 'bedrock-agentcore': "==0.1.7";
103
- readonly boto3: "==1.42.54";
104
- readonly checkov: "==3.2.505";
105
- readonly fastapi: "==0.131.0";
106
- readonly 'fastapi[standard]': "==0.131.0";
101
+ readonly boto3: "==1.42.63";
102
+ readonly checkov: "==3.2.508";
103
+ readonly fastapi: "==0.135.1";
104
+ readonly 'fastapi[standard]': "==0.135.1";
107
105
  readonly mcp: "==1.26.0";
108
106
  readonly 'pip-check-updates': "==0.28.0";
109
- readonly 'strands-agents': "==1.27.0";
110
- readonly 'strands-agents-tools': "==0.2.21";
107
+ readonly 'strands-agents': "==1.29.0";
108
+ readonly 'strands-agents-tools': "==0.2.22";
111
109
  readonly uvicorn: "==0.41.0";
112
110
  };
113
111
  export type IPyDepVersion = keyof typeof PY_VERSIONS;