@niscorp/vex 0.4.3 → 0.4.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @niscorp/vex
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 637d412: **A vex read returns stamped JSON columns upgraded.** A JSON column whose values carry the grammar stamp they were written at in another JSON column of the row can now be named once on the engine, with a strata upgrader beside it: `createQueryEngine({ upgrader: await createUpgrader(grammars, { transform: evaluate }), upgradedColumns: { answers: { plan: { stamp: 'grammar', kind: 'acme.answers/plan' } } } })`. A kind can also be read from the row: `kind: { grammar: 'acme.notes', column: 'kind' }`. Every read that returns the column (a replay, a generated read, a reactive read's every answer, `engine.test`) hands its mapping and its caller the value upgraded, with the stamp set to the stamp the upgrade gives back. A read returns the column only as one of its own fields, with its stamp (and kind) column beside it; vex refuses any other read of it when the read is compiled. A row that does not upgrade refuses the read, or, where the column says `unreadable: 'omit'` or `'null'`, is left out or has that value set to null, with a line in `meta.warnings`. New exports: `UpgradedColumnsSchema`, `UNREADABLE_MODES`, and the types `UpgradedColumn`, `UpgradedColumns`, `ColumnUpgrader`.
8
+
9
+ **Moss takes them on the manifest.** `defineApp({ upgradedColumns })` hands them to the app's engine and to the one that answers intents, with the upgrader moss builds from nova's, Prism's and vex's grammars and the app's `grammars`. Only the app's own tables can be named. The boot is refused where a table named is a feature's, the artifactory's or the generation pointer's (their owners read them as stored), where a kind is in none of those grammars, where a column or its stamp is not a json column of the database, or where a seeded read does not compile: an app that names `upgradedColumns` has every seeded read compiled at boot and on a refresh, so a read of an upgraded column that vex refuses stops the boot rather than its first replay.
10
+
11
+ **The rulebook** says so under "Using Vex" and in rule 19.
12
+
13
+ **What to change:** nothing. An app or engine that names no `upgradedColumns` reads every column as stored, as before. No grammar, table, entry or cache format changes.
14
+
15
+ ## 0.4.4
16
+
17
+ ### Patch Changes
18
+
19
+ - d70f22c: The docs say entries are keyed by fingerprint (a minted one is replaced like a named one when the request differs), `MapToShape` takes `intent`, the mapping agent retries up to three times, and list `exists`, `optional`, `countDistinct`, `invalidate`, `rows` and the `./migrations` entry.
20
+
21
+ **What to change:** nothing. Documentation only.
22
+
3
23
  ## 0.4.3
4
24
 
5
25
  ### Patch Changes
package/DESIGN.md CHANGED
@@ -30,10 +30,11 @@ execute.
30
30
  that still serves any already-cached shape. Cortex (and Signal behind it) is
31
31
  an optional peer dependency, not a hard one; Prism is required, because a
32
32
  stored mapping is Prism IR and the engine executes it.
33
- 3. **Shape-only caching.** The positive cache key is a hash of the request's
34
- *shape* with all values replaced by type tokens. Two requests with the same
35
- structure but different values share a cache entry. Intent is deliberately
36
- excluded from this key.
33
+ 3. **Fingerprint caching.** The positive cache is keyed by a fingerprint,
34
+ minted by the engine (`fp_…`) or named by the caller. A request reuses an
35
+ entry while it matches the stored one: the same intent, the same *shape* with
36
+ all values replaced by type tokens, the same context key names. Context
37
+ values never count, so one entry serves every value. (See *Cache v2*.)
37
38
  4. **Scope is server-side and LLM-invisible.** Access control is injected into
38
39
  the DSL *after* generation, as ordinary filter clauses bound to server
39
40
  `$scope` values. The model cannot see or forge them, so prompt injection
@@ -135,12 +136,13 @@ queries. Top level (`QuerySchema`):
135
136
  - `filter` — a recursive `FilterSchema` union.
136
137
  - `compute` — record of `alias → ComputeExpression` (arithmetic, `concat`,
137
138
  `coalesce`, `case`).
138
- - `aggregate` — record of `alias → AggregateExpression` (`count`/`sum`/`avg`/
139
- `min`/`max`).
139
+ - `aggregate` — record of `alias → AggregateExpression` (`count`/`countDistinct`/
140
+ `sum`/`avg`/`min`/`max`).
140
141
  - `groupBy`, `sort`, `limit`, `distinct`.
141
142
 
142
143
  Filter operators: `eq`/`neq`/`gt`/`gte`/`lt`/`lte`, `in`/`notIn`, `like`/
143
- `ilike`, `isNull`/`isNotNull`, `and`/`or`/`not`, plus `semantic` (vector
144
+ `ilike`, `isNull`/`isNotNull`, `and`/`or`/`not`, `exists` (a correlated subquery),
145
+ `optional` (a condition the caller turns on by supplying context keys), plus `semantic` (vector
144
146
  similarity) and `fuzzy` (string distance). Values are literals, `{ $context }`
145
147
  (caller-provided) or `{ $scope }` (server-injected).
146
148
 
@@ -295,9 +297,9 @@ never change it.
295
297
 
296
298
  - A request WITHOUT a fingerprint generates and caches; the server mints a
297
299
  fingerprint (`fp_…`) and returns it in `meta.cache.fingerprint`.
298
- - A minted fingerprint is an **immutable pin** — embed it and replay the exact
299
- generation forever. Changing the query means proving again and embedding the
300
- new fingerprint. (git: a commit hash.)
300
+ - A minted fingerprint replays its generation for as long as it is sent
301
+ alone. Sent with a request that differs, it is regenerated and replaced like
302
+ a named slot, unless protected.
301
303
  - A caller-chosen fingerprint (any string) is a **mutable named slot** — the
302
304
  name is yours, its content follows your request. (git: a branch.)
303
305
  - Intent NEVER keys anything: natural language is fake identity in both
@@ -609,9 +611,10 @@ exported from the `@niscorp/vex/agent` subpath — `createQueryDsl` (fills
609
611
  `createQueryDsl` wraps it into the `generateDsl` hook.
610
612
  - The **mapping agent** is Prism's exported `mappingAgent`; `createShapeMapper`
611
613
  builds the same envelope the runtime replays against — `{ result: rows }` for an
612
- array shape, `{ result: rows[0] ?? null }` for an object shape — runs the agent
613
- once, with the intent as its `notes`, to get a transform config, compiles it to IR, and applies the IR once over
614
- that envelope. A flat shape whose fields the rows carry is mapped by Prism with no model call, its declared
614
+ array shape, `{ result: rows[0] ?? null }` for an object shape — runs the agent,
615
+ with the intent as its `notes`, to get a transform config, compiles it to IR, and applies the IR once over
616
+ that envelope. A config that fails to compile or run on the rows sends the agent round again with the error in
617
+ its notes, up to three attempts (`MAPPING_ATTEMPTS`). A flat shape whose fields the rows carry is mapped by Prism with no model call, its declared
615
618
  fields computed from the stored ones; the agent writes the mapping for any other.
616
619
 
617
620
  > The reference agents are a separate concern from the deterministic core: they
@@ -718,8 +721,13 @@ src/
718
721
  agent/ Reference Cortex agents (exported via ./agent)
719
722
  query.agent.ts defineAgent: vexQueryDslAgent (vex.query → Query)
720
723
  tools.ts the six query tools
724
+ compact.ts compactSchema, compactSpec — the schema and DSL spec as compact text
725
+ declared.ts declaredMapping, storedShape — fields a shape declares as prism expressions
721
726
  index.ts createQueryDsl, createShapeMapper, vexQueryDslAgent
722
727
 
728
+ migrations/
729
+ index.ts VEX_SEQUENCE, VEX_SCHEMAS — an entry as a stored document (./migrations)
730
+
723
731
  utils/
724
732
  context.ts buildValidationContext, resolveParams
725
733
  canonical.ts canonical JSON text + hash
@@ -737,7 +745,7 @@ scripts/ Dev-only: docker, seed, dev server, fixtures
737
745
  | `zod` | peer (required) | Schema validation + JSON Schema generation |
738
746
  | `pg` | peer (optional) | A Postgres pool for the adapter and the cache; `@niscorp/vex/pg` imports it |
739
747
  | `hono` | peer (optional) | Hono framework adapter |
740
- | `express` | peer (optional) | Express framework adapter |
748
+ | `express` | none | `@niscorp/vex/express` imports nothing from Express; it types the request and response it uses |
741
749
  | `@niscorp/cortex` | peer (optional) | Reference query agent (`defineAgent`/`defineTool`, standalone runtime) |
742
750
  | `@niscorp/signal` | via Cortex (its peer) | LLM calls + embeddings |
743
751
  | `@niscorp/prism` | peer (required) | Result mapping (IR compile/execute; `mappingAgent` for the reference mapper) |
package/DOCS.md CHANGED
@@ -15,6 +15,7 @@ In-depth usage guide for `@niscorp/vex`. For the high-level pitch see
15
15
  - [The DSL](#the-dsl)
16
16
  - [Scope policies](#scope-policies)
17
17
  - [Grants and behaviors](#grants-and-behaviors)
18
+ - [Upgraded columns](#upgraded-columns)
18
19
  - [Mutations](#mutations)
19
20
  - [Caching](#caching)
20
21
  - [Wiring the LLM agents](#wiring-the-llm-agents)
@@ -44,8 +45,9 @@ path with no model and no network beyond the database.
44
45
  server-minted (`fp_…`, returned in `meta.cache.fingerprint`) or caller-chosen
45
46
  (a name like `deals/list`). Replaying a fingerprint skips generation entirely
46
47
  and re-runs only the deterministic path — so scope and context stay current
47
- while LLM cost drops to zero. A minted fingerprint is an immutable pin; a
48
- named one is a mutable slot whose content follows your request. Design and
48
+ while LLM cost drops to zero. A fingerprint sent alone replays its generation;
49
+ sent with a request that differs, minted or named, it is regenerated and its
50
+ content replaced. Design and
49
51
  rationale: [DESIGN.md](./DESIGN.md) **Cache v2 — fingerprints**.
50
52
 
51
53
  **Scope is separate from context.** `context` is caller data, visible to the
@@ -157,9 +159,11 @@ type QueryEngineConfig = {
157
159
  cache?: CacheBackend; // default: createMemoryCache()
158
160
  onEvent?: VexEventHandler; // pipeline event stream
159
161
  generateDsl?: (request, schema, caller) => Promise<Query>;
160
- mapToShape?: (rows, shape) => Promise<{ ir: CompiledIr; config: unknown; transformed: JsonValue }>;
162
+ mapToShape?: (rows, shape, intent?) => Promise<{ ir: CompiledIr; config: unknown; transformed: JsonValue }>;
161
163
  embed?: (text, dimensions?) => Promise<number[]>; // text→vector for semantic filters
162
164
  behaviors?: ScopeBehaviors; // which columns a scope key is bound to (see below)
165
+ upgradedColumns?: UpgradedColumns; // JSON columns a read returns upgraded (see below)
166
+ upgrader?: ColumnUpgrader; // strata's Upgrader; required with upgradedColumns
163
167
  rows?: LiveRowsConfig; // the rows cache behind `refresh: 'reactive'`
164
168
  config?: {
165
169
  maxNestingDepth?: number; // default: 2
@@ -200,6 +204,7 @@ type QueryEngineConfig = {
200
204
  `scopeBindings(behaviors, tables, scope)` returns that list for the given
201
205
  tables: one entry per table, column and key, sorted, and only for keys
202
206
  `scope` holds a value for.
207
+ - **`upgradedColumns`** and **`upgrader`**: see [Upgraded columns](#upgraded-columns).
203
208
  - **`rows`** sizes the reactive rows cache — see
204
209
  [Reactive reads](#reactive-reads-refresh).
205
210
  - `defaultLimit` is applied when a DSL omits `limit`. `maxLimit` clamps a larger
@@ -862,6 +867,91 @@ entry declaring a reach no host can resolve is a 500, and a host returning
862
867
  `undefined` is a 403. Falling back to the caller's own reach would be silent,
863
868
  and silence is the whole risk — the read would answer, with too much.
864
869
 
870
+ ## Upgraded columns
871
+
872
+ A JSON column may hold values written at an older grammar, with the stamp each
873
+ was written at in another JSON column of the same row: a strata document (rule
874
+ 19 of the nisc rulebook). `upgradedColumns` names those columns, keyed by
875
+ table and column, and every read that returns one hands it to the mapping, and
876
+ to the caller, upgraded to the grammars of the engine's `upgrader`:
877
+
878
+ ```typescript
879
+ import { createUpgrader } from '@niscorp/strata';
880
+ import { evaluate } from '@niscorp/prism';
881
+
882
+ const engine = createQueryEngine({
883
+ adapter,
884
+ upgrader: await createUpgrader(grammars, { transform: evaluate }),
885
+ upgradedColumns: {
886
+ // The kind is fixed for the column.
887
+ answers: { plan: { stamp: 'grammar', kind: 'acme.answers/plan', unreadable: 'omit' } },
888
+ // The kind is `<grammar>/<the row's value of column>`: `acme.notes/list` for a row whose `kind` is `list`.
889
+ notes: { body: { stamp: 'grammar', kind: { grammar: 'acme.notes', column: 'kind' } } },
890
+ },
891
+ });
892
+ ```
893
+
894
+ `stamp` and `kind.column` name columns of the same table. `UpgradedColumnsSchema`
895
+ is the setting's schema, and `ColumnUpgrader` the part of strata's `Upgrader`
896
+ the engine uses (`upgrade`, `locate`, `stamp`).
897
+
898
+ **Checked at start.** `createQueryEngine` throws `invalid_request` when
899
+ `upgradedColumns` do not parse, when there is no `upgrader`, or when a fixed
900
+ `kind` (or the `grammar` of a kind read from the row) is not one the
901
+ upgrader's grammars declare. `introspect()` throws `execution_error` when a
902
+ column, its stamp or its kind column is not in the database, or when the
903
+ column or its stamp is not `json`/`jsonb`.
904
+
905
+ **What a read must say.** Every query is checked as it is compiled: a replay,
906
+ `engine.compile`, `engine.test` and the generator's own test runs. A seeded
907
+ entry is therefore checked when it is first replayed, unless its app compiles
908
+ it before (moss does, at boot).
909
+
910
+ - A read that returns an upgraded column returns its stamp column too, and for
911
+ a kind read from the row, that column. Otherwise: `invalid_dsl`, naming the
912
+ field to add.
913
+ - An upgraded column is returned only as one of the read's own fields
914
+ (`table.column` or `{ field, as }`). Named anywhere else (a subquery's fields
915
+ or computes, a `compute`, an `aggregate`, a `groupBy`), the read is refused,
916
+ because the value would arrive un-upgraded. A filter or a sort on it, a
917
+ subquery's included, is allowed and compares the stored value.
918
+ - Two values returned under one key (two fields, or a field and a compute or
919
+ aggregate of that name) are refused when the key is an upgraded column, its
920
+ stamp or its kind: give each its own key with `as`.
921
+
922
+ **What a read does.** After the rows come back and before the mapping, each
923
+ row's value is upgraded from the stamp in that row, and every key the stamp was
924
+ returned under is set to the stamp the upgrade gives back, so a caller that
925
+ upgrades the value again changes nothing. A null value is left as it is. This
926
+ holds for a replay, a generated read, every answer a reactive read delivers,
927
+ `engine.test` and the generator's test runs. The rows a reactive read shares
928
+ between callers are not changed. A write's returned rows are as stored.
929
+
930
+ **A row that does not upgrade.** A value does not upgrade when its stamp is
931
+ ahead of the upgrader's grammars (strata's `TOO_NEW`), a migration step fails
932
+ on it (`STEP_FAILED`), its kind is one no grammar declares (`UNKNOWN_KIND`),
933
+ its stamp is neither null nor an object of grammar names to whole numbers, or
934
+ its kind column is not text. The column's `unreadable` says what the read does
935
+ then (`UNREADABLE_MODES`):
936
+
937
+ - `'refuse'` (the default): the whole read fails. Strata's errors are answered
938
+ by `handleQuery` as a 500 with strata's code; a stamp or kind column that is
939
+ not one is vex's `execution_error`, a 400. A reactive read's refetch that
940
+ fails reports `rows.error`, and its followers keep their last answer.
941
+ - `'omit'`: the row is left out, and `meta.warnings` says which of the
942
+ database's rows (counting from 0) and why. A list can come back shorter than
943
+ its `limit`; the "may have been cut" warning counts the rows the database
944
+ returned. A read whose shape is an object answers the first row left, so a
945
+ row left out makes `$.result` the next one: use `'null'` or `'refuse'` where
946
+ that would mislead.
947
+ - `'null'`: the row stays with that value null, and `meta.warnings` says so.
948
+ This column does not change the stamp; another upgraded column of the row
949
+ that shares it may.
950
+
951
+ A reactive read delivers again when only its warnings change.
952
+
953
+ An engine given no `upgradedColumns` returns every column as stored.
954
+
865
955
  ## Mutations
866
956
 
867
957
  Writes are first-class and deliberately narrower than reads: **no generation
@@ -1161,8 +1251,9 @@ The positive cache is keyed by the request's `fingerprint` (see the request
1161
1251
  contract above). There are no cache modes — the body's posture says
1162
1252
  everything:
1163
1253
 
1164
- - **No fingerprint** → generate, cache, mint (`fp_…`). The mint is an
1165
- immutable pin: embed it and replay that exact generation forever.
1254
+ - **No fingerprint** → generate, cache, mint (`fp_…`). Sent alone, the mint
1255
+ replays that generation; sent with a differing request, it is replaced like
1256
+ any named fingerprint.
1166
1257
  - **Fingerprint alone** → replay-or-`cache_miss`. Never generates. Context
1167
1258
  values may vary per call — sorting and parameterized reloads are legal
1168
1259
  against one cached DSL.
@@ -1402,7 +1493,7 @@ free-form requests.
1402
1493
 
1403
1494
  ```typescript
1404
1495
  type GenerateDsl = (request: QueryRequest, schema: DatabaseSchema, caller: GenerationCaller) => Promise<Query>;
1405
- type MapToShape = (rows: Row[], shape: unknown) =>
1496
+ type MapToShape = (rows: Row[], shape: unknown, intent?: string) =>
1406
1497
  Promise<{ ir: CompiledIr; config: unknown; transformed: JsonValue }>;
1407
1498
 
1408
1499
  type GenerationCaller = {
package/README.md CHANGED
@@ -81,6 +81,8 @@ engine.test(dsl, scope?); // Promise<TestResult> — compile + run with
81
81
  engine.getDslSchema(); // object — the DSL as JSON Schema (draft-7)
82
82
  engine.getSchema(); // DatabaseSchema | undefined — last introspected schema
83
83
  engine.cache; // CacheBackend — the live cache
84
+ engine.invalidate(tables); // these tables were written: reactive reads over them refetch
85
+ engine.rows; // the reactive rows cache: stats(), stop()
84
86
  ```
85
87
 
86
88
  ## What's in the box
@@ -94,6 +96,8 @@ engine.cache; // CacheBackend — the live cache
94
96
  | Writes | Mutation entries in the same cache — a closed grammar, replay-only by fingerprint, never generated; `lintMutation` checks a statement at seed |
95
97
  | Seeding and freshness | `seedCache` turns authored `SeedEntry` / `SeedMutation` rows into protected cache entries; an entry's `refresh` is `'snapshot'` or `'reactive'` |
96
98
  | Safety | Server-side scope policies, query analyzer (cartesian/nesting/index checks), parameterized SQL only |
99
+ | Upgraded columns | `upgradedColumns` + `upgrader` on the engine: a JSON column stamped in another column is returned upgraded by every read, before the mapping |
100
+ | Stored entries | `@niscorp/vex/migrations`: `VEX_SEQUENCE`, the strata sequence an entry is stamped with as a stored document |
97
101
  | Its own table | The Postgres cache's table is a [strata](../strata/README.md) sequence (`cache.sequence`, `nisc.vex.cache`): `cache.init()` applies it through the ledger once, instead of `IF NOT EXISTS` on every boot. Requires a pool with `transaction` (the PGlite pool and `createPgPool`'s have one; a bare `pg.Pool` does not). |
98
102
 
99
103
  ## License
@@ -1,5 +1,5 @@
1
- import { a as QueryEngine, aa as ScopeValues } from '../../types-B2HEmyNq.cjs';
2
- import { V as VexHandlerConfig } from '../../handler-CsFbanZA.cjs';
1
+ import { a as QueryEngine, ab as ScopeValues } from '../../types-BmHuPfPS.cjs';
2
+ import { V as VexHandlerConfig } from '../../handler-CB0BqKsY.cjs';
3
3
  import '../../query.schema-B-LVNfyX.cjs';
4
4
  import 'zod';
5
5
  import '@niscorp/prism';
@@ -1,5 +1,5 @@
1
- import { a as QueryEngine, aa as ScopeValues } from '../../types-DC68ZUuq.js';
2
- import { V as VexHandlerConfig } from '../../handler-CoJxInw-.js';
1
+ import { a as QueryEngine, ab as ScopeValues } from '../../types-D5CCaqcd.js';
2
+ import { V as VexHandlerConfig } from '../../handler-O6XslV-S.js';
3
3
  import '../../query.schema-B-LVNfyX.js';
4
4
  import 'zod';
5
5
  import '@niscorp/prism';
@@ -1,6 +1,6 @@
1
1
  import { Env, Context, Hono } from 'hono';
2
- import { a as QueryEngine, aa as ScopeValues, S as ScopePolicy } from '../../types-B2HEmyNq.cjs';
3
- import { M as MutationClient, W as WriteEvent, E as ExecuteRecord } from '../../handler-CsFbanZA.cjs';
2
+ import { a as QueryEngine, ab as ScopeValues, S as ScopePolicy } from '../../types-BmHuPfPS.cjs';
3
+ import { M as MutationClient, W as WriteEvent, E as ExecuteRecord } from '../../handler-CB0BqKsY.cjs';
4
4
  import '../../query.schema-B-LVNfyX.cjs';
5
5
  import 'zod';
6
6
  import '@niscorp/prism';
@@ -1,6 +1,6 @@
1
1
  import { Env, Context, Hono } from 'hono';
2
- import { a as QueryEngine, aa as ScopeValues, S as ScopePolicy } from '../../types-DC68ZUuq.js';
3
- import { M as MutationClient, W as WriteEvent, E as ExecuteRecord } from '../../handler-CoJxInw-.js';
2
+ import { a as QueryEngine, ab as ScopeValues, S as ScopePolicy } from '../../types-D5CCaqcd.js';
3
+ import { M as MutationClient, W as WriteEvent, E as ExecuteRecord } from '../../handler-O6XslV-S.js';
4
4
  import '../../query.schema-B-LVNfyX.js';
5
5
  import 'zod';
6
6
  import '@niscorp/prism';
@@ -1,4 +1,4 @@
1
- import { a4 as ScopeBinding, D as DatabaseSchema, o as GenerationCaller, G as GenerateDsl, t as MapToShape } from '../types-B2HEmyNq.cjs';
1
+ import { a5 as ScopeBinding, D as DatabaseSchema, p as GenerationCaller, G as GenerateDsl, u as MapToShape } from '../types-BmHuPfPS.cjs';
2
2
  import { AgentDefinition, defineTool, SignalClient } from '@niscorp/cortex';
3
3
  import { Q as Query } from '../query.schema-B-LVNfyX.cjs';
4
4
  import '@niscorp/prism';
@@ -1,4 +1,4 @@
1
- import { a4 as ScopeBinding, D as DatabaseSchema, o as GenerationCaller, G as GenerateDsl, t as MapToShape } from '../types-DC68ZUuq.js';
1
+ import { a5 as ScopeBinding, D as DatabaseSchema, p as GenerationCaller, G as GenerateDsl, u as MapToShape } from '../types-D5CCaqcd.js';
2
2
  import { AgentDefinition, defineTool, SignalClient } from '@niscorp/cortex';
3
3
  import { Q as Query } from '../query.schema-B-LVNfyX.js';
4
4
  import '@niscorp/prism';
@@ -1,4 +1,4 @@
1
- import { aa as ScopeValues, S as ScopePolicy, D as DatabaseSchema, e as Row, M as MutationDefinition, u as Mutation, m as CoreMutation, a as QueryEngine, T as QueryResponse } from './types-B2HEmyNq.cjs';
1
+ import { ab as ScopeValues, S as ScopePolicy, D as DatabaseSchema, e as Row, M as MutationDefinition, v as Mutation, n as CoreMutation, a as QueryEngine, U as QueryResponse } from './types-BmHuPfPS.cjs';
2
2
  import { Q as Query } from './query.schema-B-LVNfyX.cjs';
3
3
 
4
4
  type MutationTx = {
@@ -1,4 +1,4 @@
1
- import { aa as ScopeValues, S as ScopePolicy, D as DatabaseSchema, e as Row, M as MutationDefinition, u as Mutation, m as CoreMutation, a as QueryEngine, T as QueryResponse } from './types-DC68ZUuq.js';
1
+ import { ab as ScopeValues, S as ScopePolicy, D as DatabaseSchema, e as Row, M as MutationDefinition, v as Mutation, n as CoreMutation, a as QueryEngine, U as QueryResponse } from './types-D5CCaqcd.js';
2
2
  import { Q as Query } from './query.schema-B-LVNfyX.js';
3
3
 
4
4
  type MutationTx = {