Camel-case capability IDs and rename the MCP gateway pair

This commit is contained in:
gitea committed 2026-09-30 16:17:33 +08:00
1 parent 7f36cd1d39
commit 4f0d955e06
41 files changed
+466 -466

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ function saveUsageStatsAtomic(stats: CorpUsageStats, targetPath: string = resolv
}
const tempPath = `${targetPath}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2, 8)}.tmp`;
try {
// 0o600 like `seal_tokens.json`: usage rows name the enterprises this machine has been
// 0o600 like `sealTokens.json`: usage rows name the enterprises this machine has been
// operating, so keep them owner-only instead of inheriting the 0o644 default.
writeFileSync(tempPath, JSON.stringify(stats, null, 2), { encoding: "utf-8", mode: 0o600 });
renameSync(tempPath, targetPath);