@snoai/memory 1.2.5 → 1.2.6
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.
- package/README.md +1 -1
- package/dist/{atomic-memory-extraction-Dj5LX-e7.js → atomic-memory-extraction-BK2eZE58.js} +4 -4
- package/dist/diagnostic-encoder.js +1 -1
- package/dist/index.js +4 -4
- package/dist/internal/engine/bindings/memory-forget-tool.js +1 -1
- package/dist/internal/engine/bindings/memory-list-tool.js +1 -1
- package/dist/internal/engine/bindings/memory-recall-tool.js +1 -1
- package/dist/internal/engine/bindings/memory-reflection-resolve-tool.js +1 -1
- package/dist/internal/engine/bindings/memory-stats-tool.js +1 -1
- package/dist/internal/engine/bindings/memory-store-tool.js +3 -3
- package/dist/internal/engine/bindings/memory-tool-access.js +1 -1
- package/dist/internal/engine/bindings/memory-tool-results.js +1 -1
- package/dist/internal/engine/bindings/memory-tool-schemas.js +1 -1
- package/dist/internal/engine/bindings/memory-update-tool.js +2 -2
- package/dist/internal/engine/bindings/sno-station-mem-ambient-learning-hook.js +2 -2
- package/dist/internal/engine/bindings/sno-station-mem-auto-recall-hook.js +1 -1
- package/dist/internal/engine/bindings/sno-station-mem-insight-distill-factory.js +2 -2
- package/dist/internal/engine/bindings/sno-station-mem-message-transcript.js +2 -2
- package/dist/internal/engine/extraction/atomic-memory-extraction.js +1 -1
- package/dist/internal/engine/extraction/memory-temporality-classifier.js +1 -1
- package/dist/internal/engine/observability/observable-memory-store.js +1 -1
- package/dist/internal/engine/observability/runtime-diagnostics.js +1 -1
- package/dist/internal/engine/reflection/reflection-command-hooks.js +1 -1
- package/dist/internal/engine/reflection/reflection-embedded-generator.js +1 -1
- package/dist/internal/engine/reflection/reflection-injection-hooks.js +1 -1
- package/dist/internal/engine/reflection/reflection-lifecycle-hooks.js +1 -1
- package/dist/internal/engine/reflection/strategy-hook-runner.js +2 -2
- package/dist/internal/model/llm-client.js +1 -1
- package/dist/internal/store/maintenance.js +2 -2
- package/dist/internal/store/store.js +1 -1
- package/dist/{llm-client-BOkokxti.js → llm-client-AT2zQNnv.js} +1 -0
- package/dist/{log-site-catalog.generated-6Yhsft4u.js → log-site-catalog.generated-3oA264j8.js} +18 -18
- package/dist/log-site-catalog.json +1 -1
- package/dist/{memory-runtime-CvxA1mP0.js → memory-runtime-BStVNZYd.js} +19 -19
- package/dist/{memory-temporality-classifier-C6MW_0i4.js → memory-temporality-classifier-gePkUCcx.js} +1 -1
- package/dist/{memory-tool-dependencies-CiofG6Lj.js → memory-tool-dependencies-sGC8Njfa.js} +1 -1
- package/dist/{profile-section-writer-DYcoa4ld.js → profile-section-writer-BDcKpSXA.js} +2 -2
- package/dist/{reflection-command-hooks-_AiaIqap.js → reflection-command-hooks-DStWjPpo.js} +3 -3
- package/dist/{reflection-embedded-generator-B5K0O1sJ.js → reflection-embedded-generator-BT5DEvFV.js} +1 -1
- package/dist/{rem-batch-executor-Dpysz3or.js → rem-batch-executor-C6EnCyZf.js} +1 -1
- package/dist/{rem-trigger-DiHK3BKP.js → rem-trigger--Z0v_NYF.js} +1 -0
- package/dist/{server-0KpYuZ69.js → server-qs383_Yt.js} +3 -3
- package/dist/sidecar/main.js +1 -1
- package/dist/{sno-station-mem-runtime-dependencies-jmuWbSfR.js → sno-station-mem-runtime-dependencies-l9zO0OCC.js} +5 -5
- package/dist/{store-B81Qk2RF.js → store-BegOsCEf.js} +1 -1
- package/dist/{strategy-hook-runner-CD5X8gs3.js → strategy-hook-runner-DT2ixsC0.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as compareMemorySourceOrder, $t as ATOMIC_EXTRACTION_SKILL, A as recordTokenCounter, At as classifyLlmFailure, B as validateMemoryTelemetryMetadata, Bt as truncateGraphemes, C as resolveHookAgentId, Ct as createScopePolicy, D as closeAtomicArrivalRetirementTargets, Dt as createLlmClient, E as recordAtomicEntityIdentityJournal, F as AtomicExtractionCompletedElsewhere, Ft as clamp01, Gt as normalizeIsoDateTimeString, H as readChunkVecTableState, Ht as buildInsightMetadata, I as normalizeMemoryRelationPredicate, It as clampInt, J as orderAdapterAPair, Jt as AGGREGATION_OPERATIONS, K as adapterAViewFromRecord, Kt as parseIsoDateTimeMs, L as MemoryStore, Lt as stableHash, M as canonicalizeProfileSectionName, Mt as CODING_SKIN_LEDGER_MAX_CHARS, N as normalizeTopicToSectionName, Nt as CODING_SKIN_SESSION_QUERY, O as journalAtomicArrivalRetirementRefusal, Ot as isTerminalLlmFailure, P as getSnoStationMemDataDir, Pt as HOST_MODEL_DEADLINE_HEADER, Q as renderAdapterAPrompt, Qt as resolveLlmRoute, R as StaleSupersedeTargetError, Rt as stripHtmlTags, S as resolveTaskLifecycleEffectiveTime, St as MemoryScopePolicy, T as normalizeEntityName, Tt as LlmClientTerminalError, U as loadSqliteVecExtension, Ut as parseInsightMetadata, V as randomUUID$1, Vt as redactSecrets, Wt as stringifyInsightMetadata, X as prospectiveProfileView, Xt as normalizeCategory, Y as parseAdapterAChatVerdict, Yt as MEMORY_CATEGORIES, Z as renderAdapterAChatPrompt, Zt as pickLlmRoutingConfig, _ as findUniqueActiveTaskByDescription, _n as memoryFileWrite, _t as ALL_RESOURCES, an as relations, at as runWithMemoryAudit, b as admitTaskLifecycleAssertion, bn as forwardObserveLedgerUntilIdle, bt as SnoStationMemError, cn as isCalendarLabel, d as MemoryRetriever, dn as MEMORY_TELEMETRY_DELETE_REASONS, dt as resolveMemoryDate, en as ATOMIC_EXTRACTION_SKILL_HASH, et as readMemorySourceOrderOrOldest, f as DEFAULT_RETRIEVAL_CONFIG, fn as isMemoryTelemetryEventType, ft as unresolvedMemoryDate, g as buildTaskLifecycleCandidateSet, gn as checkMemoryOperation, gt as normalizeAmbientLearningText, h as acceptsTaskLifecycleJudgment, hn as openSqliteDatabaseReadonly, ht as stripEnvelopeMetadata, in as state_vocabulary_default, j as canExtractorWrite, jt as isTerminalLlmFailure$1, k as readAtomicArrivalRetirementCandidateSet, kt as withProviderResponses, ln as sessionZoneCarriedBy, lt as parseSessionTimestamp, m as Embedder, mn as openSqliteDatabase, mt as buildIndexedText, nn as modelReplyJsonCandidates, on as calculateCalendarTime, ot as runWithMemoryAuditSync, p as AccessTracker, pn as initSqliteRuntime, pt as boundSectionContent, q as isAdapterAVerdictReply, qt as deriveFactKey, rn as readModelReplyJson, rt as currentMutationAttemptId, sn as calendarInstructionSchema, st as runWithMutationAttempt, t as evaluateRemAutomaticTriggers, tn as atomicExtractionSkillReference, tt as appendAuditEntry, un as attribute_dictionary_default, ut as serializeIntervalMetadata, v as resolveTaskLifecycle, vn as memoryOperationSignal, vt as RESOURCES_BY_LOCALE, w as listAtomicMemoryEntityCandidates, wt as parseAgentIdFromSessionKey, x as buildTaskLifecycleCommandClaim, xt as StorageError, y as taskLifecycleCandidateSetVersion, yn as withMemoryOperation, yt as RetrievalError, z as TaskLifecycleStaleResolutionError, zt as stripRoleLabelPrefix } from "./rem-trigger
|
|
1
|
+
import { $ as compareMemorySourceOrder, $t as ATOMIC_EXTRACTION_SKILL, A as recordTokenCounter, At as classifyLlmFailure, B as validateMemoryTelemetryMetadata, Bt as truncateGraphemes, C as resolveHookAgentId, Ct as createScopePolicy, D as closeAtomicArrivalRetirementTargets, Dt as createLlmClient, E as recordAtomicEntityIdentityJournal, F as AtomicExtractionCompletedElsewhere, Ft as clamp01, Gt as normalizeIsoDateTimeString, H as readChunkVecTableState, Ht as buildInsightMetadata, I as normalizeMemoryRelationPredicate, It as clampInt, J as orderAdapterAPair, Jt as AGGREGATION_OPERATIONS, K as adapterAViewFromRecord, Kt as parseIsoDateTimeMs, L as MemoryStore, Lt as stableHash, M as canonicalizeProfileSectionName, Mt as CODING_SKIN_LEDGER_MAX_CHARS, N as normalizeTopicToSectionName, Nt as CODING_SKIN_SESSION_QUERY, O as journalAtomicArrivalRetirementRefusal, Ot as isTerminalLlmFailure, P as getSnoStationMemDataDir, Pt as HOST_MODEL_DEADLINE_HEADER, Q as renderAdapterAPrompt, Qt as resolveLlmRoute, R as StaleSupersedeTargetError, Rt as stripHtmlTags, S as resolveTaskLifecycleEffectiveTime, St as MemoryScopePolicy, T as normalizeEntityName, Tt as LlmClientTerminalError, U as loadSqliteVecExtension, Ut as parseInsightMetadata, V as randomUUID$1, Vt as redactSecrets, Wt as stringifyInsightMetadata, X as prospectiveProfileView, Xt as normalizeCategory, Y as parseAdapterAChatVerdict, Yt as MEMORY_CATEGORIES, Z as renderAdapterAChatPrompt, Zt as pickLlmRoutingConfig, _ as findUniqueActiveTaskByDescription, _n as memoryFileWrite, _t as ALL_RESOURCES, an as relations, at as runWithMemoryAudit, b as admitTaskLifecycleAssertion, bn as forwardObserveLedgerUntilIdle, bt as SnoStationMemError, cn as isCalendarLabel, d as MemoryRetriever, dn as MEMORY_TELEMETRY_DELETE_REASONS, dt as resolveMemoryDate, en as ATOMIC_EXTRACTION_SKILL_HASH, et as readMemorySourceOrderOrOldest, f as DEFAULT_RETRIEVAL_CONFIG, fn as isMemoryTelemetryEventType, ft as unresolvedMemoryDate, g as buildTaskLifecycleCandidateSet, gn as checkMemoryOperation, gt as normalizeAmbientLearningText, h as acceptsTaskLifecycleJudgment, hn as openSqliteDatabaseReadonly, ht as stripEnvelopeMetadata, in as state_vocabulary_default, j as canExtractorWrite, jt as isTerminalLlmFailure$1, k as readAtomicArrivalRetirementCandidateSet, kt as withProviderResponses, ln as sessionZoneCarriedBy, lt as parseSessionTimestamp, m as Embedder, mn as openSqliteDatabase, mt as buildIndexedText, nn as modelReplyJsonCandidates, on as calculateCalendarTime, ot as runWithMemoryAuditSync, p as AccessTracker, pn as initSqliteRuntime, pt as boundSectionContent, q as isAdapterAVerdictReply, qt as deriveFactKey, rn as readModelReplyJson, rt as currentMutationAttemptId, sn as calendarInstructionSchema, st as runWithMutationAttempt, t as evaluateRemAutomaticTriggers, tn as atomicExtractionSkillReference, tt as appendAuditEntry, un as attribute_dictionary_default, ut as serializeIntervalMetadata, v as resolveTaskLifecycle, vn as memoryOperationSignal, vt as RESOURCES_BY_LOCALE, w as listAtomicMemoryEntityCandidates, wt as parseAgentIdFromSessionKey, x as buildTaskLifecycleCommandClaim, xt as StorageError, y as taskLifecycleCandidateSetVersion, yn as withMemoryOperation, yt as RetrievalError, z as TaskLifecycleStaleResolutionError, zt as stripRoleLabelPrefix } from "./rem-trigger--Z0v_NYF.js";
|
|
2
2
|
import { A as SESSION_STRATEGIES, An as DEFAULT_REFLECTION_SESSION_TTL_MS, Bn as FTS_MERGE_INTERVAL_MS, Bt as FIXED_PROTOCOL_VALUE_64, C as getSnoStationMemStateDir, D as settingsToPluginConfig, E as defaultSettings, En as DEFAULT_IMPORTANCE, F as extractionConfigSchema, Ft as FIXED_MEMORY_SNO_EXTRACT_CHAT, Gn as INTEGRITY_CHECK_INTERVAL_MS, Ht as FIXED_PROTOCOL_VALUE_66, I as memoryReflectionConfigSchema, It as FIXED_MEMORY_SNO_EXTRACT_PROFILE, L as selfImprovementConfigSchema, M as isObserveAgentId, N as observeAgentId, Nt as FIXED_MEMORY_ROW_PATH_PATTERN, O as MODEL_CALLS, On as DEFAULT_RECALL_TOKEN_BUDGET, P as observeConfigSchema, Pt as FIXED_MEMORY_SNO_AI_EXTRACT, Qn as MAX_CANDIDATE_POOL_SIZE, Qt as FIXED_PROTOCOL_VALUE_79, R as sessionMemoryConfigSchema, T as readSettings, Ut as FIXED_PROTOCOL_VALUE_67, Vt as FIXED_PROTOCOL_VALUE_65, Wt as FIXED_PROTOCOL_VALUE_68, Xn as MAINTENANCE_TICK_MS, Xt as FIXED_PROTOCOL_VALUE_77, Yt as FIXED_PROTOCOL_VALUE_76, Zn as MAX_AGGREGATION_RESULT_TOKENS, Zt as FIXED_PROTOCOL_VALUE_78, _r as USAGE_OUTBOX_INTERVAL_MS, an as embeddingConfigSchema, b as getPrincipal, cn as isSupportedLocale, dn as ATOMIC_CAPTURE_OUTPUT_TOKEN_BUDGET, er as MAX_LIST_LIMIT, fn as ATOMIC_CAPTURE_TIMEOUT_MS, gn as BACKUP_MIN_FREE_DISK_RATIO, gr as USAGE_EVENT_RETENTION_INTERVAL_MS, h as readMaintenanceOverrides, hn as BACKUP_INTERVAL_MS, in as PERSISTED_PROVIDER_SYSTEM, j as retrievalConfigSchema, k as modelCallDestination, kn as DEFAULT_REFLECTION_ERROR_SCAN_MAX_CHARS, mn as ATOMIC_EXTRACTION_MAX_INPUT_TOKENS, mr as SNO_OBSERVE_FLUSH_TIMEOUT_MS, n as MEMORY_USAGE_FLUSH_INTERVAL_MS, qt as FIXED_PROTOCOL_VALUE_74, rr as MIN_RECALL_TOKEN_BUDGET, sr as PLANNER_STATISTICS_INTERVAL_MS, ur as REM_TRIGGER_CHECK_INTERVAL_MS, w as getStateDir, x as getSettingsPath, xr as recallLifecycleSchema, zn as FORGET_QUERY_MIN_SCORE, zt as FIXED_PROTOCOL_VALUE_63 } from "./config-BCZRhUvW.js";
|
|
3
3
|
import { n as DEGRADED_REASONS, t as ContractError } from "./error-D-wb-rZw.js";
|
|
4
4
|
import { configureLogger, createLogger, currentLogContext, effectiveLogLevel, loggerFileStatus, privateLogReference, withLogContext } from "@snoai/utils/logger";
|
|
@@ -196,7 +196,7 @@ function addNumber(target, key, value) {
|
|
|
196
196
|
}
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region package.json
|
|
199
|
-
var version = "1.2.
|
|
199
|
+
var version = "1.2.6";
|
|
200
200
|
//#endregion
|
|
201
201
|
//#region config/atomic-extraction-response.schema.json
|
|
202
202
|
var atomic_extraction_response_schema_default = {
|
|
@@ -1057,7 +1057,7 @@ function fallbackAtomicCapturedFact(fact) {
|
|
|
1057
1057
|
//#endregion
|
|
1058
1058
|
//#region src/engine/observability/log-site-catalog.generated.ts
|
|
1059
1059
|
const logSiteCatalog = {
|
|
1060
|
-
"build_id": "
|
|
1060
|
+
"build_id": "f8b995944301441448053b77663789405ed35acd831131e85040ced1d8e948c2",
|
|
1061
1061
|
"sites": {
|
|
1062
1062
|
"memory.recall.budget.checked": {
|
|
1063
1063
|
"file": "packages/memory/src/engine/bindings/memory-recall-tool.ts",
|
|
@@ -2492,112 +2492,112 @@ const logSiteCatalog = {
|
|
|
2492
2492
|
"function": "resolveRequestTransport",
|
|
2493
2493
|
"line": 375,
|
|
2494
2494
|
"column": 4,
|
|
2495
|
-
"file_hash": "
|
|
2495
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2496
2496
|
},
|
|
2497
2497
|
"shared.llm-client.resolveRequestTransport.ffa933b519": {
|
|
2498
2498
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2499
2499
|
"function": "resolveRequestTransport",
|
|
2500
2500
|
"line": 381,
|
|
2501
2501
|
"column": 4,
|
|
2502
|
-
"file_hash": "
|
|
2502
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2503
2503
|
},
|
|
2504
2504
|
"llm.host.request.completed": {
|
|
2505
2505
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2506
2506
|
"function": "requestContent",
|
|
2507
2507
|
"line": 430,
|
|
2508
2508
|
"column": 6,
|
|
2509
|
-
"file_hash": "
|
|
2509
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2510
2510
|
},
|
|
2511
2511
|
"llm.client.host_cancelled": {
|
|
2512
2512
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2513
2513
|
"function": "requestContent",
|
|
2514
2514
|
"line": 448,
|
|
2515
2515
|
"column": 5,
|
|
2516
|
-
"file_hash": "
|
|
2516
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2517
2517
|
},
|
|
2518
2518
|
"llm.client.host_error": {
|
|
2519
2519
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2520
2520
|
"function": "requestContent",
|
|
2521
2521
|
"line": 462,
|
|
2522
2522
|
"column": 5,
|
|
2523
|
-
"file_hash": "
|
|
2523
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2524
2524
|
},
|
|
2525
2525
|
"shared.llm-client.requestContent.ff17976562": {
|
|
2526
2526
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2527
2527
|
"function": "requestContent",
|
|
2528
2528
|
"line": 500,
|
|
2529
2529
|
"column": 5,
|
|
2530
|
-
"file_hash": "
|
|
2530
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2531
2531
|
},
|
|
2532
2532
|
"llm.client.raw_pipeline_failed": {
|
|
2533
2533
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2534
2534
|
"function": "requestContent",
|
|
2535
2535
|
"line": 523,
|
|
2536
2536
|
"column": 5,
|
|
2537
|
-
"file_hash": "
|
|
2537
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2538
2538
|
},
|
|
2539
2539
|
"llm.client.chat_pipeline_failed": {
|
|
2540
2540
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2541
2541
|
"function": "requestContent",
|
|
2542
2542
|
"line": 551,
|
|
2543
2543
|
"column": 4,
|
|
2544
|
-
"file_hash": "
|
|
2544
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2545
2545
|
},
|
|
2546
2546
|
"llm.client.empty_reply": {
|
|
2547
2547
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2548
2548
|
"function": "requestContent",
|
|
2549
2549
|
"line": 565,
|
|
2550
2550
|
"column": 4,
|
|
2551
|
-
"file_hash": "
|
|
2551
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2552
2552
|
},
|
|
2553
2553
|
"shared.llm-client.requestContentRetryingEmpty.cd874fefff": {
|
|
2554
2554
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2555
2555
|
"function": "requestContentRetryingEmpty",
|
|
2556
2556
|
"line": 606,
|
|
2557
2557
|
"column": 5,
|
|
2558
|
-
"file_hash": "
|
|
2558
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2559
2559
|
},
|
|
2560
2560
|
"llm.client.fallback.answered": {
|
|
2561
2561
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2562
2562
|
"function": "requestContentWithHostFallback",
|
|
2563
2563
|
"line": 659,
|
|
2564
2564
|
"column": 6,
|
|
2565
|
-
"file_hash": "
|
|
2565
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2566
2566
|
},
|
|
2567
2567
|
"llm.client.fallback.failed": {
|
|
2568
2568
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2569
2569
|
"function": "requestContentWithHostFallback",
|
|
2570
2570
|
"line": 676,
|
|
2571
2571
|
"column": 3,
|
|
2572
|
-
"file_hash": "
|
|
2572
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2573
2573
|
},
|
|
2574
2574
|
"llm.client.json.deadline_exhausted": {
|
|
2575
2575
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2576
2576
|
"function": "completeJson",
|
|
2577
2577
|
"line": 704,
|
|
2578
2578
|
"column": 7,
|
|
2579
|
-
"file_hash": "
|
|
2579
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2580
2580
|
},
|
|
2581
2581
|
"shared.llm-client.completeJson.e04c8e7e82": {
|
|
2582
2582
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2583
2583
|
"function": "completeJson",
|
|
2584
2584
|
"line": 720,
|
|
2585
2585
|
"column": 5,
|
|
2586
|
-
"file_hash": "
|
|
2586
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2587
2587
|
},
|
|
2588
2588
|
"llm.client.json.request_failed": {
|
|
2589
2589
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2590
2590
|
"function": "completeJson",
|
|
2591
2591
|
"line": 726,
|
|
2592
2592
|
"column": 5,
|
|
2593
|
-
"file_hash": "
|
|
2593
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2594
2594
|
},
|
|
2595
2595
|
"shared.llm-client.completeText.ffa933b519": {
|
|
2596
2596
|
"file": "packages/memory/src/model/llm-client.ts",
|
|
2597
2597
|
"function": "completeText",
|
|
2598
2598
|
"line": 749,
|
|
2599
2599
|
"column": 5,
|
|
2600
|
-
"file_hash": "
|
|
2600
|
+
"file_hash": "e2f30aa210d6fe6b6f42497bf4ed38bdccbc10249c098ebcdad995b832ea7603"
|
|
2601
2601
|
},
|
|
2602
2602
|
"llm.transport.request.completed": {
|
|
2603
2603
|
"file": "packages/memory/src/model/llm-provider-transport.ts",
|
package/dist/{memory-temporality-classifier-C6MW_0i4.js → memory-temporality-classifier-gePkUCcx.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isSupportedLocale } from "./internal/engine/i18n/locales.js";
|
|
2
2
|
import { parseIsoDateTimeMs } from "./internal/engine/shared/iso-date-time.js";
|
|
3
3
|
import { n as modelCallDestination } from "./model-call-table-BZJQkbKX.js";
|
|
4
|
-
import { a as isTerminalLlmFailure } from "./llm-client-
|
|
4
|
+
import { a as isTerminalLlmFailure } from "./llm-client-AT2zQNnv.js";
|
|
5
5
|
import { n as readModelReplyJson } from "./model-reply-text-CKopStP2.js";
|
|
6
6
|
import { n as RESOURCES_BY_LOCALE } from "./all-resources-BQK2ugjB.js";
|
|
7
7
|
import { a as sessionZoneCarriedBy, n as calendarInstructionSchema, r as calendarSessionTimestamp, t as calculateCalendarTime } from "./calendar-instruction-CzqZbAPG.js";
|
|
@@ -7,7 +7,7 @@ import "./internal/engine/shared/utils.js";
|
|
|
7
7
|
import "./all-resources-BQK2ugjB.js";
|
|
8
8
|
import "./capture-policy-detector-DaMfy9CZ.js";
|
|
9
9
|
import "./internal/engine/extraction/extraction-text-sanitizer.js";
|
|
10
|
-
import "./memory-temporality-classifier-
|
|
10
|
+
import "./memory-temporality-classifier-gePkUCcx.js";
|
|
11
11
|
import "./runtime-audit-log-BCeujlEp.js";
|
|
12
12
|
import "./internal/engine/operations/daily-spend-estimator.js";
|
|
13
13
|
import "./internal/engine/operations/learning-file-maintenance.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MAX_LIST_LIMIT } from "./internal/config/index.js";
|
|
2
2
|
import { SnoStationMemError, StorageError } from "./internal/engine/shared/errors.js";
|
|
3
3
|
import { a as buildInsightMetadata, c as stringifyInsightMetadata, h as deriveFactKey, s as parseInsightMetadata } from "./memory-metadata-codec-DL1sbJiN.js";
|
|
4
|
-
import { n as LlmClientTerminalError } from "./llm-client-
|
|
4
|
+
import { n as LlmClientTerminalError } from "./llm-client-AT2zQNnv.js";
|
|
5
5
|
import { resolveLlmRoute } from "./internal/model/llm-mode-routing.js";
|
|
6
6
|
import { boundSectionContent, buildIndexedText } from "./internal/engine/extraction/extraction-text-sanitizer.js";
|
|
7
7
|
import { d as runWithMutationAttempt, i as currentMutationAttemptId } from "./runtime-audit-log-BCeujlEp.js";
|
|
8
8
|
import { adapterAViewFromRecord, orderAdapterAPair, parseAdapterAChatVerdict, prospectiveProfileView, renderAdapterAChatPrompt, renderAdapterAPrompt } from "./internal/engine/rem/index.js";
|
|
9
|
-
import { S as StaleSupersedeTargetError, a as resolveTaskLifecycle, c as buildTaskLifecycleCommandClaim, i as findUniqueActiveTaskByDescription, l as resolveTaskLifecycleEffectiveTime, n as acceptsTaskLifecycleJudgment, o as taskLifecycleCandidateSetVersion, r as buildTaskLifecycleCandidateSet, s as admitTaskLifecycleAssertion, w as TaskLifecycleStaleResolutionError } from "./store-
|
|
9
|
+
import { S as StaleSupersedeTargetError, a as resolveTaskLifecycle, c as buildTaskLifecycleCommandClaim, i as findUniqueActiveTaskByDescription, l as resolveTaskLifecycleEffectiveTime, n as acceptsTaskLifecycleJudgment, o as taskLifecycleCandidateSetVersion, r as buildTaskLifecycleCandidateSet, s as admitTaskLifecycleAssertion, w as TaskLifecycleStaleResolutionError } from "./store-BegOsCEf.js";
|
|
10
10
|
import { o as canonicalizeProfileSectionName, r as recordTokenCounter } from "./memory-store-write-validation-B_hDG2zf.js";
|
|
11
11
|
import { canExtractorWrite } from "./internal/engine/shared/memory-kind-policy.js";
|
|
12
12
|
import { resolveHookAgentId } from "./internal/engine/bindings/sno-station-mem-runtime-mode.js";
|
|
@@ -3,14 +3,14 @@ import { a as buildInsightMetadata, c as stringifyInsightMetadata } from "./memo
|
|
|
3
3
|
import { redactSecrets } from "./internal/engine/security/redact.js";
|
|
4
4
|
import { t as checkMemoryOperation } from "./operation-cancellation-CTKWwNHk.js";
|
|
5
5
|
import { setLruEntry } from "./internal/engine/shared/lru.js";
|
|
6
|
-
import { i as createLlmClient } from "./llm-client-
|
|
6
|
+
import { i as createLlmClient } from "./llm-client-AT2zQNnv.js";
|
|
7
7
|
import { pickLlmRoutingConfig } from "./internal/model/llm-mode-routing.js";
|
|
8
8
|
import { appendSelfImprovementEntry } from "./internal/engine/operations/learning-file-maintenance.js";
|
|
9
9
|
import { getSnoStationMemDataDir } from "./internal/store/data-paths.js";
|
|
10
10
|
import { resolveHookAgentId } from "./internal/engine/bindings/sno-station-mem-runtime-mode.js";
|
|
11
|
-
import { n as createRetireByNameRunBudget, r as runProfileSectionUpdate } from "./profile-section-writer-
|
|
11
|
+
import { n as createRetireByNameRunBudget, r as runProfileSectionUpdate } from "./profile-section-writer-BDcKpSXA.js";
|
|
12
12
|
import { a as generateReflectionText, c as shouldSkipReflectionMessage, l as writeReflectionToFilesystem, s as readSessionConversationWithResetFallback, u as extractTextContent } from "./daily-log-generator-CH_KuWHs.js";
|
|
13
|
-
import { a as resolveWorkspaceDirFromEvent, f as setReflectionDerivedCacheEntry, l as isSessionBoundaryReflectionAction, n as createReflectionGenerator, o as DEFAULT_REFLECTION_BOUNDARY_DERIVED_SUPPRESSION_MS, t as DEFAULT_MEMORY_LLM_CONFIG, u as setReflectionDerivedSuppression } from "./reflection-embedded-generator-
|
|
13
|
+
import { a as resolveWorkspaceDirFromEvent, f as setReflectionDerivedCacheEntry, l as isSessionBoundaryReflectionAction, n as createReflectionGenerator, o as DEFAULT_REFLECTION_BOUNDARY_DERIVED_SUPPRESSION_MS, t as DEFAULT_MEMORY_LLM_CONFIG, u as setReflectionDerivedSuppression } from "./reflection-embedded-generator-BT5DEvFV.js";
|
|
14
14
|
import { i as buildReflectionMappedMetadata, n as createReflectionEventId, o as extractInjectableReflectionMappedMemoryItems, r as buildReflectionAntiPatternSignature, s as extractReflectionLearningGovernanceCandidates, t as storeReflectionEntries } from "./memory-entry-projector-DHo8jH10.js";
|
|
15
15
|
import { createLogger, currentLogContext, privateLogReference, withLogContext } from "@snoai/utils/logger";
|
|
16
16
|
import { basename, join } from "node:path";
|
package/dist/{reflection-embedded-generator-B5K0O1sJ.js → reflection-embedded-generator-BT5DEvFV.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { X as FIXED_MEMORY_SNO_AI_EXTRACT } from "./signed-registry-constants-yq3DlG3B.js";
|
|
2
|
-
import { i as createLlmClient } from "./llm-client-
|
|
2
|
+
import { i as createLlmClient } from "./llm-client-AT2zQNnv.js";
|
|
3
3
|
//#region src/engine/reflection/derived-line-cache.ts
|
|
4
4
|
/**
|
|
5
5
|
* Returns reflection derived cache entry from reflection cache keys state without side effects.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as runRemProductionOrderedWave } from "./rem-trigger
|
|
1
|
+
import { c as runRemProductionOrderedWave } from "./rem-trigger--Z0v_NYF.js";
|
|
2
2
|
export { runRemProductionOrderedWave };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Et as ModelCallRefusedError, G as parseRemOperationType, W as REM_BUILT_OPERATION_TYPES, ct as readJsonlLines, it as getAuditPath, n as remNeedsHost, nt as appendAuditEntryStrict } from "./rem-trigger
|
|
1
|
+
import { Et as ModelCallRefusedError, G as parseRemOperationType, W as REM_BUILT_OPERATION_TYPES, ct as readJsonlLines, it as getAuditPath, n as remNeedsHost, nt as appendAuditEntryStrict } from "./rem-trigger--Z0v_NYF.js";
|
|
2
2
|
import { Ar as MEMORY_ERROR_STATUS, C as getSnoStationMemStateDir, Fr as memoryMethod, Mr as MEMORY_ROUTES, Nr as MEMORY_SKIN_HEADER, S as getSidecarSocketPath, _ as readRemTestHoldMs, c as REM_SIDECAR_ORIGIN, d as getRemDiscoveryPath, f as getRemJobJournalPath, g as readRemOperationalConfig, i as REM_JOBS_PATH_PREFIX, kr as MEMORY_DEFAULT_SKIN_ID, l as REM_SOURCE, nr as MEMORY_SHUTDOWN_TIMEOUT_MS, r as REM_CORRELATION_ID_HEADER, s as REM_SIDECAR_HOST, u as getRemChassisJournalPath, v as SettingsUnavailableError, y as getDiscoveryPath } from "./config-BCZRhUvW.js";
|
|
3
3
|
import { t as ContractError } from "./error-D-wb-rZw.js";
|
|
4
4
|
import { setImmediate } from "node:timers/promises";
|
|
@@ -643,7 +643,7 @@ async function startOwnedRemSidecar() {
|
|
|
643
643
|
async open() {
|
|
644
644
|
if (currentMemory) return currentMemory;
|
|
645
645
|
if (settingsError) throw settingsError;
|
|
646
|
-
openingMemory ??= import("./memory-runtime-
|
|
646
|
+
openingMemory ??= import("./memory-runtime-BStVNZYd.js").then((module) => module.MemoryRuntimePool.open()).then((pool) => {
|
|
647
647
|
currentMemory = pool;
|
|
648
648
|
if (stopping) pool.stopTimers();
|
|
649
649
|
return pool;
|
|
@@ -1038,7 +1038,7 @@ async function runChassisJob(store, journal, waveId, holdMs, runtime) {
|
|
|
1038
1038
|
cleanRefusalReasons.push(reason);
|
|
1039
1039
|
await appendChassisRefusal(journal, queued, operation, "refused", reason);
|
|
1040
1040
|
}
|
|
1041
|
-
const { runRemProductionOrderedWave } = await import("./rem-batch-executor-
|
|
1041
|
+
const { runRemProductionOrderedWave } = await import("./rem-batch-executor-C6EnCyZf.js");
|
|
1042
1042
|
const result = enabledOperations.length === 0 ? {
|
|
1043
1043
|
decision: "allow",
|
|
1044
1044
|
reasonCode: null,
|
package/dist/sidecar/main.js
CHANGED
|
@@ -6,7 +6,7 @@ import { addLogFileTarget, closeLogger, createLogger } from "@snoai/utils/logger
|
|
|
6
6
|
* @purpose Boots the standalone local REM sidecar process.
|
|
7
7
|
* @boundary Process environment, sidecar lifecycle, and local request-log destination.
|
|
8
8
|
*/
|
|
9
|
-
const { startRemSidecar, DuplicateSidecarError } = await import("../server-
|
|
9
|
+
const { startRemSidecar, DuplicateSidecarError } = await import("../server-qs383_Yt.js");
|
|
10
10
|
let sidecar;
|
|
11
11
|
while (!sidecar) try {
|
|
12
12
|
sidecar = await startRemSidecar();
|
|
@@ -3,13 +3,13 @@ import "./internal/engine/i18n/locales.js";
|
|
|
3
3
|
import "./internal/engine/shared/types.js";
|
|
4
4
|
import "./internal/engine/security/redact.js";
|
|
5
5
|
import "./internal/engine/shared/utils.js";
|
|
6
|
-
import "./llm-client-
|
|
6
|
+
import "./llm-client-AT2zQNnv.js";
|
|
7
7
|
import "./capture-policy-detector-DaMfy9CZ.js";
|
|
8
8
|
import "./ambient-learning-text-normalizer-CxjATmMp.js";
|
|
9
|
-
import "./memory-temporality-classifier-
|
|
9
|
+
import "./memory-temporality-classifier-gePkUCcx.js";
|
|
10
10
|
import "./runtime-audit-log-BCeujlEp.js";
|
|
11
11
|
import "./scopes-CSOn6zdd.js";
|
|
12
|
-
import "./atomic-memory-extraction-
|
|
12
|
+
import "./atomic-memory-extraction-BK2eZE58.js";
|
|
13
13
|
import "./internal/store/sqlite-runtime.js";
|
|
14
14
|
import "./connection-C9YD5sgm.js";
|
|
15
15
|
import "./internal/store/data-paths.js";
|
|
@@ -23,8 +23,8 @@ import "./retriever-ZoLvPRHq.js";
|
|
|
23
23
|
import "./internal/engine/observability/observable-retriever.js";
|
|
24
24
|
import "./internal/engine/observability/session-registry.js";
|
|
25
25
|
import "./daily-log-generator-CH_KuWHs.js";
|
|
26
|
-
import "./reflection-embedded-generator-
|
|
27
|
-
import "./strategy-hook-runner-
|
|
26
|
+
import "./reflection-embedded-generator-BT5DEvFV.js";
|
|
27
|
+
import "./strategy-hook-runner-DT2ixsC0.js";
|
|
28
28
|
import "./data-bootstrap-P8sie9WA.js";
|
|
29
29
|
import "@snoai/sqlite-crypto";
|
|
30
30
|
export {};
|
|
@@ -8,7 +8,7 @@ import { normalizeForCompare, tokenizeForFts } from "./internal/engine/shared/i1
|
|
|
8
8
|
import { bytesToF32, clamp01, clampInt, f32ToBytes, sanitizeFtsConjunctiveQuery, sanitizeFtsQuery, stableHash } from "./internal/engine/shared/utils.js";
|
|
9
9
|
import { t as checkMemoryOperation } from "./operation-cancellation-CTKWwNHk.js";
|
|
10
10
|
import "./internal/engine/extraction/extraction-text-sanitizer.js";
|
|
11
|
-
import "./memory-temporality-classifier-
|
|
11
|
+
import "./memory-temporality-classifier-gePkUCcx.js";
|
|
12
12
|
import { l as runWithMemoryAudit } from "./runtime-audit-log-BCeujlEp.js";
|
|
13
13
|
import { getSnoStationMemStateDir } from "./internal/contract/profile.js";
|
|
14
14
|
import { a as readMemorySourceOrder, i as readCorrectionMoment, n as compareMemoryRetirementOrder, o as readMemorySourceOrderOrOldest, r as compareMemorySourceOrder, s as sameSourceTurn, t as closeMemoryRow } from "./memory-source-order-YMRoeDLd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_REFLECTION_SESSION_TTL_MS } from "./internal/config/index.js";
|
|
2
2
|
import { setLruEntry, touchLruEntry } from "./internal/engine/shared/lru.js";
|
|
3
3
|
import { n as createErrorSignalTracker } from "./error-signals-lMH2uAdV.js";
|
|
4
|
-
import { i as pruneReflectionState } from "./reflection-embedded-generator-
|
|
4
|
+
import { i as pruneReflectionState } from "./reflection-embedded-generator-BT5DEvFV.js";
|
|
5
5
|
import { a as loadAgentReflectionSlicesFromEntries } from "./memory-entry-projector-DHo8jH10.js";
|
|
6
6
|
import { createLogger } from "@snoai/utils/logger";
|
|
7
7
|
//#region src/engine/reflection/reflection-slice-loader.ts
|