🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(deps): bump cmdk from 0.2.1 to 1.0.0 (#1623)
dependabot[bot]fefaa3a63b6e
diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d851c5bec7..f009673e64 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -315,8 +315,8 @@ importers:specifier: ^2.1.0version: 2.1.0cmdk:- specifier: ^0.2.1+ specifier: ^1.0.0+ version: 1.0.0(@types/[email protected])(@types/[email protected])([email protected])([email protected])core-js:specifier: ^3.36.1version: 3.36.1@@ -3339,12 +3339,6 @@ packages:'@babel/runtime': 7.24.0dev: false- /@radix-ui/[email protected]:- resolution: {integrity: sha512-3e7rn8FDMin4CgeL7Z/49smCA3rFYY3Ha2rUQ7HRWFadS5iCRw08ZgVT1LaNTCNqgvrUiyczLflrVrF0SRQtNA==}- dependencies:- '@babel/runtime': 7.24.0- dev: false-/@radix-ui/[email protected]:resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==}dependencies:@@ -3531,15 +3525,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- react: 18.2.0- dev: false-resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==}peerDependencies:@@ -3554,15 +3539,6 @@ packages:react: 18.2.0dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-1pVM9RfOQ+n/N5PJK33kRSKsr1glNxomxONs5c49MliinBY6Yw2Q995qfBUUo0/Mbg05B/sGA0gkgPI7kmSHBg==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- react: 18.2.0- dev: false-resolution: {integrity: sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==}peerDependencies:@@ -3577,33 +3553,6 @@ packages:react: 18.2.0dev: false- resolution: {integrity: sha512-Yn9YU+QlHYLWwV1XfKiqnGVpWYWk6MeBVM6x/bcoyPvxgjQGoeT35482viLPctTMWoMw0PoHgqfSox7Ig+957Q==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/primitive': 1.0.0- '@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-context': 1.0.0([email protected])- '@radix-ui/react-dismissable-layer': 1.0.0([email protected])([email protected])- '@radix-ui/react-focus-guards': 1.0.0([email protected])- '@radix-ui/react-focus-scope': 1.0.0([email protected])([email protected])- '@radix-ui/react-id': 1.0.0([email protected])- '@radix-ui/react-portal': 1.0.0([email protected])([email protected])- '@radix-ui/react-presence': 1.0.0([email protected])([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])- '@radix-ui/react-slot': 1.0.0([email protected])- '@radix-ui/react-use-controllable-state': 1.0.0([email protected])- aria-hidden: 1.2.3- react: 18.2.0- react-dom: 18.2.0([email protected])- react-remove-scroll: 2.5.4(@types/[email protected])([email protected])- transitivePeerDependencies:- - '@types/react'- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==}peerDependencies:@@ -3652,22 +3601,6 @@ packages:react: 18.2.0dev: false- resolution: {integrity: sha512-n7kDRfx+LB1zLueRDvZ1Pd0bxdJWDUZNQ/GWoxDn2prnuJKRdxsjulejX/ePkOsLi2tTm6P24mDqlMSgQpsT6g==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/primitive': 1.0.0- '@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])- '@radix-ui/react-use-escape-keydown': 1.0.0([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==}peerDependencies:@@ -3720,15 +3653,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-UagjDk4ijOAnGu4WMUPj9ahi7/zJJqNZ9ZAiGPp7waUWJO0O1aWXi/udPphI0IUjvrhBsZJGSN66dR2dsueLWQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- react: 18.2.0- dev: false-resolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==}peerDependencies:@@ -3743,20 +3667,6 @@ packages:react: 18.2.0dev: false- resolution: {integrity: sha512-C4SWtsULLGf/2L4oGeIHlvWQx7Rf+7cX/vKOAD2dXW0A1b5QXwi3wWeaEgW+wn+SEVrraMUk05vLU9fZZz5HbQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==}peerDependencies:@@ -3817,16 +3727,6 @@ packages:react: 18.2.0dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-Q6iAB/U7Tq3NTolBBQbHTgclPmGWE3OlktGGqrClPozSw4vkQ1DfQAOtzgRPecKsMdJINE05iaoDUG8tRzCBjw==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])- react: 18.2.0- dev: false-resolution: {integrity: sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==}peerDependencies:@@ -3966,18 +3866,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- resolution: {integrity: sha512-a8qyFO/Xb99d8wQdu4o7qnigNjTPG123uADNecz0eX4usnQEj7o+cG4ZX4zkqq98NYekT7UoEQIjxBNWIFuqTA==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==}peerDependencies:@@ -3999,19 +3887,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- resolution: {integrity: sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-compose-refs': 1.0.0([email protected])- '@radix-ui/react-use-layout-effect': 1.0.0([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==}peerDependencies:@@ -4034,18 +3909,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- resolution: {integrity: sha512-EyXe6mnRlHZ8b6f4ilTDrXmkLShICIuOTTj0GX4w1rp+wSxf3+TD05u1UOITC8VsJ2a9nwHvdXtOXEOl0Cw/zQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- react-dom: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-slot': 1.0.0([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- dev: false-/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}peerDependencies:@@ -4218,16 +4081,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-3mrKauI/tWXo1Ll+gN5dHcxDPdm/Df1ufcDLCecn+pnCIVcdWE7CujXo8QaXOWRJyZyQWWbpB8eFwHzWXlv5mQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-compose-refs': 1.0.0([email protected])- react: 18.2.0- dev: false-resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}peerDependencies:@@ -4353,15 +4206,6 @@ packages:react-dom: 18.2.0([email protected])dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- react: 18.2.0- dev: false-resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==}peerDependencies:@@ -4376,16 +4220,6 @@ packages:react: 18.2.0dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])- react: 18.2.0- dev: false-resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}peerDependencies:@@ -4401,16 +4235,6 @@ packages:react: 18.2.0dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])- react: 18.2.0- dev: false-resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}peerDependencies:@@ -4426,15 +4250,6 @@ packages:react: 18.2.0dev: false- /@radix-ui/[email protected]([email protected]):- resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}- peerDependencies:- react: ^16.8 || ^17.0 || ^18.0- dependencies:- '@babel/runtime': 7.24.0- react: 18.2.0- dev: false-resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}peerDependencies:@@ -7668,17 +7483,19 @@ packages:engines: {node: '>=0.10.0'}dev: false- resolution: {integrity: sha512-U6//9lQ6JvT47+6OF6Gi8BvkxYQ8SCRRSKIJkthIMsFsLZRG0cKvTtuTaefyIKMQb8rvvXy0wGdpTNq/jPtm+g==}+ /[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-gDzVf0a09TvoJ5jnuPvygTB77+XdOSwEmJ88L6XPFPlv7T3RxbP9jgenfylrAMD0+Le1aO0nVjQUzl2g+vjz5Q==}peerDependencies:react: ^18.0.0react-dom: ^18.0.0dependencies:+ '@radix-ui/react-dialog': 1.0.5(@types/[email protected])(@types/[email protected])([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])transitivePeerDependencies:- '@types/react'+ - '@types/react-dom'dev: false@@ -14012,25 +13829,6 @@ packages:tslib: 2.6.2dev: false- resolution: {integrity: sha512-xGVKJJr0SJGQVirVFAUZ2k1QLyO6m+2fy0l8Qawbp5Jgrv3DeLalrfMNBFSlmz5kriGGzsVBtGVnf4pTKIhhWA==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0- react: ^16.8.0 || ^17.0.0 || ^18.0.0- peerDependenciesMeta:- '@types/react':- optional: true- dependencies:- '@types/react': 18.2.74- react: 18.2.0- react-remove-scroll-bar: 2.3.6(@types/[email protected])([email protected])- react-style-singleton: 2.2.1(@types/[email protected])([email protected])- tslib: 2.6.2- use-callback-ref: 1.3.1(@types/[email protected])([email protected])- use-sidecar: 1.1.2(@types/[email protected])([email protected])- dev: false-resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==}engines: {node: '>=10'}diff --git a/web/package.json b/web/package.jsonindex 1b77302a26..4c44771ef4 100644--- a/web/package.json+++ b/web/package.json@@ -75,7 +75,7 @@"bcryptjs": "^2.4.3","class-variance-authority": "^0.7.0","clsx": "^2.1.0",- "cmdk": "^0.2.1",+ "cmdk": "^1.0.0","core-js": "^3.36.1","cors": "^2.8.5","date-fns": "^3.3.1",diff --git a/web/src/components/ui/command.tsx b/web/src/components/ui/command.tsxindex 0fd39c9586..923b66fcff 100644--- a/web/src/components/ui/command.tsx+++ b/web/src/components/ui/command.tsx@@ -120,7 +120,7 @@ const CommandItem = React.forwardRef<<CommandPrimitive.Itemref={ref}className={cn(- "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-slate-100 aria-selected:text-slate-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:aria-selected:bg-slate-800 dark:aria-selected:text-slate-50",+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-slate-100 aria-selected:text-slate-900 dark:aria-selected:bg-slate-800 dark:aria-selected:text-slate-50",className,)}{...props}diff --git a/web/src/features/prompts/components/auto-complete.tsx b/web/src/features/prompts/components/auto-complete.tsxindex 267890bf13..bca090098a 100644--- a/web/src/features/prompts/components/auto-complete.tsx+++ b/web/src/features/prompts/components/auto-complete.tsx@@ -51,7 +51,7 @@ export const AutoComplete = ({setOpen(true);}- // This is not a default behaviour of the <input /> field+ // This is not a default behavior of the <input /> fieldif (event.key === "Enter" && input.value !== "") {const optionToSelect = options.find((option) => option.label === input.value,@@ -145,7 +145,9 @@ export const AutoComplete = ({/></CommandList></div>- ) : null}+ ) : (+ <CommandList /> // CommandPrimitive expects a CommandList child, fix to prevent errors introduced in cmdk v1.0.0+ )}</div></CommandPrimitive>);