feat: ship enterprise control and desktop governance

This commit is contained in:
AI Bot
2026-05-11 14:59:26 +08:00
parent 0757d07521
commit a311280238
285 changed files with 48574 additions and 2428 deletions

View File

@@ -29,7 +29,7 @@ process.env.BOSS_RUNTIME_ROOT = rootDir;
const { getAttachmentStorageConfig, readState, writeState } = jiti(path.join(scriptDir, "..", "src", "lib", "boss-data.ts"));
const config = await getAttachmentStorageConfig("17600003315");
const config = await getAttachmentStorageConfig("krisolo");
if (config.mode !== "server_file") {
throw new Error(`Expected default storage mode server_file, got ${config.mode}`);
}
@@ -57,7 +57,7 @@ state.projects[0].messages.unshift({
storagePath: "/tmp/demo.txt",
previewAvailable: true,
uploadedAt: "2026-03-29T00:00:00+08:00",
uploadedBy: "17600003315",
uploadedBy: "krisolo",
analysisState: "not_applicable",
},
],