We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ff9047 commit 985fdc2Copy full SHA for 985fdc2
1 file changed
src/types/agent.ts
@@ -72,6 +72,15 @@ export interface SessionUsageData {
72
sessionUpdatedAt?: number;
73
projectPath?: string;
74
cost?: number;
75
+ /**
76
+ * Optional plugin-defined metadata passed through to the core.
77
+ * Plugins can use this to signal data quality, enrichment status,
78
+ * or other plugin-specific information the UI may choose to render.
79
+ *
80
+ * Known keys (convention, not enforced):
81
+ * - `isEstimated` (boolean) — true when token counts are local estimates
82
+ */
83
+ metadata?: Record<string, unknown>;
84
}
85
86
// ---------------------------------------------------------------------------
0 commit comments