@mnmal-ai/substrate 1.0.0-alpha.3 → 1.0.0-alpha.4
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/{dataset-BBZuhrsL.js → dataset-Bd18RP3O.js} +1 -1
- package/dist/{plugin-QuJN9pG_.js → plugin-BG8E04wi.js} +42 -5
- package/dist/recall-bootstrap.js +1 -1
- package/dist/recall.d.ts +8 -0
- package/dist/recall.js +2 -2
- package/dist/{src-B-wkCHYL.js → src-DQ1U9Yhs.js} +2 -2
- package/dist/substrate-admin.js +1 -1
- package/dist/substrate.js +4 -3
- package/package.json +19 -19
|
@@ -11,7 +11,7 @@ import { createHash, createPublicKey, generateKeyPairSync, randomUUID } from "no
|
|
|
11
11
|
import postgres from "postgres";
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "1.0.0-alpha.
|
|
14
|
+
var version = "1.0.0-alpha.4";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/admin/errors.ts
|
|
@@ -949,6 +949,11 @@ async function handleRecallRequest(input, deps) {
|
|
|
949
949
|
const problem = rowFilterProblem(where);
|
|
950
950
|
if (problem !== null) throw Object.assign(/* @__PURE__ */ new Error(`"where" ${problem}`), { code: "bad_request" });
|
|
951
951
|
}
|
|
952
|
+
const rowFields = input.rowFields;
|
|
953
|
+
if (rowFields !== void 0) {
|
|
954
|
+
const problem = rowFieldsProblem(rowFields);
|
|
955
|
+
if (problem !== null) throw Object.assign(/* @__PURE__ */ new Error(`"rowFields" ${problem}`), { code: "bad_request" });
|
|
956
|
+
}
|
|
952
957
|
const type = input.type;
|
|
953
958
|
if (type === void 0 || type === "") throw Object.assign(/* @__PURE__ */ new Error("recall: pass `type`, the type to search. There is no default."), { code: "bad_request" });
|
|
954
959
|
if (typeof input.query !== "string" || input.query.trim() === "") throw Object.assign(/* @__PURE__ */ new Error("recall: pass `query`, the text to search for."), { code: "bad_request" });
|
|
@@ -1166,7 +1171,7 @@ async function handleRecallRequest(input, deps) {
|
|
|
1166
1171
|
}
|
|
1167
1172
|
const t3 = performance.now();
|
|
1168
1173
|
return {
|
|
1169
|
-
rows: fusedRows,
|
|
1174
|
+
rows: rowFields === true ? fusedRows : fusedRows.map((r) => projectRow(r, rowFields)),
|
|
1170
1175
|
model: denseRan ? embedder?.modelId ?? "" : "",
|
|
1171
1176
|
arms: {
|
|
1172
1177
|
dense: denseRan,
|
|
@@ -1212,6 +1217,23 @@ function extractTargets(namespace, type, rows) {
|
|
|
1212
1217
|
}
|
|
1213
1218
|
return out;
|
|
1214
1219
|
}
|
|
1220
|
+
/** Why `rowFields` is malformed, or `null` when it is `true` or an object of `field: true`. */
|
|
1221
|
+
function rowFieldsProblem(value) {
|
|
1222
|
+
if (value === true) return null;
|
|
1223
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return "must be true (the whole body) or an object of field: true, e.g. { \"body\": true }";
|
|
1224
|
+
for (const [field, v] of Object.entries(value)) if (v !== true) return `field "${field}" must be true`;
|
|
1225
|
+
return null;
|
|
1226
|
+
}
|
|
1227
|
+
/** Narrow a hit's `row` to `id` plus `rowFields`, or plus the handle fields when absent. */
|
|
1228
|
+
function projectRow(hit, rowFields) {
|
|
1229
|
+
const row = {};
|
|
1230
|
+
const keep = rowFields === void 0 ? HANDLE_FIELDS : Object.keys(rowFields);
|
|
1231
|
+
for (const field of ["id", ...keep]) if (Object.hasOwn(hit.row, field)) row[field] = hit.row[field];
|
|
1232
|
+
return {
|
|
1233
|
+
...hit,
|
|
1234
|
+
row
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1215
1237
|
|
|
1216
1238
|
//#endregion
|
|
1217
1239
|
//#region ../../plugins/substrate-recall/src/params.ts
|
|
@@ -1265,7 +1287,8 @@ const ROUTE_PARAMS = [
|
|
|
1265
1287
|
"returnVector",
|
|
1266
1288
|
"lexical",
|
|
1267
1289
|
"explain",
|
|
1268
|
-
"where"
|
|
1290
|
+
"where",
|
|
1291
|
+
"rowFields"
|
|
1269
1292
|
];
|
|
1270
1293
|
function parseBody$3(req) {
|
|
1271
1294
|
const raw = req.body;
|
|
@@ -1325,6 +1348,7 @@ function parseBody$3(req) {
|
|
|
1325
1348
|
input.explain = obj.explain;
|
|
1326
1349
|
}
|
|
1327
1350
|
if (obj.where !== void 0) input.where = obj.where;
|
|
1351
|
+
if (obj.rowFields !== void 0) input.rowFields = obj.rowFields;
|
|
1328
1352
|
return input;
|
|
1329
1353
|
}
|
|
1330
1354
|
/**
|
|
@@ -2466,7 +2490,8 @@ const MCP_PARAMS = [
|
|
|
2466
2490
|
"returnVector",
|
|
2467
2491
|
"lexical",
|
|
2468
2492
|
"explain",
|
|
2469
|
-
"where"
|
|
2493
|
+
"where",
|
|
2494
|
+
"rowFields"
|
|
2470
2495
|
];
|
|
2471
2496
|
function recallMcpTool(cfg) {
|
|
2472
2497
|
return {
|
|
@@ -2514,6 +2539,10 @@ function recallMcpTool(cfg) {
|
|
|
2514
2539
|
where: {
|
|
2515
2540
|
type: "object",
|
|
2516
2541
|
description: "Row-field filter applied inside every candidate source, so k fills with matching rows: field -> { eq: scalar | null } or { in: [scalar | null, ...] }, every field must match. eq null matches a missing or null field. Example: { \"project\": { \"in\": [\"substrate\", null] } }."
|
|
2542
|
+
},
|
|
2543
|
+
rowFields: {
|
|
2544
|
+
type: ["object", "boolean"],
|
|
2545
|
+
description: "Row-body projection. Omitted, each hit's `row` carries `id` plus its handle fields (name, title, topic, synopsis, description), enough to decide on. field -> true keeps just those fields plus `id`, e.g. { \"synopsis\": true, \"body\": true }; true returns the whole body."
|
|
2517
2546
|
}
|
|
2518
2547
|
},
|
|
2519
2548
|
required: ["query", "type"]
|
|
@@ -3035,12 +3064,14 @@ function rethrowCoded(err) {
|
|
|
3035
3064
|
throw err;
|
|
3036
3065
|
}
|
|
3037
3066
|
/**
|
|
3038
|
-
* Keep only the
|
|
3067
|
+
* Keep only the selected keys of `fields`; `undefined` fields = passthrough.
|
|
3039
3068
|
* `fields: {}` strips every key, matching the compose layer's projectEnvelope.
|
|
3069
|
+
* A nested `row: { … }` selection keeps `row`, which the core has already
|
|
3070
|
+
* narrowed through `rowFields`.
|
|
3040
3071
|
*/
|
|
3041
3072
|
function projectHit(row, fields) {
|
|
3042
3073
|
if (fields === void 0) return row;
|
|
3043
|
-
const keep = Object.entries(fields).filter(([, v]) => v === true).map(([k]) => k);
|
|
3074
|
+
const keep = Object.entries(fields).filter(([k, v]) => v === true || k === "row" && isPlainObject(v)).map(([k]) => k);
|
|
3044
3075
|
const out = {};
|
|
3045
3076
|
for (const k of keep) if (k in row) out[k] = row[k];
|
|
3046
3077
|
return out;
|
|
@@ -3063,6 +3094,9 @@ function buildRecallFrameSurface(deps) {
|
|
|
3063
3094
|
const salience = deps.salience ?? DEFAULT_SALIENCE_CONFIG;
|
|
3064
3095
|
const hitResolver = async (ctx, args) => {
|
|
3065
3096
|
const input = parseHitParams(args.params);
|
|
3097
|
+
const rowSelection = args.fields?.row;
|
|
3098
|
+
if (rowSelection === true) input.rowFields = true;
|
|
3099
|
+
else if (isPlainObject(rowSelection)) input.rowFields = rowSelection;
|
|
3066
3100
|
const bound = bindPolicy(deps.checkReadPolicy, callerFromContext(ctx));
|
|
3067
3101
|
const boundWrite = bindPolicy(deps.checkWritePolicy, callerFromContext(ctx));
|
|
3068
3102
|
let out;
|
|
@@ -3144,6 +3178,9 @@ function buildRecallFrameSurface(deps) {
|
|
|
3144
3178
|
}
|
|
3145
3179
|
};
|
|
3146
3180
|
}
|
|
3181
|
+
function isPlainObject(v) {
|
|
3182
|
+
return v !== null && typeof v === "object" && !Array.isArray(v);
|
|
3183
|
+
}
|
|
3147
3184
|
|
|
3148
3185
|
//#endregion
|
|
3149
3186
|
//#region ../../plugins/substrate-recall/src/lexical-reindex-core.ts
|
package/dist/recall-bootstrap.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
|
|
2
2
|
import { Pt as defineBootstrap } from "./src-CHp3QyqB.js";
|
|
3
3
|
import { t as FakeEmbedder } from "./fake-DUVtKVSE.js";
|
|
4
|
-
import { t as createRecallPlugin } from "./plugin-
|
|
4
|
+
import { t as createRecallPlugin } from "./plugin-BG8E04wi.js";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region ../../packages/substrate-embedder/src/types.ts
|
package/dist/recall.d.ts
CHANGED
|
@@ -724,6 +724,14 @@ interface RecallInput {
|
|
|
724
724
|
* or null field. A malformed filter is refused with `bad_request`.
|
|
725
725
|
*/
|
|
726
726
|
where?: KnnRowFilter;
|
|
727
|
+
/**
|
|
728
|
+
* Row-body projection. Field -> `true` keeps those keys plus `id`; `true`
|
|
729
|
+
* keeps the whole body. Absent → `id` plus the handle fields
|
|
730
|
+
* (`HANDLE_FIELDS`) the row has. Applied after row filtering and policy,
|
|
731
|
+
* which still see the full body. A malformed value is refused with
|
|
732
|
+
* `bad_request`.
|
|
733
|
+
*/
|
|
734
|
+
rowFields?: Record<string, true> | true;
|
|
727
735
|
}
|
|
728
736
|
interface RecallRow {
|
|
729
737
|
/**
|
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-
|
|
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-
|
|
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-DQ1U9Yhs.js";
|
|
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-BG8E04wi.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,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
|
|
2
2
|
import { n as txScopeIdFor } from "./src-CXKnqeTW.js";
|
|
3
|
-
import { B as ROW_FILTER_FIELD, V as matchesRowFilter, W as inFlightError, Y as unresolvedRow, Z as cosineSimilarity, et as memberKey } from "./plugin-
|
|
3
|
+
import { B as ROW_FILTER_FIELD, V as matchesRowFilter, W as inFlightError, Y as unresolvedRow, Z as cosineSimilarity, et as memberKey } from "./plugin-BG8E04wi.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.4";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region ../../plugins/substrate-recall/src/in-memory-cluster-store.ts
|
package/dist/substrate-admin.js
CHANGED
|
@@ -4,7 +4,7 @@ import { d as buildAuditRow, f as AUDIT_EVENT_TYPE } from "./src-CHp3QyqB.js";
|
|
|
4
4
|
import { d as resolveDefaultKidPath, u as resolveDefaultKeyPath } from "./env-utils-CGNazUNt.js";
|
|
5
5
|
import { E as describeGrant, I as decodeList, L as encodeList, M as grantEntryError, g as checkUpdatable, h as checkRevocable, y as newlyGranted } from "./row-DZ0Fnpc6.js";
|
|
6
6
|
import { S as reconcileIdentities } from "./src-DMzc3HfW.js";
|
|
7
|
-
import { A as describeAdminTarget, B as version, C as CLI_ACTOR_KID, D as listActiveAdminKeys, E as generateAdminKeypair, F as RESTART_NOTE, I as USAGE, L as argvError, M as resolveAdminTarget, N as ARGV_SPEC, O as readEd25519PublicKey, P as validateArgv, S as BootstrapError, T as forUpdate, _ as REVOKE_EXIT_CODES, a as formatRegisterOutput, b as runKeyPatchViaRoute, c as runRegisterViaRoute, d as formatDoctorReport, f as runDoctor, g as bootstrapKidPath, h as runBootstrap, i as runOnboard, j as resolveAdminAuth, k as readKeyById, l as grantLines, m as parseBootstrapArgs, n as formatChecklist, o as parseRegisterArgs, p as formatBootstrapOutput, r as onboardCommand, s as runRegister, t as openPgDataset, u as doctorCommand, v as UPDATE_EXIT_CODES, w as base64Url, x as ACTOR_HINT, y as runKeyListViaRoute, z as AdminCliError } from "./dataset-
|
|
7
|
+
import { A as describeAdminTarget, B as version, C as CLI_ACTOR_KID, D as listActiveAdminKeys, E as generateAdminKeypair, F as RESTART_NOTE, I as USAGE, L as argvError, M as resolveAdminTarget, N as ARGV_SPEC, O as readEd25519PublicKey, P as validateArgv, S as BootstrapError, T as forUpdate, _ as REVOKE_EXIT_CODES, a as formatRegisterOutput, b as runKeyPatchViaRoute, c as runRegisterViaRoute, d as formatDoctorReport, f as runDoctor, g as bootstrapKidPath, h as runBootstrap, i as runOnboard, j as resolveAdminAuth, k as readKeyById, l as grantLines, m as parseBootstrapArgs, n as formatChecklist, o as parseRegisterArgs, p as formatBootstrapOutput, r as onboardCommand, s as runRegister, t as openPgDataset, u as doctorCommand, v as UPDATE_EXIT_CODES, w as base64Url, x as ACTOR_HINT, y as runKeyListViaRoute, z as AdminCliError } from "./dataset-Bd18RP3O.js";
|
|
8
8
|
import { existsSync, mkdirSync, realpathSync, rmSync, writeFileSync } from "node:fs";
|
|
9
9
|
import { dirname } from "node:path";
|
|
10
10
|
import { createHash, randomUUID } from "node:crypto";
|
package/dist/substrate.js
CHANGED
|
@@ -6,8 +6,8 @@ import { L as encodeList, T as SYSTEM_NAMESPACE, f as coversNamespace, m as gran
|
|
|
6
6
|
import { c as AuthError, d as AdminBackfillError, l as NetworkError, n as tokenAudience, r as SubstrateClient, t as noRedirectFetch } from "./src-DMzc3HfW.js";
|
|
7
7
|
import { a as runDerivedMigrations, o as runMigrations, r as deriveListIndexMigration, s as tryWithPgAdvisoryLock, t as PgDataset } from "./src-CXKnqeTW.js";
|
|
8
8
|
import { t as PgEdgesStore } from "./pg-edges-store-DKPYyd8l.js";
|
|
9
|
-
import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src-
|
|
10
|
-
import { B as version, R as openSql, t as openPgDataset, z as AdminCliError } from "./dataset-
|
|
9
|
+
import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src-DQ1U9Yhs.js";
|
|
10
|
+
import { B as version, R as openSql, t as openPgDataset, z as AdminCliError } from "./dataset-Bd18RP3O.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";
|
|
@@ -4948,7 +4948,8 @@ function createMcpServer(endpoint, options = {}) {
|
|
|
4948
4948
|
type: z.string().min(1).describe("Type to search, e.g. \"Note\". Required."),
|
|
4949
4949
|
threshold: z.number().optional().describe("Minimum similarity (0..1). Default 0."),
|
|
4950
4950
|
lexicalThreshold: z.number().optional().describe("Cosine floor for hits only the lexical (keyword) arm found. Default: same as threshold. 0 keeps them unfloored, so keyword matches survive a high threshold."),
|
|
4951
|
-
where: z.record(z.string(), z.unknown()).optional().describe("Row-field filter applied inside every candidate source, so k fills with matching rows: field -> { eq: scalar | null } or { in: [scalar | null, ...] }, every field must match; eq null matches a missing or null field. Example: { \"project\": { \"in\": [\"substrate\", null] } }.")
|
|
4951
|
+
where: z.record(z.string(), z.unknown()).optional().describe("Row-field filter applied inside every candidate source, so k fills with matching rows: field -> { eq: scalar | null } or { in: [scalar | null, ...] }, every field must match; eq null matches a missing or null field. Example: { \"project\": { \"in\": [\"substrate\", null] } }."),
|
|
4952
|
+
rowFields: z.union([z.record(z.string(), z.literal(true)), z.literal(true)]).optional().describe("Row-body projection. Omitted, each hit's `row` carries `id` plus its handle fields (name, title, topic, synopsis, description), which is enough to decide on. Ask for more only when you need it: field -> true keeps just those fields plus `id`, e.g. { \"synopsis\": true, \"body\": true }; true returns the whole body.")
|
|
4952
4953
|
}
|
|
4953
4954
|
},
|
|
4954
4955
|
handler: async (input) => {
|
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.4",
|
|
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.
|
|
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.
|
|
39
|
+
"@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.4",
|
|
40
|
+
"@mnmal-ai/substrate-client": "1.0.0-alpha.4",
|
|
41
|
+
"@mnmal-ai/substrate-compose": "1.0.0-alpha.4",
|
|
42
|
+
"@mnmal-ai/substrate-config": "1.0.0-alpha.4",
|
|
43
|
+
"@mnmal-ai/substrate-core": "1.0.0-alpha.4",
|
|
44
|
+
"@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.4",
|
|
45
|
+
"@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.4",
|
|
46
|
+
"@mnmal-ai/substrate-embedder": "1.0.0-alpha.4",
|
|
47
|
+
"@mnmal-ai/substrate-filter": "1.0.0-alpha.4",
|
|
48
|
+
"@mnmal-ai/substrate-pack": "1.0.0-alpha.4",
|
|
49
|
+
"@mnmal-ai/substrate-policy": "1.0.0-alpha.4",
|
|
50
|
+
"@mnmal-ai/substrate-proposals": "1.0.0-alpha.4",
|
|
51
|
+
"@mnmal-ai/substrate-recall": "1.0.0-alpha.4",
|
|
52
|
+
"@mnmal-ai/substrate-sdk": "1.0.0-alpha.4",
|
|
53
|
+
"@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.4",
|
|
54
|
+
"@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.4",
|
|
55
|
+
"@mnmal-ai/substrate-server-memory": "1.0.0-alpha.4",
|
|
56
|
+
"@mnmal-ai/substrate-types": "1.0.0-alpha.4",
|
|
57
57
|
"@types/node": "^26.6.4",
|
|
58
58
|
"@types/semver": "^7.5.0",
|
|
59
59
|
"@types/ws": "^8.18.1",
|