mirror of
https://github.com/block/buzz.git
synced 2026-11-16 06:11:34 +00:00
* main: (128 commits) perf(timeline): gate heavy message render behind useDeferredValue (#1022) Add animated profile avatars (#1031) Polish direct message and members modals (#1054) Polish huddles UI (#1041) Fix video review comments in threads (#1056) Polish message reaction tray (#1002) Refine app loading skeletons (#1001) Polish channel modal forms (#1000) Normalize desktop icon sizing (#999) Add shared skeleton loader primitives (#998) chore(scripts): update post-screenshots repo name to block/buzz (#1042) docs: fix stale sprout repo references in RELEASING.md (#1043) chore(release): release version 0.3.23 (#1040) fix(release): publish manifest from successful platforms (#1039) chore(release): release version 0.3.22 (#1038) chore(release): release version 0.3.21 (#1037) fix(release): use signed NSIS installer for updates (#1036) handoff: pass full session history to summarizer (#1033) feat(emoji): latest-set-wins union for custom emoji across desktop, mobile, and CLI (#989) Fix relay NIP-11 software URL (#1030) ... # Conflicts: # Cargo.lock # crates/buzz-acp/src/config.rs # crates/buzz-acp/src/relay.rs # crates/buzz-acp/src/serverless_relay.rs # crates/buzz-cli/src/client.rs # crates/buzz-cli/src/commands/channels.rs # crates/buzz-cli/src/commands/mem.rs # crates/buzz-cli/src/lib.rs # desktop/scripts/check-file-sizes.mjs # desktop/src-tauri/Cargo.lock # desktop/src-tauri/src/commands/messages.rs # desktop/src-tauri/src/commands/mod.rs # desktop/src-tauri/src/events.rs # desktop/src-tauri/src/lib.rs # desktop/src-tauri/src/managed_agents/runtime.rs # desktop/src-tauri/src/relay.rs # desktop/src/app/AppShell.tsx # desktop/src/app/AppTopChrome.tsx # desktop/src/features/messages/hooks.ts # desktop/src/features/sidebar/ui/AppSidebar.tsx # desktop/src/features/workspaces/ui/AddWorkspaceDialog.tsx # desktop/src/features/workspaces/ui/WelcomeSetup.tsx # desktop/src/features/workspaces/workspaceStorage.ts # desktop/src/shared/api/tauri.ts # justfile
53 lines
1.5 KiB
JavaScript
53 lines
1.5 KiB
JavaScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { runFileSizeCheck } from "../../scripts/check-file-sizes-core.mjs";
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
const projectRoot = path.resolve(__dirname, "..");
|
|
|
|
const MAX_LINES = 1000;
|
|
|
|
const rules = [
|
|
{ root: "src-tauri/src", extensions: new Set([".rs"]), maxLines: MAX_LINES },
|
|
{
|
|
root: "src/app",
|
|
extensions: new Set([".ts", ".tsx"]),
|
|
maxLines: MAX_LINES,
|
|
},
|
|
{
|
|
root: "src/features",
|
|
extensions: new Set([".ts", ".tsx"]),
|
|
maxLines: MAX_LINES,
|
|
},
|
|
{
|
|
root: "src/shared/api",
|
|
extensions: new Set([".ts", ".tsx"]),
|
|
maxLines: MAX_LINES,
|
|
},
|
|
];
|
|
|
|
// TEMP — these files exceed the 1000-line limit and are queued to be split.
|
|
// Do not add to this list; split the file instead. Remove each entry as its
|
|
// file is broken up. Tracked as a follow-up.
|
|
const overrides = new Map([
|
|
["src-tauri/src/commands/agents.rs", 1294],
|
|
["src-tauri/src/managed_agents/nest.rs", 1420],
|
|
["src-tauri/src/managed_agents/runtime.rs", 2000],
|
|
["src-tauri/src/managed_agents/personas.rs", 1080],
|
|
["src-tauri/src/managed_agents/persona_card.rs", 1050],
|
|
["src-tauri/src/huddle/tts.rs", 1364],
|
|
["src/shared/api/tauri.ts", 1300],
|
|
["src-tauri/src/nostr_convert.rs", 1126],
|
|
["src/shared/api/relayClientSession.ts", 1160],
|
|
["src-tauri/src/migration.rs", 1295],
|
|
["src-tauri/src/events.rs", 1150],
|
|
]);
|
|
|
|
await runFileSizeCheck({
|
|
projectRoot,
|
|
rules,
|
|
overrides,
|
|
label: "Desktop",
|
|
scriptPath: "desktop/scripts/check-file-sizes.mjs",
|
|
});
|