@mnmal-ai/substrate 1.0.0-alpha.15 → 1.0.0-alpha.16
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/dist/{boot-store-CvQabBdk.js → boot-store-HxCgbvNl.js} +4 -4
- package/dist/{cli-6evrDG1o.js → cli-6mjAWiEZ.js} +9 -5
- package/dist/{pg-edges-store-DHbpr8QY.js → pg-edges-store-De5F1tUf.js} +1 -1
- package/dist/recall.js +1 -1
- package/dist/{repl-DWXNLUyd.js → repl-2WfRPUb0.js} +1 -1
- package/dist/{run-BTdS6Z6i.js → run-ChcHBIN3.js} +2 -2
- package/dist/{src-EqhJm93D.js → src--uyAqssS.js} +2 -2
- package/dist/{src-CZQ25H4i.js → src-DHLw3eCn.js} +2 -21
- package/dist/substrate-admin.js +1 -1
- package/dist/substrate.js +1 -1
- package/dist/testing.js +2 -2
- package/package.json +21 -21
|
@@ -4,9 +4,9 @@ import { a as adminClaimCapabilities, d as resolveDefaultKidPath, l as resolveAd
|
|
|
4
4
|
import { D as isActiveAdminKeyRow, E as describeGrant, L as encodeList, M as grantEntryError, T as SYSTEM_NAMESPACE, v as grantEntriesConfer } from "./src-Bi3NhEsT.js";
|
|
5
5
|
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
|
-
import { _ as runDerivedMigrations, d as assertNotMigrating, g as pendingMigrations, m as deriveListIndexMigration, p as assertTablesLayout, t as PgDataset, v as runMigrations } from "./src-
|
|
8
|
-
import { t as PgEdgesStore } from "./pg-edges-store-
|
|
9
|
-
import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src
|
|
7
|
+
import { _ as runDerivedMigrations, d as assertNotMigrating, g as pendingMigrations, m as deriveListIndexMigration, p as assertTablesLayout, t as PgDataset, v as runMigrations } from "./src-DHLw3eCn.js";
|
|
8
|
+
import { t as PgEdgesStore } from "./pg-edges-store-De5F1tUf.js";
|
|
9
|
+
import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src--uyAqssS.js";
|
|
10
10
|
import { et as memberKey } from "./plugin-Dpa_Y7Ep.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.
|
|
1797
|
+
var version = "1.0.0-alpha.16";
|
|
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-
|
|
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-HxCgbvNl.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
|
-
import { w as tryWithPgAdvisoryLock } from "./src-
|
|
10
|
-
import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src
|
|
9
|
+
import { w as tryWithPgAdvisoryLock } from "./src-DHLw3eCn.js";
|
|
10
|
+
import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src--uyAqssS.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";
|
|
@@ -17,7 +17,11 @@ import { z } from "zod";
|
|
|
17
17
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
18
18
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
19
19
|
|
|
20
|
-
//#region ../../node_modules/.pnpm/@mnmal-ai+surface-
|
|
20
|
+
//#region ../../node_modules/.pnpm/@mnmal-ai+surface-kit@0.17.1_ink@8.0.0_@types+react@19.3.0_react@19.3.1__react@19.3.1/node_modules/@mnmal-ai/surface-kit/dist/cells.js
|
|
21
|
+
const graphemes = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region ../../node_modules/.pnpm/@mnmal-ai+surface-core@0.17.1_ink@8.0.0_@types+react@19.3.0_react@19.3.1__react@19.3.1/node_modules/@mnmal-ai/surface-core/dist/overlay-5s8slC38.js
|
|
21
25
|
const SEGMENTER = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
22
26
|
const OSC = /(?:\u001b\]|\u009d)[^\u0007\u001b\u009c]*(?:\u0007|\u009c|\u001b\\)?/g;
|
|
23
27
|
const CSI = /(?:\u001b\[|\u009b)[0-?]*[ -/]*[@-~]?/g;
|
|
@@ -2159,7 +2163,7 @@ async function runInit(argv) {
|
|
|
2159
2163
|
return 1;
|
|
2160
2164
|
}
|
|
2161
2165
|
if (!config.yes) try {
|
|
2162
|
-
const { runRepl } = await import("./repl-
|
|
2166
|
+
const { runRepl } = await import("./repl-2WfRPUb0.js");
|
|
2163
2167
|
config = await runRepl(config);
|
|
2164
2168
|
} catch (err) {
|
|
2165
2169
|
if (err.message?.includes("User force closed")) return 130;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
|
|
2
|
-
import { n as txScopeIdFor } from "./src-
|
|
2
|
+
import { n as txScopeIdFor } from "./src-DHLw3eCn.js";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region ../../packages/substrate-dataset-pg/src/pg-edges-store.ts
|
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
|
|
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--uyAqssS.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-Dpa_Y7Ep.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-
|
|
2
|
+
import { a as parsePositive, i as DEFAULT_SIZING, n as defaultPluginsForPersona, r as parsePort, t as KNOWN_PLUGINS } from "./cli-6mjAWiEZ.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { stripVTControlCharacters, styleText } from "node:util";
|
|
@@ -3,8 +3,8 @@ import { _ as AUDIT_EVENT_TYPE, g as buildAuditRow } from "./src-BMHI_rTJ.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-
|
|
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-
|
|
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-HxCgbvNl.js";
|
|
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-DHLw3eCn.js";
|
|
8
8
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "node:fs";
|
|
9
9
|
import { dirname } from "node:path";
|
|
10
10
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
|
|
2
|
-
import { a as guardedRefRead, c as whileNoTypeTable, n as txScopeIdFor, s as typeTableRef } from "./src-
|
|
2
|
+
import { a as guardedRefRead, c as whileNoTypeTable, n as txScopeIdFor, s as typeTableRef } from "./src-DHLw3eCn.js";
|
|
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-Dpa_Y7Ep.js";
|
|
4
4
|
|
|
5
5
|
//#region ../../plugins/substrate-recall/package.json
|
|
6
|
-
var version = "1.0.0-alpha.
|
|
6
|
+
var version = "1.0.0-alpha.16";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region ../../plugins/substrate-recall/src/in-memory-cluster-store.ts
|
|
@@ -1893,30 +1893,11 @@ function listenTableCache(cache) {
|
|
|
1893
1893
|
cache.listening ??= typeof pool.listen !== "function" ? Promise.resolve(false) : pool.listen("substrate_catalog", (key) => drop(key), () => drop()).then(() => true, (err) => {
|
|
1894
1894
|
console.warn(`substrate-dataset-pg: LISTEN substrate_catalog failed, type tables uncached; retrying in ${LISTEN_RETRY_MS / 1e3}s: ${err instanceof Error ? err.message : String(err)}`);
|
|
1895
1895
|
cache.listenRetryAt = Date.now() + LISTEN_RETRY_MS;
|
|
1896
|
-
dropListener(pool);
|
|
1897
1896
|
return false;
|
|
1898
1897
|
});
|
|
1899
1898
|
return cache.listening;
|
|
1900
1899
|
}
|
|
1901
1900
|
/**
|
|
1902
|
-
* Closes the pool's LISTEN connection after a refused LISTEN, so the retry
|
|
1903
|
-
* opens a fresh one: postgres.js keeps a rejected LISTEN's promise for the
|
|
1904
|
-
* channel until that connection closes, and a later `listen` only joins it.
|
|
1905
|
-
* The channel is forgotten first, so the close does not re-listen the failed
|
|
1906
|
-
* listeners; other channels are re-listened on the new connection.
|
|
1907
|
-
*
|
|
1908
|
-
* shortcut: reaches into postgres.js 3.x's `listen.sql` / `listen.channels`;
|
|
1909
|
-
* re-check on a postgres.js upgrade (the listen-retry test fails if they move).
|
|
1910
|
-
*/
|
|
1911
|
-
function dropListener(pool) {
|
|
1912
|
-
const listen = pool.listen;
|
|
1913
|
-
if (listen === void 0) return;
|
|
1914
|
-
delete listen.channels?.substrate_catalog;
|
|
1915
|
-
const conn = listen.sql;
|
|
1916
|
-
delete listen.sql;
|
|
1917
|
-
conn?.end({ timeout: 0 }).catch(() => {});
|
|
1918
|
-
}
|
|
1919
|
-
/**
|
|
1920
1901
|
* `namespace`/`type`'s descriptor through the pool's {@link TableCache}, as
|
|
1921
1902
|
* `PgDataset` reads it outside a transaction: a hit, a miss included, makes no
|
|
1922
1903
|
* query; a load that raced a notification is not cached.
|
|
@@ -2064,7 +2045,7 @@ async function ensureIn(tx, args) {
|
|
|
2064
2045
|
let changed = false;
|
|
2065
2046
|
const record = (field, kind, state, vocab) => tx`INSERT INTO substrate_type_fields (namespace, type, field, column_name, kind, state, vocab)
|
|
2066
2047
|
VALUES (${namespace}, ${type}, ${field}, ${columnName(field)}, ${kind}, ${state},
|
|
2067
|
-
${vocab === void 0 ? null :
|
|
2048
|
+
${vocab === void 0 ? null : [...vocab]})`;
|
|
2068
2049
|
const setState = (field, state) => tx`UPDATE substrate_type_fields SET state = ${state}
|
|
2069
2050
|
WHERE namespace = ${namespace} AND type = ${type} AND field = ${field}`;
|
|
2070
2051
|
const [existing] = await tx`
|
|
@@ -2096,7 +2077,7 @@ async function ensureIn(tx, args) {
|
|
|
2096
2077
|
const widened = widen(row.vocab, vocab);
|
|
2097
2078
|
if (widened !== void 0) {
|
|
2098
2079
|
if (row.state === "pending" || await ddl(tx, `ALTER TABLE ${table} ${enumCheckClauses(row.column_name, widened).join(", ")}`)) {
|
|
2099
|
-
await tx`UPDATE substrate_type_fields SET vocab = ${
|
|
2080
|
+
await tx`UPDATE substrate_type_fields SET vocab = ${[...widened]}
|
|
2100
2081
|
WHERE namespace = ${namespace} AND type = ${type} AND field = ${field}`;
|
|
2101
2082
|
if (row.state === "column") await setState(field, "promoting");
|
|
2102
2083
|
changed = true;
|
package/dist/substrate-admin.js
CHANGED
|
@@ -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-
|
|
40
|
+
import("./run-ChcHBIN3.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-
|
|
7
|
+
import("./cli-6mjAWiEZ.js").then(({ runCli }) => runCli(process.argv.slice(2))).then((code) => process.exit(code));
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
10
|
export { };
|
package/dist/testing.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
|
|
2
2
|
import { Mt as signHs256, Pt as WS_REASON_SERVER_RESTART, X as loadPlugins, Y as MemoryEdgesStore, c as MemoryDataset, s as compose } from "./src-BMHI_rTJ.js";
|
|
3
3
|
import "./src-DWqzrm3O.js";
|
|
4
|
-
import { _ as runDerivedMigrations, m as deriveListIndexMigration, t as PgDataset, v as runMigrations } from "./src-
|
|
5
|
-
import { t as PgEdgesStore } from "./pg-edges-store-
|
|
4
|
+
import { _ as runDerivedMigrations, m as deriveListIndexMigration, t as PgDataset, v as runMigrations } from "./src-DHLw3eCn.js";
|
|
5
|
+
import { t as PgEdgesStore } from "./pg-edges-store-De5F1tUf.js";
|
|
6
6
|
import { t as FakeEmbedder } from "./fake-DUVtKVSE.js";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import postgres from "postgres";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mnmal-ai/substrate",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.16",
|
|
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": {
|
|
@@ -29,32 +29,32 @@
|
|
|
29
29
|
"@preact/signals-core": "^1.14.4",
|
|
30
30
|
"fastify": "^5.12.5",
|
|
31
31
|
"msgpackr": "^2.1.0",
|
|
32
|
-
"postgres": "
|
|
32
|
+
"postgres": "4.1.0",
|
|
33
33
|
"semver": "^7.8.5",
|
|
34
34
|
"ws": "^8.22.0",
|
|
35
35
|
"zod": "^4.6.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@inquirer/prompts": "^8.7.2",
|
|
39
|
-
"@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.
|
|
40
|
-
"@mnmal-ai/substrate-client": "1.0.0-alpha.
|
|
41
|
-
"@mnmal-ai/substrate-compose": "1.0.0-alpha.
|
|
42
|
-
"@mnmal-ai/substrate-config": "1.0.0-alpha.
|
|
43
|
-
"@mnmal-ai/substrate-core": "1.0.0-alpha.
|
|
44
|
-
"@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.
|
|
45
|
-
"@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.
|
|
46
|
-
"@mnmal-ai/substrate-embedder": "1.0.0-alpha.
|
|
47
|
-
"@mnmal-ai/substrate-filter": "1.0.0-alpha.
|
|
48
|
-
"@mnmal-ai/substrate-pack": "1.0.0-alpha.
|
|
49
|
-
"@mnmal-ai/substrate-policy": "1.0.0-alpha.
|
|
50
|
-
"@mnmal-ai/substrate-proposals": "1.0.0-alpha.
|
|
51
|
-
"@mnmal-ai/substrate-recall": "1.0.0-alpha.
|
|
52
|
-
"@mnmal-ai/substrate-sdk": "1.0.0-alpha.
|
|
53
|
-
"@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.
|
|
54
|
-
"@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.
|
|
55
|
-
"@mnmal-ai/substrate-server-memory": "1.0.0-alpha.
|
|
56
|
-
"@mnmal-ai/substrate-types": "1.0.0-alpha.
|
|
57
|
-
"@mnmal-ai/surface-core": "0.
|
|
39
|
+
"@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.16",
|
|
40
|
+
"@mnmal-ai/substrate-client": "1.0.0-alpha.16",
|
|
41
|
+
"@mnmal-ai/substrate-compose": "1.0.0-alpha.16",
|
|
42
|
+
"@mnmal-ai/substrate-config": "1.0.0-alpha.16",
|
|
43
|
+
"@mnmal-ai/substrate-core": "1.0.0-alpha.16",
|
|
44
|
+
"@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.16",
|
|
45
|
+
"@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.16",
|
|
46
|
+
"@mnmal-ai/substrate-embedder": "1.0.0-alpha.16",
|
|
47
|
+
"@mnmal-ai/substrate-filter": "1.0.0-alpha.16",
|
|
48
|
+
"@mnmal-ai/substrate-pack": "1.0.0-alpha.16",
|
|
49
|
+
"@mnmal-ai/substrate-policy": "1.0.0-alpha.16",
|
|
50
|
+
"@mnmal-ai/substrate-proposals": "1.0.0-alpha.16",
|
|
51
|
+
"@mnmal-ai/substrate-recall": "1.0.0-alpha.16",
|
|
52
|
+
"@mnmal-ai/substrate-sdk": "1.0.0-alpha.16",
|
|
53
|
+
"@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.16",
|
|
54
|
+
"@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.16",
|
|
55
|
+
"@mnmal-ai/substrate-server-memory": "1.0.0-alpha.16",
|
|
56
|
+
"@mnmal-ai/substrate-types": "1.0.0-alpha.16",
|
|
57
|
+
"@mnmal-ai/surface-core": "0.17.1",
|
|
58
58
|
"@types/node": "^26.6.4",
|
|
59
59
|
"@types/semver": "^7.5.0",
|
|
60
60
|
"@types/ws": "^8.18.1",
|