diff --git a/Cargo.lock b/Cargo.lock index d5ac814..e308a17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -581,7 +581,7 @@ dependencies = [ [[package]] name = "cortex-mem" -version = "0.1.0" +version = "1.0.0" dependencies = [ "cortex-mem-core", "tracing", @@ -589,7 +589,7 @@ dependencies = [ [[package]] name = "cortex-mem-cli" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "clap", @@ -609,7 +609,7 @@ dependencies = [ [[package]] name = "cortex-mem-config" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "serde", @@ -619,7 +619,7 @@ dependencies = [ [[package]] name = "cortex-mem-core" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "async-trait", @@ -647,7 +647,7 @@ dependencies = [ [[package]] name = "cortex-mem-evaluation" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "async-trait", @@ -675,7 +675,7 @@ dependencies = [ [[package]] name = "cortex-mem-mcp" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "async-trait", @@ -698,7 +698,7 @@ dependencies = [ [[package]] name = "cortex-mem-rig" -version = "0.2.0" +version = "1.0.0" dependencies = [ "anyhow", "async-trait", @@ -715,7 +715,7 @@ dependencies = [ [[package]] name = "cortex-mem-service" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "axum 0.8.6", @@ -737,7 +737,7 @@ dependencies = [ [[package]] name = "cortex-mem-tars" -version = "0.1.0" +version = "1.0.0" dependencies = [ "async-stream", "async-trait", @@ -760,7 +760,7 @@ dependencies = [ [[package]] name = "cortex-mem-tools" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "async-trait", @@ -2202,7 +2202,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memory-tools-refactor" -version = "0.1.0" +version = "1.0.0" dependencies = [ "async-trait", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 32c1165..9414a3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem" -version = "0.1.0" +version = "1.0.0" edition = "2024" [workspace] diff --git a/cortex-mem-cli/Cargo.toml b/cortex-mem-cli/Cargo.toml index 15a0f77..662f290 100644 --- a/cortex-mem-cli/Cargo.toml +++ b/cortex-mem-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-cli" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "Command line interface for Rust agent memory system" license = "MIT" diff --git a/cortex-mem-cli/src/main.rs b/cortex-mem-cli/src/main.rs index fa7ef5b..d15e249 100644 --- a/cortex-mem-cli/src/main.rs +++ b/cortex-mem-cli/src/main.rs @@ -13,9 +13,9 @@ use tracing_subscriber; mod commands; use commands::{ - OptimizeCommand, - OptimizationStatusCommand, - OptimizationConfigCommand, + OptimizeCommand, + OptimizationStatusCommand, + OptimizationConfigCommand, OptimizeCommandRunner, }; use commands::add::AddCommand; @@ -25,7 +25,9 @@ use commands::search::SearchCommand; #[derive(Parser)] #[command(name = "cortex-mem-cli")] -#[command(about = "Rust Agent Memory System CLI")] +#[command(about = "Cortex Memory CLI for Agent Memory Layer")] +#[command(author = "Sopaco")] +#[command(version)] pub struct Cli { #[command(subcommand)] pub command: Commands, diff --git a/cortex-mem-config/Cargo.toml b/cortex-mem-config/Cargo.toml index 2dae2d1..80bd4d1 100644 --- a/cortex-mem-config/Cargo.toml +++ b/cortex-mem-config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-config" -version = "0.1.0" +version = "1.0.0" edition = "2024" [dependencies] diff --git a/cortex-mem-core/Cargo.toml b/cortex-mem-core/Cargo.toml index 3c827c9..2b875fe 100644 --- a/cortex-mem-core/Cargo.toml +++ b/cortex-mem-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-core" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "Core memory management engine for Rust agent memory system" license = "MIT" diff --git a/cortex-mem-insights/bun.lock b/cortex-mem-insights/bun.lock index 47cfff0..d10a5a8 100644 --- a/cortex-mem-insights/bun.lock +++ b/cortex-mem-insights/bun.lock @@ -46,7 +46,7 @@ "@elysiajs/cors": ["@elysiajs/cors@1.4.0", "https://registry.npmmirror.com/@elysiajs/cors/-/cors-1.4.0.tgz", { "peerDependencies": { "elysia": ">= 1.4.0" } }, "sha512-pb0SCzBfFbFSYA/U40HHO7R+YrcXBJXOWgL20eSViK33ol1e20ru2/KUaZYo5IMUn63yaTJI/bQERuQ+77ND8g=="], - "@elysiajs/static": ["@elysiajs/static@1.4.7", "https://npm.corp.kuaishou.com/@elysiajs/static/-/static-1.4.7.tgz", { "peerDependencies": { "elysia": ">= 1.4.0" } }, "sha512-Go4kIXZ0G3iWfkAld07HmLglqIDMVXdyRKBQK/sVEjtpDdjHNb+rUIje73aDTWpZYg4PEVHUpi9v4AlNEwrQug=="], + "@elysiajs/static": ["@elysiajs/static@1.4.7", "https://registry.npmmirror.com/@elysiajs/static/-/static-1.4.7.tgz", { "peerDependencies": { "elysia": ">= 1.4.0" } }, "sha512-Go4kIXZ0G3iWfkAld07HmLglqIDMVXdyRKBQK/sVEjtpDdjHNb+rUIje73aDTWpZYg4PEVHUpi9v4AlNEwrQug=="], "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.21.5", "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", { "os": "aix", "cpu": "ppc64" }, "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ=="], @@ -126,49 +126,49 @@ "@polka/url": ["@polka/url@1.0.0-next.29", "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.29.tgz", {}, "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww=="], - "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.3.tgz", { "os": "android", "cpu": "arm" }, "sha512-mRSi+4cBjrRLoaal2PnqH82Wqyb+d3HsPUN/W+WslCXsZsyHa9ZeQQX/pQsZaVIWDkPcpV6jJ+3KLbTbgnwv8w=="], + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.5.tgz", { "os": "android", "cpu": "arm" }, "sha512-iDGS/h7D8t7tvZ1t6+WPK04KD0MwzLZrG0se1hzBjSi5fyxlsiggoJHwh18PCFNn7tG43OWb6pdZ6Y+rMlmyNQ=="], - "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.3.tgz", { "os": "android", "cpu": "arm64" }, "sha512-CbDGaMpdE9sh7sCmTrTUyllhrg65t6SwhjlMJsLr+J8YjFuPmCEjbBSx4Z/e4SmDyH3aB5hGaJUP2ltV/vcs4w=="], + "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.5.tgz", { "os": "android", "cpu": "arm64" }, "sha512-wrSAViWvZHBMMlWk6EJhvg8/rjxzyEhEdgfMMjREHEq11EtJ6IP6yfcCH57YAEca2Oe3FNCE9DSTgU70EIGmVw=="], - "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.3.tgz", { "os": "darwin", "cpu": "arm64" }, "sha512-Nr7SlQeqIBpOV6BHHGZgYBuSdanCXuw09hon14MGOLGmXAFYjx1wNvquVPmpZnl0tLjg25dEdr4IQ6GgyToCUA=="], + "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.5.tgz", { "os": "darwin", "cpu": "arm64" }, "sha512-S87zZPBmRO6u1YXQLwpveZm4JfPpAa6oHBX7/ghSiGH3rz/KDgAu1rKdGutV+WUI6tKDMbaBJomhnT30Y2t4VQ=="], - "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.3.tgz", { "os": "darwin", "cpu": "x64" }, "sha512-DZ8N4CSNfl965CmPktJ8oBnfYr3F8dTTNBQkRlffnUarJ2ohudQD17sZBa097J8xhQ26AwhHJ5mvUyQW8ddTsQ=="], + "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.5.tgz", { "os": "darwin", "cpu": "x64" }, "sha512-YTbnsAaHo6VrAczISxgpTva8EkfQus0VPEVJCEaboHtZRIb6h6j0BNxRBOwnDciFTZLDPW5r+ZBmhL/+YpTZgA=="], - "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.3.tgz", { "os": "freebsd", "cpu": "arm64" }, "sha512-yMTrCrK92aGyi7GuDNtGn2sNW+Gdb4vErx4t3Gv/Tr+1zRb8ax4z8GWVRfr3Jw8zJWvpGHNpss3vVlbF58DZ4w=="], + "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.5.tgz", { "os": "freebsd", "cpu": "arm64" }, "sha512-1T8eY2J8rKJWzaznV7zedfdhD1BqVs1iqILhmHDq/bqCUZsrMt+j8VCTHhP0vdfbHK3e1IQ7VYx3jlKqwlf+vw=="], - "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.3.tgz", { "os": "freebsd", "cpu": "x64" }, "sha512-lMfF8X7QhdQzseM6XaX0vbno2m3hlyZFhwcndRMw8fbAGUGL3WFMBdK0hbUBIUYcEcMhVLr1SIamDeuLBnXS+Q=="], + "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.5.tgz", { "os": "freebsd", "cpu": "x64" }, "sha512-sHTiuXyBJApxRn+VFMaw1U+Qsz4kcNlxQ742snICYPrY+DDL8/ZbaC4DVIB7vgZmp3jiDaKA0WpBdP0aqPJoBQ=="], - "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.3.tgz", { "os": "linux", "cpu": "arm" }, "sha512-k9oD15soC/Ln6d2Wv/JOFPzZXIAIFLp6B+i14KhxAfnq76ajt0EhYc5YPeX6W1xJkAdItcVT+JhKl1QZh44/qw=="], + "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.5.tgz", { "os": "linux", "cpu": "arm" }, "sha512-dV3T9MyAf0w8zPVLVBptVlzaXxka6xg1f16VAQmjg+4KMSTWDvhimI/Y6mp8oHwNrmnmVl9XxJ/w/mO4uIQONA=="], - "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.3.tgz", { "os": "linux", "cpu": "arm" }, "sha512-vTNlKq+N6CK/8UktsrFuc+/7NlEYVxgaEgRXVUVK258Z5ymho29skzW1sutgYjqNnquGwVUObAaxae8rZ6YMhg=="], + "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.5.tgz", { "os": "linux", "cpu": "arm" }, "sha512-wIGYC1x/hyjP+KAu9+ewDI+fi5XSNiUi9Bvg6KGAh2TsNMA3tSEs+Sh6jJ/r4BV/bx/CyWu2ue9kDnIdRyafcQ=="], - "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.3.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-RGrFLWgMhSxRs/EWJMIFM1O5Mzuz3Xy3/mnxJp/5cVhZ2XoCAxJnmNsEyeMJtpK+wu0FJFWz+QF4mjCA7AUQ3w=="], + "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.5.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-Y+qVA0D9d0y2FRNiG9oM3Hut/DgODZbU9I8pLLPwAsU0tUKZ49cyV1tzmB/qRbSzGvY8lpgGkJuMyuhH7Ma+Vg=="], - "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.3.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-kASyvfBEWYPEwe0Qv4nfu6pNkITLTb32p4yTgzFCocHnJLAHs+9LjUu9ONIhvfT/5lv4YS5muBHyuV84epBo/A=="], + "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.5.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-juaC4bEgJsyFVfqhtGLz8mbopaWD+WeSOYr5E16y+1of6KQjc0BpwZLuxkClqY1i8sco+MdyoXPNiCkQou09+g=="], - "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.3.tgz", { "os": "linux", "cpu": "none" }, "sha512-JiuKcp2teLJwQ7vkJ95EwESWkNRFJD7TQgYmCnrPtlu50b4XvT5MOmurWNrCj3IFdyjBQ5p9vnrX4JM6I8OE7g=="], + "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.5.tgz", { "os": "linux", "cpu": "none" }, "sha512-rIEC0hZ17A42iXtHX+EPJVL/CakHo+tT7W0pbzdAGuWOt2jxDFh7A/lRhsNHBcqL4T36+UiAgwO8pbmn3dE8wA=="], - "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.3.tgz", { "os": "linux", "cpu": "ppc64" }, "sha512-EoGSa8nd6d3T7zLuqdojxC20oBfNT8nexBbB/rkxgKj5T5vhpAQKKnD+h3UkoMuTyXkP5jTjK/ccNRmQrPNDuw=="], + "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.5.tgz", { "os": "linux", "cpu": "ppc64" }, "sha512-T7l409NhUE552RcAOcmJHj3xyZ2h7vMWzcwQI0hvn5tqHh3oSoclf9WgTl+0QqffWFG8MEVZZP1/OBglKZx52Q=="], - "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.3.tgz", { "os": "linux", "cpu": "none" }, "sha512-4s+Wped2IHXHPnAEbIB0YWBv7SDohqxobiiPA1FIWZpX+w9o2i4LezzH/NkFUl8LRci/8udci6cLq+jJQlh+0g=="], + "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.5.tgz", { "os": "linux", "cpu": "none" }, "sha512-7OK5/GhxbnrMcxIFoYfhV/TkknarkYC1hqUw1wU2xUN3TVRLNT5FmBv4KkheSG2xZ6IEbRAhTooTV2+R5Tk0lQ=="], - "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.3.tgz", { "os": "linux", "cpu": "none" }, "sha512-68k2g7+0vs2u9CxDt5ktXTngsxOQkSEV/xBbwlqYcUrAVh6P9EgMZvFsnHy4SEiUl46Xf0IObWVbMvPrr2gw8A=="], + "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.5.tgz", { "os": "linux", "cpu": "none" }, "sha512-GwuDBE/PsXaTa76lO5eLJTyr2k8QkPipAyOrs4V/KJufHCZBJ495VCGJol35grx9xryk4V+2zd3Ri+3v7NPh+w=="], - "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.3.tgz", { "os": "linux", "cpu": "s390x" }, "sha512-VYsFMpULAz87ZW6BVYw3I6sWesGpsP9OPcyKe8ofdg9LHxSbRMd7zrVrr5xi/3kMZtpWL/wC+UIJWJYVX5uTKg=="], + "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.5.tgz", { "os": "linux", "cpu": "s390x" }, "sha512-IAE1Ziyr1qNfnmiQLHBURAD+eh/zH1pIeJjeShleII7Vj8kyEm2PF77o+lf3WTHDpNJcu4IXJxNO0Zluro8bOw=="], - "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.3.tgz", { "os": "linux", "cpu": "x64" }, "sha512-3EhFi1FU6YL8HTUJZ51imGJWEX//ajQPfqWLI3BQq4TlvHy4X0MOr5q3D2Zof/ka0d5FNdPwZXm3Yyib/UEd+w=="], + "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.5.tgz", { "os": "linux", "cpu": "x64" }, "sha512-Pg6E+oP7GvZ4XwgRJBuSXZjcqpIW3yCBhK4BcsANvb47qMvAbCjR6E+1a/U2WXz1JJxp9/4Dno3/iSJLcm5auw=="], - "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.3.tgz", { "os": "linux", "cpu": "x64" }, "sha512-eoROhjcc6HbZCJr+tvVT8X4fW3/5g/WkGvvmwz/88sDtSJzO7r/blvoBDgISDiCjDRZmHpwud7h+6Q9JxFwq1Q=="], + "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.5.tgz", { "os": "linux", "cpu": "x64" }, "sha512-txGtluxDKTxaMDzUduGP0wdfng24y1rygUMnmlUJ88fzCCULCLn7oE5kb2+tRB+MWq1QDZT6ObT5RrR8HFRKqg=="], - "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.3.tgz", { "os": "none", "cpu": "arm64" }, "sha512-OueLAWgrNSPGAdUdIjSWXw+u/02BRTcnfw9PN41D2vq/JSEPnJnVuBgw18VkN8wcd4fjUs+jFHVM4t9+kBSNLw=="], + "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.5.tgz", { "os": "none", "cpu": "arm64" }, "sha512-3DFiLPnTxiOQV993fMc+KO8zXHTcIjgaInrqlG8zDp1TlhYl6WgrOHuJkJQ6M8zHEcntSJsUp1XFZSY8C1DYbg=="], - "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.3.tgz", { "os": "win32", "cpu": "arm64" }, "sha512-GOFuKpsxR/whszbF/bzydebLiXIHSgsEUp6M0JI8dWvi+fFa1TD6YQa4aSZHtpmh2/uAlj/Dy+nmby3TJ3pkTw=="], + "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.5.tgz", { "os": "win32", "cpu": "arm64" }, "sha512-nggc/wPpNTgjGg75hu+Q/3i32R00Lq1B6N1DO7MCU340MRKL3WZJMjA9U4K4gzy3dkZPXm9E1Nc81FItBVGRlA=="], - "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.3.tgz", { "os": "win32", "cpu": "ia32" }, "sha512-iah+THLcBJdpfZ1TstDFbKNznlzoxa8fmnFYK4V67HvmuNYkVdAywJSoteUszvBQ9/HqN2+9AZghbajMsFT+oA=="], + "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.5.tgz", { "os": "win32", "cpu": "ia32" }, "sha512-U/54pTbdQpPLBdEzCT6NBCFAfSZMvmjr0twhnD9f4EIvlm9wy3jjQ38yQj1AGznrNO65EWQMgm/QUjuIVrYF9w=="], - "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.3.tgz", { "os": "win32", "cpu": "x64" }, "sha512-J9QDiOIZlZLdcot5NXEepDkstocktoVjkaKUtqzgzpt2yWjGlbYiKyp05rWwk4nypbYUNoFAztEgixoLaSETkg=="], + "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.5.tgz", { "os": "win32", "cpu": "x64" }, "sha512-2NqKgZSuLH9SXBBV2dWNRCZmocgSOx8OJSdpRaEcRlIfX8YrKxUT6z0F1NpvDVhOsl190UFTRh2F2WDWWCYp3A=="], - "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.53.3", "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.3.tgz", { "os": "win32", "cpu": "x64" }, "sha512-UhTd8u31dXadv0MopwGgNOBpUVROFKWVQgAg5N1ESyCz8AuBcMqm4AuTjrwgQKGDfoFuz02EuMRHQIw/frmYKQ=="], + "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.53.5", "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.5.tgz", { "os": "win32", "cpu": "x64" }, "sha512-JRpZUhCfhZ4keB5v0fe02gQJy05GqboPOaxvjugW04RLSYYoB/9t2lx2u/tMs/Na/1NXfY8QYjgRljRpN+MjTQ=="], "@sinclair/typebox": ["@sinclair/typebox@0.34.41", "https://registry.npmmirror.com/@sinclair/typebox/-/typebox-0.34.41.tgz", {}, "sha512-6gS8pZzSXdyRHTIqoqSVknxolr1kzfy4/CeDnrzsVz8TTIWUbOBr6gnzOmTYJ3eXQNh4IYHIGi5aIL7sOZ2G/g=="], @@ -176,13 +176,13 @@ "@skeletonlabs/tw-plugin": ["@skeletonlabs/tw-plugin@0.4.1", "https://registry.npmmirror.com/@skeletonlabs/tw-plugin/-/tw-plugin-0.4.1.tgz", { "peerDependencies": { "tailwindcss": ">=3.0.0" } }, "sha512-crrC8BGKis0GNTp7V2HF6mk1ECLUvAxgTTV26LMgt/rV3U6Xd7N7dL5qIL8fE4MTHvpKa1SBsdqsnMbEvATeEg=="], - "@standard-schema/spec": ["@standard-schema/spec@1.0.0", "https://registry.npmmirror.com/@standard-schema/spec/-/spec-1.0.0.tgz", {}, "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA=="], + "@standard-schema/spec": ["@standard-schema/spec@1.1.0", "https://registry.npmmirror.com/@standard-schema/spec/-/spec-1.1.0.tgz", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="], "@sveltejs/acorn-typescript": ["@sveltejs/acorn-typescript@1.0.8", "https://registry.npmmirror.com/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.8.tgz", { "peerDependencies": { "acorn": "^8.9.0" } }, "sha512-esgN+54+q0NjB0Y/4BomT9samII7jGwNy/2a3wNZbT2A2RpmXsXwUt24LvLhx6jUq2gVk4cWEvcRO6MFQbOfNA=="], "@sveltejs/adapter-auto": ["@sveltejs/adapter-auto@3.3.1", "https://registry.npmmirror.com/@sveltejs/adapter-auto/-/adapter-auto-3.3.1.tgz", { "dependencies": { "import-meta-resolve": "^4.1.0" }, "peerDependencies": { "@sveltejs/kit": "^2.0.0" } }, "sha512-5Sc7WAxYdL6q9j/+D0jJKjGREGlfIevDyHSQ2eNETHcB1TKlQWHcAo8AS8H1QdjNvSXpvOwNjykDUHPEAyGgdQ=="], - "@sveltejs/adapter-static": ["@sveltejs/adapter-static@3.0.10", "https://npm.corp.kuaishou.com/@sveltejs/adapter-static/-/adapter-static-3.0.10.tgz", { "peerDependencies": { "@sveltejs/kit": "^2.0.0" } }, "sha512-7D9lYFWJmB7zxZyTE/qxjksvMqzMuYrrsyh1f4AlZqeZeACPRySjbC3aFiY55wb1tWUaKOQG9PVbm74JcN2Iew=="], + "@sveltejs/adapter-static": ["@sveltejs/adapter-static@3.0.10", "https://registry.npmmirror.com/@sveltejs/adapter-static/-/adapter-static-3.0.10.tgz", { "peerDependencies": { "@sveltejs/kit": "^2.0.0" } }, "sha512-7D9lYFWJmB7zxZyTE/qxjksvMqzMuYrrsyh1f4AlZqeZeACPRySjbC3aFiY55wb1tWUaKOQG9PVbm74JcN2Iew=="], "@sveltejs/kit": ["@sveltejs/kit@2.49.2", "https://registry.npmmirror.com/@sveltejs/kit/-/kit-2.49.2.tgz", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@sveltejs/acorn-typescript": "^1.0.5", "@types/cookie": "^0.6.0", "acorn": "^8.14.1", "cookie": "^0.6.0", "devalue": "^5.3.2", "esm-env": "^1.2.2", "kleur": "^4.1.5", "magic-string": "^0.30.5", "mrmime": "^2.0.0", "sade": "^1.8.1", "set-cookie-parser": "^2.6.0", "sirv": "^3.0.0" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0", "svelte": "^4.0.0 || ^5.0.0-next.0", "vite": "^5.0.3 || ^6.0.0 || ^7.0.0-beta.0" }, "optionalPeers": ["@opentelemetry/api"], "bin": { "svelte-kit": "svelte-kit.js" } }, "sha512-Vp3zX/qlwerQmHMP6x0Ry1oY7eKKRcOWGc2P59srOp4zcqyn+etJyQpELgOi4+ZSUgteX8Y387NuwruLgGXLUQ=="], @@ -244,13 +244,13 @@ "array-union": ["array-union@2.1.0", "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", {}, "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw=="], - "autoprefixer": ["autoprefixer@10.4.22", "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.22.tgz", { "dependencies": { "browserslist": "^4.27.0", "caniuse-lite": "^1.0.30001754", "fraction.js": "^5.3.4", "normalize-range": "^0.1.2", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-ARe0v/t9gO28Bznv6GgqARmVqcWOV3mfgUPn9becPHMiD3o9BwlRgaeccZnwTpZ7Zwqrm+c1sUSsMxIzQzc8Xg=="], + "autoprefixer": ["autoprefixer@10.4.23", "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.23.tgz", { "dependencies": { "browserslist": "^4.28.1", "caniuse-lite": "^1.0.30001760", "fraction.js": "^5.3.4", "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA=="], "axobject-query": ["axobject-query@4.1.0", "https://registry.npmmirror.com/axobject-query/-/axobject-query-4.1.0.tgz", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="], "balanced-match": ["balanced-match@1.0.2", "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], - "baseline-browser-mapping": ["baseline-browser-mapping@2.9.7", "https://registry.npmmirror.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz", { "bin": { "baseline-browser-mapping": "dist/cli.js" } }, "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg=="], + "baseline-browser-mapping": ["baseline-browser-mapping@2.9.10", "https://registry.npmmirror.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.10.tgz", { "bin": { "baseline-browser-mapping": "dist/cli.js" } }, "sha512-2VIKvDx8Z1a9rTB2eCkdPE5nSe28XnA+qivGnWHoB40hMMt/h1hSz0960Zqsn6ZyxWXUie0EBdElKv8may20AA=="], "binary-extensions": ["binary-extensions@2.3.0", "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.3.0.tgz", {}, "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw=="], @@ -492,8 +492,6 @@ "normalize-path": ["normalize-path@3.0.0", "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="], - "normalize-range": ["normalize-range@0.1.2", "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz", {}, "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA=="], - "object-assign": ["object-assign@4.1.1", "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], "object-hash": ["object-hash@3.0.0", "https://registry.npmmirror.com/object-hash/-/object-hash-3.0.0.tgz", {}, "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw=="], @@ -552,7 +550,7 @@ "prettier": ["prettier@3.7.4", "https://registry.npmmirror.com/prettier/-/prettier-3.7.4.tgz", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA=="], - "prettier-plugin-svelte": ["prettier-plugin-svelte@3.4.0", "https://registry.npmmirror.com/prettier-plugin-svelte/-/prettier-plugin-svelte-3.4.0.tgz", { "peerDependencies": { "prettier": "^3.0.0", "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, "sha512-pn1ra/0mPObzqoIQn/vUTR3ZZI6UuZ0sHqMK5x2jMLGrs53h0sXhkVuDcrlssHwIMk7FYrMjHBPoUSyyEEDlBQ=="], + "prettier-plugin-svelte": ["prettier-plugin-svelte@3.4.1", "https://registry.npmmirror.com/prettier-plugin-svelte/-/prettier-plugin-svelte-3.4.1.tgz", { "peerDependencies": { "prettier": "^3.0.0", "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, "sha512-xL49LCloMoZRvSwa6IEdN2GV6cq2IqpYGstYtMT+5wmml1/dClEoI0MZR78MiVPpu6BdQFfN0/y73yO6+br5Pg=="], "punycode": ["punycode@2.3.1", "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], @@ -570,7 +568,7 @@ "rimraf": ["rimraf@3.0.2", "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", { "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "bin.js" } }, "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA=="], - "rollup": ["rollup@4.53.3", "https://registry.npmmirror.com/rollup/-/rollup-4.53.3.tgz", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.53.3", "@rollup/rollup-android-arm64": "4.53.3", "@rollup/rollup-darwin-arm64": "4.53.3", "@rollup/rollup-darwin-x64": "4.53.3", "@rollup/rollup-freebsd-arm64": "4.53.3", "@rollup/rollup-freebsd-x64": "4.53.3", "@rollup/rollup-linux-arm-gnueabihf": "4.53.3", "@rollup/rollup-linux-arm-musleabihf": "4.53.3", "@rollup/rollup-linux-arm64-gnu": "4.53.3", "@rollup/rollup-linux-arm64-musl": "4.53.3", "@rollup/rollup-linux-loong64-gnu": "4.53.3", "@rollup/rollup-linux-ppc64-gnu": "4.53.3", "@rollup/rollup-linux-riscv64-gnu": "4.53.3", "@rollup/rollup-linux-riscv64-musl": "4.53.3", "@rollup/rollup-linux-s390x-gnu": "4.53.3", "@rollup/rollup-linux-x64-gnu": "4.53.3", "@rollup/rollup-linux-x64-musl": "4.53.3", "@rollup/rollup-openharmony-arm64": "4.53.3", "@rollup/rollup-win32-arm64-msvc": "4.53.3", "@rollup/rollup-win32-ia32-msvc": "4.53.3", "@rollup/rollup-win32-x64-gnu": "4.53.3", "@rollup/rollup-win32-x64-msvc": "4.53.3", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-w8GmOxZfBmKknvdXU1sdM9NHcoQejwF/4mNgj2JuEEdRaHwwF12K7e9eXn1nLZ07ad+du76mkVsyeb2rKGllsA=="], + "rollup": ["rollup@4.53.5", "https://registry.npmmirror.com/rollup/-/rollup-4.53.5.tgz", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.53.5", "@rollup/rollup-android-arm64": "4.53.5", "@rollup/rollup-darwin-arm64": "4.53.5", "@rollup/rollup-darwin-x64": "4.53.5", "@rollup/rollup-freebsd-arm64": "4.53.5", "@rollup/rollup-freebsd-x64": "4.53.5", "@rollup/rollup-linux-arm-gnueabihf": "4.53.5", "@rollup/rollup-linux-arm-musleabihf": "4.53.5", "@rollup/rollup-linux-arm64-gnu": "4.53.5", "@rollup/rollup-linux-arm64-musl": "4.53.5", "@rollup/rollup-linux-loong64-gnu": "4.53.5", "@rollup/rollup-linux-ppc64-gnu": "4.53.5", "@rollup/rollup-linux-riscv64-gnu": "4.53.5", "@rollup/rollup-linux-riscv64-musl": "4.53.5", "@rollup/rollup-linux-s390x-gnu": "4.53.5", "@rollup/rollup-linux-x64-gnu": "4.53.5", "@rollup/rollup-linux-x64-musl": "4.53.5", "@rollup/rollup-openharmony-arm64": "4.53.5", "@rollup/rollup-win32-arm64-msvc": "4.53.5", "@rollup/rollup-win32-ia32-msvc": "4.53.5", "@rollup/rollup-win32-x64-gnu": "4.53.5", "@rollup/rollup-win32-x64-msvc": "4.53.5", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-iTNAbFSlRpcHeeWu73ywU/8KuU/LZmNCSxp6fjQkJBD3ivUb8tpDrXhIxEzA05HlYMEwmtaUnb3RP+YNv162OQ=="], "run-parallel": ["run-parallel@1.2.0", "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], @@ -650,7 +648,7 @@ "uint8array-extras": ["uint8array-extras@1.5.0", "https://registry.npmmirror.com/uint8array-extras/-/uint8array-extras-1.5.0.tgz", {}, "sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A=="], - "update-browserslist-db": ["update-browserslist-db@1.2.2", "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA=="], + "update-browserslist-db": ["update-browserslist-db@1.2.3", "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w=="], "uri-js": ["uri-js@4.4.1", "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], @@ -680,8 +678,6 @@ "fast-glob/glob-parent": ["glob-parent@5.1.2", "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], - "fdir/picomatch": ["picomatch@4.0.3", "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.3.tgz", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], - "postcss-load-config/lilconfig": ["lilconfig@2.1.0", "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.1.0.tgz", {}, "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ=="], "sander/rimraf": ["rimraf@2.7.1", "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz", { "dependencies": { "glob": "^7.1.3" }, "bin": { "rimraf": "./bin.js" } }, "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w=="], diff --git a/cortex-mem-insights/src/lib/api/client.ts b/cortex-mem-insights/src/lib/api/client.ts index 47af99b..b654c1b 100644 --- a/cortex-mem-insights/src/lib/api/client.ts +++ b/cortex-mem-insights/src/lib/api/client.ts @@ -208,6 +208,16 @@ export const optimizationApi = { }); }, + // 清理请求 + cleanup: (params?: { + max_age_days?: number; + }) => { + return request('/api/optimization/cleanup', { + method: 'POST', + body: JSON.stringify(params || {}), + }); + }, + // 获取优化统计 statistics: () => { return request('/api/optimization/statistics'); diff --git a/cortex-mem-insights/src/routes/optimization/+page.svelte b/cortex-mem-insights/src/routes/optimization/+page.svelte index 9209aa8..cbd858a 100644 --- a/cortex-mem-insights/src/routes/optimization/+page.svelte +++ b/cortex-mem-insights/src/routes/optimization/+page.svelte @@ -1,683 +1,853 @@
- -
-

优化面板

-

- 检测和优化记忆数据,提升系统性能和信息密度 -

-
- - - {#if errorMessage} -
-
- - - - {errorMessage} - -
-
- {/if} - - {#if isLoading} - -
-
-
-
-
-
- {#each Array(2) as _, i} -
-
-
- {#each Array(3) as _, j} -
- {/each} -
-
- {/each} -
-
- {:else} - -
-

优化控制

- -
- -
-

优化策略

-
- {#each strategies as strategy} - - {/each} -
-
- - -
-

优化选项

-
- - - - -
-
超时时间
-
- - - {timeoutMinutes} 分钟 - -
-
-
-
- - -
-

预估影响

-
-
- 预计影响记忆: - - ~{getEstimatedImpact()} 条 - -
-
- 预计节省空间: - - ~{(getEstimatedImpact() * 0.15).toFixed(1)}MB - -
-
- 预计提升质量: - - +{aggressiveMode ? '15' : '10'}% - -
-
-
- {previewMode ? '预览模式不会实际修改数据' : '优化将永久修改记忆数据'} -
-
-
- - -
- {#if isOptimizing} - - {:else} - - {/if} - - -
-
-
-
- - - {#if isOptimizing} -
-

优化进度

- -
- -
-
- - {optimizationStatus === 'analyzing' ? '分析问题中...' : - optimizationStatus === 'executing' ? '执行优化中...' : - optimizationStatus === 'completed' ? '优化完成' : '优化失败'} - - - {optimizationProgress}% - -
-
-
-
-
- - -
-
-
当前阶段
-
- {optimizationStatus === 'analyzing' ? '问题分析' : - optimizationStatus === 'executing' ? '执行优化' : - optimizationStatus === 'completed' ? '完成' : '失败'} -
-
- -
-
已处理记忆
-
- {Math.floor(optimizationProgress * 1.5)} 条 -
-
- -
-
预计剩余时间
-
- {Math.max(0, Math.floor((100 - optimizationProgress) * 0.3))} 分钟 -
-
-
- - -
-
实时日志
-
- {#each Array(Math.floor(optimizationProgress / 10)) as _, i} -
- [{new Date(Date.now() - (10 - i) * 1000).toLocaleTimeString('zh-CN', {hour12: false})}] - {optimizationStatus === 'analyzing' ? '分析记忆 #' + (i * 10 + 1) + '...' : - '优化记忆 #' + (i * 10 + 1) + '...'} -
- {/each} -
-
-
-
- {/if} - - -
-
-

检测到的问题

- -
- -
- {#each detectedIssues as issue} -
-
- - {issue.severity === 'high' ? '高' : issue.severity === 'medium' ? '中' : '低'} - - - {issue.count} - -
-
- {issue.type} -
-
- {issue.description} -
-
- -
-
- {/each} -
-
- - -
-

优化历史

- -
- - - - - - - - - - - - - - - {#each optimizationHistory as record} - - - - - - - - - - - {/each} - -
- 优化ID - - 策略 - - 状态 - - 开始时间 - - 耗时 - - 影响记忆 - - 节省空间 - - 操作 -
-
- {record.id} -
-
-
- {record.strategy} -
-
- - {record.status === 'completed' ? '完成' : - record.status === 'running' ? '进行中' : '失败'} - - - {record.startedAt} - - {record.duration} - -
- {record.memoriesAffected} -
-
-
- {record.spaceSaved} -
-
-
- - {#if record.status === 'completed'} - - {/if} -
-
-
- -
-
-
- 共 {optimizationHistory.length} 次优化记录 -
- -
-
-
- {/if} + +
+

优化面板

+

检测和优化记忆数据,提升系统性能和信息密度

+
+ + + {#if errorMessage} +
+
+ + + + {errorMessage} + +
+
+ {/if} + + {#if isLoading} + +
+
+
+
+
+
+ {#each Array(2) as _, i} +
+
+
+ {#each Array(3) as _, j} +
+ {/each} +
+
+ {/each} +
+
+ {:else} + +
+

优化控制

+ +
+ +
+

优化策略

+
+ {#each strategies as strategy} + + {/each} +
+
+ + +
+

优化选项

+
+ + + + +
+
超时时间
+
+ + + {timeoutMinutes} 分钟 + +
+
+
+
+ + +
+

预估影响

+
+
+ 预计影响记忆: + + ~{getEstimatedImpact()} 条 + +
+
+ 预计节省空间: + + ~{(getEstimatedImpact() * 0.15).toFixed(1)}MB + +
+
+ 预计提升质量: + + +{aggressiveMode ? '15' : '10'}% + +
+
+
+ {previewMode ? '预览模式不会实际修改数据' : '优化将永久修改记忆数据'} +
+
+
+ + +
+ {#if isOptimizing} + + {:else} + + {/if} + + +
+
+
+
+ + + {#if isOptimizing} +
+

优化进度

+ +
+ +
+
+ + {optimizationStatus === 'analyzing' + ? '分析问题中...' + : optimizationStatus === 'executing' + ? '执行优化中...' + : optimizationStatus === 'completed' + ? '优化完成' + : '优化失败'} + + + {optimizationProgress}% + +
+
+
+
+
+ + +
+
+
当前阶段
+
+ {optimizationStatus === 'analyzing' + ? '问题分析' + : optimizationStatus === 'executing' + ? '执行优化' + : optimizationStatus === 'completed' + ? '完成' + : '失败'} +
+
+ +
+
已处理记忆
+
+ {Math.floor(optimizationProgress * 1.5)} 条 +
+
+ +
+
预计剩余时间
+
+ {Math.max(0, Math.floor((100 - optimizationProgress) * 0.3))} 分钟 +
+
+
+ + +
+
实时日志
+
+ {#each Array(Math.floor(optimizationProgress / 10)) as _, i} +
+ [{new Date(Date.now() - (10 - i) * 1000).toLocaleTimeString('zh-CN', { + hour12: false + })}] + {optimizationStatus === 'analyzing' + ? '分析记忆 #' + (i * 10 + 1) + '...' + : '优化记忆 #' + (i * 10 + 1) + '...'} +
+ {/each} +
+
+
+
+ {/if} + + +
+
+

检测到的问题

+ +
+ +
+ {#each detectedIssues as issue} +
+
+ + {issue.severity === 'high' ? '高' : issue.severity === 'medium' ? '中' : '低'} + + + {issue.count} + +
+
+ {issue.type} +
+
+ {issue.description} +
+
+ +
+
+ {/each} +
+
+ + +
+

优化历史

+ +
+ + + + + + + + + + + + + + + {#each optimizationHistory as record} + + + + + + + + + + + {/each} + +
+ 优化ID + + 策略 + + 状态 + + 开始时间 + + 耗时 + + 影响记忆 + + 节省空间 + + 操作 +
+
+ {record.id} +
+
+
+ {record.strategy} +
+
+ + {record.status === 'completed' + ? '完成' + : record.status === 'running' + ? '进行中' + : '失败'} + + + {record.startedAt} + + {record.duration} + +
+ {record.memoriesAffected} +
+
+
+ {record.spaceSaved} +
+
+
+ +
+
+
+ +
+
+
+ 共 {optimizationHistory.length} 次优化记录 +
+ +
+
+
+ {/if}
- \ No newline at end of file + diff --git a/cortex-mem-insights/static/favicon.png b/cortex-mem-insights/static/favicon.png index a327b53..8e633b7 100644 Binary files a/cortex-mem-insights/static/favicon.png and b/cortex-mem-insights/static/favicon.png differ diff --git a/cortex-mem-insights/static/favicon_large.png b/cortex-mem-insights/static/favicon_large.png new file mode 100644 index 0000000..7ebbaab Binary files /dev/null and b/cortex-mem-insights/static/favicon_large.png differ diff --git a/cortex-mem-mcp/Cargo.toml b/cortex-mem-mcp/Cargo.toml index 37dd442..a24f900 100644 --- a/cortex-mem-mcp/Cargo.toml +++ b/cortex-mem-mcp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-mcp" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "MCP server for cortex-mem memory management system" license = "MIT" diff --git a/cortex-mem-mcp/src/main.rs b/cortex-mem-mcp/src/main.rs index 18537b5..a7e62ad 100644 --- a/cortex-mem-mcp/src/main.rs +++ b/cortex-mem-mcp/src/main.rs @@ -7,7 +7,9 @@ use tracing::{error, info}; #[derive(Parser)] #[command(name = "cortex-mem-mcp")] -#[command(about = "MCP server for Cortex Memo memory management system")] +#[command(about = "MCP server of Cortex Memory to enhance agent's memory layer")] +#[command(author = "Sopaco")] +#[command(version)] struct Cli { /// Path to the configuration file #[arg(short, long, default_value = "config.toml")] diff --git a/cortex-mem-rig/Cargo.toml b/cortex-mem-rig/Cargo.toml index 91b0dbb..9ac1db2 100644 --- a/cortex-mem-rig/Cargo.toml +++ b/cortex-mem-rig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-rig" -version = "0.2.0" +version = "1.0.0" edition = "2024" description = "Rig framework integration for Rust agent memory system" license = "MIT" diff --git a/cortex-mem-service/Cargo.toml b/cortex-mem-service/Cargo.toml index a088815..4463e8f 100644 --- a/cortex-mem-service/Cargo.toml +++ b/cortex-mem-service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-service" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "HTTP API service for Rust agent memory system" license = "MIT" diff --git a/cortex-mem-service/src/main.rs b/cortex-mem-service/src/main.rs index 6565840..331e188 100644 --- a/cortex-mem-service/src/main.rs +++ b/cortex-mem-service/src/main.rs @@ -38,7 +38,9 @@ pub struct AppState { #[derive(Parser)] #[command(name = "cortex-mem-service")] -#[command(about = "Rust Agent Memory System HTTP Service")] +#[command(about = "Cortex Memory HTTP Service")] +#[command(author = "Sopaco")] +#[command(version)] struct Cli { /// Path to the configuration file #[arg(short, long, default_value = "config.toml")] diff --git a/cortex-mem-tools/Cargo.toml b/cortex-mem-tools/Cargo.toml index b6dcd0f..c616c58 100644 --- a/cortex-mem-tools/Cargo.toml +++ b/cortex-mem-tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-tools" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "Shared memory tools for cortex-mem system" license = "MIT" diff --git a/examples/cortex-mem-evaluation/Cargo.toml b/examples/cortex-mem-evaluation/Cargo.toml index 58e9af3..f31b10f 100644 --- a/examples/cortex-mem-evaluation/Cargo.toml +++ b/examples/cortex-mem-evaluation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-evaluation" -version = "0.1.0" +version = "1.0.0" edition = "2024" description = "Evaluation framework for Cortex-Mem core capabilities" authors = ["Cortex-Mem Team"] diff --git a/examples/cortex-mem-tars/Cargo.toml b/examples/cortex-mem-tars/Cargo.toml index cd78941..b7e4224 100644 --- a/examples/cortex-mem-tars/Cargo.toml +++ b/examples/cortex-mem-tars/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortex-mem-tars" -version = "0.1.0" +version = "1.0.0" edition = "2024" [dependencies] diff --git a/examples/cortex-mem-tars/src/main.rs b/examples/cortex-mem-tars/src/main.rs index d27cf1a..dc2953f 100644 --- a/examples/cortex-mem-tars/src/main.rs +++ b/examples/cortex-mem-tars/src/main.rs @@ -31,8 +31,10 @@ use terminal::cleanup_terminal_final; use ui::draw_ui; #[derive(Parser)] -#[command(name = "multi-round-interactive")] -#[command(about = "Multi-round interactive conversation with a memory-enabled agent")] +#[command(name = "Cortex Memory Tars")] +#[command(about = "A Multi-round interactive conversation with a memory-enabled agent")] +#[command(author = "Sopaco")] +#[command(version)] struct Cli { /// Path to the configuration file #[arg(short, long, default_value = "config.toml")] @@ -134,7 +136,7 @@ async fn run_application( } AppMessage::StreamingChunk { user, chunk } => { // 如果是新的用户输入,开始新的流式回复 - if app.current_streaming_response.is_none() || + if app.current_streaming_response.is_none() || app.current_streaming_response.as_ref().map(|(u, _)| u != &user).unwrap_or(false) { app.start_streaming_response(user); } @@ -201,7 +203,7 @@ async fn run_application( tokio::spawn(async move { // 创建流式通道 let (stream_tx, mut stream_rx) = mpsc::unbounded_channel::(); - + // 启动流式处理任务 let agent_clone2 = agent_clone.clone(); let memory_manager_clone2 = memory_manager_clone.clone(); @@ -210,7 +212,7 @@ async fn run_application( let user_id_clone2 = user_id_clone.clone(); let input_clone = input.clone(); let current_conversations_clone = current_conversations.clone(); - + let generation_task = tokio::spawn(async move { agent_reply_with_memory_retrieval_streaming( &agent_clone2, @@ -295,7 +297,7 @@ async fn run_application( } AppMessage::StreamingChunk { user, chunk } => { // 如果是新的用户输入,开始新的流式回复 - if app.current_streaming_response.is_none() || + if app.current_streaming_response.is_none() || app.current_streaming_response.as_ref().map(|(u, _)| u != &user).unwrap_or(false) { app.start_streaming_response(user); } diff --git a/examples/memory-tools-refactor/Cargo.toml b/examples/memory-tools-refactor/Cargo.toml index 98230e6..5925304 100644 --- a/examples/memory-tools-refactor/Cargo.toml +++ b/examples/memory-tools-refactor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "memory-tools-refactor" -version = "0.1.0" +version = "1.0.0" edition = "2024" [dependencies] diff --git a/scripts/.gitignore b/scripts/.gitignore new file mode 100644 index 0000000..fc5707e --- /dev/null +++ b/scripts/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/bun.lock diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..822f70f --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,74 @@ +# Cargo.toml 版本更新工具 + +这是一个用于统一更新 `cortex-mem` 项目中所有 `Cargo.toml` 文件版本的 JavaScript 工具。 + +## 功能 + +- 扫描项目中所有的 `Cargo.toml` 文件 +- 更新每个 crate 的版本号为指定值(默认为 1.0.0) +- 自动更新内部依赖引用的版本号 +- 排除 `target`、`node_modules` 和 `.git` 目录 + +## 使用方法 + +1. 打开终端或命令提示符 +2. 导航到项目的scripts目录: + ```bash + cd scripts + ``` + +3. 安装依赖: + ```bash + npm install + ``` + +4. 运行脚本: + ```bash + npm run update-versions + ``` + 或 + ```bash + node update-versions.js + ``` + +## 自定义版本 + +要更新为不同的版本号,编辑 `update-versions.js` 文件顶部的 `VERSION` 常量: + +```javascript +const VERSION = '2.0.0'; // 更改为你想要的版本号 +``` + +## 示例输出 + +``` +================================================== +Cargo.toml Version Updater +Updating all versions to 1.0.0 +================================================== +Scanning for Cargo.toml files... +Found 11 Cargo.toml files + +Updating package versions... + Updated version in Cargo.toml + Updated version in cortex-mem-cli/Cargo.toml + ... + +Updating internal dependencies... + Updated internal dependencies in cortex-mem-config/Cargo.toml + ... + +================================================== +Update Summary: + 11 package versions updated + 3 dependency references updated +================================================== + +Version update completed successfully! +You may want to run "cargo check" to verify all changes. +``` + +## 注意事项 + +1. 脚本会在更新前自动备份原始文件的内容,但建议在运行前手动版本控制或备份 +2. 更新完成后,建议运行 `cargo check` 或 `cargo build` 验证所有更改 \ No newline at end of file diff --git a/scripts/package.json b/scripts/package.json new file mode 100644 index 0000000..1e41879 --- /dev/null +++ b/scripts/package.json @@ -0,0 +1,20 @@ +{ + "name": "cortex-mem-version-updater", + "version": "1.0.0", + "description": "Tool to update Cargo.toml versions across all crates", + "main": "update-versions.js", + "scripts": { + "update-versions": "node update-versions.js" + }, + "dependencies": { + "glob": "^10.3.10" + }, + "keywords": [ + "cargo", + "rust", + "version", + "update" + ], + "author": "cortex-mem", + "license": "MIT" +} diff --git a/scripts/update-versions.js b/scripts/update-versions.js new file mode 100644 index 0000000..9e0ce93 --- /dev/null +++ b/scripts/update-versions.js @@ -0,0 +1,167 @@ +#!/usr/bin/env node + +const fs = require('fs'); +const path = require('path'); +const glob = require('glob'); + +const VERSION = '1.0.0'; +const CARGO_TOML_PATTERN = '**/Cargo.toml'; +const EXCLUDE_PATTERNS = ['**/target/**', '**/node_modules/**', '**/.git/**']; + +// ANSI color codes for terminal output +const colors = { + reset: '\x1b[0m', + bright: '\x1b[1m', + red: '\x1b[31m', + green: '\x1b[32m', + yellow: '\x1b[33m', + blue: '\x1b[34m', + magenta: '\x1b[35m', + cyan: '\x1b[36m', +}; + +// Helper function to colorize output +function colorize(text, color) { + return `${colors[color]}${text}${colors.reset}`; +} + +// Function to find all Cargo.toml files +function findCargoTomlFiles() { + console.log(colorize('Scanning for Cargo.toml files...', 'cyan')); + + try { + const files = glob.sync(CARGO_TOML_PATTERN, { + ignore: EXCLUDE_PATTERNS, + cwd: process.cwd(), + absolute: true + }); + + console.log(colorize(`Found ${files.length} Cargo.toml files`, 'green')); + return files; + } catch (error) { + console.error(colorize('Error finding Cargo.toml files:', 'red'), error); + process.exit(1); + } +} + +// Function to update version in a Cargo.toml file +function updateVersionInCargoToml(filePath) { + try { + const content = fs.readFileSync(filePath, 'utf8'); + const lines = content.split('\n'); + let versionFound = false; + + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + + // Look for version in package section + if (line.trim().startsWith('version = ')) { + lines[i] = `version = "${VERSION}"`; + versionFound = true; + console.log(colorize(` Updated version in ${path.relative(process.cwd(), filePath)}`, 'green')); + break; + } + } + + if (!versionFound) { + console.log(colorize(` No version found in ${path.relative(process.cwd(), filePath)}`, 'yellow')); + return false; + } + + fs.writeFileSync(filePath, lines.join('\n'), 'utf8'); + return true; + } catch (error) { + console.error(colorize(`Error processing ${filePath}:`, 'red'), error); + return false; + } +} + +// Function to update internal dependencies +function updateInternalDependencies(filePath) { + try { + const content = fs.readFileSync(filePath, 'utf8'); + const lines = content.split('\n'); + let updated = false; + + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + + // Look for internal dependencies + if (line.includes('path = ')) { + // Check if it's an internal dependency by checking if it has a path to a local crate + if (line.includes('cortex-mem-') || line.includes('../')) { + // Update version for internal dependencies + const versionMatch = line.match(/version\s*=\s*"([^"]+)"/); + if (versionMatch) { + lines[i] = line.replace(/version\s*=\s*"[^"]+"/, `version = "${VERSION}"`); + updated = true; + } + } + } + } + + if (updated) { + fs.writeFileSync(filePath, lines.join('\n'), 'utf8'); + console.log(colorize(` Updated internal dependencies in ${path.relative(process.cwd(), filePath)}`, 'blue')); + } + + return updated; + } catch (error) { + console.error(colorize(`Error updating dependencies in ${filePath}:`, 'red'), error); + return false; + } +} + +// Main function +function main() { + console.log(colorize('='.repeat(50), 'cyan')); + console.log(colorize('Cargo.toml Version Updater', 'bright')); + console.log(colorize(`Updating all versions to ${VERSION}`, 'bright')); + console.log(colorize('='.repeat(50), 'cyan')); + + const files = findCargoTomlFiles(); + let updatedFiles = 0; + let updatedDependencies = 0; + + // First pass: update package versions + console.log(colorize('\nUpdating package versions...', 'cyan')); + for (const file of files) { + if (updateVersionInCargoToml(file)) { + updatedFiles++; + } + } + + // Second pass: update internal dependencies + console.log(colorize('\nUpdating internal dependencies...', 'cyan')); + for (const file of files) { + if (updateInternalDependencies(file)) { + updatedDependencies++; + } + } + + // Summary + console.log(colorize('\n' + '='.repeat(50), 'cyan')); + console.log(colorize('Update Summary:', 'bright')); + console.log(` ${colorize(updatedFiles.toString(), 'green')} package versions updated`); + console.log(` ${colorize(updatedDependencies.toString(), 'blue')} dependency references updated`); + console.log(colorize('='.repeat(50), 'cyan')); + + if (updatedFiles > 0) { + console.log(colorize('\nVersion update completed successfully!', 'green')); + console.log(colorize('You may want to run "cargo check" to verify all changes.', 'yellow')); + } else { + console.log(colorize('\nNo files were updated.', 'yellow')); + } +} + +// Check if glob module is available +try { + require.resolve('glob'); +} catch (e) { + console.error(colorize('Error: The "glob" package is required but not installed.', 'red')); + console.error(colorize('Please install it with: npm install glob', 'yellow')); + process.exit(1); +} + +// Run the script +main();