2026-09-22 14:21:44 +00:00
|
|
|
// Module ID: 17068
|
|
|
|
|
// Function ID: 17069
|
2026-09-21 13:40:21 +00:00
|
|
|
// Name: VibegrationsDebugSnapshot
|
2026-09-22 14:21:44 +00:00
|
|
|
// Dependencies: [17067, 9307, 2]
|
2026-09-21 13:40:21 +00:00
|
|
|
// Exports: vibegrationsDebugSnapshot
|
|
|
|
|
|
2026-09-22 14:21:44 +00:00
|
|
|
// Module 17068 (VibegrationsDebugSnapshot)
|
|
|
|
|
import VibegrationsDebugStore from "VibegrationsDebugStore" /* 17067 */;
|
2026-09-21 19:31:18 +00:00
|
|
|
import VibegrationsProjectStore from "VibegrationsProjectStore" /* 9307 */;
|
2026-09-21 13:40:21 +00:00
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
};
|