memhtml 0.5.1 → 0.6.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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as STATE_DB_PATH, A as IndexRecorder, B as IndexGit, C as ModelClient, D as EmbeddingsLive, E as Embeddings, F as makeRetrieval, G as MIGRATIONS_DIR, H as sanitizeFtsQuery, I as reinforce, J as Store, K as STATE_MIGRATIONS_DIR, L as Indexer, O as EMBED_DIM, P as Retrieval, Q as SLEEP_REPORTS_DIR, R as makeIndexer, T as wrapAsData, U as DatabaseService, V as makeGitPort, W as makeDatabase, X as makeStore, Y as expandRoot, Z as INDEX_DB_PATH, at as makeGit, dt as fenceOpeningOf, ft as REINFORCE_SIGNALS, i as makeSleep, it as Git, j as makeIndexRecorder, k as EMBED_WATERMARK, l as DETECTION_PREFIX, lt as isValidDatetime, pt as frameKeyOf, r as Sleep, ut as closesFence, w as ModelClientLive, y as SLEEP_PHASES, z as readIndexState } from "./dist-DgKlozi6.mjs";
2
+ import { $ as STATE_DB_PATH, A as IndexRecorder, B as IndexGit, C as ModelClient, D as EmbeddingsLive, E as Embeddings, F as makeRetrieval, G as MIGRATIONS_DIR, H as sanitizeFtsQuery, I as reinforce, J as Store, K as STATE_MIGRATIONS_DIR, L as Indexer, O as EMBED_DIM, P as Retrieval, Q as SLEEP_REPORTS_DIR, R as makeIndexer, T as wrapAsData, U as DatabaseService, V as makeGitPort, W as makeDatabase, X as makeStore, Y as expandRoot, Z as INDEX_DB_PATH, at as makeGit, dt as fenceOpeningOf, ft as REINFORCE_SIGNALS, i as makeSleep, it as Git, j as makeIndexRecorder, k as EMBED_WATERMARK, l as DETECTION_PREFIX, lt as isValidDatetime, pt as frameKeyOf, r as Sleep, ut as closesFence, w as ModelClientLive, y as SLEEP_PHASES, z as readIndexState } from "./dist-CHoz5uHd.mjs";
3
3
  import { $ as TASK_RELS, Dt as isTaskStatus, Et as WRITABLE_MEMORY_TYPES, G as InvalidMemory, Q as MEMORY_RELS, R as hasConsolidatorCredentials, St as PARA_BUCKETS, Y as StorageFailure, a as makeConsolidator, et as isEdgeRel, mt as normalizePath, q as ModelUnavailable, tt as relClassFor, wt as TASK_STATUSES } from "./dist-BCsav-EP.mjs";
4
4
  import { createRequire } from "node:module";
5
5
  import { Config, Context, Effect, Layer, Logger, Schema } from "effect";
@@ -2268,6 +2268,17 @@ const COMMANDS = [
2268
2268
  type: "boolean",
2269
2269
  description: "Report per-phase counts and commit nothing.",
2270
2270
  default: false
2271
+ },
2272
+ {
2273
+ name: "deep",
2274
+ type: "boolean",
2275
+ description: "The deep-sleep cycle: mine a lower grouping band, group by shared entity, re-file inbox singletons, and iterate compress until a pass folds nothing. Reaches the inbox tail the nightly community gate cannot; costs more model calls. Same branch, review, and merge gate as a nightly run.",
2276
+ default: false
2277
+ },
2278
+ {
2279
+ name: "max-llm-calls",
2280
+ type: "int",
2281
+ description: "Cap on model calls the deep mechanisms may spend, shared across all deep phases. Exhaustion skips remaining batches with reason `budget` and the run stays green. Read only with --deep; absent means uncapped."
2271
2282
  }
2272
2283
  ],
2273
2284
  responseTypes: ["sleep.report"]
@@ -4064,7 +4075,7 @@ const Resources = Layer.mergeAll(FileResource, SleepResource);
4064
4075
  //#endregion
4065
4076
  //#region apps/mcp/src/server.ts
4066
4077
  const SERVER_NAME = "memhtml";
4067
- const SERVER_VERSION = "0.5.1";
4078
+ const SERVER_VERSION = "0.6.0";
4068
4079
  /**
4069
4080
  * The server as one layer: fourteen tools, two resources, over the CLI's own `AppLive`.
4070
4081
  *