@psiclawops/hypermem 0.5.0 → 0.5.1

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.
Files changed (160) hide show
  1. package/dist/background-indexer.d.ts +132 -0
  2. package/dist/background-indexer.d.ts.map +1 -0
  3. package/dist/background-indexer.js +1044 -0
  4. package/dist/cache.d.ts +110 -0
  5. package/dist/cache.d.ts.map +1 -0
  6. package/dist/cache.js +495 -0
  7. package/dist/compaction-fence.d.ts +89 -0
  8. package/dist/compaction-fence.d.ts.map +1 -0
  9. package/dist/compaction-fence.js +153 -0
  10. package/dist/compositor.d.ts +226 -0
  11. package/dist/compositor.d.ts.map +1 -0
  12. package/dist/compositor.js +2558 -0
  13. package/dist/content-type-classifier.d.ts +41 -0
  14. package/dist/content-type-classifier.d.ts.map +1 -0
  15. package/dist/content-type-classifier.js +181 -0
  16. package/dist/cross-agent.d.ts +62 -0
  17. package/dist/cross-agent.d.ts.map +1 -0
  18. package/dist/cross-agent.js +259 -0
  19. package/dist/db.d.ts +131 -0
  20. package/dist/db.d.ts.map +1 -0
  21. package/dist/db.js +402 -0
  22. package/dist/desired-state-store.d.ts +100 -0
  23. package/dist/desired-state-store.d.ts.map +1 -0
  24. package/dist/desired-state-store.js +222 -0
  25. package/dist/doc-chunk-store.d.ts +140 -0
  26. package/dist/doc-chunk-store.d.ts.map +1 -0
  27. package/dist/doc-chunk-store.js +391 -0
  28. package/dist/doc-chunker.d.ts +99 -0
  29. package/dist/doc-chunker.d.ts.map +1 -0
  30. package/dist/doc-chunker.js +324 -0
  31. package/dist/dreaming-promoter.d.ts +86 -0
  32. package/dist/dreaming-promoter.d.ts.map +1 -0
  33. package/dist/dreaming-promoter.js +381 -0
  34. package/dist/episode-store.d.ts +49 -0
  35. package/dist/episode-store.d.ts.map +1 -0
  36. package/dist/episode-store.js +135 -0
  37. package/dist/fact-store.d.ts +75 -0
  38. package/dist/fact-store.d.ts.map +1 -0
  39. package/dist/fact-store.js +236 -0
  40. package/dist/fleet-store.d.ts +144 -0
  41. package/dist/fleet-store.d.ts.map +1 -0
  42. package/dist/fleet-store.js +276 -0
  43. package/dist/fos-mod.d.ts +178 -0
  44. package/dist/fos-mod.d.ts.map +1 -0
  45. package/dist/fos-mod.js +416 -0
  46. package/dist/hybrid-retrieval.d.ts +64 -0
  47. package/dist/hybrid-retrieval.d.ts.map +1 -0
  48. package/dist/hybrid-retrieval.js +344 -0
  49. package/dist/image-eviction.d.ts +49 -0
  50. package/dist/image-eviction.d.ts.map +1 -0
  51. package/dist/image-eviction.js +251 -0
  52. package/dist/index.d.ts +650 -0
  53. package/dist/index.d.ts.map +1 -0
  54. package/dist/index.js +1072 -0
  55. package/dist/keystone-scorer.d.ts +51 -0
  56. package/dist/keystone-scorer.d.ts.map +1 -0
  57. package/dist/keystone-scorer.js +52 -0
  58. package/dist/knowledge-graph.d.ts +110 -0
  59. package/dist/knowledge-graph.d.ts.map +1 -0
  60. package/dist/knowledge-graph.js +305 -0
  61. package/dist/knowledge-lint.d.ts +29 -0
  62. package/dist/knowledge-lint.d.ts.map +1 -0
  63. package/dist/knowledge-lint.js +116 -0
  64. package/dist/knowledge-store.d.ts +72 -0
  65. package/dist/knowledge-store.d.ts.map +1 -0
  66. package/dist/knowledge-store.js +247 -0
  67. package/dist/library-schema.d.ts +22 -0
  68. package/dist/library-schema.d.ts.map +1 -0
  69. package/dist/library-schema.js +1038 -0
  70. package/dist/message-store.d.ts +89 -0
  71. package/dist/message-store.d.ts.map +1 -0
  72. package/dist/message-store.js +323 -0
  73. package/dist/metrics-dashboard.d.ts +114 -0
  74. package/dist/metrics-dashboard.d.ts.map +1 -0
  75. package/dist/metrics-dashboard.js +260 -0
  76. package/dist/obsidian-exporter.d.ts +57 -0
  77. package/dist/obsidian-exporter.d.ts.map +1 -0
  78. package/dist/obsidian-exporter.js +274 -0
  79. package/dist/obsidian-watcher.d.ts +147 -0
  80. package/dist/obsidian-watcher.d.ts.map +1 -0
  81. package/dist/obsidian-watcher.js +403 -0
  82. package/dist/open-domain.d.ts +46 -0
  83. package/dist/open-domain.d.ts.map +1 -0
  84. package/dist/open-domain.js +125 -0
  85. package/dist/preference-store.d.ts +54 -0
  86. package/dist/preference-store.d.ts.map +1 -0
  87. package/dist/preference-store.js +109 -0
  88. package/dist/preservation-gate.d.ts +82 -0
  89. package/dist/preservation-gate.d.ts.map +1 -0
  90. package/dist/preservation-gate.js +150 -0
  91. package/dist/proactive-pass.d.ts +63 -0
  92. package/dist/proactive-pass.d.ts.map +1 -0
  93. package/dist/proactive-pass.js +239 -0
  94. package/dist/profiles.d.ts +44 -0
  95. package/dist/profiles.d.ts.map +1 -0
  96. package/dist/profiles.js +227 -0
  97. package/dist/provider-translator.d.ts +50 -0
  98. package/dist/provider-translator.d.ts.map +1 -0
  99. package/dist/provider-translator.js +403 -0
  100. package/dist/rate-limiter.d.ts +76 -0
  101. package/dist/rate-limiter.d.ts.map +1 -0
  102. package/dist/rate-limiter.js +179 -0
  103. package/dist/repair-tool-pairs.d.ts +38 -0
  104. package/dist/repair-tool-pairs.d.ts.map +1 -0
  105. package/dist/repair-tool-pairs.js +138 -0
  106. package/dist/retrieval-policy.d.ts +51 -0
  107. package/dist/retrieval-policy.d.ts.map +1 -0
  108. package/dist/retrieval-policy.js +77 -0
  109. package/dist/schema.d.ts +15 -0
  110. package/dist/schema.d.ts.map +1 -0
  111. package/dist/schema.js +229 -0
  112. package/dist/secret-scanner.d.ts +51 -0
  113. package/dist/secret-scanner.d.ts.map +1 -0
  114. package/dist/secret-scanner.js +248 -0
  115. package/dist/seed.d.ts +108 -0
  116. package/dist/seed.d.ts.map +1 -0
  117. package/dist/seed.js +177 -0
  118. package/dist/session-flusher.d.ts +53 -0
  119. package/dist/session-flusher.d.ts.map +1 -0
  120. package/dist/session-flusher.js +69 -0
  121. package/dist/session-topic-map.d.ts +41 -0
  122. package/dist/session-topic-map.d.ts.map +1 -0
  123. package/dist/session-topic-map.js +77 -0
  124. package/dist/spawn-context.d.ts +54 -0
  125. package/dist/spawn-context.d.ts.map +1 -0
  126. package/dist/spawn-context.js +159 -0
  127. package/dist/system-store.d.ts +73 -0
  128. package/dist/system-store.d.ts.map +1 -0
  129. package/dist/system-store.js +182 -0
  130. package/dist/temporal-store.d.ts +80 -0
  131. package/dist/temporal-store.d.ts.map +1 -0
  132. package/dist/temporal-store.js +149 -0
  133. package/dist/topic-detector.d.ts +35 -0
  134. package/dist/topic-detector.d.ts.map +1 -0
  135. package/dist/topic-detector.js +249 -0
  136. package/dist/topic-store.d.ts +45 -0
  137. package/dist/topic-store.d.ts.map +1 -0
  138. package/dist/topic-store.js +136 -0
  139. package/dist/topic-synthesizer.d.ts +51 -0
  140. package/dist/topic-synthesizer.d.ts.map +1 -0
  141. package/dist/topic-synthesizer.js +315 -0
  142. package/dist/trigger-registry.d.ts +63 -0
  143. package/dist/trigger-registry.d.ts.map +1 -0
  144. package/dist/trigger-registry.js +163 -0
  145. package/dist/types.d.ts +533 -0
  146. package/dist/types.d.ts.map +1 -0
  147. package/dist/types.js +9 -0
  148. package/dist/vector-store.d.ts +170 -0
  149. package/dist/vector-store.d.ts.map +1 -0
  150. package/dist/vector-store.js +677 -0
  151. package/dist/version.d.ts +34 -0
  152. package/dist/version.d.ts.map +1 -0
  153. package/dist/version.js +34 -0
  154. package/dist/wiki-page-emitter.d.ts +65 -0
  155. package/dist/wiki-page-emitter.d.ts.map +1 -0
  156. package/dist/wiki-page-emitter.js +258 -0
  157. package/dist/work-store.d.ts +112 -0
  158. package/dist/work-store.d.ts.map +1 -0
  159. package/dist/work-store.js +273 -0
  160. package/package.json +1 -1
@@ -0,0 +1,650 @@
1
+ /**
2
+ * hypermem — Agent-Centric Memory & Context Composition Engine
3
+ *
4
+ * @module @psiclawops/hypermem
5
+ *
6
+ * Architecture:
7
+ * L1: Redis — hot session working memory
8
+ * L2: messages.db — per-agent conversation log (rotatable)
9
+ * L3: vectors.db — per-agent semantic search index (reconstructable)
10
+ * L4: library.db — fleet-wide structured knowledge (crown jewel)
11
+ */
12
+ export { ENGINE_VERSION, MIN_NODE_VERSION, MIN_REDIS_VERSION, SQLITE_VEC_VERSION, MAIN_SCHEMA_VERSION, LIBRARY_SCHEMA_VERSION_EXPORT, HYPERMEM_COMPAT_VERSION, SCHEMA_COMPAT } from './version.js';
13
+ export { DatabaseManager } from './db.js';
14
+ export type { DatabaseManagerConfig } from './db.js';
15
+ export { MessageStore } from './message-store.js';
16
+ export { FactStore } from './fact-store.js';
17
+ export { KnowledgeStore } from './knowledge-store.js';
18
+ export type { LinkType } from './knowledge-store.js';
19
+ export { TopicStore } from './topic-store.js';
20
+ export { EpisodeStore } from './episode-store.js';
21
+ export { PreferenceStore } from './preference-store.js';
22
+ export type { Preference } from './preference-store.js';
23
+ export { FleetStore } from './fleet-store.js';
24
+ export type { FleetAgent, FleetOrg, AgentCapability } from './fleet-store.js';
25
+ export { SystemStore } from './system-store.js';
26
+ export type { SystemState, SystemEvent } from './system-store.js';
27
+ export { WorkStore } from './work-store.js';
28
+ export type { WorkItem, WorkEvent, WorkStatus } from './work-store.js';
29
+ export { DesiredStateStore } from './desired-state-store.js';
30
+ export { evictStaleContent, DEFAULT_EVICTION_CONFIG } from './image-eviction.js';
31
+ export type { ImageEvictionConfig, EvictionStats, EvictionResult } from './image-eviction.js';
32
+ export { KnowledgeGraph } from './knowledge-graph.js';
33
+ export type { EntityType, KnowledgeLink, GraphNode, TraversalResult } from './knowledge-graph.js';
34
+ export { RateLimiter, createRateLimitedEmbedder } from './rate-limiter.js';
35
+ export type { RateLimiterConfig, Priority } from './rate-limiter.js';
36
+ export type { DesiredStateEntry, ConfigEvent, DriftStatus } from './desired-state-store.js';
37
+ export type { ModelState } from './cache.js';
38
+ export { CacheLayer } from './cache.js';
39
+ export { Compositor, type CompositorDeps, applyToolGradientToWindow, canPersistReshapedHistory } from './compositor.js';
40
+ export { type CollectionTrigger, TRIGGER_REGISTRY, TRIGGER_REGISTRY_VERSION, TRIGGER_REGISTRY_HASH, DEFAULT_TRIGGERS, matchTriggers, } from './trigger-registry.js';
41
+ export { ensureCompactionFenceSchema, updateCompactionFence, getCompactionFence, getCompactionEligibility, getCompactableMessages, } from './compaction-fence.js';
42
+ export type { CompactionFence, CompactionEligibility } from './compaction-fence.js';
43
+ export { verifyPreservation, verifyPreservationFromVectors, } from './preservation-gate.js';
44
+ export type { PreservationResult, PreservationConfig } from './preservation-gate.js';
45
+ export { toProviderFormat, fromProviderFormat, userMessageToNeutral, toolResultsToNeutral, normalizeToolCallId, generateToolCallId, detectProvider, repairToolCallPairs, } from './provider-translator.js';
46
+ export { migrate, SCHEMA_VERSION } from './schema.js';
47
+ export { migrateLibrary, LIBRARY_SCHEMA_VERSION } from './library-schema.js';
48
+ export { VectorStore, generateEmbeddings } from './vector-store.js';
49
+ export type { EmbeddingConfig, VectorSearchResult, VectorIndexStats } from './vector-store.js';
50
+ export { hybridSearch, buildFtsQuery } from './hybrid-retrieval.js';
51
+ export type { HybridSearchResult, HybridSearchOptions } from './hybrid-retrieval.js';
52
+ export { DocChunkStore } from './doc-chunk-store.js';
53
+ export type { DocChunkRow, ChunkQuery, IndexResult as DocIndexResult } from './doc-chunk-store.js';
54
+ export { WorkspaceSeeder, seedWorkspace } from './seed.js';
55
+ export type { SeedOptions, SeedResult } from './seed.js';
56
+ export { chunkMarkdown, chunkFile, inferCollection, hashContent, ACA_COLLECTIONS } from './doc-chunker.js';
57
+ export type { DocChunk, ChunkOptions, CollectionDef } from './doc-chunker.js';
58
+ export { crossAgentQuery, canAccess, visibilityFilter, defaultOrgRegistry, buildOrgRegistryFromDb, loadOrgRegistryFromDb, } from './cross-agent.js';
59
+ export type { OrgRegistry } from './cross-agent.js';
60
+ export { BackgroundIndexer, createIndexer, type CursorFetcher } from './background-indexer.js';
61
+ export { runDreamingPromoter, runDreamingPassForFleet, resolveAgentWorkspacePath, type DreamerConfig, type DreamerResult, type PromotionEntry, DEFAULT_DREAMER_CONFIG, } from './dreaming-promoter.js';
62
+ export type { IndexerStats, WatermarkState } from './background-indexer.js';
63
+ export { TopicSynthesizer } from './topic-synthesizer.js';
64
+ export type { SynthesisResult, SynthesisConfig } from './topic-synthesizer.js';
65
+ export { WikiPageEmitter } from './wiki-page-emitter.js';
66
+ export type { WikiPage, WikiLink, WikiPageSummary } from './wiki-page-emitter.js';
67
+ export { lintKnowledge } from './knowledge-lint.js';
68
+ export type { LintResult } from './knowledge-lint.js';
69
+ export { buildSpawnContext } from './spawn-context.js';
70
+ export type { SpawnContextOptions, SpawnContext } from './spawn-context.js';
71
+ export { runNoiseSweep, runToolDecay, type NoiseSweepResult, type ToolDecayResult } from './proactive-pass.js';
72
+ export type { NeutralMessage, NeutralToolCall, NeutralToolResult, StoredMessage, MessageRole, ProviderMessage, Conversation, Fact, Topic, Knowledge, Episode, ComposeRequest, ComposeResult, ComposeDiagnostics, SlotTokenCounts, SessionSlots, SessionMeta, HyperMemConfig, RedisConfig, CompositorConfig, IndexerConfig, ChannelType, ConversationStatus, FactScope, TopicStatus, EpisodeType, MemoryVisibility, CrossAgentQuery, AgentIdentity, SessionCursor, RecentTurn, } from './types.js';
73
+ export type { ProviderType } from './provider-translator.js';
74
+ export { classifyContentType, signalWeight, isSignalBearing, SIGNAL_WEIGHT } from './content-type-classifier.js';
75
+ export type { ContentType, ContentTypeResult } from './content-type-classifier.js';
76
+ export { detectTopicShift, stripMessageMetadata } from './topic-detector.js';
77
+ export type { TopicSignal } from './topic-detector.js';
78
+ export { SessionTopicMap } from './session-topic-map.js';
79
+ export { getActiveFOS, matchMOD, renderFOS, renderMOD, recordOutputMetrics, } from './fos-mod.js';
80
+ export type { FOSRecord, MODRecord, FOSDirectives, FOSTaskVariant, MODCorrection, MODCalibration, OutputMetricsRow, } from './fos-mod.js';
81
+ import { DatabaseManager } from './db.js';
82
+ import { type Preference } from './preference-store.js';
83
+ import { type FleetAgent, type FleetOrg } from './fleet-store.js';
84
+ import { type SystemState } from './system-store.js';
85
+ import { type WorkItem, type WorkStatus } from './work-store.js';
86
+ import { type EntityType, type KnowledgeLink, type GraphNode, type TraversalResult } from './knowledge-graph.js';
87
+ import { type DesiredStateEntry, type DriftStatus } from './desired-state-store.js';
88
+ import { CacheLayer } from './cache.js';
89
+ import { Compositor } from './compositor.js';
90
+ import { VectorStore, type VectorSearchResult, type VectorIndexStats } from './vector-store.js';
91
+ import { type DocChunkRow, type ChunkQuery, type IndexResult } from './doc-chunk-store.js';
92
+ import { type SeedOptions, type SeedResult } from './seed.js';
93
+ import { type DocChunk } from './doc-chunker.js';
94
+ import type { HyperMemConfig, ComposeRequest, ComposeResult, NeutralMessage, StoredMessage, Conversation, ChannelType } from './types.js';
95
+ import { type OrgRegistry } from './cross-agent.js';
96
+ /**
97
+ * hypermem — the main API facade.
98
+ *
99
+ * Usage:
100
+ * const hm = await hypermem.create({ dataDir: '~/.openclaw/hypermem' });
101
+ * await hm.record('forge', 'agent:forge:webchat:main', userMsg);
102
+ * const result = await hm.compose({ agentId: 'forge', sessionKey: '...', ... });
103
+ */
104
+ export declare class HyperMem {
105
+ readonly dbManager: DatabaseManager;
106
+ readonly cache: CacheLayer;
107
+ readonly compositor: Compositor;
108
+ private readonly config;
109
+ private constructor();
110
+ /**
111
+ * Get the active vector store, if initialized.
112
+ * Used by the plugin to wire embeddings into the background indexer.
113
+ */
114
+ getVectorStore(): VectorStore | null;
115
+ /**
116
+ * Create and initialize a hypermem instance.
117
+ */
118
+ static create(config?: Partial<HyperMemConfig>): Promise<HyperMem>;
119
+ /**
120
+ * Record a user message.
121
+ */
122
+ recordUserMessage(agentId: string, sessionKey: string, content: string, opts?: {
123
+ channelType?: ChannelType;
124
+ channelId?: string;
125
+ provider?: string;
126
+ model?: string;
127
+ tokenCount?: number;
128
+ isHeartbeat?: boolean;
129
+ }): Promise<StoredMessage>;
130
+ /**
131
+ * Record an assistant response.
132
+ */
133
+ recordAssistantMessage(agentId: string, sessionKey: string, message: NeutralMessage, opts?: {
134
+ tokenCount?: number;
135
+ }): Promise<StoredMessage>;
136
+ /**
137
+ * Record a raw provider response, converting to neutral format.
138
+ */
139
+ recordProviderResponse(agentId: string, sessionKey: string, response: Record<string, unknown>, provider: string, opts?: {
140
+ tokenCount?: number;
141
+ }): Promise<StoredMessage>;
142
+ /**
143
+ * Compose context for an LLM call.
144
+ */
145
+ compose(request: ComposeRequest): Promise<ComposeResult>;
146
+ /**
147
+ * Warm a session from SQLite into Redis.
148
+ */
149
+ warm(agentId: string, sessionKey: string, opts?: {
150
+ systemPrompt?: string;
151
+ identity?: string;
152
+ }): Promise<void>;
153
+ /**
154
+ * Recompute the Redis hot history view from SQLite and re-apply tool gradient.
155
+ */
156
+ refreshRedisGradient(agentId: string, sessionKey: string, tokenBudget?: number): Promise<void>;
157
+ /**
158
+ * Full-text search across all messages for an agent.
159
+ */
160
+ search(agentId: string, query: string, limit?: number): StoredMessage[];
161
+ /**
162
+ * Get or create a conversation.
163
+ */
164
+ getOrCreateConversation(agentId: string, sessionKey: string, opts?: {
165
+ channelType?: ChannelType;
166
+ channelId?: string;
167
+ provider?: string;
168
+ model?: string;
169
+ }): Conversation;
170
+ /**
171
+ * List all agents with databases.
172
+ */
173
+ listAgents(): string[];
174
+ /**
175
+ * Add a fact.
176
+ */
177
+ addFact(agentId: string, content: string, opts?: {
178
+ scope?: 'agent' | 'session' | 'user';
179
+ domain?: string;
180
+ confidence?: number;
181
+ visibility?: string;
182
+ sourceType?: string;
183
+ sourceSessionKey?: string;
184
+ sourceRef?: string;
185
+ }): unknown;
186
+ /**
187
+ * Get active facts for an agent.
188
+ */
189
+ getActiveFacts(agentId: string, opts?: {
190
+ scope?: 'agent' | 'session' | 'user';
191
+ domain?: string;
192
+ limit?: number;
193
+ minConfidence?: number;
194
+ }): unknown[];
195
+ /**
196
+ * Add/update knowledge.
197
+ */
198
+ upsertKnowledge(agentId: string, domain: string, key: string, content: string, opts?: {
199
+ confidence?: number;
200
+ sourceType?: string;
201
+ sourceRef?: string;
202
+ expiresAt?: string;
203
+ }): unknown;
204
+ /**
205
+ * Get active knowledge, optionally filtered by domain.
206
+ */
207
+ getKnowledge(agentId: string, opts?: {
208
+ domain?: string;
209
+ limit?: number;
210
+ }): unknown[];
211
+ /**
212
+ * Create a topic.
213
+ */
214
+ createTopic(agentId: string, name: string, description?: string): unknown;
215
+ /**
216
+ * Get active topics.
217
+ */
218
+ getActiveTopics(agentId: string, limit?: number): unknown[];
219
+ /**
220
+ * Record an episode.
221
+ */
222
+ recordEpisode(agentId: string, eventType: string, summary: string, opts?: {
223
+ significance?: number;
224
+ visibility?: string;
225
+ participants?: string[];
226
+ sessionKey?: string;
227
+ }): unknown;
228
+ /**
229
+ * Get recent episodes.
230
+ */
231
+ getRecentEpisodes(agentId: string, opts?: {
232
+ eventType?: string;
233
+ minSignificance?: number;
234
+ limit?: number;
235
+ since?: string;
236
+ }): unknown[];
237
+ /**
238
+ * Set a preference.
239
+ */
240
+ setPreference(subject: string, key: string, value: string, opts?: {
241
+ domain?: string;
242
+ agentId?: string;
243
+ confidence?: number;
244
+ visibility?: string;
245
+ }): Preference;
246
+ /**
247
+ * Get a preference.
248
+ */
249
+ getPreference(subject: string, key: string, domain?: string): Preference | null;
250
+ /**
251
+ * Get all preferences for a subject.
252
+ */
253
+ getPreferences(subject: string, domain?: string): Preference[];
254
+ /**
255
+ * Register or update a fleet agent. Invalidates cache.
256
+ */
257
+ upsertFleetAgent(id: string, data: {
258
+ displayName?: string;
259
+ tier?: string;
260
+ orgId?: string;
261
+ reportsTo?: string;
262
+ domains?: string[];
263
+ sessionKeys?: string[];
264
+ status?: string;
265
+ metadata?: Record<string, unknown>;
266
+ }): FleetAgent;
267
+ /**
268
+ * Get a fleet agent. Cache-aside: check Redis first, fall back to SQLite.
269
+ */
270
+ getFleetAgentCached(id: string): Promise<FleetAgent | null>;
271
+ /**
272
+ * Get a fleet agent (synchronous, SQLite only).
273
+ */
274
+ getFleetAgent(id: string): FleetAgent | null;
275
+ /**
276
+ * List fleet agents.
277
+ */
278
+ listFleetAgents(opts?: {
279
+ tier?: string;
280
+ orgId?: string;
281
+ status?: string;
282
+ }): FleetAgent[];
283
+ /**
284
+ * Register or update a fleet org.
285
+ */
286
+ upsertFleetOrg(id: string, data: {
287
+ name: string;
288
+ leadAgentId?: string;
289
+ mission?: string;
290
+ }): FleetOrg;
291
+ /**
292
+ * List fleet orgs.
293
+ */
294
+ listFleetOrgs(): FleetOrg[];
295
+ /**
296
+ * Register or update a capability for an agent.
297
+ */
298
+ upsertCapability(agentId: string, cap: {
299
+ capType: 'skill' | 'tool' | 'mcp_server';
300
+ name: string;
301
+ version?: string;
302
+ source?: string;
303
+ config?: Record<string, unknown>;
304
+ status?: string;
305
+ }): import('./fleet-store.js').AgentCapability;
306
+ /**
307
+ * Bulk-sync capabilities of a given type for an agent.
308
+ * Marks capabilities not in the list as 'removed'.
309
+ */
310
+ syncCapabilities(agentId: string, capType: 'skill' | 'tool' | 'mcp_server', caps: Array<{
311
+ name: string;
312
+ version?: string;
313
+ source?: string;
314
+ config?: Record<string, unknown>;
315
+ }>): void;
316
+ /**
317
+ * Get capabilities for an agent, optionally filtered by type.
318
+ */
319
+ getAgentCapabilities(agentId: string, capType?: string): import('./fleet-store.js').AgentCapability[];
320
+ /**
321
+ * Find agents that have a specific capability.
322
+ */
323
+ findAgentsByCapability(capType: string, name: string): FleetAgent[];
324
+ /**
325
+ * Set a system state value.
326
+ */
327
+ setSystemState(category: string, key: string, value: unknown, opts?: {
328
+ updatedBy?: string;
329
+ ttl?: string;
330
+ }): SystemState;
331
+ /**
332
+ * Get a system state value.
333
+ */
334
+ getSystemState(category: string, key: string): SystemState | null;
335
+ /**
336
+ * Get all state in a category.
337
+ */
338
+ getSystemCategory(category: string): SystemState[];
339
+ /**
340
+ * Create a work item.
341
+ */
342
+ createWorkItem(data: {
343
+ title: string;
344
+ description?: string;
345
+ priority?: number;
346
+ agentId?: string;
347
+ createdBy: string;
348
+ domain?: string;
349
+ parentId?: string;
350
+ dueAt?: string;
351
+ metadata?: Record<string, unknown>;
352
+ }): WorkItem;
353
+ /**
354
+ * Update work item status.
355
+ */
356
+ updateWorkStatus(id: string, status: WorkStatus, agentId?: string, comment?: string): WorkItem | null;
357
+ /**
358
+ * Get active work for an agent.
359
+ */
360
+ getAgentWork(agentId: string, status?: WorkStatus): WorkItem[];
361
+ /**
362
+ * Get the fleet kanban board.
363
+ */
364
+ getFleetKanban(opts?: {
365
+ domain?: string;
366
+ agentId?: string;
367
+ }): WorkItem[];
368
+ /**
369
+ * Get work item stats.
370
+ */
371
+ getWorkStats(opts?: {
372
+ agentId?: string;
373
+ since?: string;
374
+ }): unknown;
375
+ /**
376
+ * Get blocked work items.
377
+ */
378
+ getBlockedWork(): WorkItem[];
379
+ /**
380
+ * Set desired configuration for an agent.
381
+ */
382
+ setDesiredState(agentId: string, configKey: string, desiredValue: unknown, opts?: {
383
+ source?: string;
384
+ setBy?: string;
385
+ notes?: string;
386
+ }): DesiredStateEntry;
387
+ /**
388
+ * Report actual runtime value for drift detection. Invalidates cache.
389
+ */
390
+ reportActualState(agentId: string, configKey: string, actualValue: unknown): DriftStatus;
391
+ /**
392
+ * Bulk report actual state (e.g., on session startup / heartbeat). Invalidates cache.
393
+ */
394
+ reportActualStateBulk(agentId: string, actuals: Record<string, unknown>): Record<string, DriftStatus>;
395
+ /**
396
+ * Get all desired state for an agent.
397
+ */
398
+ getDesiredState(agentId: string): DesiredStateEntry[];
399
+ /**
400
+ * Get desired state as a flat config map.
401
+ */
402
+ getDesiredConfig(agentId: string): Record<string, unknown>;
403
+ /**
404
+ * Get all drifted entries across the fleet.
405
+ */
406
+ getDriftedState(): DesiredStateEntry[];
407
+ /**
408
+ * Get fleet-wide view of a specific config key.
409
+ */
410
+ getFleetConfigKey(configKey: string): DesiredStateEntry[];
411
+ /**
412
+ * Get config change history.
413
+ */
414
+ getConfigHistory(agentId: string, configKey?: string, limit?: number): import('./desired-state-store.js').ConfigEvent[];
415
+ /**
416
+ * Get fleet drift summary.
417
+ */
418
+ getDriftSummary(): {
419
+ total: number;
420
+ ok: number;
421
+ drifted: number;
422
+ unknown: number;
423
+ error: number;
424
+ };
425
+ /**
426
+ * Add a directed link between two entities.
427
+ */
428
+ addKnowledgeLink(fromType: EntityType, fromId: number, toType: EntityType, toId: number, linkType: string): KnowledgeLink;
429
+ /**
430
+ * Remove a specific link.
431
+ */
432
+ removeKnowledgeLink(fromType: EntityType, fromId: number, toType: EntityType, toId: number, linkType: string): boolean;
433
+ /**
434
+ * Get all links for an entity (both directions).
435
+ */
436
+ getEntityLinks(type: EntityType, id: number): KnowledgeLink[];
437
+ /**
438
+ * Traverse the knowledge graph from a starting entity.
439
+ * BFS with bounded depth and result count.
440
+ */
441
+ traverseGraph(startType: EntityType, startId: number, opts?: {
442
+ maxDepth?: number;
443
+ maxResults?: number;
444
+ linkTypes?: string[];
445
+ direction?: 'outbound' | 'inbound' | 'both';
446
+ targetTypes?: EntityType[];
447
+ }): TraversalResult;
448
+ /**
449
+ * Find the shortest path between two entities.
450
+ */
451
+ findGraphPath(fromType: EntityType, fromId: number, toType: EntityType, toId: number, maxDepth?: number): GraphNode[] | null;
452
+ /**
453
+ * Get the most connected entities.
454
+ */
455
+ getMostConnectedEntities(opts?: {
456
+ type?: EntityType;
457
+ limit?: number;
458
+ }): Array<{
459
+ type: EntityType;
460
+ id: number;
461
+ degree: number;
462
+ }>;
463
+ /**
464
+ * Get knowledge graph statistics.
465
+ */
466
+ getGraphStats(): {
467
+ totalLinks: number;
468
+ byType: Array<{
469
+ linkType: string;
470
+ count: number;
471
+ }>;
472
+ };
473
+ /**
474
+ * Semantic search across an agent's indexed memory.
475
+ */
476
+ semanticSearch(agentId: string, query: string, opts?: {
477
+ tables?: string[];
478
+ limit?: number;
479
+ maxDistance?: number;
480
+ }): Promise<VectorSearchResult[]>;
481
+ /**
482
+ * Index all un-indexed content for an agent.
483
+ */
484
+ indexAgent(agentId: string): Promise<{
485
+ indexed: number;
486
+ skipped: number;
487
+ tombstoned: number;
488
+ }>;
489
+ /**
490
+ * Get vector index statistics.
491
+ */
492
+ getVectorStats(agentId: string): VectorIndexStats | null;
493
+ /**
494
+ * Prune orphaned vector entries.
495
+ */
496
+ pruneVectorOrphans(agentId: string): number;
497
+ /**
498
+ * Get the session cursor for an agent+session.
499
+ * Reads from Redis first; falls back to SQLite if Redis returns null
500
+ * (e.g. after eviction or restart). This is the P1.3 durability guarantee.
501
+ */
502
+ getSessionCursor(agentId: string, sessionKey: string): Promise<import('./types.js').SessionCursor | null>;
503
+ /**
504
+ * Get the size of an agent's active messages.db in bytes.
505
+ */
506
+ getMessageDbSize(agentId: string): number;
507
+ /**
508
+ * Check if an agent's message database needs rotation.
509
+ */
510
+ shouldRotate(agentId: string, opts?: {
511
+ maxSizeBytes?: number;
512
+ maxAgeDays?: number;
513
+ }): {
514
+ reason: 'size' | 'age';
515
+ current: number;
516
+ threshold: number;
517
+ } | null;
518
+ /**
519
+ * Rotate an agent's message database.
520
+ * Returns the path to the rotated file, or null if no active DB exists.
521
+ */
522
+ rotateMessageDb(agentId: string): string | null;
523
+ /**
524
+ * List rotated message DB files for an agent.
525
+ */
526
+ listRotatedDbs(agentId: string): string[];
527
+ /**
528
+ * Check and auto-rotate all agents' message databases.
529
+ * Call on heartbeat/startup.
530
+ * Returns agents that were rotated.
531
+ */
532
+ autoRotate(opts?: {
533
+ maxSizeBytes?: number;
534
+ maxAgeDays?: number;
535
+ }): Array<{
536
+ agentId: string;
537
+ reason: string;
538
+ rotatedTo: string;
539
+ }>;
540
+ /**
541
+ * Register a session start.
542
+ */
543
+ registerSession(sessionKey: string, agentId: string, opts?: {
544
+ channel?: string;
545
+ channelType?: string;
546
+ }): void;
547
+ /**
548
+ * Record a session event.
549
+ */
550
+ recordSessionEvent(sessionKey: string, eventType: string, payload?: Record<string, unknown>): void;
551
+ /**
552
+ * Close a session.
553
+ */
554
+ closeSession(sessionKey: string, summary?: string): void;
555
+ /**
556
+ * Query sessions.
557
+ */
558
+ querySessions(opts?: {
559
+ agentId?: string;
560
+ status?: string;
561
+ since?: string;
562
+ limit?: number;
563
+ }): unknown[];
564
+ /**
565
+ * Get session events.
566
+ */
567
+ getSessionEvents(sessionKey: string, limit?: number): unknown[];
568
+ /**
569
+ * Query another agent's memory with visibility-scoped access.
570
+ */
571
+ queryAgent(requesterId: string, targetAgentId: string, opts?: {
572
+ memoryType?: 'facts' | 'knowledge' | 'topics' | 'episodes' | 'messages';
573
+ domain?: string;
574
+ limit?: number;
575
+ }, registry?: OrgRegistry): unknown[];
576
+ /**
577
+ * Query fleet-wide visible memory.
578
+ */
579
+ queryFleet(requesterId: string, opts?: {
580
+ memoryType?: 'facts' | 'knowledge' | 'topics' | 'episodes';
581
+ domain?: string;
582
+ limit?: number;
583
+ }, registry?: OrgRegistry): unknown[];
584
+ /**
585
+ * Index chunks from a parsed set of DocChunk objects.
586
+ * Atomic: replaces all chunks for the source in one transaction.
587
+ */
588
+ indexDocChunks(chunks: DocChunk[]): IndexResult;
589
+ /**
590
+ * Query doc chunks by collection with optional keyword/scope/agent filters.
591
+ */
592
+ queryDocChunks(query: ChunkQuery): DocChunkRow[];
593
+ /**
594
+ * Seed all ACA files from a workspace directory into the doc chunk index.
595
+ * Idempotent: skips files whose source hash hasn't changed.
596
+ * Force re-index with opts.force = true.
597
+ */
598
+ seedWorkspace(workspaceDir: string, opts?: SeedOptions): Promise<SeedResult>;
599
+ /**
600
+ * Seed a single file into the doc chunk index.
601
+ */
602
+ seedFile(filePath: string, collection: string, opts?: SeedOptions): import("./seed.js").SeedFileResult;
603
+ /**
604
+ * Get stats about the current doc chunk index.
605
+ */
606
+ getDocIndexStats(): {
607
+ collection: string;
608
+ count: number;
609
+ sources: number;
610
+ totalTokens: number;
611
+ }[];
612
+ /**
613
+ * List indexed sources (what files have been seeded and their hashes).
614
+ */
615
+ listDocSources(opts?: {
616
+ agentId?: string;
617
+ collection?: string;
618
+ }): import("./doc-chunk-store.js").DocSourceRow[];
619
+ /**
620
+ * Hydrate the Redis fleet cache from library.db.
621
+ * Call on gateway startup to warm the cache for dashboard queries.
622
+ *
623
+ * Populates:
624
+ * - Per-agent profiles (fleet registry + capabilities + desired state)
625
+ * - Fleet summary (counts, drift status)
626
+ */
627
+ hydrateFleetCache(): Promise<{
628
+ agents: number;
629
+ summary: boolean;
630
+ }>;
631
+ /**
632
+ * Clean shutdown.
633
+ */
634
+ close(): Promise<void>;
635
+ }
636
+ export default HyperMem;
637
+ export { SessionFlusher, flushSession } from './session-flusher.js';
638
+ export type { FlushSessionOptions, FlushSessionResult } from './session-flusher.js';
639
+ export { importVault, watchVault, parseObsidianNote, parseFrontmatter, extractWikilinks, extractTags, cleanObsidianMarkdown } from './obsidian-watcher.js';
640
+ export type { ObsidianConfig, ObsidianNote, ObsidianImportResult, ObsidianWikiLink, VaultChangeCallback } from './obsidian-watcher.js';
641
+ export { exportToVault } from './obsidian-exporter.js';
642
+ export type { ObsidianExportConfig, ObsidianExportResult } from './obsidian-exporter.js';
643
+ export { collectMetrics, formatMetricsSummary } from './metrics-dashboard.js';
644
+ export type { HyperMemMetrics, FactMetrics, WikiMetrics, EpisodeMetrics, VectorMetrics, CompositionMetrics, IngestionMetrics, SystemHealth, MetricsDashboardOptions } from './metrics-dashboard.js';
645
+ export { getProfile, mergeProfile, PROFILES, lightProfile, standardProfile, fullProfile, extendedProfile, minimalProfile, richProfile } from './profiles.js';
646
+ export type { ProfileName } from './profiles.js';
647
+ export { renderStarterFOS, resolveOutputTier } from './fos-mod.js';
648
+ export type { OutputStandardTier } from './fos-mod.js';
649
+ export { repairToolPairs } from './repair-tool-pairs.js';
650
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,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