@directive-run/knowledge 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ export interface CheckersAI {
|
|
|
100
100
|
cacheStats: CacheStats;
|
|
101
101
|
busMessageCount: number;
|
|
102
102
|
};
|
|
103
|
-
|
|
103
|
+
destroy(): void;
|
|
104
104
|
/** Escape hatch for dashboard rendering */
|
|
105
105
|
readonly observability: ReturnType<typeof createObservability> | null;
|
|
106
106
|
}
|
|
@@ -561,7 +561,7 @@ export function createCheckersAI(): CheckersAI {
|
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
function
|
|
564
|
+
function destroy(): void {
|
|
565
565
|
clearInterval(otlpInterval);
|
|
566
566
|
// Flush OTLP one final time
|
|
567
567
|
try {
|
|
@@ -571,9 +571,9 @@ export function createCheckersAI(): CheckersAI {
|
|
|
571
571
|
} catch {
|
|
572
572
|
// Best-effort flush on dispose
|
|
573
573
|
}
|
|
574
|
-
orchestrator.
|
|
575
|
-
multi.
|
|
576
|
-
obs.
|
|
574
|
+
orchestrator.destroy();
|
|
575
|
+
multi.destroy();
|
|
576
|
+
obs.destroy();
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directive-run/knowledge",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"description": "Knowledge files, examples, and validation for Directive — the constraint-driven TypeScript runtime.",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"author": "Jason Comes",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"tsx": "^4.19.2",
|
|
51
51
|
"typescript": "^5.7.2",
|
|
52
52
|
"vitest": "^3.0.0",
|
|
53
|
-
"@directive-run/core": "0.8.
|
|
54
|
-
"@directive-run/ai": "0.8.
|
|
53
|
+
"@directive-run/core": "0.8.8",
|
|
54
|
+
"@directive-run/ai": "0.8.8"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "tsx scripts/generate-api-skeleton.ts && tsx scripts/extract-examples.ts && tsup",
|