@snoai/memory 1.7.1 → 2.0.0
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/agent-state-osRgfRdR.js +928 -0
- package/dist/agent-state-view.d.ts +1 -0
- package/dist/agent-state-view.js +185 -0
- package/dist/{atomic-memory-extraction-CWMMWF2C.js → atomic-memory-extraction-OusdO3Ig.js} +4 -4
- package/dist/client.js +1 -1
- package/dist/coding-skin-D_2RbNDw.js +342 -0
- package/dist/coding-skin.d.ts +87 -1
- package/dist/coding-skin.js +3 -2
- package/dist/{config-D6GJyMKz.js → config-VPVf190N.js} +1 -1
- package/dist/diagnostic-encoder.js +1 -1
- package/dist/index.js +5 -5
- package/dist/internal/config/settings.js +1 -1
- 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 +3 -3
- package/dist/internal/store/store.js +1 -1
- package/dist/{llm-client-BtbX4af4.js → llm-client-DhBvu-U_.js} +1 -1
- package/dist/{log-site-catalog.generated-Dtiih6m2.js → log-site-catalog.generated-3zYckrtz.js} +2 -2
- package/dist/log-site-catalog.json +1 -1
- package/dist/memdump.js +1 -1
- package/dist/{memory-runtime-B9fG-sNo.js → memory-runtime-CKIBXN_r.js} +4 -4
- package/dist/{memory-temporality-classifier-Bm0EiCN8.js → memory-temporality-classifier-DTRhzXmG.js} +1 -1
- package/dist/{memory-tool-dependencies-BxVJ-bHs.js → memory-tool-dependencies-BQHE4kMD.js} +1 -1
- package/dist/{profile-section-writer-DSX6R3GF.js → profile-section-writer-QiB0MMtt.js} +2 -2
- package/dist/{reflection-command-hooks-Dyckr_Ma.js → reflection-command-hooks-DBpqpF7A.js} +3 -3
- package/dist/{reflection-embedded-generator-i8KHqMpr.js → reflection-embedded-generator-DNFMQNsv.js} +1 -1
- package/dist/{rem-batch-executor-BSWXFOLH.js → rem-batch-executor-BHItPFZ8.js} +1 -1
- package/dist/{rem-trigger-BaJa5FS0.js → rem-trigger-BN6GCcnE.js} +29 -7
- package/dist/{server-DPd3Xef2.js → server-BvEOkYis.js} +4 -4
- package/dist/sidecar/main.js +2 -2
- package/dist/{sno-station-mem-runtime-dependencies-DITNvfkR.js → sno-station-mem-runtime-dependencies-Fq6yRstU.js} +5 -5
- package/dist/{store-YX1_c1NH.js → store-cu7Qq2OW.js} +1 -1
- package/dist/{strategy-hook-runner-CwqZ1orf.js → strategy-hook-runner-CvdsVcwR.js} +1 -1
- package/package.json +1 -1
- package/settings.default.json +1 -1
- package/dist/coding-skin-BnFryVac.js +0 -265
package/dist/coding-skin.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { a as readAgentView, d as foldActivity, f as isAgentText, i as observeAgentEvent, l as EMPTY_ACTIVITY_CURSOR, n as compactAgentView, p as readNewLines, r as markAgentResultSeen, t as agentProcessIdentity, u as activityCursorSchema } from "./agent-state-osRgfRdR.js";
|
|
2
|
+
import { C as continuityBriefPath, E as renderAgentStatusLine, S as composeContinuityContext, T as composeAgentStatusLine, _ as CODING_SKIN_WORKER_LIFETIME_MS, a as CODING_SKIN_CURSOR_HOOKS, b as shellQuote, c as CODING_SKIN_LEDGER_MAX_CHARS, d as CODING_SKIN_MAX_PENDING_CAPTURES, f as CODING_SKIN_MODEL_COMMANDS, g as CODING_SKIN_SESSION_QUERY, h as CODING_SKIN_RETRY_DELAYS_MS, i as CODING_SKIN_CHILD_MAX_BUFFER_BYTES, l as CODING_SKIN_MANUAL_SESSION_ID, m as CODING_SKIN_RECALL_SENTENCE_MAX_CHARS, n as CODING_SKIN_CAPTURE_QUIET_MS, o as CODING_SKIN_HOOKS, p as CODING_SKIN_RECALL_ITEM_MAX_CHARS, r as CODING_SKIN_CHILD_DEADLINE_MS, s as CODING_SKIN_IMPORT_INTERVAL_MS, t as CODING_SKIN_CAPTURE_MAX_INPUT_TOKENS, u as CODING_SKIN_MAX_ATTEMPTS, v as codingSkinHookCommand, w as refreshContinuityBrief, x as snoProgramPath, y as isCodingSkinHookCommand } from "./coding-skin-D_2RbNDw.js";
|
|
1
3
|
import { appendObserveLedgerRows } from "./internal/engine/telemetry/observe-ledger.js";
|
|
2
4
|
import { SKILL_CATEGORIES, skillVersionFor } from "./internal/config/skill-categories.js";
|
|
3
5
|
import { HOST_MODEL_CALLBACK_HOST, HOST_MODEL_CALLBACK_PATH, HOST_MODEL_DEADLINE_HEADER } from "./internal/config/skin-defaults.js";
|
|
4
|
-
|
|
5
|
-
export { CODING_SKIN_CAPTURE_MAX_INPUT_TOKENS, CODING_SKIN_CAPTURE_QUIET_MS, CODING_SKIN_CHILD_DEADLINE_MS, CODING_SKIN_CHILD_MAX_BUFFER_BYTES, CODING_SKIN_CURSOR_HOOKS, CODING_SKIN_HOOKS, CODING_SKIN_IMPORT_INTERVAL_MS, CODING_SKIN_LEDGER_MAX_CHARS, CODING_SKIN_MANUAL_SESSION_ID, CODING_SKIN_MAX_ATTEMPTS, CODING_SKIN_MAX_PENDING_CAPTURES, CODING_SKIN_MODEL_COMMANDS, CODING_SKIN_RECALL_ITEM_MAX_CHARS, CODING_SKIN_RECALL_SENTENCE_MAX_CHARS, CODING_SKIN_RETRY_DELAYS_MS, CODING_SKIN_SESSION_QUERY, CODING_SKIN_WORKER_LIFETIME_MS, EMPTY_ACTIVITY_CURSOR, HOST_MODEL_CALLBACK_HOST, HOST_MODEL_CALLBACK_PATH, HOST_MODEL_DEADLINE_HEADER, SKILL_CATEGORIES, activityCursorSchema, appendObserveLedgerRows, codingSkinHookCommand, foldActivity, isAgentText, isCodingSkinHookCommand, readNewLines, shellQuote, skillVersionFor, snoProgramPath };
|
|
6
|
+
export { CODING_SKIN_CAPTURE_MAX_INPUT_TOKENS, CODING_SKIN_CAPTURE_QUIET_MS, CODING_SKIN_CHILD_DEADLINE_MS, CODING_SKIN_CHILD_MAX_BUFFER_BYTES, CODING_SKIN_CURSOR_HOOKS, CODING_SKIN_HOOKS, CODING_SKIN_IMPORT_INTERVAL_MS, CODING_SKIN_LEDGER_MAX_CHARS, CODING_SKIN_MANUAL_SESSION_ID, CODING_SKIN_MAX_ATTEMPTS, CODING_SKIN_MAX_PENDING_CAPTURES, CODING_SKIN_MODEL_COMMANDS, CODING_SKIN_RECALL_ITEM_MAX_CHARS, CODING_SKIN_RECALL_SENTENCE_MAX_CHARS, CODING_SKIN_RETRY_DELAYS_MS, CODING_SKIN_SESSION_QUERY, CODING_SKIN_WORKER_LIFETIME_MS, EMPTY_ACTIVITY_CURSOR, HOST_MODEL_CALLBACK_HOST, HOST_MODEL_CALLBACK_PATH, HOST_MODEL_DEADLINE_HEADER, SKILL_CATEGORIES, activityCursorSchema, agentProcessIdentity, appendObserveLedgerRows, codingSkinHookCommand, compactAgentView, composeAgentStatusLine, composeContinuityContext, continuityBriefPath, foldActivity, isAgentText, isCodingSkinHookCommand, markAgentResultSeen, observeAgentEvent, readAgentView, readNewLines, refreshContinuityBrief, renderAgentStatusLine, shellQuote, skillVersionFor, snoProgramPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as version, t as logSiteCatalog } from "./log-site-catalog.generated-
|
|
1
|
+
import { n as version, t as logSiteCatalog } from "./log-site-catalog.generated-3zYckrtz.js";
|
|
2
2
|
import { diagnosticProcessInstanceId, encodeDiagnostic as encodeDiagnostic$1, writeEmergencyDiagnostic as writeEmergencyDiagnostic$1 } from "@snoai/utils/log-encoder";
|
|
3
3
|
// src/engine/observability/early-diagnostics.ts
|
|
4
4
|
function bindApplication(input) {
|
package/dist/index.js
CHANGED
|
@@ -9,24 +9,24 @@ import { a as readTrustedUserId, c as inspectProviderProjects, o as resolveProvi
|
|
|
9
9
|
import { debugContentPreview } from "./internal/engine/shared/utils.js";
|
|
10
10
|
import { c as withMemoryOperation, t as checkMemoryOperation } from "./operation-cancellation-mqfQz0ka.js";
|
|
11
11
|
import { pruneOldestEntries, setLruEntry } from "./internal/engine/shared/lru.js";
|
|
12
|
-
import { c as CODING_SKIN_LEDGER_MAX_CHARS, g as CODING_SKIN_SESSION_QUERY } from "./coding-skin-
|
|
12
|
+
import { c as CODING_SKIN_LEDGER_MAX_CHARS, g as CODING_SKIN_SESSION_QUERY } from "./coding-skin-D_2RbNDw.js";
|
|
13
13
|
import { defaultSettings } from "./internal/config/settings.js";
|
|
14
14
|
import { t as appendAuditEntry } from "./runtime-audit-log-4NJsojEj.js";
|
|
15
|
-
import { i as createLlmClient } from "./llm-client-
|
|
15
|
+
import { i as createLlmClient } from "./llm-client-DhBvu-U_.js";
|
|
16
16
|
import { pickLlmRoutingConfig } from "./internal/model/llm-mode-routing.js";
|
|
17
17
|
import { a as parseAgentIdFromSessionKey, n as createScopePolicy, t as MemoryScopePolicy } from "./memory-scope-policy-Dg2LHZ25.js";
|
|
18
|
-
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "./memory-temporality-classifier-
|
|
18
|
+
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "./memory-temporality-classifier-DTRhzXmG.js";
|
|
19
19
|
import { resolveAgentAccess, resolveAgentId } from "./internal/engine/bindings/memory-tool-access.js";
|
|
20
20
|
import { r as retrieveForAutoRecall, t as isOpenRecallMetadata } from "./rem-consumer-retrieval-DXeqknml.js";
|
|
21
21
|
import { executeMemoryRecallTool } from "./internal/engine/bindings/memory-recall-tool.js";
|
|
22
|
-
import { t as createReflectionStrategyState } from "./strategy-hook-runner-
|
|
22
|
+
import { t as createReflectionStrategyState } from "./strategy-hook-runner-CvdsVcwR.js";
|
|
23
23
|
import { buildInsightDistiller } from "./internal/engine/bindings/sno-station-mem-insight-distill-factory.js";
|
|
24
24
|
import { onAgentEnd } from "./internal/engine/bindings/sno-station-mem-ambient-learning-hook.js";
|
|
25
25
|
import { executeMemoryStoreTool } from "./internal/engine/bindings/memory-store-tool.js";
|
|
26
26
|
import { executeMemoryForgetTool } from "./internal/engine/bindings/memory-forget-tool.js";
|
|
27
27
|
import { executeMemoryUpdateTool } from "./internal/engine/bindings/memory-update-tool.js";
|
|
28
28
|
import { executeMemoryReflectionResolveTool } from "./internal/engine/bindings/memory-reflection-resolve-tool.js";
|
|
29
|
-
import { t as createRunMemoryReflection } from "./reflection-command-hooks-
|
|
29
|
+
import { t as createRunMemoryReflection } from "./reflection-command-hooks-DBpqpF7A.js";
|
|
30
30
|
import { createReflectionLifecycleHandler1, createReflectionLifecycleHandler2 } from "./internal/engine/reflection/reflection-lifecycle-hooks.js";
|
|
31
31
|
import { createReflectionInjectionHandler1, createReflectionInjectionHandler2, createReflectionInjectionHandler3 } from "./internal/engine/reflection/reflection-injection-hooks.js";
|
|
32
32
|
import { z } from "zod";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FORGET_QUERY_MIN_SCORE, MAX_CANDIDATE_POOL_SIZE } from "../../config/index.js";
|
|
2
2
|
import { SnoStationMemError } from "../shared/errors.js";
|
|
3
3
|
import { clamp01, clampInt } from "../shared/utils.js";
|
|
4
|
-
import "../../../memory-tool-dependencies-
|
|
4
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
5
5
|
import { assertAccessibleScopeForTool, isScopeAccessibleForTool, resolveReadableScopesForTool } from "./memory-tool-access.js";
|
|
6
6
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
7
7
|
import { forgetParamsSchema } from "./memory-tool-schemas.js";
|
|
@@ -3,7 +3,7 @@ import { normalizeCategory } from "../shared/types.js";
|
|
|
3
3
|
import { SnoStationMemError } from "../shared/errors.js";
|
|
4
4
|
import { clampInt } from "../shared/utils.js";
|
|
5
5
|
import { readEstimatedSpendToday } from "../operations/daily-spend-estimator.js";
|
|
6
|
-
import "../../../memory-tool-dependencies-
|
|
6
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
7
7
|
import { assertAccessibleScopeForTool, resolveReadableScopesForTool } from "./memory-tool-access.js";
|
|
8
8
|
import { serializeMemory } from "./memory-tool-formatting.js";
|
|
9
9
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
@@ -3,7 +3,7 @@ import { normalizeCategory } from "../shared/types.js";
|
|
|
3
3
|
import { truncateGraphemes } from "../shared/i18n-text.js";
|
|
4
4
|
import { clamp01, clampInt } from "../shared/utils.js";
|
|
5
5
|
import { formatAtDepth } from "../retrieval/intent-analyzer.js";
|
|
6
|
-
import { t as countTokens } from "../../../memory-tool-dependencies-
|
|
6
|
+
import { t as countTokens } from "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
7
7
|
import { assertAccessibleScopeForTool, resolveReadableScopesForTool } from "./memory-tool-access.js";
|
|
8
8
|
import { episodicEventDate, safeParseMetadata, sanitizeRecalledText, serializeMemory } from "./memory-tool-formatting.js";
|
|
9
9
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { clampInt } from "../shared/utils.js";
|
|
2
|
-
import "../../../memory-tool-dependencies-
|
|
2
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
3
3
|
import { assertAccessibleScopeForTool, isScopeAccessibleForTool, resolveReadableScopesForTool } from "./memory-tool-access.js";
|
|
4
4
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
5
5
|
import { t as parseReflectionMetadata } from "../../../entry-metadata-parser-W53-Odqm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isSystemBypassId } from "../../../memory-scope-policy-Dg2LHZ25.js";
|
|
2
2
|
import { readEstimatedSpendToday } from "../operations/daily-spend-estimator.js";
|
|
3
|
-
import "../../../memory-tool-dependencies-
|
|
3
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
4
4
|
import { assertAccessibleScopeForTool, getStoreScopeFilterForTool, resolveReadableScopesForTool } from "./memory-tool-access.js";
|
|
5
5
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
6
6
|
import { statsParamsSchema } from "./memory-tool-schemas.js";
|
|
@@ -5,12 +5,12 @@ import { clamp01, stableHash } from "../shared/utils.js";
|
|
|
5
5
|
import { t as appendAuditEntry } from "../../../runtime-audit-log-4NJsojEj.js";
|
|
6
6
|
import { a as detectCategory } from "../../../capture-policy-detector-DhNGhDw3.js";
|
|
7
7
|
import { stripEnvelopeMetadata } from "../extraction/extraction-text-sanitizer.js";
|
|
8
|
-
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "../../../memory-temporality-classifier-
|
|
9
|
-
import "../../../memory-tool-dependencies-
|
|
8
|
+
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "../../../memory-temporality-classifier-DTRhzXmG.js";
|
|
9
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
10
10
|
import { assertAccessibleScopeForTool, getDefaultScopeForTool } from "./memory-tool-access.js";
|
|
11
11
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
12
12
|
import { storeParamsSchema } from "./memory-tool-schemas.js";
|
|
13
|
-
import { n as createRetireByNameRunBudget, r as runProfileSectionUpdate } from "../../../profile-section-writer-
|
|
13
|
+
import { n as createRetireByNameRunBudget, r as runProfileSectionUpdate } from "../../../profile-section-writer-QiB0MMtt.js";
|
|
14
14
|
// src/engine/bindings/memory-store-tool.ts
|
|
15
15
|
/** @file memory-store-tool.ts
|
|
16
16
|
* @purpose Registers the memory_store tool.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SnoStationMemError } from "../shared/errors.js";
|
|
2
|
-
import "../../../memory-tool-dependencies-
|
|
2
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
3
3
|
// src/engine/bindings/memory-tool-access.ts
|
|
4
4
|
function assertAccessibleScope(scopePolicy, scope, agentId) {
|
|
5
5
|
const normalized = scope.trim();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RetrievalError, SnoStationMemError } from "../shared/errors.js";
|
|
2
|
-
import { n as z } from "../../../memory-tool-dependencies-
|
|
2
|
+
import { n as z } from "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
3
3
|
import { createLogger } from "@snoai/utils/logger";
|
|
4
4
|
// src/engine/bindings/memory-tool-results.ts
|
|
5
5
|
/** @file memory-tool-results.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AGGREGATION_OPERATIONS, MEMORY_CATEGORIES } from "../shared/types.js";
|
|
2
|
-
import { n as z } from "../../../memory-tool-dependencies-
|
|
2
|
+
import { n as z } from "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
3
3
|
// src/engine/bindings/memory-tool-schemas.ts
|
|
4
4
|
const TOOL_CATEGORY_INPUTS = [...MEMORY_CATEGORIES];
|
|
5
5
|
const toolCategoryInputSchema = z.enum(TOOL_CATEGORY_INPUTS);
|
|
@@ -5,8 +5,8 @@ import { h as deriveFactKey } from "../../../memory-metadata-codec-Cglikqj8.js";
|
|
|
5
5
|
import { clamp01 } from "../shared/utils.js";
|
|
6
6
|
import { t as appendAuditEntry } from "../../../runtime-audit-log-4NJsojEj.js";
|
|
7
7
|
import { stripEnvelopeMetadata } from "../extraction/extraction-text-sanitizer.js";
|
|
8
|
-
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "../../../memory-temporality-classifier-
|
|
9
|
-
import "../../../memory-tool-dependencies-
|
|
8
|
+
import { a as serializeIntervalMetadata, o as resolveMemoryDate } from "../../../memory-temporality-classifier-DTRhzXmG.js";
|
|
9
|
+
import "../../../memory-tool-dependencies-BQHE4kMD.js";
|
|
10
10
|
import { parseEntryMetadata } from "./memory-tool-formatting.js";
|
|
11
11
|
import { makeResult, runWithAudit } from "./memory-tool-results.js";
|
|
12
12
|
import { updateParamsSchema } from "./memory-tool-schemas.js";
|
|
@@ -4,10 +4,10 @@ import { t as checkMemoryOperation } from "../../../operation-cancellation-mqfQz
|
|
|
4
4
|
import { r as modelCallDestination } from "../../../model-call-table-BxGwmwv0.js";
|
|
5
5
|
import { t as appendAuditEntry } from "../../../runtime-audit-log-4NJsojEj.js";
|
|
6
6
|
import { t as normalizeAmbientLearningText } from "../../../ambient-learning-text-normalizer-dxAxf9oi.js";
|
|
7
|
-
import { a as serializeIntervalMetadata, i as parseSessionTimestamp, s as unresolvedMemoryDate } from "../../../memory-temporality-classifier-
|
|
7
|
+
import { a as serializeIntervalMetadata, i as parseSessionTimestamp, s as unresolvedMemoryDate } from "../../../memory-temporality-classifier-DTRhzXmG.js";
|
|
8
8
|
import { resolveHookAgentId } from "./sno-station-mem-runtime-mode.js";
|
|
9
9
|
import { c as shouldSkipReflectionMessage } from "../../../daily-log-generator-DdzlaQYy.js";
|
|
10
|
-
import "../../../sno-station-mem-runtime-dependencies-
|
|
10
|
+
import "../../../sno-station-mem-runtime-dependencies-Fq6yRstU.js";
|
|
11
11
|
import { buildConversationText, deriveSessionDateTime, extractAllMessageTexts, isAmbientLearningMessage, transcriptSessionDateTime } from "./sno-station-mem-message-transcript.js";
|
|
12
12
|
import { createLogger, currentLogContext, withLogContext } from "@snoai/utils/logger";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
@@ -8,7 +8,7 @@ import { episodicEventDate, saidOnDate, sourceQuote } from "./memory-tool-format
|
|
|
8
8
|
import { r as retrieveForAutoRecall } from "../../../rem-consumer-retrieval-DXeqknml.js";
|
|
9
9
|
import { isChatIdBasedAgentId, resolveHookAgentId } from "./sno-station-mem-runtime-mode.js";
|
|
10
10
|
import { t as parseReflectionMetadata } from "../../../entry-metadata-parser-W53-Odqm.js";
|
|
11
|
-
import "../../../sno-station-mem-runtime-dependencies-
|
|
11
|
+
import "../../../sno-station-mem-runtime-dependencies-Fq6yRstU.js";
|
|
12
12
|
import { resolveRuntimeSessionId } from "./sno-station-mem-session-state.js";
|
|
13
13
|
import { createLogger, currentLogContext, withLogContext } from "@snoai/utils/logger";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as appendAuditEntry } from "../../../runtime-audit-log-4NJsojEj.js";
|
|
2
2
|
import { pickLlmRoutingConfig, resolveLlmRoute } from "../../model/llm-mode-routing.js";
|
|
3
|
-
import { r as createSignedAtomicMemoryExtractionTransports, t as AtomicInsightDistiller } from "../../../atomic-memory-extraction-
|
|
4
|
-
import "../../../sno-station-mem-runtime-dependencies-
|
|
3
|
+
import { r as createSignedAtomicMemoryExtractionTransports, t as AtomicInsightDistiller } from "../../../atomic-memory-extraction-OusdO3Ig.js";
|
|
4
|
+
import "../../../sno-station-mem-runtime-dependencies-Fq6yRstU.js";
|
|
5
5
|
import { createLogger } from "@snoai/utils/logger";
|
|
6
6
|
// src/engine/bindings/sno-station-mem-insight-distill-factory.ts
|
|
7
7
|
/** @file sno-station-mem-insight-distill-factory.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { nt as FIXED_PROTOCOL_VALUE_63, wt as PERSISTED_PROVIDER_SYSTEM } from "../../../signed-registry-constants-CO2vv_QJ.js";
|
|
2
2
|
import { parseIsoDateTimeMs } from "../shared/iso-date-time.js";
|
|
3
3
|
import { t as normalizeAmbientLearningText } from "../../../ambient-learning-text-normalizer-dxAxf9oi.js";
|
|
4
|
-
import { a as escapeTranscriptRoleContinuations } from "../../../atomic-memory-extraction-
|
|
5
|
-
import "../../../sno-station-mem-runtime-dependencies-
|
|
4
|
+
import { a as escapeTranscriptRoleContinuations } from "../../../atomic-memory-extraction-OusdO3Ig.js";
|
|
5
|
+
import "../../../sno-station-mem-runtime-dependencies-Fq6yRstU.js";
|
|
6
6
|
import { sanitizeContentIngress } from "@snoai/content-sanitizer";
|
|
7
7
|
import { Temporal } from "@js-temporal/polyfill";
|
|
8
8
|
// src/engine/bindings/sno-station-mem-message-transcript.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AtomicInsightDistiller, n as createAtomicResplitTransport, r as createSignedAtomicMemoryExtractionTransports, i as runAtomicMemoryExtraction } from "../../../atomic-memory-extraction-
|
|
1
|
+
export { t as AtomicInsightDistiller, n as createAtomicResplitTransport, r as createSignedAtomicMemoryExtractionTransports, i as runAtomicMemoryExtraction } from "../../../atomic-memory-extraction-OusdO3Ig.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as classifyTemporal, n as inferExpiry, r as inferTemporalInterval, i as parseSessionTimestamp, a as serializeIntervalMetadata } from "../../../memory-temporality-classifier-
|
|
1
|
+
export { t as classifyTemporal, n as inferExpiry, r as inferTemporalInterval, i as parseSessionTimestamp, a as serializeIntervalMetadata } from "../../../memory-temporality-classifier-DTRhzXmG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StorageError } from "../shared/errors.js";
|
|
2
2
|
import { d as runWithMemoryAuditSync, u as runWithMemoryAudit } from "../../../runtime-audit-log-4NJsojEj.js";
|
|
3
3
|
import { getSnoStationMemStateDir } from "../../contract/profile.js";
|
|
4
|
-
import { x as MemoryStore } from "../../../store-
|
|
4
|
+
import { x as MemoryStore } from "../../../store-cu7Qq2OW.js";
|
|
5
5
|
import { t as countEmbeddingTokens } from "../../../token-counter-N9I9iWq1.js";
|
|
6
6
|
import { isAbsolute } from "node:path";
|
|
7
7
|
import { detectProjectId } from "@snoai/observability";
|
|
@@ -4,7 +4,7 @@ import { pickLlmRoutingConfig, resolveLlmRoute } from "../../model/llm-mode-rout
|
|
|
4
4
|
import { n as ATOMIC_EXTRACTION_SKILL_HASH } from "../../../atomic-extraction-skill-5lAqr8BM.js";
|
|
5
5
|
import { r as ATOMIC_EXTRACTION_RESPONSE_JSON_SCHEMA } from "../../../atomic-extraction-reply-CoxIGLmU.js";
|
|
6
6
|
import { r as attribute_dictionary_default } from "../../../relation-dictionary-QVBewRQ1.js";
|
|
7
|
-
import { n as version, t as logSiteCatalog } from "../../../log-site-catalog.generated-
|
|
7
|
+
import { n as version, t as logSiteCatalog } from "../../../log-site-catalog.generated-3zYckrtz.js";
|
|
8
8
|
import { configureLogger, createLogger, effectiveLogLevel, loggerFileStatus } from "@snoai/utils/logger";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
// src/engine/observability/runtime-diagnostics.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as createRunMemoryReflection } from "../../../reflection-command-hooks-
|
|
1
|
+
export { t as createRunMemoryReflection } from "../../../reflection-command-hooks-DBpqpF7A.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as DEFAULT_MEMORY_LLM_CONFIG, n as createReflectionGenerator, r as isInternalReflectionSessionKey, i as pruneReflectionState, a as resolveWorkspaceDirFromEvent } from "../../../reflection-embedded-generator-
|
|
1
|
+
export { t as DEFAULT_MEMORY_LLM_CONFIG, n as createReflectionGenerator, r as isInternalReflectionSessionKey, i as pruneReflectionState, a as resolveWorkspaceDirFromEvent } from "../../../reflection-embedded-generator-DNFMQNsv.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { vt as FIXED_PROTOCOL_VALUE_79 } from "../../../signed-registry-constants-CO2vv_QJ.js";
|
|
2
|
-
import { c as getReflectionDerivedSuppression, d as getReflectionDerivedCacheEntry, r as isInternalReflectionSessionKey, s as deleteReflectionDerivedSuppression } from "../../../reflection-embedded-generator-
|
|
2
|
+
import { c as getReflectionDerivedSuppression, d as getReflectionDerivedCacheEntry, r as isInternalReflectionSessionKey, s as deleteReflectionDerivedSuppression } from "../../../reflection-embedded-generator-DNFMQNsv.js";
|
|
3
3
|
import { createLogger, privateLogReference } from "@snoai/utils/logger";
|
|
4
4
|
// src/engine/reflection/reflection-injection-hooks.ts
|
|
5
5
|
const diagnosticLog = createLogger("sno-station-mem:reflection-injection-hooks");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_REFLECTION_ERROR_SCAN_MAX_CHARS } from "../../config/index.js";
|
|
2
2
|
import { a as sha256Hex, i as normalizeErrorSignature, o as summarizeErrorText, r as extractTextFromToolResult, t as containsErrorSignal } from "../../../error-signals-CqvwBBWn.js";
|
|
3
|
-
import { r as isInternalReflectionSessionKey, s as deleteReflectionDerivedSuppression } from "../../../reflection-embedded-generator-
|
|
3
|
+
import { r as isInternalReflectionSessionKey, s as deleteReflectionDerivedSuppression } from "../../../reflection-embedded-generator-DNFMQNsv.js";
|
|
4
4
|
// src/engine/reflection/reflection-lifecycle-hooks.ts
|
|
5
5
|
/** @file reflection-lifecycle-hooks.ts
|
|
6
6
|
* @purpose Tracks reflection error signals and clears per-session state.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as isInternalReflectionSessionKey } from "../../../reflection-embedded-generator-
|
|
2
|
-
import { t as createReflectionStrategyState } from "../../../strategy-hook-runner-
|
|
1
|
+
import { r as isInternalReflectionSessionKey } from "../../../reflection-embedded-generator-DNFMQNsv.js";
|
|
2
|
+
import { t as createReflectionStrategyState } from "../../../strategy-hook-runner-CvdsVcwR.js";
|
|
3
3
|
export { createReflectionStrategyState, isInternalReflectionSessionKey };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as isTerminalLlmFailure, i as createLlmClient, n as LlmClientTerminalError, r as ModelCallRefusedError, t as JSON_SYSTEM_CONTENT } from "../../llm-client-
|
|
1
|
+
import { a as isTerminalLlmFailure, i as createLlmClient, n as LlmClientTerminalError, r as ModelCallRefusedError, t as JSON_SYSTEM_CONTENT } from "../../llm-client-DhBvu-U_.js";
|
|
2
2
|
import { a as repairCommonJson, r as extractJsonFromResponse } from "../../model-reply-text-C7jEWDXG.js";
|
|
3
3
|
export { JSON_SYSTEM_CONTENT, LlmClientTerminalError, ModelCallRefusedError, createLlmClient, extractJsonFromResponse, isTerminalLlmFailure, repairCommonJson };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BACKUP_INTERVAL_MS, BACKUP_MIN_FREE_DISK_RATIO, FTS_MERGE_INTERVAL_MS, INTEGRITY_CHECK_INTERVAL_MS, MAINTENANCE_TICK_MS, PLANNER_STATISTICS_INTERVAL_MS, REM_TRIGGER_CHECK_INTERVAL_MS, USAGE_EVENT_RETENTION_INTERVAL_MS, USAGE_OUTBOX_INTERVAL_MS } from "../config/index.js";
|
|
2
2
|
import { REM_SIDECAR_TOKEN_HEADER } from "../contract/routes.js";
|
|
3
3
|
import "../engine/shared/utils.js";
|
|
4
|
-
import "../../coding-skin-
|
|
4
|
+
import "../../coding-skin-D_2RbNDw.js";
|
|
5
5
|
import "../config/settings.js";
|
|
6
6
|
import { n as appendAuditEntryStrict, p as readJsonlLines, s as getAuditPath, t as appendAuditEntry } from "../../runtime-audit-log-4NJsojEj.js";
|
|
7
7
|
import { getDiscoveryPath, getSnoStationMemStateDir } from "../contract/profile.js";
|
|
8
8
|
import "../engine/shared/paths.js";
|
|
9
|
-
import "../../llm-client-
|
|
9
|
+
import "../../llm-client-DhBvu-U_.js";
|
|
10
10
|
import "../model/llm-mode-routing.js";
|
|
11
11
|
import { defineRemSafetyGuard, requireRemOwnerDecisions } from "../engine/rem/index.js";
|
|
12
12
|
import { n as state_vocabulary_default, r as attribute_dictionary_default } from "../../relation-dictionary-QVBewRQ1.js";
|
|
@@ -14,7 +14,7 @@ import "../../memory-store-shared-B-zOxk_Q.js";
|
|
|
14
14
|
import { n as loadSqliteVecExtension } from "../../unplaced-candidate-migration-BFQqjIDP.js";
|
|
15
15
|
import { openSqliteDatabase } from "./sqlite-runtime.js";
|
|
16
16
|
import "../../connection-H-_OZ-pP.js";
|
|
17
|
-
import "../../store-
|
|
17
|
+
import "../../store-cu7Qq2OW.js";
|
|
18
18
|
import "../../embedding-provider-client-ClgiYSD4.js";
|
|
19
19
|
import "../../retriever-DRtPp86k.js";
|
|
20
20
|
import { t as recordMemoryTelemetryIncident } from "../../memory-telemetry-incidents-Dp8GVD2Q.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { p as ATOMIC_FACT_SURFACE_LANE, v as AtomicExtractionCompletedElsewhere, x as MemoryStore, S as StaleSupersedeTargetError, C as TaskLifecycleCommandCollisionError, w as TaskLifecycleStaleResolutionError, T as TaskLifecycleStateCollisionError, E as TaskLifecycleTimestampCollisionError, t as buildTaskLifecycleMigrationManifest, _ as hashMemorySuppressionContent, b as normalizeMemoryRelationPredicate, y as repairAtomicExtractionParameters } from "../../store-
|
|
1
|
+
export { p as ATOMIC_FACT_SURFACE_LANE, v as AtomicExtractionCompletedElsewhere, x as MemoryStore, S as StaleSupersedeTargetError, C as TaskLifecycleCommandCollisionError, w as TaskLifecycleStaleResolutionError, T as TaskLifecycleStateCollisionError, E as TaskLifecycleTimestampCollisionError, t as buildTaskLifecycleMigrationManifest, _ as hashMemorySuppressionContent, b as normalizeMemoryRelationPredicate, y as repairAtomicExtractionParameters } from "../../store-cu7Qq2OW.js";
|
|
@@ -182,7 +182,7 @@ async function resolveConfiguredBundledLlmixEndpoint(input) {
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
// src/model/llm-endpoint-resolution.ts
|
|
185
|
-
const SNO_GPU_ORIGIN = "https://
|
|
185
|
+
const SNO_GPU_ORIGIN = "https://gpu.sno.ai";
|
|
186
186
|
const PROVIDER_API_BASES = {
|
|
187
187
|
openai: FIXED_PROTOCOL_VALUE_69,
|
|
188
188
|
openrouter: "https://openrouter.ai/api/v1"
|
package/dist/{log-site-catalog.generated-Dtiih6m2.js → log-site-catalog.generated-3zYckrtz.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "
|
|
2
|
+
var version = "2.0.0";
|
|
3
3
|
// src/engine/observability/log-site-catalog.generated.ts
|
|
4
4
|
const logSiteCatalog = {
|
|
5
|
-
"build_id": "
|
|
5
|
+
"build_id": "0c92bdd66ef1e0fe428b67b40d230015d829b64236db324460f31fa0237b766f",
|
|
6
6
|
"sites": {
|
|
7
7
|
"memory.recall.budget.checked": {
|
|
8
8
|
"file": "packages/memory/src/engine/bindings/memory-recall-tool.ts",
|