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

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.
Files changed (31) hide show
  1. package/dist/{boot-store-BbTxIeco.js → boot-store-CvQabBdk.js} +6 -6
  2. package/dist/{bridge-DQyQ6Qhn.d.ts → bridge-CvZGzNIO.d.ts} +1 -1
  3. package/dist/{cli-CgkTBEN0.js → cli-6evrDG1o.js} +8 -8
  4. package/dist/client.d.ts +3 -3
  5. package/dist/{errors-xP9Mo7Q1.d.ts → errors-BXxm9eZF.d.ts} +1 -1
  6. package/dist/{index-baF5A5jU.d.ts → index-EN-nQsX8.d.ts} +1 -1
  7. package/dist/pack.d.ts +2 -2
  8. package/dist/{pg-edges-store-B4FSN9yp.js → pg-edges-store-DHbpr8QY.js} +1 -1
  9. package/dist/{plugin-BLm5IRdX.js → plugin-Dpa_Y7Ep.js} +1 -1
  10. package/dist/proposals-bootstrap.js +2 -2
  11. package/dist/proposals.d.ts +2 -2
  12. package/dist/proposals.js +1 -1
  13. package/dist/recall-bootstrap.js +2 -2
  14. package/dist/recall.d.ts +1 -1
  15. package/dist/recall.js +2 -2
  16. package/dist/{repl-DxQGtLlf.js → repl-DWXNLUyd.js} +1 -1
  17. package/dist/{row-Dtj3KrPH.d.ts → row-Dh57ShWL.d.ts} +28 -6
  18. package/dist/{run-BfBC4joY.js → run-BTdS6Z6i.js} +3 -3
  19. package/dist/{schema-oXfQyo0s.d.ts → schema-B--_bHjn.d.ts} +3 -0
  20. package/dist/sdk.d.ts +6 -6
  21. package/dist/sdk.js +1 -1
  22. package/dist/{src-Bew_JvTo.js → src-B4sqnLRy.js} +1 -1
  23. package/dist/{src-C4t1Gy-m.js → src-BMHI_rTJ.js} +9 -2
  24. package/dist/{src-CSe2tJDf.js → src-CZQ25H4i.js} +3 -2
  25. package/dist/{src-CG-1Af7r.js → src-EqhJm93D.js} +3 -3
  26. package/dist/substrate-admin.js +1 -1
  27. package/dist/substrate.js +1 -1
  28. package/dist/testing.d.ts +2 -2
  29. package/dist/testing.js +3 -3
  30. package/dist/{ws-Dx3A2B4U.d.ts → ws-CpHWxwp9.d.ts} +2 -2
  31. package/package.json +20 -20
@@ -1,13 +1,13 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { Dt as buildContext, Pt as WS_REASON_SERVER_RESTART, Q as effectiveFilterOperators, Tt as HttpBridgeClient, Y as MemoryEdgesStore, _ as AUDIT_EVENT_TYPE, _t as unregisterExtensionOperator, a as composeFromManifests, c as MemoryDataset, g as buildAuditRow, gt as registerExtensionOperator, h as SYSTEM_TYPE_DEFS, ht as listExtensionOperators, i as PluginLoadError, jt as parseAuthConfig, k as isReservedAutoCrudField, mt as getExtensionOperator, n as kernelMigrationTracking, o as DEFAULT_NAMESPACE, r as mountKernelRoute, s as compose, t as composeKernelPlugins, u as isStoreProfileName } from "./src-C4t1Gy-m.js";
2
+ import { Dt as buildContext, Pt as WS_REASON_SERVER_RESTART, Q as effectiveFilterOperators, Tt as HttpBridgeClient, Y as MemoryEdgesStore, _ as AUDIT_EVENT_TYPE, _t as unregisterExtensionOperator, a as composeFromManifests, c as MemoryDataset, g as buildAuditRow, gt as registerExtensionOperator, h as SYSTEM_TYPE_DEFS, ht as listExtensionOperators, i as PluginLoadError, jt as parseAuthConfig, k as isReservedAutoCrudField, mt as getExtensionOperator, n as kernelMigrationTracking, o as DEFAULT_NAMESPACE, r as mountKernelRoute, s as compose, t as composeKernelPlugins, u as isStoreProfileName } from "./src-BMHI_rTJ.js";
3
3
  import { a as adminClaimCapabilities, d as resolveDefaultKidPath, l as resolveAdminCredential, n as trimTrailingSlashes, r as ADMIN_CAPABILITIES, s as makeAuthorizationProvider, t as parsePositiveInt, u as resolveDefaultKeyPath } from "./env-utils-CGNazUNt.js";
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-CSe2tJDf.js";
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-CG-1Af7r.js";
10
- import { et as memberKey } from "./plugin-BLm5IRdX.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-CZQ25H4i.js";
8
+ import { t as PgEdgesStore } from "./pg-edges-store-DHbpr8QY.js";
9
+ import { a as InMemoryLexicalStore, i as PgClusterStore, n as PgLexicalStore, o as InMemoryEmbeddingsStore, r as PgEmbeddingsStore, s as InMemoryClusterStore } from "./src-EqhJm93D.js";
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";
13
13
  import { basename, dirname, join, resolve } from "node:path";
@@ -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.14";
1797
+ var version = "1.0.0-alpha.15";
1798
1798
 
1799
1799
  //#endregion
1800
1800
  //#region src/plugin-manifest.ts
@@ -1,4 +1,4 @@
1
- import { Mn as Row, f as PackEnvelope, m as Schema, xn as EdgeRef } from "./schema-oXfQyo0s.js";
1
+ import { Mn as Row, f as PackEnvelope, m as Schema, xn as EdgeRef } from "./schema-B--_bHjn.js";
2
2
  //#region ../../packages/substrate-types/src/bridge.d.ts
3
3
  /**
4
4
  * Per-frame bucket sent to a bridge. Same shape as `QualifiedFrame` in the
@@ -1,13 +1,13 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { Qt as validateHardDeleteEnv, _ as AUDIT_EVENT_TYPE, et as loadSweepState, g as buildAuditRow, m as runInviteSweep, nt as saveSweepState, tt as runSweep, u as isStoreProfileName, v as INVITE_TYPE } from "./src-C4t1Gy-m.js";
2
+ import { Qt as validateHardDeleteEnv, _ as AUDIT_EVENT_TYPE, et as loadSweepState, g as buildAuditRow, m as runInviteSweep, nt as saveSweepState, tt as runSweep, u as isStoreProfileName, v as INVITE_TYPE } from "./src-BMHI_rTJ.js";
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-BbTxIeco.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-CvQabBdk.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-CSe2tJDf.js";
10
- import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src-CG-1Af7r.js";
9
+ import { w as tryWithPgAdvisoryLock } from "./src-CZQ25H4i.js";
10
+ import { n as PgLexicalStore, r as PgEmbeddingsStore } from "./src-EqhJm93D.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,7 @@ 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-core@0.15.0_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-DMjCbsaC.js
20
+ //#region ../../node_modules/.pnpm/@mnmal-ai+surface-core@0.16.0_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-By-Ewn3S.js
21
21
  const SEGMENTER = new Intl.Segmenter(void 0, { granularity: "grapheme" });
22
22
  const OSC = /(?:\u001b\]|\u009d)[^\u0007\u001b\u009c]*(?:\u0007|\u009c|\u001b\\)?/g;
23
23
  const CSI = /(?:\u001b\[|\u009b)[0-?]*[ -/]*[@-~]?/g;
@@ -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-DxQGtLlf.js");
2162
+ const { runRepl } = await import("./repl-DWXNLUyd.js");
2163
2163
  config = await runRepl(config);
2164
2164
  } catch (err) {
2165
2165
  if (err.message?.includes("User force closed")) return 130;
@@ -2825,7 +2825,7 @@ function createMcpServer(endpoint, options = {}) {
2825
2825
  {
2826
2826
  name: "query",
2827
2827
  config: {
2828
- description: "Query Substrate. payload is a single frame object mapping qualified keys (<ns>/<Type>) to { params, fields }. ONE call can span multiple namespaces — e.g. { \"prices/Price\": {...}, \"products/Product\": {...} }. WALKS: a reference field is followed backwards with `_walk`, which names the inbound field as \"ns/Type.field\" (the schema overview marks it `←Type.field`). It filters in `where`, aggregates in `fields._agg`, or nests rows in `fields`. Example: orders with an item priced over 50, and their item count: { \"shop/Order\": { \"params\": { \"where\": { \"_walk\": { \"in\": \"shop/Item.order\", \"where\": { \"price\": { \"gt\": 50 } } } } }, \"fields\": { \"id\": true, \"_agg\": { \"items\": { \"in\": \"shop/Item.order\", \"count\": true } } } } }. `out: \"field\"` follows a reference forwards. A `_walk` takes `quantifier` \"any\" (default), \"none\" or \"all\", or `pick` one neighbour by { \"latest\": <date> }, { \"max\": <f> } or { \"min\": <f> }; an \"any\" walk binds `as: \"L\"`, and a later comparison reads it as { \"$ref\": \"L.price\", \"times\": 1.25 } (`$.f` is the seed row, `_agg.<name>` an aggregate; `times`/`plus` scale numbers, `plus` shifts a date in ms). `_agg` also takes avg/sum/min/max: <field> or latest: { by, value }, and in `where` compares beside a comparison: { \"_agg\": { \"in\": ..., \"count\": true }, \"gte\": 3 }. Frame params: `count: true` answers { count }; `aggregate: { name: { sum: \"price\" } }` with optional `bucket: { field, by: \"day\"|\"hour\" }` answers groups; `derive: { m: { diff|ratio: [\"_agg.x\", \"$.f\"] } }` is ordered by `orderBy: [{ \"$m\": \"desc\" }]`. Walks are query-only: subscribe, stream and mutate refuse them, as does a store without walks (walks_unsupported_store).",
2828
+ description: "Query Substrate. payload is a single frame object mapping qualified keys (<ns>/<Type>) to { params, fields }. ONE call can span multiple namespaces — e.g. { \"prices/Price\": {...}, \"products/Product\": {...} }. WALKS: a reference field is followed backwards with `_walk`, which names the inbound field as \"ns/Type.field\" (the schema overview marks it `←Type.field`). It filters in `where`, aggregates in `fields._agg`, or nests rows in `fields`. Example: orders with an item priced over 50, and their item count: { \"shop/Order\": { \"params\": { \"where\": { \"_walk\": { \"in\": \"shop/Item.order\", \"where\": { \"price\": { \"gt\": 50 } } } } }, \"fields\": { \"id\": true, \"_agg\": { \"items\": { \"in\": \"shop/Item.order\", \"count\": true } } } } }. `out: \"field\"` follows a reference forwards. A `_walk` takes `quantifier` \"any\" (default), \"none\" or \"all\", or `pick` one neighbour by { \"latest\": <date> }, { \"max\": <f> } or { \"min\": <f> }; an \"any\" walk binds `as: \"L\"`, and a later comparison reads it as { \"$ref\": \"L.price\", \"times\": 1.25 } (`$.f` is the seed row, `_agg.<name>` an aggregate; `times`/`plus` scale numbers, `plus` shifts a date in ms). `_agg` also takes avg/sum/min/max: <field> or latest: { by, value }, and in `where` compares beside a comparison: { \"_agg\": { \"in\": ..., \"count\": true }, \"gte\": 3 }. Frame params: `count: true` answers { count }; `aggregate: { name: { sum: \"price\" } }` with optional `bucket: { field, by: \"day\"|\"hour\" }` answers groups; `derive: { m: { diff|ratio: [\"_agg.x\", \"$.f\"] } }` (or one operand as it is, `{ value: \"_agg.x\" }`) is ordered by `orderBy: [{ \"$m\": \"desc\" }]`. Walks are query-only: subscribe, stream and mutate refuse them, as does a store without walks (walks_unsupported_store).",
2829
2829
  inputSchema: { payload: payloadSchema("Query frame. Example: { \"default/Todo\": { \"params\": { \"limit\": 20 }, \"fields\": { \"id\": true, \"title\": true } } }") }
2830
2830
  },
2831
2831
  handler: createQueryHandler(endpoint)
@@ -2841,7 +2841,7 @@ function createMcpServer(endpoint, options = {}) {
2841
2841
  {
2842
2842
  name: "ask",
2843
2843
  config: {
2844
- description: "Ask a natural-language question of one namespace. The parser answers first; a constrained judge handles what it escalates; a judge outage hands off honestly. Returns { outcome, trail }, where outcome.kind is rows | recall | clarify | refuse | unknown. unknown means part of the question was dropped and the answer would change which rows count; it carries dropped and the plan, and nothing ran. rows also carries dropped (what it does not reflect) and plan. Relative dates are read against asOf when given, else the server clock; the parsed trail event says which. Read-only. Requires the @mnmal-ai/substrate-nl plugin (404 otherwise).",
2844
+ description: "Ask a natural-language question of one namespace. The parser answers first; a constrained judge handles what it escalates; a judge outage hands off honestly. Returns { outcome, trail }, where outcome.kind is rows | recall | clarify | refuse | unknown. unknown means part of the question was dropped and the answer would change which rows count; it carries dropped and the plan, and nothing ran. rows also carries dropped (what it does not reflect) and plan; an answer of count carries count, and one of aggregate carries aggregate (fn, field, and a value or groups keyed by `by`). Relative dates are read against asOf when given, else the server clock; the parsed trail event says which. Read-only. Requires the @mnmal-ai/substrate-nl plugin (404 otherwise).",
2845
2845
  inputSchema: {
2846
2846
  namespace: z.string().min(1).describe("Namespace to ask, e.g. \"notes\"."),
2847
2847
  question: z.string().min(1).describe("The question, e.g. \"open todos in billing\"."),
package/dist/client.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { Mn as Row, W as QualifiedFrame, f as PackEnvelope, fn as ResolverStat, gn as SlowRequest, hn as RuntimeMetrics, m as Schema, mn as RuntimeErrors, pn as RuntimeErrorEntry, un as ProcessStat } from "./schema-oXfQyo0s.js";
2
- import { A as and, B as SYSTEM_NAMESPACE, C as flattenGrant, D as parseGrantEntries, E as intersectGrants, F as TokenProviderOpts, G as resolveAdminCredential, H as isActiveAdminKeyRow, I as adminClaimCapabilities, J as NlAskRequest, K as resolveDefaultKeyPath, L as isEncryptedKey, M as or, N as ADMIN_CAPABILITIES, O as decodeList, P as DEFAULT_CAPABILITIES, R as makeAuthorizationProvider, S as expandFlat, T as grantIsUniform, U as AdminCredential, V as describeGrant, W as AdminEnv, Y as NlAskResult, _ as newlyGrantedPairs, a as denyAll, b as capabilitiesFor, c as requireIdentity, d as KeyUpdateRefusal, dt as NlTrailEvent, f as checkRevocable, g as newlyGranted, h as grantEntriesConfer, i as allowVerbs, it as NlOutcome, j as not, k as encodeList, l as requireNamespace, m as grantCovers, n as row, o as denyVerbs, p as checkUpdatable, pt as NlWireEvent, q as resolveDefaultKidPath, r as allowAll, s as requireCapability, t as applyRowFilters, u as KeyMutationRefusal, ut as NlServedPack, v as revokedAtIso, w as grantEntryError, x as encodeGrant, y as Grant, z as makeTokenProvider } from "./row-Dtj3KrPH.js";
3
- import { s as SchemaDriftError } from "./index-baF5A5jU.js";
1
+ import { Mn as Row, W as QualifiedFrame, f as PackEnvelope, fn as ResolverStat, gn as SlowRequest, hn as RuntimeMetrics, m as Schema, mn as RuntimeErrors, pn as RuntimeErrorEntry, un as ProcessStat } from "./schema-B--_bHjn.js";
2
+ import { A as and, B as SYSTEM_NAMESPACE, C as flattenGrant, D as parseGrantEntries, E as intersectGrants, F as TokenProviderOpts, G as resolveAdminCredential, H as isActiveAdminKeyRow, I as adminClaimCapabilities, K as resolveDefaultKeyPath, L as isEncryptedKey, M as or, N as ADMIN_CAPABILITIES, O as decodeList, P as DEFAULT_CAPABILITIES, R as makeAuthorizationProvider, S as expandFlat, T as grantIsUniform, U as AdminCredential, V as describeGrant, W as AdminEnv, X as NlAskResult, Y as NlAskRequest, _ as newlyGrantedPairs, a as denyAll, at as NlOutcome, b as capabilitiesFor, c as requireIdentity, d as KeyUpdateRefusal, dt as NlServedPack, f as checkRevocable, ft as NlTrailEvent, g as newlyGranted, h as grantEntriesConfer, i as allowVerbs, j as not, k as encodeList, l as requireNamespace, m as grantCovers, mt as NlWireEvent, n as row, o as denyVerbs, p as checkUpdatable, q as resolveDefaultKidPath, r as allowAll, s as requireCapability, t as applyRowFilters, u as KeyMutationRefusal, v as revokedAtIso, w as grantEntryError, x as encodeGrant, y as Grant, z as makeTokenProvider } from "./row-Dh57ShWL.js";
3
+ import { s as SchemaDriftError } from "./index-EN-nQsX8.js";
4
4
  import { Signal } from "@preact/signals-core";
5
5
  //#region ../../packages/substrate-client/src/admin/surgery.d.ts
6
6
  type AdminDropCascade = 'refuse' | 'delete';
@@ -1,4 +1,4 @@
1
- import { xn as EdgeRef, yn as Edge } from "./schema-oXfQyo0s.js";
1
+ import { xn as EdgeRef, yn as Edge } from "./schema-B--_bHjn.js";
2
2
  //#region ../../packages/substrate-types/src/errors.d.ts
3
3
  /** A by-filter write matched more rows than `SUBSTRATE_FILTER_WRITE_MAX_MATCH`; nothing changed. */
4
4
  declare const FILTER_TOO_BROAD = "filter_too_broad";
@@ -1,4 +1,4 @@
1
- import { f as PackEnvelope, i as FieldDef, l as FieldInput, m as Schema } from "./schema-oXfQyo0s.js";
1
+ import { f as PackEnvelope, i as FieldDef, l as FieldInput, m as Schema } from "./schema-B--_bHjn.js";
2
2
  import { pack as packFrame, unpack as unpackFrame } from "msgpackr";
3
3
  //#region ../../packages/substrate-pack/src/decoder.d.ts
4
4
  interface DecodeContext {
package/dist/pack.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { f as PackEnvelope, i as FieldDef, l as FieldInput, m as Schema } from "./schema-oXfQyo0s.js";
2
- import { a as DecodeEnvelopeCtx, c as decodeEnvelope, i as DecodeContext, l as decodePositional, n as packFrame, o as PackDecodeError, r as unpackFrame, s as SchemaDriftError, t as WS_SUBPROTOCOL_SUBSTRATE_PACK, u as decodePositionalFromFieldDef } from "./index-baF5A5jU.js";
1
+ import { f as PackEnvelope, i as FieldDef, l as FieldInput, m as Schema } from "./schema-B--_bHjn.js";
2
+ import { a as DecodeEnvelopeCtx, c as decodeEnvelope, i as DecodeContext, l as decodePositional, n as packFrame, o as PackDecodeError, r as unpackFrame, s as SchemaDriftError, t as WS_SUBPROTOCOL_SUBSTRATE_PACK, u as decodePositionalFromFieldDef } from "./index-EN-nQsX8.js";
3
3
  //#region ../../packages/substrate-pack/src/content-type.d.ts
4
4
  /**
5
5
  * Content-type negotiation. Spec: §7.0.
@@ -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-CSe2tJDf.js";
2
+ import { n as txScopeIdFor } from "./src-CZQ25H4i.js";
3
3
  import { randomUUID } from "node:crypto";
4
4
 
5
5
  //#region ../../packages/substrate-dataset-pg/src/pg-edges-store.ts
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { $ as applyObligations, Dt as buildContext, kt as jsonResponse, sn as ResolverFrameError } from "./src-C4t1Gy-m.js";
2
+ import { $ as applyObligations, Dt as buildContext, kt as jsonResponse, sn as ResolverFrameError } from "./src-BMHI_rTJ.js";
3
3
  import "./src-DWqzrm3O.js";
4
4
  import { Worker } from "node:worker_threads";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { En as defineBootstrap } from "./src-C4t1Gy-m.js";
3
- import { n as createNoopPubSub, t as createProposalsPlugin } from "./src-Bew_JvTo.js";
2
+ import { En as defineBootstrap } from "./src-BMHI_rTJ.js";
3
+ import { n as createNoopPubSub, t as createProposalsPlugin } from "./src-B4sqnLRy.js";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region ../../plugins/substrate-proposals/src/bootstrap.ts
@@ -1,5 +1,5 @@
1
- import { Mt as Dataset, wn as OnDelete, x as CoordinatorPlugin } from "./schema-oXfQyo0s.js";
2
- import { l as ResolverFrameError } from "./errors-xP9Mo7Q1.js";
1
+ import { Mt as Dataset, wn as OnDelete, x as CoordinatorPlugin } from "./schema-B--_bHjn.js";
2
+ import { l as ResolverFrameError } from "./errors-BXxm9eZF.js";
3
3
  //#region ../../plugins/substrate-proposals/src/config.d.ts
4
4
  /**
5
5
  * Multi-instance invalidation transport used by the plugin to broadcast
package/dist/proposals.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { i as ProposalError, n as createNoopPubSub, r as storageSettled, t as createProposalsPlugin } from "./src-Bew_JvTo.js";
2
+ import { i as ProposalError, n as createNoopPubSub, r as storageSettled, t as createProposalsPlugin } from "./src-B4sqnLRy.js";
3
3
 
4
4
  export { ProposalError, createNoopPubSub, createProposalsPlugin, storageSettled };
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { En as defineBootstrap } from "./src-C4t1Gy-m.js";
2
+ import { En as defineBootstrap } from "./src-BMHI_rTJ.js";
3
3
  import { t as FakeEmbedder } from "./fake-DUVtKVSE.js";
4
- import { t as createRecallPlugin } from "./plugin-BLm5IRdX.js";
4
+ import { t as createRecallPlugin } from "./plugin-Dpa_Y7Ep.js";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region ../../packages/substrate-embedder/src/types.ts
package/dist/recall.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as EmbedSourceContext, Cn as EdgesStore, Ct as ResolverArgs, D as FilterOperatorDef, I as McpToolRegistration, Mn as Row, Mt as Dataset, P as KernelPlugin, U as PostWriteHook, bt as PolicyProbeContext, gt as Identity, i as FieldDef, j as KernelMigration, tt as HttpHandler, xt as RequestContext, yt as PolicyDecision } from "./schema-oXfQyo0s.js";
1
+ import { C as EmbedSourceContext, Cn as EdgesStore, Ct as ResolverArgs, D as FilterOperatorDef, I as McpToolRegistration, Mn as Row, Mt as Dataset, P as KernelPlugin, U as PostWriteHook, bt as PolicyProbeContext, gt as Identity, i as FieldDef, j as KernelMigration, tt as HttpHandler, xt as RequestContext, yt as PolicyDecision } from "./schema-B--_bHjn.js";
2
2
  import { t as Embedder } from "./types-8c0gtnd2.js";
3
3
  import postgres, { Sql } from "postgres";
4
4
  //#region ../../plugins/substrate-recall/src/candidate-selection.d.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-CG-1Af7r.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-BLm5IRdX.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-EqhJm93D.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-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-CgkTBEN0.js";
2
+ import { a as parsePositive, i as DEFAULT_SIZING, n as defaultPluginsForPersona, r as parsePort, t as KNOWN_PLUGINS } from "./cli-6evrDG1o.js";
3
3
  import { createRequire } from "node:module";
4
4
  import path from "node:path";
5
5
  import { stripVTControlCharacters, styleText } from "node:util";
@@ -1,5 +1,5 @@
1
- import { Ft as DeriveSpec, Mn as Row, ht as AutoCrudVerb, l as FieldInput, n as Dropped, p as PlanClause, sn as WhereClause, vt as Policy, xt as RequestContext, yt as PolicyDecision } from "./schema-oXfQyo0s.js";
2
- import { n as BridgeCredential } from "./bridge-DQyQ6Qhn.js";
1
+ import { Ft as DeriveSpec, Mn as Row, ht as AutoCrudVerb, l as FieldInput, n as Dropped, p as PlanClause, sn as WhereClause, vt as Policy, xt as RequestContext, yt as PolicyDecision } from "./schema-B--_bHjn.js";
2
+ import { n as BridgeCredential } from "./bridge-CvZGzNIO.js";
3
3
  //#region ../../packages/substrate-types/src/nl.d.ts
4
4
  /**
5
5
  * The engine-dispatchable frame a successful NL translation produces. Keys
@@ -57,7 +57,7 @@ interface NlAskRequest {
57
57
  type NlParseStatus = 'resolved' | 'ambiguous' | 'partial' | 'clarify' | 'refuse' | 'unparsed';
58
58
  interface NlEvidence {
59
59
  span: string;
60
- role: 'id' | 'type' | 'value' | 'time' | 'order' | 'count' | 'scope' | 'field' | 'author' | 'history';
60
+ role: 'id' | 'type' | 'value' | 'time' | 'order' | 'count' | 'aggregate' | 'scope' | 'field' | 'author' | 'history';
61
61
  detail: string;
62
62
  }
63
63
  type NlJudgeAction = 'pick' | 'type' | 'bind' | 'recall' | 'clarify' | 'refuse' | 'escalate';
@@ -94,6 +94,12 @@ type NlOutcome = {
94
94
  data: unknown;
95
95
  /** On a `count` answer: every row the frame matches. Absent when counting stopped short, with `errors` saying why. */
96
96
  count?: number;
97
+ /**
98
+ * On an `aggregate` answer: `fn` of `field` over the rows the frame matches,
99
+ * as one `value`, or per group keyed by `by` (a field, or the `day`/`hour`
100
+ * bucket). Absent when the engine refused the frame, with `errors` saying why.
101
+ */
102
+ aggregate?: NlAggregate;
97
103
  errors?: unknown[];
98
104
  source: 'parser' | 'judge' | 'handoff';
99
105
  handoff?: string;
@@ -130,6 +136,20 @@ type NlOutcome = {
130
136
  kind: 'refuse';
131
137
  reason: string;
132
138
  };
139
+ interface NlAggregate {
140
+ fn: 'avg' | 'sum' | 'min' | 'max';
141
+ field: string;
142
+ by?: string;
143
+ /** Null when no row has a value (an empty set, or every value null). */
144
+ value?: number | string | null;
145
+ /** `key: null` is the rows with no value in the group field. */
146
+ groups?: {
147
+ key: string | boolean | null;
148
+ value: number | string | null;
149
+ }[];
150
+ /** More groups exist than were returned. */
151
+ truncated?: true;
152
+ }
133
153
  interface NlParsedData {
134
154
  status: NlParseStatus;
135
155
  frame?: Query;
@@ -267,8 +287,10 @@ interface NlFieldPhrase {
267
287
  value?: unknown;
268
288
  /** Needs `field`: the implicit filter on that field's type. Never silent: it shows in `plan`. */
269
289
  exclude?: WhereClause;
270
- /** Operands are `'<Type>.<field>'`, both on one type. */
271
- derive?: DeriveSpec;
290
+ /** A diff or ratio; operands are `'<Type>.<field>'`, both on one type. */
291
+ derive?: Exclude<DeriveSpec, {
292
+ value: string;
293
+ }>;
272
294
  /** A namespace default pick for this phrase. */
273
295
  pick?: 'latest' | 'max' | 'min';
274
296
  }
@@ -772,4 +794,4 @@ declare function row<T>(predicate: (ctx: RequestContext, row: T) => boolean): Po
772
794
  */
773
795
  declare function applyRowFilters<T>(decision: PolicyDecision, rows: T[], ctx: RequestContext): T[];
774
796
  //#endregion
775
- export { NlJudgeChoice as $, and as A, SYSTEM_NAMESPACE as B, flattenGrant as C, parseGrantEntries as D, intersectGrants as E, TokenProviderOpts as F, resolveAdminCredential as G, isActiveAdminKeyRow as H, adminClaimCapabilities as I, NlAskRequest as J, resolveDefaultKeyPath as K, isEncryptedKey as L, or as M, ADMIN_CAPABILITIES as N, decodeList as O, DEFAULT_CAPABILITIES as P, NlJudgeAction as Q, makeAuthorizationProvider as R, expandFlat as S, grantIsUniform as T, AdminCredential as U, describeGrant as V, AdminEnv as W, NlEvidence as X, NlAskResult as Y, NlFieldPhrase as Z, newlyGrantedPairs as _, Query as _t, denyAll as a, NlPackField as at, capabilitiesFor as b, requireIdentity as c, NlParseStatus as ct, KeyUpdateRefusal as d, NlTrailEvent as dt, NlJudgeStep as et, checkRevocable as f, NlValueAlias as ft, newlyGranted as g, NLVocabularyHint as gt, grantEntriesConfer as h, NLResult as ht, allowVerbs as i, NlOutcome as it, not as j, encodeList as k, requireNamespace as l, NlParsedData as lt, grantCovers as m, NLBase as mt, row as n, NlNamespacePack as nt, denyVerbs as o, NlPackType as ot, checkUpdatable as p, NlWireEvent as pt, resolveDefaultKidPath as q, allowAll as r, NlNamespaceRulings as rt, requireCapability as s, NlPackValueRef as st, applyRowFilters as t, NlJudgedStatus as tt, KeyMutationRefusal as u, NlServedPack as ut, revokedAtIso as v, grantEntryError as w, encodeGrant as x, Grant as y, makeTokenProvider as z };
797
+ export { NlJudgeAction as $, and as A, SYSTEM_NAMESPACE as B, flattenGrant as C, parseGrantEntries as D, intersectGrants as E, TokenProviderOpts as F, resolveAdminCredential as G, isActiveAdminKeyRow as H, adminClaimCapabilities as I, NlAggregate as J, resolveDefaultKeyPath as K, isEncryptedKey as L, or as M, ADMIN_CAPABILITIES as N, decodeList as O, DEFAULT_CAPABILITIES as P, NlFieldPhrase as Q, makeAuthorizationProvider as R, expandFlat as S, grantIsUniform as T, AdminCredential as U, describeGrant as V, AdminEnv as W, NlAskResult as X, NlAskRequest as Y, NlEvidence as Z, newlyGrantedPairs as _, NLVocabularyHint as _t, denyAll as a, NlOutcome as at, capabilitiesFor as b, requireIdentity as c, NlPackValueRef as ct, KeyUpdateRefusal as d, NlServedPack as dt, NlJudgeChoice as et, checkRevocable as f, NlTrailEvent as ft, newlyGranted as g, NLResult as gt, grantEntriesConfer as h, NLBase as ht, allowVerbs as i, NlNamespaceRulings as it, not as j, encodeList as k, requireNamespace as l, NlParseStatus as lt, grantCovers as m, NlWireEvent as mt, row as n, NlJudgedStatus as nt, denyVerbs as o, NlPackField as ot, checkUpdatable as p, NlValueAlias as pt, resolveDefaultKidPath as q, allowAll as r, NlNamespacePack as rt, requireCapability as s, NlPackType as st, applyRowFilters as t, NlJudgeStep as tt, KeyMutationRefusal as u, NlParsedData as ut, revokedAtIso as v, Query as vt, grantEntryError as w, encodeGrant as x, Grant as y, makeTokenProvider as z };
@@ -1,10 +1,10 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { _ as AUDIT_EVENT_TYPE, g as buildAuditRow } from "./src-C4t1Gy-m.js";
2
+ 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-BbTxIeco.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-CSe2tJDf.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-CvQabBdk.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-CZQ25H4i.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";
@@ -420,10 +420,13 @@ interface BucketSpec {
420
420
  field: string;
421
421
  by: 'day' | 'hour';
422
422
  }
423
+ /** `diff` is a − b, `ratio` a / b, and `value` one operand as it is (to order by a walked value). */
423
424
  type DeriveSpec = {
424
425
  diff: [string, string];
425
426
  } | {
426
427
  ratio: [string, string];
428
+ } | {
429
+ value: string;
427
430
  };
428
431
  interface NestedSelection {
429
432
  _walk: {
package/dist/sdk.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { $ as VirtualMutationDef, $t as TypeIndexState, A as KernelLifecycleContext, An as IdentityKind, At as ConditionalUpdateResult, B as NamespaceTypeDef, Bt as FilterWriteLimits, C as EmbedSourceContext, Cn as EdgesStore, Ct as ResolverArgs, D as FilterOperatorDef, Dn as CLIENT_SUPPLIED_SERVER_FIELD, Dt as WriteEvent, E as EngineInput, En as ActorIdentity, Et as TypedResolver, F as KernelRouteClaim, Fn as WriteRow, Ft as DeriveSpec, G as Registry, Gt as NestedSelection, H as PluginRouteContext, Ht as FilterWriteResult, I as McpToolRegistration, In as assertNoRepeatedIds, It as DropResult, J as RegistryEntryInput, Jt as ReadParams, K as RegistryBase, Kt as OrderByClause, L as NamespaceConfig, Lt as FieldKind, M as KernelMigrationContext, Mn as Row, Mt as Dataset, N as KernelNamespaceContribution, Nn as RowMetadata, Nt as DatasetRegistry, O as FrameEntry, On as ClientSuppliedServerFieldError, Ot as AggFn, P as KernelPlugin, Pn as RowMetadataField, Pt as DeleteResult, Q as ScheduledTaskContext, Qt as TxScopeHandles, R as NamespaceDefinition, Rt as FieldPredicate, S as DropParticipant, Sn as EdgeWriteInput, St as Resolver, T as EngineHandle, Tn as OnMissing, Tt as RowFilterObligation, U as PostWriteHook, Ut as FrameAgg, V as PluginLifecycleContext, Vt as FilterWriteOptions, W as QualifiedFrame, Wt as IndexPlan, X as RegistryEntryResolver, Xt as RefOperand, Y as RegistryEntryKind, Yt as ReadResult, Z as ScheduledTask, Zt as StorageReport, _ as naturalOrderOf, _n as TypeStats, _t as Obligation, a as FieldDefCrossRef, an as WalkNode, at as RequestObserver, b as CommittedWritesHook, bn as EdgePatch, bt as PolicyProbeContext, c as FieldDefStruct, cn as WriteOptions, ct as SubstrateRequest, d as OrderedBy, dn as ResolveObservation, dt as TlsConfig, en as TypeStorageReport, et as VirtualTypeDef, f as PackEnvelope, fn as ResolverStat, ft as WsConnection, g as isColumnField, gn as SlowRequest, gt as Identity, h as TypeSchema, hn as RuntimeMetrics, ht as AutoCrudVerb, i as FieldDef, in as WalkAggPredicate, it as RequestObservation, j as KernelMigration, jn as ROW_METADATA_FIELDS, jt as DEFAULT_FILTER_WRITE_LIMITS, k as IndexDecl, kn as Id, kt as BucketSpec, l as FieldInput, ln as WriteResult, lt as SubstrateResponse, m as Schema, mn as RuntimeErrors, mt as AfterTxWork, n as Dropped, nn as WalkAgg, nt as HttpMethod, o as FieldDefList, on as WalkPick, ot as RuntimeOp, p as PlanClause, pn as RuntimeErrorEntry, pt as WsHandler, q as RegistryEntry, qt as PromotionEvent, r as EnvelopeShape, rn as WalkAggOperand, rt as PluginRouter, s as FieldDefScalar, sn as WhereClause, st as StartOpts, t as DEFAULT_ORDERED_BY, tn as UpdateFieldRef, tt as HttpHandler, u as MutationSchema, un as ProcessStat, ut as SubstrateServer, v as BatchResolver, vn as CanDeleteResult, vt as Policy, w as EncodeContext, wn as OnDelete, wt as ResolverReturn, x as CoordinatorPlugin, xn as EdgeRef, xt as RequestContext, y as CommittedWriteBatch, yn as Edge, yt as PolicyDecision, z as NamespaceInstallContext, zt as FilterCapabilities } from "./schema-oXfQyo0s.js";
2
- import { i as BridgeFrame, n as BridgeCredential, r as BridgeCredentialStore, t as BridgeClient } from "./bridge-DQyQ6Qhn.js";
3
- import { S as isRestrictViolation, _ as WALK_UNSUPPORTED_REF, a as NamespaceMismatch, b as isBatchElementError, c as ReservedField, d as UnsupportedFilterError, f as WALKS_IN_MUTATION, g as WALK_BUDGET_EXCEEDED, h as WALKS_UNSUPPORTED_STORE, i as MissingReferentError, l as ResolverFrameError, m as WALKS_NEED_PARTITIONED, n as BridgeUnreachableError, o as QUERY_TIMEOUT, p as WALKS_IN_SUBSCRIPTION, r as FILTER_TOO_BROAD, s as ROW_POLICY_BLOCKS_WALK, t as BatchElementError, u as RestrictViolation, v as filterTooBroad, x as isResolverFrameError, y as isAuthCause } from "./errors-xP9Mo7Q1.js";
4
- import { a as WsResponseFrame, c as ResolveTarget, d as TargetState, f as IdempotencyStore, i as WsRequestFrame, l as SweepDeps, n as WS_REASON_SERVER_RESTART, o as WsResponseKind, r as WS_REASON_SUBSCRIPTION_OVERLOADED, s as BridgeRegistry, t as WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, u as SweepState } from "./ws-Dx3A2B4U.js";
5
- import { $ as NlJudgeChoice, A as and, B as SYSTEM_NAMESPACE, C as flattenGrant, D as parseGrantEntries, E as intersectGrants, F as TokenProviderOpts, G as resolveAdminCredential, H as isActiveAdminKeyRow, I as adminClaimCapabilities, J as NlAskRequest, K as resolveDefaultKeyPath, L as isEncryptedKey, M as or, N as ADMIN_CAPABILITIES, O as decodeList, P as DEFAULT_CAPABILITIES, Q as NlJudgeAction, R as makeAuthorizationProvider, S as expandFlat, T as grantIsUniform, U as AdminCredential, V as describeGrant, W as AdminEnv, X as NlEvidence, Y as NlAskResult, Z as NlFieldPhrase, _ as newlyGrantedPairs, _t as Query, a as denyAll, at as NlPackField, b as capabilitiesFor, c as requireIdentity, ct as NlParseStatus, d as KeyUpdateRefusal, dt as NlTrailEvent, et as NlJudgeStep, f as checkRevocable, ft as NlValueAlias, g as newlyGranted, gt as NLVocabularyHint, h as grantEntriesConfer, ht as NLResult, i as allowVerbs, it as NlOutcome, j as not, k as encodeList, l as requireNamespace, lt as NlParsedData, m as grantCovers, mt as NLBase, n as row, nt as NlNamespacePack, o as denyVerbs, ot as NlPackType, p as checkUpdatable, pt as NlWireEvent, q as resolveDefaultKidPath, r as allowAll, rt as NlNamespaceRulings, s as requireCapability, st as NlPackValueRef, t as applyRowFilters, tt as NlJudgedStatus, u as KeyMutationRefusal, ut as NlServedPack, v as revokedAtIso, w as grantEntryError, x as encodeGrant, y as Grant, z as makeTokenProvider } from "./row-Dtj3KrPH.js";
1
+ import { $ as VirtualMutationDef, $t as TypeIndexState, A as KernelLifecycleContext, An as IdentityKind, At as ConditionalUpdateResult, B as NamespaceTypeDef, Bt as FilterWriteLimits, C as EmbedSourceContext, Cn as EdgesStore, Ct as ResolverArgs, D as FilterOperatorDef, Dn as CLIENT_SUPPLIED_SERVER_FIELD, Dt as WriteEvent, E as EngineInput, En as ActorIdentity, Et as TypedResolver, F as KernelRouteClaim, Fn as WriteRow, Ft as DeriveSpec, G as Registry, Gt as NestedSelection, H as PluginRouteContext, Ht as FilterWriteResult, I as McpToolRegistration, In as assertNoRepeatedIds, It as DropResult, J as RegistryEntryInput, Jt as ReadParams, K as RegistryBase, Kt as OrderByClause, L as NamespaceConfig, Lt as FieldKind, M as KernelMigrationContext, Mn as Row, Mt as Dataset, N as KernelNamespaceContribution, Nn as RowMetadata, Nt as DatasetRegistry, O as FrameEntry, On as ClientSuppliedServerFieldError, Ot as AggFn, P as KernelPlugin, Pn as RowMetadataField, Pt as DeleteResult, Q as ScheduledTaskContext, Qt as TxScopeHandles, R as NamespaceDefinition, Rt as FieldPredicate, S as DropParticipant, Sn as EdgeWriteInput, St as Resolver, T as EngineHandle, Tn as OnMissing, Tt as RowFilterObligation, U as PostWriteHook, Ut as FrameAgg, V as PluginLifecycleContext, Vt as FilterWriteOptions, W as QualifiedFrame, Wt as IndexPlan, X as RegistryEntryResolver, Xt as RefOperand, Y as RegistryEntryKind, Yt as ReadResult, Z as ScheduledTask, Zt as StorageReport, _ as naturalOrderOf, _n as TypeStats, _t as Obligation, a as FieldDefCrossRef, an as WalkNode, at as RequestObserver, b as CommittedWritesHook, bn as EdgePatch, bt as PolicyProbeContext, c as FieldDefStruct, cn as WriteOptions, ct as SubstrateRequest, d as OrderedBy, dn as ResolveObservation, dt as TlsConfig, en as TypeStorageReport, et as VirtualTypeDef, f as PackEnvelope, fn as ResolverStat, ft as WsConnection, g as isColumnField, gn as SlowRequest, gt as Identity, h as TypeSchema, hn as RuntimeMetrics, ht as AutoCrudVerb, i as FieldDef, in as WalkAggPredicate, it as RequestObservation, j as KernelMigration, jn as ROW_METADATA_FIELDS, jt as DEFAULT_FILTER_WRITE_LIMITS, k as IndexDecl, kn as Id, kt as BucketSpec, l as FieldInput, ln as WriteResult, lt as SubstrateResponse, m as Schema, mn as RuntimeErrors, mt as AfterTxWork, n as Dropped, nn as WalkAgg, nt as HttpMethod, o as FieldDefList, on as WalkPick, ot as RuntimeOp, p as PlanClause, pn as RuntimeErrorEntry, pt as WsHandler, q as RegistryEntry, qt as PromotionEvent, r as EnvelopeShape, rn as WalkAggOperand, rt as PluginRouter, s as FieldDefScalar, sn as WhereClause, st as StartOpts, t as DEFAULT_ORDERED_BY, tn as UpdateFieldRef, tt as HttpHandler, u as MutationSchema, un as ProcessStat, ut as SubstrateServer, v as BatchResolver, vn as CanDeleteResult, vt as Policy, w as EncodeContext, wn as OnDelete, wt as ResolverReturn, x as CoordinatorPlugin, xn as EdgeRef, xt as RequestContext, y as CommittedWriteBatch, yn as Edge, yt as PolicyDecision, z as NamespaceInstallContext, zt as FilterCapabilities } from "./schema-B--_bHjn.js";
2
+ import { i as BridgeFrame, n as BridgeCredential, r as BridgeCredentialStore, t as BridgeClient } from "./bridge-CvZGzNIO.js";
3
+ import { S as isRestrictViolation, _ as WALK_UNSUPPORTED_REF, a as NamespaceMismatch, b as isBatchElementError, c as ReservedField, d as UnsupportedFilterError, f as WALKS_IN_MUTATION, g as WALK_BUDGET_EXCEEDED, h as WALKS_UNSUPPORTED_STORE, i as MissingReferentError, l as ResolverFrameError, m as WALKS_NEED_PARTITIONED, n as BridgeUnreachableError, o as QUERY_TIMEOUT, p as WALKS_IN_SUBSCRIPTION, r as FILTER_TOO_BROAD, s as ROW_POLICY_BLOCKS_WALK, t as BatchElementError, u as RestrictViolation, v as filterTooBroad, x as isResolverFrameError, y as isAuthCause } from "./errors-BXxm9eZF.js";
4
+ import { a as WsResponseFrame, c as ResolveTarget, d as TargetState, f as IdempotencyStore, i as WsRequestFrame, l as SweepDeps, n as WS_REASON_SERVER_RESTART, o as WsResponseKind, r as WS_REASON_SUBSCRIPTION_OVERLOADED, s as BridgeRegistry, t as WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, u as SweepState } from "./ws-CpHWxwp9.js";
5
+ import { $ as NlJudgeAction, A as and, B as SYSTEM_NAMESPACE, C as flattenGrant, D as parseGrantEntries, E as intersectGrants, F as TokenProviderOpts, G as resolveAdminCredential, H as isActiveAdminKeyRow, I as adminClaimCapabilities, J as NlAggregate, K as resolveDefaultKeyPath, L as isEncryptedKey, M as or, N as ADMIN_CAPABILITIES, O as decodeList, P as DEFAULT_CAPABILITIES, Q as NlFieldPhrase, R as makeAuthorizationProvider, S as expandFlat, T as grantIsUniform, U as AdminCredential, V as describeGrant, W as AdminEnv, X as NlAskResult, Y as NlAskRequest, Z as NlEvidence, _ as newlyGrantedPairs, _t as NLVocabularyHint, a as denyAll, at as NlOutcome, b as capabilitiesFor, c as requireIdentity, ct as NlPackValueRef, d as KeyUpdateRefusal, dt as NlServedPack, et as NlJudgeChoice, f as checkRevocable, ft as NlTrailEvent, g as newlyGranted, gt as NLResult, h as grantEntriesConfer, ht as NLBase, i as allowVerbs, it as NlNamespaceRulings, j as not, k as encodeList, l as requireNamespace, lt as NlParseStatus, m as grantCovers, mt as NlWireEvent, n as row, nt as NlJudgedStatus, o as denyVerbs, ot as NlPackField, p as checkUpdatable, pt as NlValueAlias, q as resolveDefaultKidPath, r as allowAll, rt as NlNamespacePack, s as requireCapability, st as NlPackType, t as applyRowFilters, tt as NlJudgeStep, u as KeyMutationRefusal, ut as NlParsedData, v as revokedAtIso, vt as Query, w as grantEntryError, x as encodeGrant, y as Grant, z as makeTokenProvider } from "./row-Dh57ShWL.js";
6
6
  //#region ../../packages/substrate-types/src/assert-never.d.ts
7
7
  /**
8
8
  * Exhaustiveness guard for the `default:` arm of a `switch` over a
@@ -843,4 +843,4 @@ export declare function resolveEntityId(dataset: Dataset, type: string, input: I
843
843
  */
844
844
  export declare function resolveEntityRow(dataset: Dataset, type: string, input: Id): Promise<Row | null>;
845
845
  //#endregion
846
- export { ADMIN_CAPABILITIES, ActorIdentity, type AdminCredential, type AdminEnv, AfterTxWork, AggFn, AutoCrudVerb, BatchElementError, BatchResolver, BridgeClient, BridgeCredential, BridgeCredentialStore, BridgeFrame, BridgeRegistry, BridgeUnreachableError, BucketSpec, CLIENT_SUPPLIED_SERVER_FIELD, CanDeleteResult, ClientSuppliedServerFieldError, CommittedWriteBatch, CommittedWritesHook, ConditionalUpdateResult, CoordinatorPlugin, type CrossRefFieldOptions, DEFAULT_CAPABILITIES, DEFAULT_FILTER_WRITE_LIMITS, DEFAULT_ORDERED_BY, Dataset, DatasetRegistry, type DateFieldOptions, type DefineNamespaceOptions, DeleteResult, type DeleteRowArgs, type DeleteRowResult, DeriveSpec, DropParticipant, DropResult, Dropped, Edge, EdgePatch, EdgeRef, EdgeWriteInput, EdgesStore, EmbedSourceContext, EncodeContext, EngineHandle, EngineInput, EnvelopeShape, FILTER_TOO_BROAD, FieldDef, FieldDefCrossRef, FieldDefList, FieldDefScalar, FieldDefStruct, FieldInput, FieldKind, FieldPredicate, FilterCapabilities, FilterOperatorDef, FilterWriteLimits, type FilterWriteMutationResult, FilterWriteOptions, FilterWriteResult, FrameAgg, FrameEntry, type Grant, HttpHandler, HttpMethod, Id, IdempotencyStore, Identity, IdentityKind, IndexDecl, IndexPlan, type JsonFieldOptions, KernelLifecycleContext, KernelMigration, KernelMigrationContext, KernelNamespaceContribution, KernelPlugin, KernelRouteClaim, type KeyMutationRefusal, type KeyUpdateRefusal, type ListFieldOptions, McpToolRegistration, MissingReferentError, MutationSchema, NLBase, NLResult, NLVocabularyHint, NamespaceConfig, NamespaceDefinition, NamespaceInstallContext, NamespaceMismatch, NamespaceTypeDef, NestedSelection, NlAskRequest, NlAskResult, NlEvidence, NlFieldPhrase, NlJudgeAction, NlJudgeChoice, NlJudgeStep, NlJudgedStatus, NlNamespacePack, NlNamespaceRulings, NlOutcome, NlPackField, NlPackType, NlPackValueRef, NlParseStatus, NlParsedData, NlServedPack, NlTrailEvent, NlValueAlias, NlWireEvent, Obligation, OnDelete, OnMissing, OrderByClause, OrderedBy, PackEnvelope, PlanClause, PluginLifecycleContext, PluginRouteContext, PluginRouter, Policy, PolicyDecision, PolicyProbeContext, PostWriteHook, ProcessStat, PromotionEvent, QUERY_TIMEOUT, QualifiedFrame, Query, ROW_METADATA_FIELDS, ROW_POLICY_BLOCKS_WALK, ReadParams, ReadResult, RefOperand, Registry, RegistryBase, RegistryEntry, RegistryEntryInput, RegistryEntryKind, RegistryEntryResolver, RequestContext, RequestObservation, RequestObserver, ReservedField, ResolveObservation, ResolveTarget, Resolver, ResolverArgs, ResolverFrameError, ResolverReturn, ResolverStat, RestrictViolation, Row, RowFilterObligation, RowMetadata, RowMetadataField, RuntimeErrorEntry, RuntimeErrors, RuntimeMetrics, RuntimeOp, SYSTEM_NAMESPACE, type ScalarFieldOptions, ScheduledTask, ScheduledTaskContext, Schema, SlowRequest, StartOpts, StorageReport, type StructFieldOptions, SubstrateRequest, SubstrateResponse, SubstrateServer, SweepDeps, SweepState, TargetState, TlsConfig, type TokenProviderOpts, TxScopeHandles, TypeIndexState, type TypeInput, TypeSchema, TypeStats, TypeStorageReport, TypedResolver, UnsupportedFilterError, UpdateFieldRef, type UpdateResolverOptions, VirtualMutationDef, VirtualTypeDef, WALKS_IN_MUTATION, WALKS_IN_SUBSCRIPTION, WALKS_NEED_PARTITIONED, WALKS_UNSUPPORTED_STORE, WALK_BUDGET_EXCEEDED, WALK_UNSUPPORTED_REF, WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, WS_REASON_SERVER_RESTART, WS_REASON_SUBSCRIPTION_OVERLOADED, WalkAgg, WalkAggOperand, WalkAggPredicate, WalkNode, WalkPick, WhereClause, WriteEvent, WriteOptions, WriteResult, WriteRow, WsConnection, WsHandler, WsRequestFrame, WsResponseFrame, WsResponseKind, adminClaimCapabilities, allowAll, allowVerbs, and, applyRowFilters, assertNoRepeatedIds, capabilitiesFor, checkRevocable, checkUpdatable, decodeList, denyAll, denyVerbs, describeGrant, encodeGrant, encodeList, expandFlat, filterTooBroad, flattenGrant, grantCovers, grantEntriesConfer, grantEntryError, grantIsUniform, intersectGrants, isActiveAdminKeyRow, isAuthCause, isBatchElementError, isColumnField, isEncryptedKey, isResolverFrameError, isRestrictViolation, makeAuthorizationProvider, makeTokenProvider, naturalOrderOf, newlyGranted, newlyGrantedPairs, not, or, parseGrantEntries, requireCapability, requireIdentity, requireNamespace, resolveAdminCredential, resolveDefaultKeyPath, resolveDefaultKidPath, revokedAtIso, row };
846
+ export { ADMIN_CAPABILITIES, ActorIdentity, type AdminCredential, type AdminEnv, AfterTxWork, AggFn, AutoCrudVerb, BatchElementError, BatchResolver, BridgeClient, BridgeCredential, BridgeCredentialStore, BridgeFrame, BridgeRegistry, BridgeUnreachableError, BucketSpec, CLIENT_SUPPLIED_SERVER_FIELD, CanDeleteResult, ClientSuppliedServerFieldError, CommittedWriteBatch, CommittedWritesHook, ConditionalUpdateResult, CoordinatorPlugin, type CrossRefFieldOptions, DEFAULT_CAPABILITIES, DEFAULT_FILTER_WRITE_LIMITS, DEFAULT_ORDERED_BY, Dataset, DatasetRegistry, type DateFieldOptions, type DefineNamespaceOptions, DeleteResult, type DeleteRowArgs, type DeleteRowResult, DeriveSpec, DropParticipant, DropResult, Dropped, Edge, EdgePatch, EdgeRef, EdgeWriteInput, EdgesStore, EmbedSourceContext, EncodeContext, EngineHandle, EngineInput, EnvelopeShape, FILTER_TOO_BROAD, FieldDef, FieldDefCrossRef, FieldDefList, FieldDefScalar, FieldDefStruct, FieldInput, FieldKind, FieldPredicate, FilterCapabilities, FilterOperatorDef, FilterWriteLimits, type FilterWriteMutationResult, FilterWriteOptions, FilterWriteResult, FrameAgg, FrameEntry, type Grant, HttpHandler, HttpMethod, Id, IdempotencyStore, Identity, IdentityKind, IndexDecl, IndexPlan, type JsonFieldOptions, KernelLifecycleContext, KernelMigration, KernelMigrationContext, KernelNamespaceContribution, KernelPlugin, KernelRouteClaim, type KeyMutationRefusal, type KeyUpdateRefusal, type ListFieldOptions, McpToolRegistration, MissingReferentError, MutationSchema, NLBase, NLResult, NLVocabularyHint, NamespaceConfig, NamespaceDefinition, NamespaceInstallContext, NamespaceMismatch, NamespaceTypeDef, NestedSelection, NlAggregate, NlAskRequest, NlAskResult, NlEvidence, NlFieldPhrase, NlJudgeAction, NlJudgeChoice, NlJudgeStep, NlJudgedStatus, NlNamespacePack, NlNamespaceRulings, NlOutcome, NlPackField, NlPackType, NlPackValueRef, NlParseStatus, NlParsedData, NlServedPack, NlTrailEvent, NlValueAlias, NlWireEvent, Obligation, OnDelete, OnMissing, OrderByClause, OrderedBy, PackEnvelope, PlanClause, PluginLifecycleContext, PluginRouteContext, PluginRouter, Policy, PolicyDecision, PolicyProbeContext, PostWriteHook, ProcessStat, PromotionEvent, QUERY_TIMEOUT, QualifiedFrame, Query, ROW_METADATA_FIELDS, ROW_POLICY_BLOCKS_WALK, ReadParams, ReadResult, RefOperand, Registry, RegistryBase, RegistryEntry, RegistryEntryInput, RegistryEntryKind, RegistryEntryResolver, RequestContext, RequestObservation, RequestObserver, ReservedField, ResolveObservation, ResolveTarget, Resolver, ResolverArgs, ResolverFrameError, ResolverReturn, ResolverStat, RestrictViolation, Row, RowFilterObligation, RowMetadata, RowMetadataField, RuntimeErrorEntry, RuntimeErrors, RuntimeMetrics, RuntimeOp, SYSTEM_NAMESPACE, type ScalarFieldOptions, ScheduledTask, ScheduledTaskContext, Schema, SlowRequest, StartOpts, StorageReport, type StructFieldOptions, SubstrateRequest, SubstrateResponse, SubstrateServer, SweepDeps, SweepState, TargetState, TlsConfig, type TokenProviderOpts, TxScopeHandles, TypeIndexState, type TypeInput, TypeSchema, TypeStats, TypeStorageReport, TypedResolver, UnsupportedFilterError, UpdateFieldRef, type UpdateResolverOptions, VirtualMutationDef, VirtualTypeDef, WALKS_IN_MUTATION, WALKS_IN_SUBSCRIPTION, WALKS_NEED_PARTITIONED, WALKS_UNSUPPORTED_STORE, WALK_BUDGET_EXCEEDED, WALK_UNSUPPORTED_REF, WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, WS_REASON_SERVER_RESTART, WS_REASON_SUBSCRIPTION_OVERLOADED, WalkAgg, WalkAggOperand, WalkAggPredicate, WalkNode, WalkPick, WhereClause, WriteEvent, WriteOptions, WriteResult, WriteRow, WsConnection, WsHandler, WsRequestFrame, WsResponseFrame, WsResponseKind, adminClaimCapabilities, allowAll, allowVerbs, and, applyRowFilters, assertNoRepeatedIds, capabilitiesFor, checkRevocable, checkUpdatable, decodeList, denyAll, denyVerbs, describeGrant, encodeGrant, encodeList, expandFlat, filterTooBroad, flattenGrant, grantCovers, grantEntriesConfer, grantEntryError, grantIsUniform, intersectGrants, isActiveAdminKeyRow, isAuthCause, isBatchElementError, isColumnField, isEncryptedKey, isResolverFrameError, isRestrictViolation, makeAuthorizationProvider, makeTokenProvider, naturalOrderOf, newlyGranted, newlyGrantedPairs, not, or, parseGrantEntries, requireCapability, requireIdentity, requireNamespace, resolveAdminCredential, resolveDefaultKeyPath, resolveDefaultKidPath, revokedAtIso, row };
package/dist/sdk.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { $t as BatchElementError, A as field, At as parseJsonBody, B as applyUpdatePatch, Bt as vocabImplication, C as makeCtx, Cn as assertNoRepeatedIds, D as RESERVED_AUTOCRUD_FIELDS, E as selectAll, En as defineBootstrap, Et as JSON_HEADERS, F as deleteManyResolver, Ft as WS_REASON_SUBSCRIPTION_OVERLOADED, G as UnattributedWriteError, Gt as normaliseMetadataWhere, H as purgeResolver, Ht as METADATA_AUTHOR_FIELDS, I as updateManyResolver, It as canonicalVocabValue, J as resolveEntityRow, Jt as isImpossibleIsoTimestamp, K as resolveIdentity, Kt as normaliseWalkNode, L as createResolver, Lt as normaliseVocabValues, M as autoCrudOptionsOf, N as createResolverWithEdges, Nt as WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, O as RESERVED_AUTOCRUD_FIELD_NAMES, Ot as error400, P as installAutoCrud, Pt as WS_REASON_SERVER_RESTART, Qt as validateHardDeleteEnv, R as deleteResolver, Rt as normaliseVocabWhere, S as EngineQueryError, Sn as ROW_METADATA_FIELDS, T as queryOne, Tn as BootstrapConfigError, U as listResolver, Ut as METADATA_FILTER_FIELDS, V as deleteRow, Vt as RegistryBase, W as getResolver, Wt as normaliseMetadataOrderBy, Xt as normalizeIsoTimestamp, Yt as isIsoTimestamp, Zt as assertHardDeleteAllowed, _n as isAuthCause, an as ROW_POLICY_BLOCKS_WALK, b as assertOrderedBy, bn as isRestrictViolation, cn as RestrictViolation, dn as WALKS_IN_SUBSCRIPTION, en as BridgeUnreachableError, fn as WALKS_NEED_PARTITIONED, gn as filterTooBroad, hn as WALK_UNSUPPORTED_REF, in as QUERY_TIMEOUT, j as AutoCrudNameCollisionError, k as isReservedAutoCrudField, kt as jsonResponse, ln as UnsupportedFilterError, mn as WALK_BUDGET_EXCEEDED, nn as MissingReferentError, on as ReservedField, pn as WALKS_UNSUPPORTED_STORE, q as resolveEntityId, qt as createKeyedMutex, rn as NamespaceMismatch, sn as ResolverFrameError, tn as FILTER_TOO_BROAD, un as WALKS_IN_MUTATION, vn as isBatchElementError, w as queryAll, wn as canonicalize, x as defineNamespace, xn as CLIENT_SUPPLIED_SERVER_FIELD, y as assertIndexDecl, yn as isResolverFrameError, z as updateResolver, zt as storedVocabSpellings } from "./src-C4t1Gy-m.js";
2
+ import { $t as BatchElementError, A as field, At as parseJsonBody, B as applyUpdatePatch, Bt as vocabImplication, C as makeCtx, Cn as assertNoRepeatedIds, D as RESERVED_AUTOCRUD_FIELDS, E as selectAll, En as defineBootstrap, Et as JSON_HEADERS, F as deleteManyResolver, Ft as WS_REASON_SUBSCRIPTION_OVERLOADED, G as UnattributedWriteError, Gt as normaliseMetadataWhere, H as purgeResolver, Ht as METADATA_AUTHOR_FIELDS, I as updateManyResolver, It as canonicalVocabValue, J as resolveEntityRow, Jt as isImpossibleIsoTimestamp, K as resolveIdentity, Kt as normaliseWalkNode, L as createResolver, Lt as normaliseVocabValues, M as autoCrudOptionsOf, N as createResolverWithEdges, Nt as WS_CODE_SUBSCRIPTION_UNSUPPORTED_FRAME, O as RESERVED_AUTOCRUD_FIELD_NAMES, Ot as error400, P as installAutoCrud, Pt as WS_REASON_SERVER_RESTART, Qt as validateHardDeleteEnv, R as deleteResolver, Rt as normaliseVocabWhere, S as EngineQueryError, Sn as ROW_METADATA_FIELDS, T as queryOne, Tn as BootstrapConfigError, U as listResolver, Ut as METADATA_FILTER_FIELDS, V as deleteRow, Vt as RegistryBase, W as getResolver, Wt as normaliseMetadataOrderBy, Xt as normalizeIsoTimestamp, Yt as isIsoTimestamp, Zt as assertHardDeleteAllowed, _n as isAuthCause, an as ROW_POLICY_BLOCKS_WALK, b as assertOrderedBy, bn as isRestrictViolation, cn as RestrictViolation, dn as WALKS_IN_SUBSCRIPTION, en as BridgeUnreachableError, fn as WALKS_NEED_PARTITIONED, gn as filterTooBroad, hn as WALK_UNSUPPORTED_REF, in as QUERY_TIMEOUT, j as AutoCrudNameCollisionError, k as isReservedAutoCrudField, kt as jsonResponse, ln as UnsupportedFilterError, mn as WALK_BUDGET_EXCEEDED, nn as MissingReferentError, on as ReservedField, pn as WALKS_UNSUPPORTED_STORE, q as resolveEntityId, qt as createKeyedMutex, rn as NamespaceMismatch, sn as ResolverFrameError, tn as FILTER_TOO_BROAD, un as WALKS_IN_MUTATION, vn as isBatchElementError, w as queryAll, wn as canonicalize, x as defineNamespace, xn as CLIENT_SUPPLIED_SERVER_FIELD, y as assertIndexDecl, yn as isResolverFrameError, z as updateResolver, zt as storedVocabSpellings } from "./src-BMHI_rTJ.js";
3
3
  import { a as adminClaimCapabilities, c as makeTokenProvider, d as resolveDefaultKidPath, i as DEFAULT_CAPABILITIES, l as resolveAdminCredential, n as trimTrailingSlashes, o as isEncryptedKey, r as ADMIN_CAPABILITIES, s as makeAuthorizationProvider, t as parsePositiveInt, u as resolveDefaultKeyPath } from "./env-utils-CGNazUNt.js";
4
4
  import { A as expandFlat, C as not, D as isActiveAdminKeyRow, E as describeGrant, F as parseGrantEntries, I as decodeList, L as encodeList, M as grantEntryError, N as grantIsUniform, O as capabilitiesFor, P as intersectGrants, S as and, T as SYSTEM_NAMESPACE, _ as grantCovers, a as denyAll, b as newlyGrantedPairs, c as requireIdentity, d as confersAnywhere, f as coversNamespace, g as checkUpdatable, h as checkRevocable, i as allowVerbs, j as flattenGrant, k as encodeGrant, l as requireNamespace, m as grantedIn, n as row, o as denyVerbs, p as grantOf, r as allowAll, s as requireCapability, t as applyRowFilters, u as allCapabilities, v as grantEntriesConfer, w as or, x as revokedAtIso, y as newlyGranted } from "./src-Bi3NhEsT.js";
5
5
  import { C as formatQualifiedKey, E as assertNever, S as naturalOrderOf, T as DEFAULT_FILTER_WRITE_LIMITS, b as DEFAULT_ORDERED_BY, w as parseQualifiedKey, x as isColumnField } from "./src-DWqzrm3O.js";
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { A as field, D as RESERVED_AUTOCRUD_FIELDS, Et as JSON_HEADERS, K as resolveIdentity, M as autoCrudOptionsOf, O as RESERVED_AUTOCRUD_FIELD_NAMES, P as installAutoCrud, Z as publishSchema, b as assertOrderedBy, d as uuidFromName, f as emitFieldEvents, l as planServesShape, p as migrateFieldValues, sn as ResolverFrameError, wn as canonicalize$1, x as defineNamespace, y as assertIndexDecl } from "./src-C4t1Gy-m.js";
2
+ import { A as field, D as RESERVED_AUTOCRUD_FIELDS, Et as JSON_HEADERS, K as resolveIdentity, M as autoCrudOptionsOf, O as RESERVED_AUTOCRUD_FIELD_NAMES, P as installAutoCrud, Z as publishSchema, b as assertOrderedBy, d as uuidFromName, f as emitFieldEvents, l as planServesShape, p as migrateFieldValues, sn as ResolverFrameError, wn as canonicalize$1, x as defineNamespace, y as assertIndexDecl } from "./src-BMHI_rTJ.js";
3
3
  import { s as requireCapability } from "./src-Bi3NhEsT.js";
4
4
  import "./src-DWqzrm3O.js";
5
5
  import { randomUUID } from "node:crypto";
@@ -4776,13 +4776,19 @@ function validateFrameParams(p, scope, h) {
4776
4776
  }
4777
4777
  const derived = /* @__PURE__ */ new Set();
4778
4778
  if (p.derive !== void 0) {
4779
- if (!isObj$1(p.derive)) fail("derive_invalid", "derive maps names to { diff } or { ratio }", ["derive"]);
4779
+ if (!isObj$1(p.derive)) fail("derive_invalid", "derive maps names to { diff }, { ratio } or { value }", ["derive"]);
4780
4780
  for (const [n, spec] of Object.entries(p.derive)) {
4781
4781
  const at = ["derive", n];
4782
4782
  if (!IDENT.test(n)) fail("derive_invalid", `derive name '${n}' must be an identifier`, at);
4783
4783
  const entries = isObj$1(spec) ? Object.entries(spec) : [];
4784
4784
  const [op, operands] = entries[0] ?? [];
4785
- if (entries.length !== 1 || op !== "diff" && op !== "ratio" || !Array.isArray(operands) || operands.length !== 2) fail("derive_invalid", "a derive is { diff: [a, b] } or { ratio: [a, b] }", at);
4785
+ if (entries.length === 1 && op === "value") {
4786
+ if (typeof operands !== "string") fail("derive_invalid", "a derive { value } takes one operand such as '_agg.x'", at);
4787
+ deriveOperand(operands, [...at, op], scope, h);
4788
+ derived.add(n);
4789
+ continue;
4790
+ }
4791
+ if (entries.length !== 1 || op !== "diff" && op !== "ratio" || !Array.isArray(operands) || operands.length !== 2) fail("derive_invalid", "a derive is { diff: [a, b] }, { ratio: [a, b] } or { value: a }", at);
4786
4792
  operands.forEach((o, i) => {
4787
4793
  deriveOperand(o, [
4788
4794
  ...at,
@@ -14546,6 +14552,7 @@ var MemoryDataset = class MemoryDataset {
14546
14552
  return typeof v === "number" ? v : null;
14547
14553
  };
14548
14554
  const values = Object.entries(derive).map(([name, spec]) => {
14555
+ if ("value" in spec) return [`$${name}`, operand(spec.value)];
14549
14556
  const [op, [a, b]] = Object.entries(spec)[0];
14550
14557
  const x = operand(a);
14551
14558
  const y = operand(b);
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __binCreateRequire } from 'node:module'; const require = __binCreateRequire(import.meta.url);
2
- import { Cn as assertNoRepeatedIds, Ct as applyExtensionResultMeta, St as fullBuiltinOperators, Xt as normalizeIsoTimestamp, at as windowGroupBy, bt as encodeCursor, ct as groupConjuncts, dt as preResolveExtensionOperatorsDetailed, ft as assertJsonPathPredicate, gn as filterTooBroad, hn as WALK_UNSUPPORTED_REF, in as QUERY_TIMEOUT, it as sharedPicks, ln as UnsupportedFilterError, lt as isRefOperand, on as ReservedField, ot as isDateField, pt as isJsonPathPredicate, qt as createKeyedMutex, rn as NamespaceMismatch, rt as forEachWalkHop, sn as ResolverFrameError, st as bindingWalks, ut as refNames, vt as CursorDecodeError, wt as fieldRequested, xt as normalizeOrderBy, yt as decodeCursor } from "./src-C4t1Gy-m.js";
2
+ import { Cn as assertNoRepeatedIds, Ct as applyExtensionResultMeta, St as fullBuiltinOperators, Xt as normalizeIsoTimestamp, at as windowGroupBy, bt as encodeCursor, ct as groupConjuncts, dt as preResolveExtensionOperatorsDetailed, ft as assertJsonPathPredicate, gn as filterTooBroad, hn as WALK_UNSUPPORTED_REF, in as QUERY_TIMEOUT, it as sharedPicks, ln as UnsupportedFilterError, lt as isRefOperand, on as ReservedField, ot as isDateField, pt as isJsonPathPredicate, qt as createKeyedMutex, rn as NamespaceMismatch, rt as forEachWalkHop, sn as ResolverFrameError, st as bindingWalks, ut as refNames, vt as CursorDecodeError, wt as fieldRequested, xt as normalizeOrderBy, yt as decodeCursor } from "./src-BMHI_rTJ.js";
3
3
  import { S as naturalOrderOf, x as isColumnField } from "./src-DWqzrm3O.js";
4
4
  import { createHash, randomUUID } from "node:crypto";
5
5
 
@@ -4686,7 +4686,7 @@ function refOperand(sql, field, op, ref, kind, scope) {
4686
4686
  /**
4687
4687
  * A `params.derive` value for the seed row, as float8: `diff` is a − b and
4688
4688
  * `ratio` a / b, NULL for a null or non-numeric operand or a zero divisor, as
4689
- * memory's. Operands are `$.<field>` or `_agg.<name>`, read as `$ref`s are.
4689
+ * memory's; `value` is its one operand as it is. Operands are `$.<field>` or `_agg.<name>`, read as `$ref`s are.
4690
4690
  *
4691
4691
  * As memory's: a magnitude outside [1e-300, 1e300] is NULL, and 0 stays only
4692
4692
  * when exact (x = y, or a zero numerator). float8 raises on overflow and on a
@@ -4696,6 +4696,7 @@ function refOperand(sql, field, op, ref, kind, scope) {
4696
4696
  * One expression, so ORDER BY, the cursor compare and the null tail share it.
4697
4697
  */
4698
4698
  function buildDerive(sql, name, spec, scope) {
4699
+ if ("value" in spec) return refOperand(sql, `$${name}`, "value", { $ref: spec.value }, "number", scope);
4699
4700
  const [op, [a, b]] = Object.entries(spec)[0];
4700
4701
  const operand = (r) => refOperand(sql, `$${name}`, op, { $ref: r }, "number", scope);
4701
4702
  return sql`(SELECT ${op === "diff" ? sql.unsafe(`CASE WHEN sign(x) * sign(y) >= 0 OR greatest(abs(x), abs(y)) <= 1e307
@@ -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-CSe2tJDf.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-BLm5IRdX.js";
2
+ import { a as guardedRefRead, c as whileNoTypeTable, n as txScopeIdFor, s as typeTableRef } from "./src-CZQ25H4i.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-Dpa_Y7Ep.js";
4
4
 
5
5
  //#region ../../plugins/substrate-recall/package.json
6
- var version = "1.0.0-alpha.14";
6
+ var version = "1.0.0-alpha.15";
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-BfBC4joY.js").then(({ runAdminCli }) => runAdminCli());
40
+ import("./run-BTdS6Z6i.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-CgkTBEN0.js").then(({ runCli }) => runCli(process.argv.slice(2))).then((code) => process.exit(code));
7
+ import("./cli-6evrDG1o.js").then(({ runCli }) => runCli(process.argv.slice(2))).then((code) => process.exit(code));
8
8
 
9
9
  //#endregion
10
10
  export { };
package/dist/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { At as ConditionalUpdateResult, Bt as FilterWriteLimits, Cn as EdgesStore, Ct as ResolverArgs, Dt as WriteEvent, E as EngineInput, En as ActorIdentity, Fn as WriteRow, G as Registry$1, Ht as FilterWriteResult, It as DropResult, J as RegistryEntryInput, Jt as ReadParams, K as RegistryBase, L as NamespaceConfig, Mn as Row, Mt as Dataset, Nt as DatasetRegistry, P as KernelPlugin, Pt as DeleteResult, Qt as TxScopeHandles, S as DropParticipant, Sn as EdgeWriteInput, T as EngineHandle, Vt as FilterWriteOptions, W as QualifiedFrame, Wt as IndexPlan, Yt as ReadResult, Z as ScheduledTask, Zt as StorageReport, _n as TypeStats, at as RequestObserver, b as CommittedWritesHook, bn as EdgePatch, bt as PolicyProbeContext, cn as WriteOptions, ct as SubstrateRequest, d as OrderedBy, dn as ResolveObservation, en as TypeStorageReport, f as PackEnvelope, fn as ResolverStat, ft as WsConnection, gn as SlowRequest, gt as Identity, i as FieldDef, k as IndexDecl, kn as Id, ln as WriteResult, lt as SubstrateResponse, m as Schema, mn as RuntimeErrors, nt as HttpMethod, ot as RuntimeOp, pt as WsHandler, q as RegistryEntry, qt as PromotionEvent, rt as PluginRouter, sn as WhereClause, st as StartOpts, tn as UpdateFieldRef, tt as HttpHandler, un as ProcessStat, ut as SubstrateServer, vn as CanDeleteResult, x as CoordinatorPlugin, xn as EdgeRef, xt as RequestContext, yn as Edge, yt as PolicyDecision, zt as FilterCapabilities } from "./schema-oXfQyo0s.js";
2
- import { a as WsResponseFrame, f as IdempotencyStore, l as SweepDeps, s as BridgeRegistry, u as SweepState } from "./ws-Dx3A2B4U.js";
1
+ import { At as ConditionalUpdateResult, Bt as FilterWriteLimits, Cn as EdgesStore, Ct as ResolverArgs, Dt as WriteEvent, E as EngineInput, En as ActorIdentity, Fn as WriteRow, G as Registry$1, Ht as FilterWriteResult, It as DropResult, J as RegistryEntryInput, Jt as ReadParams, K as RegistryBase, L as NamespaceConfig, Mn as Row, Mt as Dataset, Nt as DatasetRegistry, P as KernelPlugin, Pt as DeleteResult, Qt as TxScopeHandles, S as DropParticipant, Sn as EdgeWriteInput, T as EngineHandle, Vt as FilterWriteOptions, W as QualifiedFrame, Wt as IndexPlan, Yt as ReadResult, Z as ScheduledTask, Zt as StorageReport, _n as TypeStats, at as RequestObserver, b as CommittedWritesHook, bn as EdgePatch, bt as PolicyProbeContext, cn as WriteOptions, ct as SubstrateRequest, d as OrderedBy, dn as ResolveObservation, en as TypeStorageReport, f as PackEnvelope, fn as ResolverStat, ft as WsConnection, gn as SlowRequest, gt as Identity, i as FieldDef, k as IndexDecl, kn as Id, ln as WriteResult, lt as SubstrateResponse, m as Schema, mn as RuntimeErrors, nt as HttpMethod, ot as RuntimeOp, pt as WsHandler, q as RegistryEntry, qt as PromotionEvent, rt as PluginRouter, sn as WhereClause, st as StartOpts, tn as UpdateFieldRef, tt as HttpHandler, un as ProcessStat, ut as SubstrateServer, vn as CanDeleteResult, x as CoordinatorPlugin, xn as EdgeRef, xt as RequestContext, yn as Edge, yt as PolicyDecision, zt as FilterCapabilities } from "./schema-B--_bHjn.js";
2
+ import { a as WsResponseFrame, f as IdempotencyStore, l as SweepDeps, s as BridgeRegistry, u as SweepState } from "./ws-CpHWxwp9.js";
3
3
  import { t as Embedder } from "./types-8c0gtnd2.js";
4
4
  import { Sql, TransactionSql } from "postgres";
5
5
  //#region ../../packages/substrate-compose/src/auth.d.ts
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
- import { Mt as signHs256, Pt as WS_REASON_SERVER_RESTART, X as loadPlugins, Y as MemoryEdgesStore, c as MemoryDataset, s as compose } from "./src-C4t1Gy-m.js";
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-CSe2tJDf.js";
5
- import { t as PgEdgesStore } from "./pg-edges-store-B4FSN9yp.js";
4
+ import { _ as runDerivedMigrations, m as deriveListIndexMigration, t as PgDataset, v as runMigrations } from "./src-CZQ25H4i.js";
5
+ import { t as PgEdgesStore } from "./pg-edges-store-DHbpr8QY.js";
6
6
  import { t as FakeEmbedder } from "./fake-DUVtKVSE.js";
7
7
  import { randomUUID } from "node:crypto";
8
8
  import postgres from "postgres";
@@ -1,5 +1,5 @@
1
- import { Cn as EdgesStore, Nt as DatasetRegistry, f as PackEnvelope, kn as Id, l as FieldInput, xn as EdgeRef } from "./schema-oXfQyo0s.js";
2
- import { t as BridgeClient } from "./bridge-DQyQ6Qhn.js";
1
+ import { Cn as EdgesStore, Nt as DatasetRegistry, f as PackEnvelope, kn as Id, l as FieldInput, xn as EdgeRef } from "./schema-B--_bHjn.js";
2
+ import { t as BridgeClient } from "./bridge-CvZGzNIO.js";
3
3
  //#region ../../packages/substrate-types/src/idempotency.d.ts
4
4
  interface IdempotencyStore {
5
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnmal-ai/substrate",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.15",
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,25 +36,25 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@inquirer/prompts": "^8.7.2",
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
- "@mnmal-ai/surface-core": "0.15.0",
39
+ "@mnmal-ai/substrate-bootstrap": "1.0.0-alpha.15",
40
+ "@mnmal-ai/substrate-client": "1.0.0-alpha.15",
41
+ "@mnmal-ai/substrate-compose": "1.0.0-alpha.15",
42
+ "@mnmal-ai/substrate-config": "1.0.0-alpha.15",
43
+ "@mnmal-ai/substrate-core": "1.0.0-alpha.15",
44
+ "@mnmal-ai/substrate-dataset-memory": "1.0.0-alpha.15",
45
+ "@mnmal-ai/substrate-dataset-pg": "1.0.0-alpha.15",
46
+ "@mnmal-ai/substrate-embedder": "1.0.0-alpha.15",
47
+ "@mnmal-ai/substrate-filter": "1.0.0-alpha.15",
48
+ "@mnmal-ai/substrate-pack": "1.0.0-alpha.15",
49
+ "@mnmal-ai/substrate-policy": "1.0.0-alpha.15",
50
+ "@mnmal-ai/substrate-proposals": "1.0.0-alpha.15",
51
+ "@mnmal-ai/substrate-recall": "1.0.0-alpha.15",
52
+ "@mnmal-ai/substrate-sdk": "1.0.0-alpha.15",
53
+ "@mnmal-ai/substrate-sentinel-client": "1.0.0-alpha.15",
54
+ "@mnmal-ai/substrate-server-fastify": "1.0.0-alpha.15",
55
+ "@mnmal-ai/substrate-server-memory": "1.0.0-alpha.15",
56
+ "@mnmal-ai/substrate-types": "1.0.0-alpha.15",
57
+ "@mnmal-ai/surface-core": "0.16.0",
58
58
  "@types/node": "^26.6.4",
59
59
  "@types/semver": "^7.5.0",
60
60
  "@types/ws": "^8.18.1",