@mnmal-ai/substrate 1.0.0-alpha.13 → 1.0.0-alpha.14

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.
@@ -6,7 +6,7 @@ import { T as DEFAULT_FILTER_WRITE_LIMITS } from "./src-DWqzrm3O.js";
6
6
  import { C as diagnose, S as DIAGNOSE_CHECKS, _ as SKIPPABLE_STEPS, b as planOnboarding, h as CURRENT_MARK, i as tokenAudience, v as STEP_MARKS, x as requiredOutstanding, y as currentStep } from "./src-CHND7-Pm.js";
7
7
  import { _ as runDerivedMigrations, d as assertNotMigrating, g as pendingMigrations, m as deriveListIndexMigration, p as assertTablesLayout, t as PgDataset, v as runMigrations } from "./src-CSe2tJDf.js";
8
8
  import { t as PgEdgesStore } from "./pg-edges-store-B4FSN9yp.js";
9
- import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src-BjWVYYoo.js";
9
+ import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src-CG-1Af7r.js";
10
10
  import { et as memberKey } from "./plugin-BLm5IRdX.js";
11
11
  import { existsSync, linkSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
12
12
  import { homedir } from "node:os";
@@ -1794,7 +1794,7 @@ async function closeQuietly(sql) {
1794
1794
 
1795
1795
  //#endregion
1796
1796
  //#region package.json
1797
- var version = "1.0.0-alpha.13";
1797
+ var version = "1.0.0-alpha.14";
1798
1798
 
1799
1799
  //#endregion
1800
1800
  //#region src/plugin-manifest.ts
@@ -3,11 +3,11 @@ import { Qt as validateHardDeleteEnv, _ as AUDIT_EVENT_TYPE, et as loadSweepStat
3
3
  import { n as trimTrailingSlashes, s as makeAuthorizationProvider } from "./env-utils-CGNazUNt.js";
4
4
  import { L as encodeList, T as SYSTEM_NAMESPACE, f as coversNamespace, m as grantedIn, p as grantOf } from "./src-Bi3NhEsT.js";
5
5
  import "./src-DWqzrm3O.js";
6
- import { Y as AdminCliError, _ as openPgDataset, a as parseBridgeCreds, f as reportUnguardedIndexBuilds, g as version, i as MS_PER_DAY, m as startSentinelClient, n as resolvePluginDir, o as parseBridges, p as runDeferredIndexBuilds, s as parseEnv, t as bootStore, u as redactStoreSpec } from "./boot-store-0BPtJ8ne.js";
6
+ import { Y as AdminCliError, _ as openPgDataset, a as parseBridgeCreds, f as reportUnguardedIndexBuilds, g as version, i as MS_PER_DAY, m as startSentinelClient, n as resolvePluginDir, o as parseBridges, p as runDeferredIndexBuilds, s as parseEnv, t as bootStore, u as redactStoreSpec } from "./boot-store-BbTxIeco.js";
7
7
  import { a as SubstrateClient, d as NetworkError, i as tokenAudience, n as resolveAgentCapabilities, p as AdminBackfillError, r as noRedirectFetch, t as createClientFromEnv, u as AuthError } from "./src-CHND7-Pm.js";
8
8
  import { n as runScript, t as DEFAULT_MAX_WRITES } from "./script-C6DSa_Na.js";
9
9
  import { w as tryWithPgAdvisoryLock } from "./src-CSe2tJDf.js";
10
- import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src-BjWVYYoo.js";
10
+ import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src-CG-1Af7r.js";
11
11
  import { chmodSync, existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from "node:fs";
12
12
  import { homedir, hostname } from "node:os";
13
13
  import { basename, dirname, join, resolve } from "node:path";
@@ -2159,7 +2159,7 @@ async function runInit(argv) {
2159
2159
  return 1;
2160
2160
  }
2161
2161
  if (!config.yes) try {
2162
- const { runRepl } = await import("./repl-Dw2Fb7C1.js");
2162
+ const { runRepl } = await import("./repl-DxQGtLlf.js");
2163
2163
  config = await runRepl(config);
2164
2164
  } catch (err) {
2165
2165
  if (err.message?.includes("User force closed")) return 130;
package/dist/recall.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore, t as RECALL_VERSION } from "./src-BjWVYYoo.js";
2
+ import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore, t as RECALL_VERSION } from "./src-CG-1Af7r.js";
3
3
  import { $ as CLUSTERER_BACKEND_VERSION, A as CLUSTER_MEMBER_FIELDS, C as EmbedSourceRegistry, D as makeReembed, E as makeEmbedPostWrite, F as unknownParams, G as DEFAULT_CRYSTALLISE_CONFIG, H as CRYSTALLISE_IN_FLIGHT_CODE, I as handleRecallRequest, J as runClusterer, K as handleCrystallise, L as RRF_K, M as recallRouteHandler, N as checkParams, O as crystalliseRouteHandler, P as unknownParamMessage, Q as CLUSTERER_BACKEND, R as armRanks, S as createEmbedStats, T as embedRowReporting, U as createCrystalliseGuard, X as l2normalize, _ as EMBEDDINGS_FETCH_MAX_REFS, a as REINDEX_MAX_LIMIT, b as handleLexicalCoverage, c as SALIENCE_BOOST_MAX_TARGETS, d as embeddingsMigration, et as memberKey, f as recallMcpTool, g as embeddingsFetchRouteHandler, h as embeddingSimilarOperator, i as REINDEX_DEFAULT_LIMIT, j as buildClusterSurface, k as CLUSTER_FIELDS, l as lexicalMigration, m as makeLexicalPostWrite, n as salienceBoostRouteHandler, nt as validateSelector, o as handleReindex, p as makeLexicalClassify, q as validateCrystalliseInput, r as reindexRouteHandler, s as validateReindexInput, t as createRecallPlugin, tt as SELECT_CANDIDATES_MAX_LIMIT, u as recallClustersMigration, v as embedStatsRouteHandler, w as embedAndStore, x as validateLexicalCoverageInput, y as handleEmbedStatsRequest, z as fuseByRank } from "./plugin-BLm5IRdX.js";
4
4
 
5
5
  export { CLUSTERER_BACKEND, CLUSTERER_BACKEND_VERSION, CLUSTER_FIELDS, CLUSTER_MEMBER_FIELDS, CRYSTALLISE_IN_FLIGHT_CODE, DEFAULT_CRYSTALLISE_CONFIG, EMBEDDINGS_FETCH_MAX_REFS, EmbedSourceRegistry, InMemoryClusterStore, InMemoryEmbeddingsStore, InMemoryLexicalStore, PgClusterStore, PgEmbeddingsStore, PgLexicalStore, RECALL_VERSION, REINDEX_DEFAULT_LIMIT, REINDEX_MAX_LIMIT, RRF_K, SALIENCE_BOOST_MAX_TARGETS, SELECT_CANDIDATES_MAX_LIMIT, armRanks, buildClusterSurface, checkParams, createCrystalliseGuard, createEmbedStats, createRecallPlugin, crystalliseRouteHandler, embedAndStore, embedRowReporting, embedStatsRouteHandler, embeddingSimilarOperator, embeddingsFetchRouteHandler, embeddingsMigration, fuseByRank, handleCrystallise, handleEmbedStatsRequest, handleLexicalCoverage, handleRecallRequest, handleReindex, l2normalize, lexicalMigration, makeEmbedPostWrite, makeLexicalClassify, makeLexicalPostWrite, makeReembed, memberKey, recallClustersMigration, recallMcpTool, recallRouteHandler, reindexRouteHandler, runClusterer, salienceBoostRouteHandler, unknownParamMessage, unknownParams, validateCrystalliseInput, validateLexicalCoverageInput, validateReindexInput, validateSelector };
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { a as parsePositive, i as DEFAULT_SIZING, n as defaultPluginsForPersona, r as parsePort, t as KNOWN_PLUGINS } from "./cli-BvQqNFVn.js";
2
+ import { a as parsePositive, i as DEFAULT_SIZING, n as defaultPluginsForPersona, r as parsePort, t as KNOWN_PLUGINS } from "./cli-CgkTBEN0.js";
3
3
  import { createRequire } from "node:module";
4
4
  import path from "node:path";
5
5
  import { stripVTControlCharacters, styleText } from "node:util";
@@ -3,7 +3,7 @@ import { _ as AUDIT_EVENT_TYPE, g as buildAuditRow } from "./src-C4t1Gy-m.js";
3
3
  import { n as trimTrailingSlashes } from "./env-utils-CGNazUNt.js";
4
4
  import { I as decodeList, L as encodeList, M as grantEntryError, g as checkUpdatable, h as checkRevocable, y as newlyGranted } from "./src-Bi3NhEsT.js";
5
5
  import "./src-DWqzrm3O.js";
6
- import { A as UPDATE_EXIT_CODES, B as readKeyById, C as grantLines, D as parseBootstrapArgs, E as formatBootstrapOutput, F as CLI_ACTOR_KID, G as validateArgv, H as resolveAdminAuth, I as base64Url, J as argvError, K as RESTART_NOTE, L as forUpdate, M as runKeyPatchViaRoute, N as ACTOR_HINT, O as runBootstrap, P as BootstrapError, R as generateAdminKeypair, S as runRegisterViaRoute, T as formatDoctorReport, U as resolveAdminTarget, V as describeAdminTarget, W as ARGV_SPEC, X as pgNoticeOptions, Y as AdminCliError, _ as openPgDataset, b as parseRegisterArgs, c as refuseContractViolation, d as registeredTypes, g as version, h as loadPluginsFromDir, j as runKeyListViaRoute, k as REVOKE_EXIT_CODES, l as buildDeferredIndexes, n as resolvePluginDir, q as USAGE, r as BINARY_CONTRACT_VERSION, s as parseEnv, t as bootStore, v as onboardCommand, w as doctorCommand, x as runRegister, y as formatRegisterOutput, z as listActiveAdminKeys } from "./boot-store-0BPtJ8ne.js";
6
+ import { A as UPDATE_EXIT_CODES, B as readKeyById, C as grantLines, D as parseBootstrapArgs, E as formatBootstrapOutput, F as CLI_ACTOR_KID, G as validateArgv, H as resolveAdminAuth, I as base64Url, J as argvError, K as RESTART_NOTE, L as forUpdate, M as runKeyPatchViaRoute, N as ACTOR_HINT, O as runBootstrap, P as BootstrapError, R as generateAdminKeypair, S as runRegisterViaRoute, T as formatDoctorReport, U as resolveAdminTarget, V as describeAdminTarget, W as ARGV_SPEC, X as pgNoticeOptions, Y as AdminCliError, _ as openPgDataset, b as parseRegisterArgs, c as refuseContractViolation, d as registeredTypes, g as version, h as loadPluginsFromDir, j as runKeyListViaRoute, k as REVOKE_EXIT_CODES, l as buildDeferredIndexes, n as resolvePluginDir, q as USAGE, r as BINARY_CONTRACT_VERSION, s as parseEnv, t as bootStore, v as onboardCommand, w as doctorCommand, x as runRegister, y as formatRegisterOutput, z as listActiveAdminKeys } from "./boot-store-BbTxIeco.js";
7
7
  import { C as parseSourceBody, S as copyRows, b as UUID_REGEX, f as assertStoreSchema, h as isDerivedMigration, i as ensureTypeTable, l as MIGRATE_STORE_MARKER_TABLE, o as loadTypeTable, r as seqName, s as typeTableRef, u as PLAIN_SCHEMA_NAME, x as detectLayout, y as UUID_CHECK_MIGRATION } from "./src-CSe2tJDf.js";
8
8
  import { existsSync, mkdirSync, rmSync, writeFileSync } from "node:fs";
9
9
  import { dirname } from "node:path";
@@ -3,7 +3,7 @@ import { a as guardedRefRead, c as whileNoTypeTable, n as txScopeIdFor, s as typ
3
3
  import { B as ROW_FILTER_FIELD, V as matchesRowFilter, W as inFlightError, Y as unresolvedRow, Z as cosineSimilarity, et as memberKey } from "./plugin-BLm5IRdX.js";
4
4
 
5
5
  //#region ../../plugins/substrate-recall/package.json
6
- var version = "1.0.0-alpha.13";
6
+ var version = "1.0.0-alpha.14";
7
7
 
8
8
  //#endregion
9
9
  //#region ../../plugins/substrate-recall/src/in-memory-cluster-store.ts
@@ -37,7 +37,7 @@ function isEntrypointPath(moduleUrl, argv1) {
37
37
  */
38
38
  if (isEntrypointPath(import.meta.url, process.argv[1])) {
39
39
  assertNodeVersion();
40
- import("./run-CgDw2c3X.js").then(({ runAdminCli }) => runAdminCli());
40
+ import("./run-BfBC4joY.js").then(({ runAdminCli }) => runAdminCli());
41
41
  }
42
42
 
43
43
  //#endregion
package/dist/substrate.js CHANGED
@@ -4,7 +4,7 @@ import { t as assertNodeVersion } from "./node-version-C5FSmwJX.js";
4
4
 
5
5
  //#region src/bin/substrate.ts
6
6
  assertNodeVersion();
7
- import("./cli-BvQqNFVn.js").then(({ runCli }) => runCli(process.argv.slice(2))).then((code) => process.exit(code));
7
+ import("./cli-CgkTBEN0.js").then(({ runCli }) => runCli(process.argv.slice(2))).then((code) => process.exit(code));
8
8
 
9
9
  //#endregion
10
10
  export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnmal-ai/substrate",
3
- "version": "1.0.0-alpha.13",
3
+ "version": "1.0.0-alpha.14",
4
4
  "description": "Substrate — an agent-first typed-data server: the substrate and substrate-admin binaries, the built-in plugins and the SDK subpaths.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -36,24 +36,24 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@inquirer/prompts": "^8.7.2",
39
- "@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.13",
40
- "@mnmal-ai/substrate-client": "1.0.0-alpha.13",
41
- "@mnmal-ai/substrate-compose": "1.0.0-alpha.13",
42
- "@mnmal-ai/substrate-config": "1.0.0-alpha.13",
43
- "@mnmal-ai/substrate-core": "1.0.0-alpha.13",
44
- "@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.13",
45
- "@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.13",
46
- "@mnmal-ai/substrate-embedder": "1.0.0-alpha.13",
47
- "@mnmal-ai/substrate-filter": "1.0.0-alpha.13",
48
- "@mnmal-ai/substrate-pack": "1.0.0-alpha.13",
49
- "@mnmal-ai/substrate-policy": "1.0.0-alpha.13",
50
- "@mnmal-ai/substrate-proposals": "1.0.0-alpha.13",
51
- "@mnmal-ai/substrate-recall": "1.0.0-alpha.13",
52
- "@mnmal-ai/substrate-sdk": "1.0.0-alpha.13",
53
- "@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.13",
54
- "@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.13",
55
- "@mnmal-ai/substrate-server-memory": "1.0.0-alpha.13",
56
- "@mnmal-ai/substrate-types": "1.0.0-alpha.13",
39
+ "@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.14",
40
+ "@mnmal-ai/substrate-client": "1.0.0-alpha.14",
41
+ "@mnmal-ai/substrate-compose": "1.0.0-alpha.14",
42
+ "@mnmal-ai/substrate-config": "1.0.0-alpha.14",
43
+ "@mnmal-ai/substrate-core": "1.0.0-alpha.14",
44
+ "@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.14",
45
+ "@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.14",
46
+ "@mnmal-ai/substrate-embedder": "1.0.0-alpha.14",
47
+ "@mnmal-ai/substrate-filter": "1.0.0-alpha.14",
48
+ "@mnmal-ai/substrate-pack": "1.0.0-alpha.14",
49
+ "@mnmal-ai/substrate-policy": "1.0.0-alpha.14",
50
+ "@mnmal-ai/substrate-proposals": "1.0.0-alpha.14",
51
+ "@mnmal-ai/substrate-recall": "1.0.0-alpha.14",
52
+ "@mnmal-ai/substrate-sdk": "1.0.0-alpha.14",
53
+ "@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.14",
54
+ "@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.14",
55
+ "@mnmal-ai/substrate-server-memory": "1.0.0-alpha.14",
56
+ "@mnmal-ai/substrate-types": "1.0.0-alpha.14",
57
57
  "@mnmal-ai/surface-core": "0.15.0",
58
58
  "@types/node": "^26.6.4",
59
59
  "@types/semver": "^7.5.0",