decord/alpha/source/modules/vibegrations/lib/VibegrationsDebugSnapshot.tsx
github-actions e160b228c5 chore: update source for alpha 348.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4942.js (118.4 MB)
2026-09-22 07:41:18 +00:00

17 lines
1 KiB
TypeScript

// Module ID: 17076
// Function ID: 17077
// Name: VibegrationsDebugSnapshot
// Dependencies: [17075, 9314, 2]
// Exports: vibegrationsDebugSnapshot
// Module 17076 (VibegrationsDebugSnapshot)
import VibegrationsDebugStore from "VibegrationsDebugStore" /* 17075 */;
import VibegrationsProjectStore from "VibegrationsProjectStore" /* 9314 */;
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);
};