memhtml 0.2.5 → 0.3.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/{dist-Uj47oBRC.mjs → dist-B3yDga97.mjs} +2049 -297
- package/dist/dist-B3yDga97.mjs.map +1 -0
- package/dist/{dist-t84Q_98w.mjs → dist-CSo_XRfz.mjs} +2 -2
- package/dist/{dist-t84Q_98w.mjs.map → dist-CSo_XRfz.mjs.map} +1 -1
- package/dist/{dist-Dj-MYf9q.mjs → dist-FgNX_rxc.mjs} +1 -1
- package/dist/memhtml-mcp.mjs +5 -5
- package/dist/memhtml-mcp.mjs.map +1 -1
- package/dist/memhtml.mjs +7 -7
- package/dist/memhtml.mjs.map +1 -1
- package/package.json +1 -1
- package/state-migrations/S0002_entity_corroboration.sql +55 -0
- package/dist/dist-Uj47oBRC.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as MAX_QUOTE_CHARS, C as ConsolidationResult, D as ConsolidatorUnavailable, E as ConsolidatorRunFailed, F as toJsonSchema, I as ungroundedEvidenceReason, M as credentialsMissingReason, N as hasConsolidatorCredentials, O as MAX_CLAIM_CHARS, P as isConsolidationKind, S as ConsolidationPayload, T as ConsolidatorCredentialsMissing, _ as readOnlyRootsProblem, a as RUN_SECRET_ENV, b as CandidateEvidence, c as runVerifierConfig, d as SANDBOX_MOUNTS_ENV, f as SandboxMountInvalid, g as pinCorpusSnapshot, h as mountReadOnlyRoots, i as makeConsolidator, j as MAX_TRANSCRIPTS_PER_RUN, k as MAX_GIST_CHARS, l as sameRunSecret, m as encodeSandboxMounts, n as consolidatorLive, o as mintRunSecret, p as decodeSandboxMounts, r as guestPathFor, s as runSecretFrom, t as Consolidator, u as signRunToken, v as CONSOLIDATION_KINDS, w as ConsolidatorContractViolation, x as CandidateMemory, y as CONSOLIDATION_OUTPUT_JSON_SCHEMA } from "./dist-
|
|
1
|
+
import { A as MAX_QUOTE_CHARS, C as ConsolidationResult, D as ConsolidatorUnavailable, E as ConsolidatorRunFailed, F as toJsonSchema, I as ungroundedEvidenceReason, M as credentialsMissingReason, N as hasConsolidatorCredentials, O as MAX_CLAIM_CHARS, P as isConsolidationKind, S as ConsolidationPayload, T as ConsolidatorCredentialsMissing, _ as readOnlyRootsProblem, a as RUN_SECRET_ENV, b as CandidateEvidence, c as runVerifierConfig, d as SANDBOX_MOUNTS_ENV, f as SandboxMountInvalid, g as pinCorpusSnapshot, h as mountReadOnlyRoots, i as makeConsolidator, j as MAX_TRANSCRIPTS_PER_RUN, k as MAX_GIST_CHARS, l as sameRunSecret, m as encodeSandboxMounts, n as consolidatorLive, o as mintRunSecret, p as decodeSandboxMounts, r as guestPathFor, s as runSecretFrom, t as Consolidator, u as signRunToken, v as CONSOLIDATION_KINDS, w as ConsolidatorContractViolation, x as CandidateMemory, y as CONSOLIDATION_OUTPUT_JSON_SCHEMA } from "./dist-CSo_XRfz.mjs";
|
|
2
2
|
|
|
3
3
|
export { CONSOLIDATION_KINDS, CONSOLIDATION_OUTPUT_JSON_SCHEMA, CandidateEvidence, CandidateMemory, ConsolidationPayload, ConsolidationResult, Consolidator, ConsolidatorContractViolation, ConsolidatorCredentialsMissing, ConsolidatorRunFailed, ConsolidatorUnavailable, MAX_CLAIM_CHARS, MAX_GIST_CHARS, MAX_QUOTE_CHARS, MAX_TRANSCRIPTS_PER_RUN, RUN_SECRET_ENV, SANDBOX_MOUNTS_ENV, SandboxMountInvalid, consolidatorLive, credentialsMissingReason, decodeSandboxMounts, encodeSandboxMounts, guestPathFor, hasConsolidatorCredentials, isConsolidationKind, makeConsolidator, mintRunSecret, mountReadOnlyRoots, pinCorpusSnapshot, readOnlyRootsProblem, runSecretFrom, runVerifierConfig, sameRunSecret, signRunToken, toJsonSchema, ungroundedEvidenceReason };
|
package/dist/memhtml-mcp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as makeIndexRecorder, B as makeGitPort, C as ModelClientLive, D as EMBED_DIM, E as EmbeddingsLive, F as reinforce, G as STATE_MIGRATIONS_DIR, H as DatabaseService, I as Indexer, J as expandRoot, L as makeIndexer, N as Retrieval, O as EMBED_WATERMARK, P as makeRetrieval, Q as STATE_DB_PATH, R as readIndexState, S as ModelClient, T as Embeddings, U as makeDatabase, V as sanitizeFtsQuery, W as MIGRATIONS_DIR, X as INDEX_DB_PATH, Y as makeStore, Z as SLEEP_REPORTS_DIR, ct as isValidDatetime, dt as REINFORCE_SIGNALS, ft as frameKeyOf, i as makeSleep, it as makeGit, k as IndexRecorder, lt as closesFence, q as Store, r as Sleep, rt as Git, ut as fenceOpeningOf, v as SLEEP_PHASES, w as wrapAsData, z as IndexGit } from "./dist-
|
|
3
|
-
import { B as ModelUnavailable, G as MEMORY_RELS, H as StorageFailure, J as relClassFor, K as TASK_RELS, N as hasConsolidatorCredentials, R as InvalidMemory,
|
|
2
|
+
import { A as makeIndexRecorder, B as makeGitPort, C as ModelClientLive, D as EMBED_DIM, E as EmbeddingsLive, F as reinforce, G as STATE_MIGRATIONS_DIR, H as DatabaseService, I as Indexer, J as expandRoot, L as makeIndexer, N as Retrieval, O as EMBED_WATERMARK, P as makeRetrieval, Q as STATE_DB_PATH, R as readIndexState, S as ModelClient, T as Embeddings, U as makeDatabase, V as sanitizeFtsQuery, W as MIGRATIONS_DIR, X as INDEX_DB_PATH, Y as makeStore, Z as SLEEP_REPORTS_DIR, ct as isValidDatetime, dt as REINFORCE_SIGNALS, ft as frameKeyOf, i as makeSleep, it as makeGit, k as IndexRecorder, lt as closesFence, q as Store, r as Sleep, rt as Git, ut as fenceOpeningOf, v as SLEEP_PHASES, w as wrapAsData, z as IndexGit } from "./dist-B3yDga97.mjs";
|
|
3
|
+
import { B as ModelUnavailable, G as MEMORY_RELS, H as StorageFailure, J as relClassFor, K as TASK_RELS, N as hasConsolidatorCredentials, R as InvalidMemory, _t as TASK_STATUSES, bt as isTaskStatus, ht as PARA_BUCKETS, i as makeConsolidator, q as isEdgeRel, st as normalizePath, yt as WRITABLE_MEMORY_TYPES } from "./dist-CSo_XRfz.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { Config, Context, Effect, Layer, Logger, Schema } from "effect";
|
|
6
6
|
import { access, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -30,7 +30,7 @@ const CONFIG_VARS = [
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
name: "MEMHTML_AWS_REGION",
|
|
33
|
-
description: "The Bedrock region for embeddings and the sleep cycle's
|
|
33
|
+
description: "The Bedrock region for embeddings and the sleep cycle's model-calling phases.",
|
|
34
34
|
fallback: "us-east-1"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -45,7 +45,7 @@ const CONFIG_VARS = [
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
name: "MEMHTML_LLM",
|
|
48
|
-
description: "`off` makes
|
|
48
|
+
description: "`off` makes every model-calling sleep phase report `no model bound` and stay `ok`, so a credential-free run is honest rather than red. `entity-resolution` still runs its deterministic normalization and character-overlap passes; the others do nothing.",
|
|
49
49
|
fallback: "on"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -4026,7 +4026,7 @@ const Resources = Layer.mergeAll(FileResource, SleepResource);
|
|
|
4026
4026
|
//#endregion
|
|
4027
4027
|
//#region apps/mcp/src/server.ts
|
|
4028
4028
|
const SERVER_NAME = "memhtml";
|
|
4029
|
-
const SERVER_VERSION = "0.
|
|
4029
|
+
const SERVER_VERSION = "0.3.0";
|
|
4030
4030
|
/**
|
|
4031
4031
|
* The server as one layer: fourteen tools, two resources, over the CLI's own `AppLive`.
|
|
4032
4032
|
*
|