decord/alpha/source/modules/vibegrations/lib/VibegrationsDebugSnapshot.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

17 lines
1 KiB
TypeScript

// Module ID: 16651
// Function ID: 16652
// Name: VibegrationsDebugSnapshot
// Dependencies: [16650, 8686, 2]
// Exports: vibegrationsDebugSnapshot
// Module 16651 (VibegrationsDebugSnapshot)
import VibegrationsDebugStore from "VibegrationsDebugStore" /* 16650 */;
import VibegrationsProjectStore from "VibegrationsProjectStore" /* 8686 */;
const size = fn(2);
const result = size.fileFinishedImporting("modules/vibegrations/lib/VibegrationsDebugSnapshot.tsx");
export const vibegrationsDebugSnapshot = function vibegrationsDebugSnapshot(projectId) {
const obj = { captured_at: new Date().toISOString(), project_id: projectId, status: VibegrationsDebugStore.getStatus(projectId), last_turn_usage: VibegrationsDebugStore.getLastTurnUsage(projectId), last_compaction: VibegrationsDebugStore.getLastCompaction(projectId), last_compaction_decline: VibegrationsDebugStore.getLastCompactionDecline(projectId), model_calls: VibegrationsDebugStore.getModelCalls(projectId), logs: VibegrationsProjectStore.getLogs(projectId) };
return JSON.stringify(obj, null, 2);
};