Merge branch 'feat/edge-glyph'

This commit is contained in:
amosblomqvist
2026-09-19 22:39:03 +03:00
15 changed files with 740 additions and 68 deletions
+6
View File
@@ -28,6 +28,7 @@ import type {
TurnUsage,
NotesSource,
ClusterLabeling,
NamingRunUsage,
EmbeddingsLedger,
} from "./contracts.ts";
import type { UserSettings } from "./settings.ts";
@@ -101,6 +102,11 @@ export interface GraphStore {
appendClusterLabel(labeling: ClusterLabeling): void;
readClusterLabels(): ClusterLabeling[];
/** Append one cluster-naming run's usage (graph-global money channel) —
* idempotent per startedAt. */
appendNamingUsage(entry: NamingRunUsage): void;
readNamingRuns(): NamingRunUsage[];
/** Upsert one imported-notes source record (config.SOURCES_FILE — a
* JSON map, not a ledger; an upsert keeps the existing usage log). */
upsertSource(source: NotesSource): void;