Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
perf(sync-service): multi-stage Docker image, 4.5GB -> 510MB (#4614)
teoea41ce3d2031
diff --git a/docker-compose.yml b/docker-compose.ymlindex 254c3064c6..e5d004c716 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -391,6 +391,12 @@ services:build:context: ./rust/sync-servicedockerfile: Dockerfile+ # macro_sync_service_jwt is a `../cloud-storage/...` path dependency that+ # lives outside this build context; hand it in as a named context so a+ # fresh image build works (a stale cached image hides this otherwise).+ additional_contexts:+ - macro_sync_service_jwt=./rust/cloud-storage/macro_sync_service_jwt+ - cloud_storage_manifest=./rust/cloud-storageports:- "8787:8787"volumes:diff --git a/rust/cloud-storage/macro_sync_service_jwt/Cargo.toml b/rust/cloud-storage/macro_sync_service_jwt/Cargo.tomlindex 927d38b761..e20f2398d8 100644--- a/rust/cloud-storage/macro_sync_service_jwt/Cargo.toml+++ b/rust/cloud-storage/macro_sync_service_jwt/Cargo.toml@@ -5,7 +5,10 @@ publish = falseversion = "0.1.0"# Excluded from workspace-hack in .config/hakari.toml since it needs to compile-# to wasm too for sync service+# to wasm too for sync service. The sync-service Docker image builds this crate+# outside the checkout, against a stub workspace root synthesized from the real+# one (see rust/sync-service/Dockerfile) — so `workspace = true` still resolves+# there without duplicating any version pins here.[dependencies]derive_more = { version = "2", features = ["display", "from"] }jsonwebtoken = { workspace = true }diff --git a/rust/sync-service/Dockerfile b/rust/sync-service/Dockerfileindex b4b6bfb6a9..ee80a832ca 100644--- a/rust/sync-service/Dockerfile+++ b/rust/sync-service/Dockerfile@@ -1,4 +1,7 @@-FROM rust:1.90-bookworm+# Builder: compiles the worker (Rust -> wasm + JS shim). Nothing from this+# stage's toolchain (rustc, clang, npm dev deps, the cargo target dir) is+# needed at runtime, so it all stays here.+FROM rust:1.90-bookworm AS builder# Install Node.js 22.xRUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \@@ -25,6 +28,16 @@ WORKDIR /appCOPY Cargo.toml Cargo.lock build.rs ./COPY bebop-schema/Cargo.toml bebop-schema/Cargo.toml+# The macro_sync_service_jwt path dependency (`../cloud-storage/...`) resolves+# to /cloud-storage/... from /app. It lives outside this build context, so+# compose passes it in as an additional named context (see docker-compose.yml).+# Its deps are `workspace = true`, so the real cloud-storage workspace root+# manifest comes along too (single source of truth for version pins), with its+# member list shrunk to just this crate — the other members aren't in the image.+COPY --from=macro_sync_service_jwt . /cloud-storage/macro_sync_service_jwt+COPY --from=cloud_storage_manifest Cargo.toml /cloud-storage/Cargo.toml+RUN sed -i '/^members = \[$/,/^\]$/c\members = ["macro_sync_service_jwt"]' /cloud-storage/Cargo.toml+# Create dummy src to build dependencies only (cached layer)RUN mkdir -p src bebop-schema/src && \echo "use worker::*; #[event(fetch)] async fn fetch(_: Request, _: Env, _: Context) -> Result<Response> { Response::ok(\"ok\") }" > src/lib.rs && \@@ -47,6 +60,25 @@ COPY . .# Build the actual applicationRUN worker-build --release+# Runtime: wrangler dev serving the prebuilt worker. Needs node + the+# production npm deps (wrangler brings miniflare/workerd along), the built+# worker, the wrangler config, and the D1 migrations — nothing else.+FROM node:22-bookworm-slim++# curl for the compose healthcheck; ca-certificates for wrangler's TLS.+RUN apt-get update && \+ apt-get install -y --no-install-recommends curl ca-certificates && \+ rm -rf /var/lib/apt/lists/*++WORKDIR /app++COPY package.json package-lock.json ./+RUN npm ci --omit=dev && npm cache clean --force++COPY wrangler.docker.toml ./+COPY database/ database/+COPY --from=builder /app/build build/+EXPOSE 8787# Generate .dev.vars from environment variables so wrangler can resolve secret bindings,diff --git a/rust/sync-service/bebop-schema/Cargo.toml b/rust/sync-service/bebop-schema/Cargo.tomlindex e86607229b..64e6f8eef3 100644--- a/rust/sync-service/bebop-schema/Cargo.toml+++ b/rust/sync-service/bebop-schema/Cargo.toml@@ -1,5 +1,7 @@[package]-edition = "2024"+# Generated code (bebop) predates edition-2024 match ergonomics — `ref` binding+# modifiers in inherited-reference patterns are a hard error there.+edition = "2021"name = "sync_service_bebop_schema"version = "0.1.0"diff --git a/rust/sync-service/package-lock.json b/rust/sync-service/package-lock.jsonindex fdb501b5d5..895a163875 100644--- a/rust/sync-service/package-lock.json+++ b/rust/sync-service/package-lock.json@@ -7,22 +7,21 @@"dependencies": {"bebop": "^3.1.3","jsonwebtoken": "^9.0.2",- "loro-crdt": "^1.13.3"+ "loro-crdt": "^1.13.3",+ "wrangler": "^4.102.0"},"devDependencies": {"@cloudflare/vitest-pool-workers": "^0.16.17","@types/jsonwebtoken": "^9.0.9","bebop-tools": "^3.1.3","miniflare": "^4.20260617.0",- "vitest": "^4.1.0",- "wrangler": "^4.102.0"+ "vitest": "^4.1.0"}},"node_modules/@cloudflare/kv-asset-handler": {"version": "0.5.0","resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.5.0.tgz","integrity": "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg==",- "dev": true,"license": "MIT OR Apache-2.0","engines": {"node": ">=22.0.0"@@ -32,7 +31,6 @@"version": "2.16.1","resolved": "https://registry.npmjs.org/@cloudflare/unenv-preset/-/unenv-preset-2.16.1.tgz","integrity": "sha512-ECxObrMfyTl5bhQf/lZCXwo5G6xX9IAUo+nDMKK4SZ8m4Jvvxp52vilxyySSWh2YTZz8+HQ07qGH/2rEom1vDw==",- "dev": true,"license": "MIT OR Apache-2.0","peerDependencies": {"unenv": "2.0.0-rc.24",@@ -537,7 +535,6 @@"cpu": ["x64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -554,7 +551,6 @@"cpu": ["arm64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -571,7 +567,6 @@"cpu": ["x64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -588,7 +583,6 @@"cpu": ["arm64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -605,7 +599,6 @@"cpu": ["x64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -632,7 +625,6 @@"version": "0.8.1","resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz","integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",- "dev": true,"license": "MIT","dependencies": {"@jridgewell/trace-mapping": "0.3.9"@@ -657,7 +649,6 @@"version": "1.11.1","resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz","integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",- "dev": true,"license": "MIT","optional": true,"dependencies": {@@ -682,7 +673,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -696,7 +686,6 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz","integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",- "dev": true,"license": "MIT","engines": {"node": ">=18"@@ -709,7 +698,6 @@"cpu": ["arm64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -732,7 +720,6 @@"cpu": ["x64"],- "dev": true,"license": "Apache-2.0","optional": true,"os": [@@ -755,7 +742,6 @@"cpu": ["arm64"],- "dev": true,"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -772,7 +758,6 @@"cpu": ["x64"],- "dev": true,"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -789,10 +774,6 @@"cpu": ["arm"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -809,10 +790,6 @@"cpu": ["arm64"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -829,10 +806,6 @@"cpu": ["ppc64"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -849,10 +822,6 @@"cpu": ["riscv64"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -869,10 +838,6 @@"cpu": ["s390x"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -889,10 +854,6 @@"cpu": ["x64"],- "dev": true,- "libc": [- "glibc"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -909,10 +870,6 @@"cpu": ["arm64"],- "dev": true,- "libc": [- "musl"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -929,10 +886,6 @@"cpu": ["x64"],- "dev": true,- "libc": [- "musl"- ],"license": "LGPL-3.0-or-later","optional": true,"os": [@@ -949,10 +902,6 @@"cpu": ["arm"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -975,10 +924,6 @@"cpu": ["arm64"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1001,10 +946,6 @@"cpu": ["ppc64"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1027,10 +968,6 @@"cpu": ["riscv64"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1053,10 +990,6 @@"cpu": ["s390x"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1079,10 +1012,6 @@"cpu": ["x64"],- "dev": true,- "libc": [- "glibc"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1105,10 +1034,6 @@"cpu": ["arm64"],- "dev": true,- "libc": [- "musl"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1131,10 +1056,6 @@"cpu": ["x64"],- "dev": true,- "libc": [- "musl"- ],"license": "Apache-2.0","optional": true,"os": [@@ -1157,7 +1078,6 @@"cpu": ["wasm32"],- "dev": true,"license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT","optional": true,"dependencies": {@@ -1177,7 +1097,6 @@"cpu": ["arm64"],- "dev": true,"license": "Apache-2.0 AND LGPL-3.0-or-later","optional": true,"os": [@@ -1197,7 +1116,6 @@"cpu": ["ia32"],- "dev": true,"license": "Apache-2.0 AND LGPL-3.0-or-later","optional": true,"os": [@@ -1217,7 +1135,6 @@"cpu": ["x64"],- "dev": true,"license": "Apache-2.0 AND LGPL-3.0-or-later","optional": true,"os": [@@ -1234,7 +1151,6 @@"version": "3.1.2","resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz","integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",- "dev": true,"license": "MIT","engines": {"node": ">=6.0.0"@@ -1244,14 +1160,12 @@"version": "1.5.5","resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz","integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",- "dev": true,"license": "MIT"},"node_modules/@jridgewell/trace-mapping": {"version": "0.3.9","resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz","integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",- "dev": true,"license": "MIT","dependencies": {"@jridgewell/resolve-uri": "^3.0.3",@@ -1291,7 +1205,6 @@"version": "4.1.6","resolved": "https://registry.npmjs.org/@poppinss/colors/-/colors-4.1.6.tgz","integrity": "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg==",- "dev": true,"license": "MIT","dependencies": {"kleur": "^4.1.5"@@ -1301,7 +1214,6 @@"version": "0.6.5","resolved": "https://registry.npmjs.org/@poppinss/dumper/-/dumper-0.6.5.tgz","integrity": "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw==",- "dev": true,"license": "MIT","dependencies": {"@poppinss/colors": "^4.1.5",@@ -1313,7 +1225,6 @@"version": "1.2.3","resolved": "https://registry.npmjs.org/@poppinss/exception/-/exception-1.2.3.tgz","integrity": "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw==",- "dev": true,"license": "MIT"},"node_modules/@rolldown/binding-android-arm64": {@@ -1409,9 +1320,6 @@"arm64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1429,9 +1337,6 @@"arm64"],"dev": true,- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -1449,9 +1354,6 @@"ppc64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1469,9 +1371,6 @@"s390x"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1489,9 +1388,6 @@"x64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1509,9 +1405,6 @@"x64"],"dev": true,- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -1602,7 +1495,6 @@"version": "7.2.0","resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-7.2.0.tgz","integrity": "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==",- "dev": true,"license": "MIT","engines": {"node": ">=18"@@ -1615,7 +1507,6 @@"version": "1.2.17","resolved": "https://registry.npmjs.org/@speed-highlight/core/-/core-1.2.17.tgz","integrity": "sha512-Z92FwKpCtfaW1V0jTU/fh3QzYEZN8wDwrzRIBoADCJfn4mJCNcJN/XegifX7BDrQ8/h9Xh/JnbyMchL0FqXrkg==",- "dev": true,"license": "CC0-1.0"},"node_modules/@standard-schema/spec": {@@ -1845,7 +1736,6 @@"version": "2.1.5","resolved": "https://registry.npmjs.org/blake3-wasm/-/blake3-wasm-2.1.5.tgz","integrity": "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==",- "dev": true,"license": "MIT"},"node_modules/buffer-equal-constant-time": {@@ -1882,7 +1772,6 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz","integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",- "dev": true,"license": "MIT","engines": {"node": ">=18"@@ -1914,7 +1803,6 @@"version": "2.1.2","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz","integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",- "dev": true,"license": "Apache-2.0","engines": {"node": ">=8"@@ -1933,7 +1821,6 @@"version": "1.0.5","resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-1.0.5.tgz","integrity": "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA==",- "dev": true,"license": "MIT","funding": {"url": "https://github.com/sponsors/antfu"@@ -2002,7 +1889,6 @@"version": "2.3.3","resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz","integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",- "dev": true,"hasInstallScript": true,"license": "MIT","optional": true,@@ -2060,7 +1946,6 @@"version": "4.1.5","resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz","integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",- "dev": true,"license": "MIT","engines": {"node": ">=6"@@ -2209,9 +2094,6 @@"arm64"],"dev": true,- "libc": [- "glibc"- ],"license": "MPL-2.0","optional": true,"os": [@@ -2233,9 +2115,6 @@"arm64"],"dev": true,- "libc": [- "musl"- ],"license": "MPL-2.0","optional": true,"os": [@@ -2257,9 +2136,6 @@"x64"],"dev": true,- "libc": [- "glibc"- ],"license": "MPL-2.0","optional": true,"os": [@@ -2281,9 +2157,6 @@"x64"],"dev": true,- "libc": [- "musl"- ],"license": "MPL-2.0","optional": true,"os": [@@ -2401,7 +2274,6 @@"version": "4.20260617.0","resolved": "https://registry.npmjs.org/miniflare/-/miniflare-4.20260617.0.tgz","integrity": "sha512-A+H5gcOCQZsKFg7/daZUtx8WHn4gGxwUfH1jnNDAisyAWSvvSZHe+GCeQWs16uthnUDcm72UQIQ1NXDJtnuo9Q==",- "dev": true,"license": "MIT","dependencies": {"@cspotcode/source-map-support": "0.8.1",@@ -2468,14 +2340,12 @@"version": "6.3.0","resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz","integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",- "dev": true,"license": "MIT"},"node_modules/pathe": {"version": "2.0.3","resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz","integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",- "dev": true,"license": "MIT"},"node_modules/picocolors": {@@ -2618,7 +2488,6 @@"version": "0.34.5","resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz","integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",- "dev": true,"hasInstallScript": true,"license": "Apache-2.0","dependencies": {@@ -2694,7 +2563,6 @@"version": "10.2.2","resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz","integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",- "dev": true,"license": "MIT","engines": {"node": ">=18"@@ -2751,7 +2619,6 @@"version": "2.8.1","resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz","integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",- "dev": true,"license": "0BSD","optional": true},@@ -2780,7 +2647,6 @@"version": "7.24.4","resolved": "https://registry.npmjs.org/undici/-/undici-7.24.4.tgz","integrity": "sha512-BM/JzwwaRXxrLdElV2Uo6cTLEjhSb3WXboncJamZ15NgUURmvlXvxa6xkwIOILIjPNo9i8ku136ZvWV0Uly8+w==",- "dev": true,"license": "MIT","engines": {"node": ">=20.18.1"@@ -2797,7 +2663,6 @@"version": "2.0.0-rc.24","resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.24.tgz","integrity": "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==",- "dev": true,"license": "MIT","dependencies": {"pathe": "^2.0.3"@@ -3012,7 +2877,6 @@"version": "1.20260617.1","resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20260617.1.tgz","integrity": "sha512-Re5pl6pdowt3ZmWUzGlOuB7jbRIIPetgKalmo4cYmucQnVhpo7/3e4MfpekbhLi2EhZZz5EY9NWRu8zFzuEZew==",- "dev": true,"hasInstallScript": true,"license": "Apache-2.0","bin": {@@ -3033,7 +2897,6 @@"version": "4.102.0","resolved": "https://registry.npmjs.org/wrangler/-/wrangler-4.102.0.tgz","integrity": "sha512-GPljlQs9a+/Ai2h0TdEUYaaWv9upK4fUteSWTPlruas7tdixiIwr74CZSWHcEPuRgZYkyYKHIBbT1w+BYPkPrw==",- "dev": true,"license": "MIT OR Apache-2.0","dependencies": {"@cloudflare/kv-asset-handler": "0.5.0",@@ -3072,7 +2935,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3089,7 +2951,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3106,7 +2967,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3123,7 +2983,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3140,7 +2999,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3157,7 +3015,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3174,7 +3031,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3191,7 +3047,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3208,7 +3063,6 @@"cpu": ["arm"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3225,7 +3079,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3242,7 +3095,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3259,7 +3111,6 @@"cpu": ["loong64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3276,7 +3127,6 @@"cpu": ["mips64el"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3293,7 +3143,6 @@"cpu": ["ppc64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3310,7 +3159,6 @@"cpu": ["riscv64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3327,7 +3175,6 @@"cpu": ["s390x"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3344,7 +3191,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3361,7 +3207,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3378,7 +3223,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3395,7 +3239,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3412,7 +3255,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3429,7 +3271,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3446,7 +3287,6 @@"cpu": ["arm64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3463,7 +3303,6 @@"cpu": ["ia32"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3480,7 +3319,6 @@"cpu": ["x64"],- "dev": true,"license": "MIT","optional": true,"os": [@@ -3494,7 +3332,6 @@"version": "0.28.1","resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz","integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",- "dev": true,"hasInstallScript": true,"license": "MIT","bin": {@@ -3536,7 +3373,6 @@"version": "8.21.0","resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz","integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",- "dev": true,"license": "MIT","engines": {"node": ">=10.0.0"@@ -3558,7 +3394,6 @@"version": "4.1.0-beta.10","resolved": "https://registry.npmjs.org/youch/-/youch-4.1.0-beta.10.tgz","integrity": "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ==",- "dev": true,"license": "MIT","dependencies": {"@poppinss/colors": "^4.1.5",@@ -3572,7 +3407,6 @@"version": "0.3.3","resolved": "https://registry.npmjs.org/youch-core/-/youch-core-0.3.3.tgz","integrity": "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA==",- "dev": true,"license": "MIT","dependencies": {"@poppinss/exception": "^1.2.2",diff --git a/rust/sync-service/package.json b/rust/sync-service/package.jsonindex c05e8b06f8..cdcf7d0ccd 100644--- a/rust/sync-service/package.json+++ b/rust/sync-service/package.json@@ -4,13 +4,13 @@"@types/jsonwebtoken": "^9.0.9","bebop-tools": "^3.1.3","miniflare": "^4.20260617.0",- "vitest": "^4.1.0",- "wrangler": "^4.102.0"+ "vitest": "^4.1.0"},"dependencies": {"bebop": "^3.1.3","jsonwebtoken": "^9.0.2",- "loro-crdt": "^1.13.3"+ "loro-crdt": "^1.13.3",+ "wrangler": "^4.102.0"},"overrides": {"undici": ">=6.24.0",