@happyvertical/smrt-core 0.53.4 → 0.53.6

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 (55) hide show
  1. package/AGENTS.md +4 -0
  2. package/README.md +11 -0
  3. package/agents/build-knowledge.md +7 -0
  4. package/agents/generators.md +24 -1
  5. package/dist/generated-collection-access.d.ts +43 -0
  6. package/dist/generated-collection-access.d.ts.map +1 -0
  7. package/dist/generated-collection-access.js +71 -0
  8. package/dist/generated-collection-access.js.map +1 -0
  9. package/dist/index.d.ts +2 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +3 -2
  12. package/dist/manifest/static-manifest.js +1 -1
  13. package/dist/manifest/static-manifest.js.map +1 -1
  14. package/dist/manifest/store.js +1 -1
  15. package/dist/manifest.json +1 -1
  16. package/dist/scanner/manifest-generator.d.ts.map +1 -1
  17. package/dist/scanner/manifest-generator.js +3 -1
  18. package/dist/scanner/manifest-generator.js.map +1 -1
  19. package/dist/smrt-knowledge.json +9 -9
  20. package/dist/utils/qualified-names.d.ts +15 -0
  21. package/dist/utils/qualified-names.d.ts.map +1 -1
  22. package/dist/utils/qualified-names.js +31 -1
  23. package/dist/utils/qualified-names.js.map +1 -1
  24. package/dist/vite-plugin/changes-route.d.ts +4 -3
  25. package/dist/vite-plugin/changes-route.d.ts.map +1 -1
  26. package/dist/vite-plugin/changes-route.js +8 -7
  27. package/dist/vite-plugin/changes-route.js.map +1 -1
  28. package/dist/vite-plugin/dev-plane-route.d.ts.map +1 -1
  29. package/dist/vite-plugin/dev-plane-route.js +4 -4
  30. package/dist/vite-plugin/dev-plane-route.js.map +1 -1
  31. package/dist/vite-plugin/events-route.d.ts.map +1 -1
  32. package/dist/vite-plugin/events-route.js +4 -4
  33. package/dist/vite-plugin/events-route.js.map +1 -1
  34. package/dist/vite-plugin/index.d.ts.map +1 -1
  35. package/dist/vite-plugin/index.js +13 -1
  36. package/dist/vite-plugin/index.js.map +1 -1
  37. package/dist/vite-plugin/resources-route.d.ts.map +1 -1
  38. package/dist/vite-plugin/resources-route.js +9 -4
  39. package/dist/vite-plugin/resources-route.js.map +1 -1
  40. package/dist/vite-plugin/sveltekit-config-import.d.ts +22 -0
  41. package/dist/vite-plugin/sveltekit-config-import.d.ts.map +1 -1
  42. package/dist/vite-plugin/sveltekit-config-import.js +44 -2
  43. package/dist/vite-plugin/sveltekit-config-import.js.map +1 -1
  44. package/dist/vite-plugin/sveltekit-generator.d.ts.map +1 -1
  45. package/dist/vite-plugin/sveltekit-generator.js +59 -9
  46. package/dist/vite-plugin/sveltekit-generator.js.map +1 -1
  47. package/dist/vite-plugin/sveltekit-register-injection.d.ts +26 -0
  48. package/dist/vite-plugin/sveltekit-register-injection.d.ts.map +1 -0
  49. package/dist/vite-plugin/sveltekit-register-injection.js +37 -0
  50. package/dist/vite-plugin/sveltekit-register-injection.js.map +1 -0
  51. package/dist/vite-plugin/sync-apply-route.d.ts +1 -1
  52. package/dist/vite-plugin/sync-apply-route.d.ts.map +1 -1
  53. package/dist/vite-plugin/sync-apply-route.js +4 -4
  54. package/dist/vite-plugin/sync-apply-route.js.map +1 -1
  55. package/package.json +10 -10
package/AGENTS.md CHANGED
@@ -105,6 +105,10 @@ and repository rules.
105
105
  a resolved table that differs first (#3106). Stack
106
106
  attribution skips smrt-core (including source-mapped installed
107
107
  `smrt-core/src` frames, #3109), decorator-helper, and module-runner frames.
108
+ Qualified names are `@scope/pkg:Class`; the scope is a deliberate
109
+ discriminator, so manifest generation (`generateManifest`,
110
+ `applyGenerationPasses`, hence `pnpm build`) throws
111
+ `CONFIG_UNSCOPED_PACKAGE_NAME` for an unscoped `package.json` name (#3408).
108
112
  Instance and collection registry lookups pass the qualified name. The schema
109
113
  planner rejects a table claimed by two unrelated classes
110
114
  (`CONFIG_TABLE_NAME_COLLISION`): only one STI family shares a table (#3098);
package/README.md CHANGED
@@ -333,6 +333,17 @@ Enable SvelteKit route generation with `svelteKit: { enabled: true }`. Its
333
333
  default output directory is `src/routes/api`; set `svelteKit.routesDir` when
334
334
  your application uses a different route root.
335
335
 
336
+ Generated routes do not need a hand-written `getCollection`. Each route embeds
337
+ a prelude that imports the generated `smrt-register` module and the app's
338
+ config module (`svelteKit.configPath`/`configFileName`, `$lib/server/smrt` by
339
+ default), then resolves collections through that module's exported `runtime`
340
+ (`createSmrtSvelteKitRuntime()` from `@happyvertical/smrt-app-runtime/sveltekit`,
341
+ whose `getCollection()` is request-scoped). A `getCollection`/`getSmrtConfig`
342
+ export there still takes precedence for one release, with a deprecation
343
+ warning. The plugin also prepends the registration import to that config
344
+ module, and generation refuses a `configFileName` that names the registration
345
+ module (`smrt-register.*`).
346
+
336
347
  A consumer can host selected dependency models with the same generator. This is
337
348
  an explicit HTTP boundary that is separate from the broader `packages`
338
349
  registration inventory. Name exact provider-qualified object references; a
@@ -101,6 +101,13 @@ retains legacy filename inference. Vitest selects dev mode explicitly, so tests
101
101
  never replace a production `dist/manifest.json`. Relative output directories are
102
102
  resolved against the builder's project root.
103
103
 
104
+ With `svelteKit.enabled`, `smrtPlugin()`'s transform prepends
105
+ `import './smrt-register.js';` to the configured config module
106
+ (`<configPath>/<configFileName>`, `src/vite-plugin/sveltekit-register-injection.ts`)
107
+ once the register module exists, on the same first line so line numbers hold.
108
+ Apps therefore never hand-write the guarded registration import (#3416); a
109
+ config module that still has it imports the same module twice, harmlessly.
110
+
104
111
  Tracked `src/lib/server/smrt-register.ts` belongs to SvelteKit config/type
105
112
  generation. Generic library builds consume it but do not cache or restore it
106
113
  as an output; otherwise a concurrent config producer's bytes can be replayed
@@ -234,7 +234,8 @@ only when `svelteKit.devPlaneRoute.enabled === true` and
234
234
  resolvability guard as `_resources`). The route is dev-only (`$app/environment`
235
235
  `dev`, else 404), refuses to start without `SMRT_DEV_MCP_TOKEN` (503), and
236
236
  delegates everything else to `createDevPlane`, passing `getSmrtConfig(...).db`
237
- from the generated `$lib/server/smrt` so the plane shares the app's connection.
237
+ from the embedded access prelude (below) so the plane shares the app's
238
+ connection.
238
239
  Core never imports smrt-dev-mcp; only the generated file does, at consumer
239
240
  runtime. The route carries the auto-generated header so the sweep owns it.
240
241
 
@@ -266,3 +267,25 @@ class, action, and raw generated name to in-process catalog composers. App MCP
266
267
  uses it for class allow-lists, tenant checks, and compatible workflow guards;
267
268
  those consumers must not reverse protocol aliases. The alias remains the sole
268
269
  wire tool name and is still the key for public patterns and generic tool policy.
270
+
271
+ ## Generated route collection access (#3416)
272
+
273
+ There is no generated route-access module. Every generated SvelteKit route
274
+ that needs collections (CRUD, custom actions, `_changes`, `_events`,
275
+ `sync/apply`, `_dev`) embeds the prelude from
276
+ `generateCollectionAccessImports()` (`sveltekit-config-import.ts`): it imports
277
+ the generated `smrt-register` module, then the app's config module
278
+ (`$lib/server/smrt` by default) as `* as smrtApplication`, and destructures
279
+ `getCollection`/`getSmrtConfig` from `createGeneratedCollectionAccess()`
280
+ (`src/generated-collection-access.ts`). Generation fails before writing
281
+ anything when `configFileName` resolves to the registration module
282
+ (`smrt-register` with any script extension or case).
283
+ That helper resolves per call, never caching: a legacy `getCollection` /
284
+ `getSmrtConfig` export wins (deprecated, warned once per module, for one
285
+ release), else the exported app-runtime `runtime.getCollection()` /
286
+ `classOptions()`, else it fails with an error naming the module. `_resources`
287
+ and static collection-scoped actions only need registration, so they import
288
+ `smrt-register` and then the config module. When the config module is missing
289
+ and `@happyvertical/smrt-app-runtime/sveltekit` resolves from the consumer, the
290
+ generator writes a runtime-shaped default instead of the legacy
291
+ `getCollection` file.
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Collection access for generated SvelteKit routes (#3416).
3
+ *
4
+ * Every generated SvelteKit route that needs collections embeds a short
5
+ * prelude: it imports the generated `smrt-register` module, imports the
6
+ * application's config module (`$lib/server/smrt` by default) as a namespace,
7
+ * and destructures `getCollection`/`getSmrtConfig` from
8
+ * {@link createGeneratedCollectionAccess} over that namespace. The
9
+ * application therefore exports only its `runtime`, never the accessors.
10
+ *
11
+ * Resolution happens on every call and nothing is cached here: under
12
+ * `database-rls` isolation the runtime's collection options carry the
13
+ * request's transaction-bound database, which must never outlive the request.
14
+ */
15
+ import type { SmrtClassOptions } from './class';
16
+ import type { SmrtCollection } from './collection';
17
+ import type { SmrtObject } from './object';
18
+ /** The part of an application runtime that generated routes need. */
19
+ export interface GeneratedCollectionRuntime {
20
+ /** A collection built from the per-request class options. */
21
+ getCollection<T extends SmrtObject = SmrtObject>(className: string): Promise<SmrtCollection<T>>;
22
+ /** Per-request collection options (RLS transaction inside a request). */
23
+ classOptions(className: string): SmrtClassOptions;
24
+ }
25
+ /** Accessors a generated route destructures from its prelude. */
26
+ export interface GeneratedCollectionAccess {
27
+ getCollection<T extends SmrtObject = SmrtObject>(className: string): Promise<SmrtCollection<T>>;
28
+ getSmrtConfig(className: string): SmrtClassOptions;
29
+ }
30
+ /**
31
+ * Build the accessors a generated route's prelude destructures.
32
+ *
33
+ * - A `getCollection`/`getSmrtConfig` function exported by the application
34
+ * module is honoured first (deprecated, warned once per module).
35
+ * - Otherwise the exported `runtime`'s `getCollection()`/`classOptions()` is
36
+ * used.
37
+ * - A module exporting neither fails the call with an error naming the module.
38
+ *
39
+ * @param applicationModule - namespace of the application's server config module
40
+ * @param source - project-relative path of that module, for messages
41
+ */
42
+ export declare function createGeneratedCollectionAccess(applicationModule: unknown, source: string): GeneratedCollectionAccess;
43
+ //# sourceMappingURL=generated-collection-access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-collection-access.d.ts","sourceRoot":"","sources":["../src/generated-collection-access.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,qEAAqE;AACrE,MAAM,WAAW,0BAA0B;IACzC,6DAA6D;IAC7D,aAAa,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EAC7C,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9B,yEAAyE;IACzE,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACnD;AAED,iEAAiE;AACjE,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EAC7C,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9B,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACpD;AAkDD;;;;;;;;;;;GAWG;AACH,wBAAgB,+BAA+B,CAC7C,iBAAiB,EAAE,OAAO,EAC1B,MAAM,EAAE,MAAM,GACb,yBAAyB,CA0B3B"}
@@ -0,0 +1,71 @@
1
+ import { createLogger } from "@happyvertical/logger";
2
+ //#region src/generated-collection-access.ts
3
+ /**
4
+ * Collection access for generated SvelteKit routes (#3416).
5
+ *
6
+ * Every generated SvelteKit route that needs collections embeds a short
7
+ * prelude: it imports the generated `smrt-register` module, imports the
8
+ * application's config module (`$lib/server/smrt` by default) as a namespace,
9
+ * and destructures `getCollection`/`getSmrtConfig` from
10
+ * {@link createGeneratedCollectionAccess} over that namespace. The
11
+ * application therefore exports only its `runtime`, never the accessors.
12
+ *
13
+ * Resolution happens on every call and nothing is cached here: under
14
+ * `database-rls` isolation the runtime's collection options carry the
15
+ * request's transaction-bound database, which must never outlive the request.
16
+ */
17
+ var logger = createLogger({ level: "info" });
18
+ var warnedSources = /* @__PURE__ */ new Set();
19
+ function warnLegacyExport(source, name) {
20
+ if (warnedSources.has(source)) return;
21
+ warnedSources.add(source);
22
+ logger.warn(`[smrt] Deprecated: generated routes are calling ${name}() exported by ${source}. Export the application runtime instead (\`export const runtime = createSmrtSvelteKitRuntime({ ... })\` from \`@happyvertical/smrt-app-runtime/sveltekit\`) and delete the getCollection()/getSmrtConfig() exports: generated routes then use \`runtime.getCollection()\`, which resolves the request-scoped database on every call. The exported helpers stop being honoured after the next release.`);
23
+ }
24
+ function runtimeOf(module) {
25
+ const runtime = module.runtime;
26
+ if (runtime && typeof runtime.getCollection === "function" && typeof runtime.classOptions === "function") return runtime;
27
+ }
28
+ function missingAccessor(source) {
29
+ return /* @__PURE__ */ new Error(`[smrt] Generated routes cannot resolve collections: ${source} must export \`runtime\` created by createSmrtSvelteKitRuntime() from \`@happyvertical/smrt-app-runtime/sveltekit\`.`);
30
+ }
31
+ /**
32
+ * Build the accessors a generated route's prelude destructures.
33
+ *
34
+ * - A `getCollection`/`getSmrtConfig` function exported by the application
35
+ * module is honoured first (deprecated, warned once per module).
36
+ * - Otherwise the exported `runtime`'s `getCollection()`/`classOptions()` is
37
+ * used.
38
+ * - A module exporting neither fails the call with an error naming the module.
39
+ *
40
+ * @param applicationModule - namespace of the application's server config module
41
+ * @param source - project-relative path of that module, for messages
42
+ */
43
+ function createGeneratedCollectionAccess(applicationModule, source) {
44
+ const module = applicationModule ?? {};
45
+ return {
46
+ getCollection(className) {
47
+ const legacy = module.getCollection;
48
+ if (typeof legacy === "function") {
49
+ warnLegacyExport(source, "getCollection");
50
+ return legacy(className);
51
+ }
52
+ const runtime = runtimeOf(module);
53
+ if (!runtime) return Promise.reject(missingAccessor(source));
54
+ return runtime.getCollection(className);
55
+ },
56
+ getSmrtConfig(className) {
57
+ const legacy = module.getSmrtConfig;
58
+ if (typeof legacy === "function") {
59
+ warnLegacyExport(source, "getSmrtConfig");
60
+ return legacy(className);
61
+ }
62
+ const runtime = runtimeOf(module);
63
+ if (!runtime) throw missingAccessor(source);
64
+ return runtime.classOptions(className);
65
+ }
66
+ };
67
+ }
68
+ //#endregion
69
+ export { createGeneratedCollectionAccess };
70
+
71
+ //# sourceMappingURL=generated-collection-access.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-collection-access.js","names":[],"sources":["../src/generated-collection-access.ts"],"sourcesContent":["/**\n * Collection access for generated SvelteKit routes (#3416).\n *\n * Every generated SvelteKit route that needs collections embeds a short\n * prelude: it imports the generated `smrt-register` module, imports the\n * application's config module (`$lib/server/smrt` by default) as a namespace,\n * and destructures `getCollection`/`getSmrtConfig` from\n * {@link createGeneratedCollectionAccess} over that namespace. The\n * application therefore exports only its `runtime`, never the accessors.\n *\n * Resolution happens on every call and nothing is cached here: under\n * `database-rls` isolation the runtime's collection options carry the\n * request's transaction-bound database, which must never outlive the request.\n */\n\nimport { createLogger } from '@happyvertical/logger';\nimport type { SmrtClassOptions } from './class';\nimport type { SmrtCollection } from './collection';\nimport type { SmrtObject } from './object';\n\n/** The part of an application runtime that generated routes need. */\nexport interface GeneratedCollectionRuntime {\n /** A collection built from the per-request class options. */\n getCollection<T extends SmrtObject = SmrtObject>(\n className: string,\n ): Promise<SmrtCollection<T>>;\n /** Per-request collection options (RLS transaction inside a request). */\n classOptions(className: string): SmrtClassOptions;\n}\n\n/** Accessors a generated route destructures from its prelude. */\nexport interface GeneratedCollectionAccess {\n getCollection<T extends SmrtObject = SmrtObject>(\n className: string,\n ): Promise<SmrtCollection<T>>;\n getSmrtConfig(className: string): SmrtClassOptions;\n}\n\ntype LegacyGetCollection = <T extends SmrtObject = SmrtObject>(\n className: string,\n) => Promise<SmrtCollection<T>>;\ntype LegacyGetSmrtConfig = (className: string) => SmrtClassOptions;\n\nconst logger = createLogger({ level: 'info' });\nconst warnedSources = new Set<string>();\n\nfunction warnLegacyExport(source: string, name: string): void {\n if (warnedSources.has(source)) return;\n warnedSources.add(source);\n logger.warn(\n `[smrt] Deprecated: generated routes are calling ${name}() exported by ` +\n `${source}. Export the application runtime instead ` +\n '(`export const runtime = createSmrtSvelteKitRuntime({ ... })` from ' +\n '`@happyvertical/smrt-app-runtime/sveltekit`) and delete the ' +\n 'getCollection()/getSmrtConfig() exports: generated routes then use ' +\n '`runtime.getCollection()`, which resolves the request-scoped database ' +\n 'on every call. The exported helpers stop being honoured after the next ' +\n 'release.',\n );\n}\n\nfunction runtimeOf(\n module: Record<string, unknown>,\n): GeneratedCollectionRuntime | undefined {\n const runtime = module.runtime as\n | Partial<GeneratedCollectionRuntime>\n | null\n | undefined;\n if (\n runtime &&\n typeof runtime.getCollection === 'function' &&\n typeof runtime.classOptions === 'function'\n ) {\n return runtime as GeneratedCollectionRuntime;\n }\n return undefined;\n}\n\nfunction missingAccessor(source: string): Error {\n return new Error(\n `[smrt] Generated routes cannot resolve collections: ${source} must ` +\n 'export `runtime` created by createSmrtSvelteKitRuntime() from ' +\n '`@happyvertical/smrt-app-runtime/sveltekit`.',\n );\n}\n\n/**\n * Build the accessors a generated route's prelude destructures.\n *\n * - A `getCollection`/`getSmrtConfig` function exported by the application\n * module is honoured first (deprecated, warned once per module).\n * - Otherwise the exported `runtime`'s `getCollection()`/`classOptions()` is\n * used.\n * - A module exporting neither fails the call with an error naming the module.\n *\n * @param applicationModule - namespace of the application's server config module\n * @param source - project-relative path of that module, for messages\n */\nexport function createGeneratedCollectionAccess(\n applicationModule: unknown,\n source: string,\n): GeneratedCollectionAccess {\n const module = (applicationModule ?? {}) as Record<string, unknown>;\n return {\n getCollection<T extends SmrtObject = SmrtObject>(\n className: string,\n ): Promise<SmrtCollection<T>> {\n const legacy = module.getCollection;\n if (typeof legacy === 'function') {\n warnLegacyExport(source, 'getCollection');\n return (legacy as LegacyGetCollection)<T>(className);\n }\n const runtime = runtimeOf(module);\n if (!runtime) return Promise.reject(missingAccessor(source));\n return runtime.getCollection<T>(className);\n },\n getSmrtConfig(className: string): SmrtClassOptions {\n const legacy = module.getSmrtConfig;\n if (typeof legacy === 'function') {\n warnLegacyExport(source, 'getSmrtConfig');\n return (legacy as LegacyGetSmrtConfig)(className);\n }\n const runtime = runtimeOf(module);\n if (!runtime) throw missingAccessor(source);\n return runtime.classOptions(className);\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;AA2CA,IAAM,SAAS,aAAa,EAAE,OAAO,OAAO,CAAC;AAC7C,IAAM,gCAAgB,IAAI,IAAY;AAEtC,SAAS,iBAAiB,QAAgB,MAAoB;CAC5D,IAAI,cAAc,IAAI,MAAM,GAAG;CAC/B,cAAc,IAAI,MAAM;CACxB,OAAO,KACL,mDAAmD,KAAK,iBACnD,OAAO,uYAOd;AACF;AAEA,SAAS,UACP,QACwC;CACxC,MAAM,UAAU,OAAO;CAIvB,IACE,WACA,OAAO,QAAQ,kBAAkB,cACjC,OAAO,QAAQ,iBAAiB,YAEhC,OAAO;AAGX;AAEA,SAAS,gBAAgB,QAAuB;CAC9C,uBAAO,IAAI,MACT,uDAAuD,OAAO,qHAGhE;AACF;;;;;;;;;;;;;AAcA,SAAgB,gCACd,mBACA,QAC2B;CAC3B,MAAM,SAAU,qBAAqB,CAAC;CACtC,OAAO;EACL,cACE,WAC4B;GAC5B,MAAM,SAAS,OAAO;GACtB,IAAI,OAAO,WAAW,YAAY;IAChC,iBAAiB,QAAQ,eAAe;IACxC,OAAQ,OAAkC,SAAS;GACrD;GACA,MAAM,UAAU,UAAU,MAAM;GAChC,IAAI,CAAC,SAAS,OAAO,QAAQ,OAAO,gBAAgB,MAAM,CAAC;GAC3D,OAAO,QAAQ,cAAiB,SAAS;EAC3C;EACA,cAAc,WAAqC;GACjD,MAAM,SAAS,OAAO;GACtB,IAAI,OAAO,WAAW,YAAY;IAChC,iBAAiB,QAAQ,eAAe;IACxC,OAAQ,OAA+B,SAAS;GAClD;GACA,MAAM,UAAU,UAAU,MAAM;GAChC,IAAI,CAAC,SAAS,MAAM,gBAAgB,MAAM;GAC1C,OAAO,QAAQ,aAAa,SAAS;EACvC;CACF;AACF"}
package/dist/index.d.ts CHANGED
@@ -41,6 +41,7 @@ export { isEmbeddedDatabase, isPostgresDatabase, usesEmbeddedRevisionFallback, w
41
41
  export * from './embeddings/index';
42
42
  export * from './errors';
43
43
  export { createFilesystemAdapter, type FilesystemAdapterFactory, registerFilesystemAdapterFactory, } from './filesystem-loader';
44
+ export { createGeneratedCollectionAccess, type GeneratedCollectionAccess, type GeneratedCollectionRuntime, } from './generated-collection-access';
44
45
  export * from './generators/index';
45
46
  export { type HierarchyView, SmrtHierarchical } from './hierarchical';
46
47
  export * from './interceptors';
@@ -80,6 +81,6 @@ export * from './tools/index';
80
81
  export { chunkArray, IN_LIST_CHUNK_SIZE } from './utils/chunk';
81
82
  export { clone, getAdapterInfo, isValid, type JSONAdapter, type ParseError, parse, type Result, type StringifyError, safeParse, safeStringify, stringify, } from './utils/json';
82
83
  export { toSnakeCase } from './utils/naming';
83
- export { createQualifiedName, getClassName, getPackageFromQualifiedName, isFromPackage, isQualifiedName, isType, type ParsedQualifiedName, parseQualifiedName, qualifiedNamesEqual, } from './utils/qualified-names';
84
+ export { assertScopedPackageName, createQualifiedName, getClassName, getPackageFromQualifiedName, isFromPackage, isQualifiedName, isScopedPackageName, isType, type ParsedQualifiedName, parseQualifiedName, qualifiedNamesEqual, } from './utils/qualified-names';
84
85
  export { smrtPlugin } from './vite-plugin/index';
85
86
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,KAAK,cAAc,EACnB,gBAAgB,GACjB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,YAAY,EACZ,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,qBAAqB,EACrB,eAA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BAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,MAAM,EACN,KAAK,mBAAmB,EACxB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import { EmbeddingStorage } from "./embeddings/storage.js";
36
36
  import { DEFAULT_LIST_LIMIT, DEFAULT_LIST_ORDER_BY, MAX_LIST_LIMIT, QueryBoundsError, QueryOrderByError, buildDefaultListOrderBy, resolveListLimit, resolveListOffset } from "./query-bounds.js";
37
37
  import { applyPendingDecoratorRegistrations, registerCompatibleFieldDecorator, registerCompatibleMethodDecorator } from "./decorators/compatibility.js";
38
38
  import { clone, getAdapterInfo, isValid, parse, safeParse, safeStringify, stringify } from "./utils/json.js";
39
- import { createQualifiedName, getClassName, getPackageFromQualifiedName, isFromPackage, isQualifiedName, isType, parseQualifiedName, qualifiedNamesEqual } from "./utils/qualified-names.js";
39
+ import { assertScopedPackageName, createQualifiedName, getClassName, getPackageFromQualifiedName, isFromPackage, isQualifiedName, isScopedPackageName, isType, parseQualifiedName, qualifiedNamesEqual } from "./utils/qualified-names.js";
40
40
  import { publishArtifactFiles, publishAtomicArtifact } from "./consumer-plugin/artifact-publication.js";
41
41
  import { convertTypeToJsonSchema, generateToolFromMethod, generateToolManifest, shouldIncludeMethod } from "./tools/tool-generator.js";
42
42
  import { CRUD_OPERATIONS, SMRT_CUSTOM_ACTION_ERROR_METADATA_KEY, buildCustomActionInputSchema, buildCustomActionInvocationArgs, classifyMethodWireability, classifyParameterWireability, coerceCustomActionArgument, createClassNamePredicate, createManifestClassNamePredicate, customActionParameterInputName, declaredTypeAcceptsDate, declaresRuntimeRestRoute, declaresRuntimeRestRouteShape, isCrudOperation, isCrudToolAction, normalizeCustomActionFailure, queryStringDecoderFor, readMethodDecoratorConfig, resolveApiMethodExposure, resolveCustomActionMetadata, resolveDeclaredScopeMismatch, resolveEffectiveActionMetadata, toCustomActionBoolean, toCustomActionDate, toCustomActionNumber } from "./generators/custom-action.js";
@@ -63,6 +63,7 @@ import { DispatchSubscriptionCollection } from "./dispatch/collections/DispatchS
63
63
  import { DispatchBus, createDispatchBus } from "./dispatch/bus.js";
64
64
  import "./dispatch/index.js";
65
65
  import "./embeddings/index.js";
66
+ import { createGeneratedCollectionAccess } from "./generated-collection-access.js";
66
67
  import { PRIVATE_READ_CACHE_CONTROL, canonicalReadRepresentation, computeBodyEtag, computeTableVersionEtag, conditionalJsonResponse, ifNoneMatchHasConcreteMatch, ifNoneMatchSatisfied, resolveReadCacheControl, resolveTenantEtagDiscriminator, versionConditionalResponse, warnIfSharedCacheNeutralized } from "./generators/conditional-get.js";
67
68
  import { DEFAULT_EVENTS_HEARTBEAT_MS, DEFAULT_EVENTS_MAX_SUBSCRIBERS, DEFAULT_EVENTS_RETRY_AFTER_SECONDS, buildChangeEventStream, changeEventSubscribersAtCapacity, eventStreamCapacityExceededResponse, normalizeEventsMaxSubscribers, signalVisibleToTenant, tryReserveChangeEventSubscriberSlot } from "./generators/events-route.js";
68
69
  import { runWithTenantGate, setTenantEntryPointRunner } from "./generators/tenant-gate.js";
@@ -102,4 +103,4 @@ import "./system/index.js";
102
103
  import { getTestDatabase } from "./testing/database.js";
103
104
  import "./tools/index.js";
104
105
  import { smrtPlugin } from "./vite-plugin/index.js";
105
- export { AGENT_SURFACE_HASH_PREFIX, AIError, APIGenerator, AiUsageCollector, AiUsagePersistenceHandler, BOOTED_PROVENANCE, CACHE_INVALIDATION_CHANNEL, CHANGE_FEED_CREDENTIAL_TABLES, CHANGE_FEED_INTERCEPTOR_NAME, CHANGE_FEED_TABLE, CHANGE_SIGNAL_CHANNEL, CRUD_OPERATIONS, ConfigurationError, ContentHasher, CosineSimilarity, DEFAULT_AI_COST_RATES, DEFAULT_CHANGES_LIMIT, DEFAULT_DATA_QUERY_PAGE_LIMIT, DEFAULT_DATA_QUERY_RESULT_BYTES, DEFAULT_EMBEDDING_CONFIG, DEFAULT_EVENTS_HEARTBEAT_MS, DEFAULT_EVENTS_MAX_SUBSCRIBERS, DEFAULT_EVENTS_RETRY_AFTER_SECONDS, DEFAULT_FACET_LIMIT, DEFAULT_LEARNING_CONFIG, DEFAULT_LIST_LIMIT, DEFAULT_LIST_ORDER_BY, DEFAULT_POSTGRES_TIMEOUTS, DEFAULT_RETENTION_POLICY, DIAGNOSTICS_DEFAULT_LIMIT, DataQueryValidationError, DatabaseError, Dispatch, DispatchBus, DispatchCollection, DispatchSubscription, DispatchSubscriptionCollection, EmbeddingProvider, EmbeddingStorage, EmbeddingUnavailableError, ErrorUtils, FilesystemError, GlobalInterceptors, IN_LIST_CHUNK_SIZE, LearningMemory, LiveSchemaParityError, MAX_CHANGES_LIMIT, MAX_DATA_QUERY_CURSOR_LENGTH, MAX_DATA_QUERY_FACETS, MAX_DATA_QUERY_FILTERS, MAX_DATA_QUERY_FILTER_DEPTH, MAX_DATA_QUERY_IN_VALUES, MAX_DATA_QUERY_OFFSET, MAX_DATA_QUERY_PAGE_LIMIT, MAX_DATA_QUERY_REQUEST_BYTES, MAX_DATA_QUERY_RESULT_BYTES, MAX_DATA_QUERY_WARNINGS, MAX_FACET_FIELDS, MAX_FACET_LIMIT, MAX_LIST_LIMIT, MAX_STI_READ_SCOPE_TYPES, MAX_SYNC_APPLY_BATCH_SIZE, MCPGenerator, MCP_STABLE_CATALOG_TTL_MS, MODULE_DOC_HASH_PREFIX, ManifestBuilder, ManifestGenerator, ManifestManager, MetricsAdapter, NetworkError, ObjectRegistry, PLAYBOOK_PREFLIGHT_CAPABILITY, PLAYBOOK_PREFLIGHT_ROUTE_SEGMENT, POSTGRES_REVISION_GUARD_EXPRESSION, POSTGRES_TIMEOUT_ENV_VARS, PRIVATE_READ_CACHE_CONTROL, PubSubAdapter, QueryBoundsError, QueryOrderByError, RUN_ONCE_CLAIMS_TABLE, RunOnceClaimError, RuntimeError, SMRT_COLLECTION_BASE_NAMES, SMRT_CUSTOM_ACTION_ERROR_METADATA_KEY, SMRT_SCHEMA_VERSION, SYNC_APPLY_ROUTE_SEGMENTS, SYNC_APPLY_UUID_PATTERN, SYSTEM_DIAGNOSTICS_TABLES, SYSTEM_TABLE_NAMES, SchemaComparer, SignalBus, SignalSanitizer, SmrtClass, SmrtCollection, SmrtError, SmrtHierarchical, SmrtJunction, SmrtMCPServer, SmrtObject, SmrtPolymorphicAssociation, TenantIsolationError, ValidationError, ValidationReport, ValidationUtils, appendChange, appendChanges, applyOneToManyChildAccessors, applyPendingDecoratorRegistrations, applyPostgresPermissions, applyPostgresRuntimeTimeouts, applySyncWritablePolicy, assertPlainJson, assertPostgresSystemTimestampsCurrent, broadcastCacheInvalidation, buildCascadePlan, buildChangeEventStream, buildCustomActionInputSchema, buildCustomActionInvocationArgs, buildDefaultListOrderBy, buildDomainKnowledgeManifest, buildKnowledgeGraph, bumpChangeFeed, canonicalReadRepresentation, canonicalizeDataQuery, cascadeReferencesTo, changeEventSubscribersAtCapacity, checkKnowledgeGraphFreshness, checkLiveSchemaParity, childAccessorName, chunkArray, classifyDatabaseError, classifyDialectMessage, classifyMethodWireability, classifyParameterWireability, clearRetentionTasks, clone, coerceCustomActionArgument, collectForeignKeyOrphanCounts, computeBodyEtag, computeRuntimeWebManifestHash, computeTableVersionEtag, conditionalJsonResponse, config, convertTypeToJsonSchema, createClassNamePredicate, createDataQueryFingerprint, createDispatchBus, createFilesystemAdapter, createInterceptorContext, createMCPServer, createManifestClassNamePredicate, createQualifiedName, createRestServer, createSmrtClient, createSmrtServer, crossPackageRef, customActionParameterInputName, declareChangeFeedSensitiveTable, declaredTypeAcceptsDate, declaresRuntimeRestRoute, declaresRuntimeRestRouteShape, deriveRunOnceClaimKey, detectEngine, digestRunOnceContent, discoverKnowledgeArtifactPaths, discoverManifestEntry, discoverScopedPackageDirectories, drainChangeFeed, ensureBootstrapSystemTableCompatibility, ensureCacheInvalidationListener, ensureChangeFeedTable, ensureDeferredSystemTableCompatibility, ensureDispatchSubscriptionsSystemTableCompatibility, ensureDispatchSystemTableCompatibility, ensureJobEventsSystemTableCompatibility, ensureJobsSystemTableCompatibility, ensureLegacySystemTableCompatibility, ensureSystemTables, estimateAiUsageCost, eventStreamCapacityExceededResponse, executeCollectionReadPlan, executeDecision, executeToolCall, executeToolCalls, field, filterVisibleChangeFeedEntries, findManifestEntryByQualifiedName, foreignKey, formatToolResults, generateDDLForEngine, generateOpenAPISpec, generateSchemaDiff, generateToolFromMethod, generateToolManifest, getAdapterInfo, getAuthorizedChangesSince, getAuthorizedTenantScopedChangesSince, getCacheGeneration, getChangeFeedSensitiveTables, getChangesSince, getClassConfigResolvers, getClassName, getConfigResolver, getDatabaseEngine, getManifest, getPackageFromQualifiedName, getRetentionTasks, getSQLFromDiff, getSystemTableShapes, getTableVersion, getTenantScopedChangesSince, getTestDatabase, handlePlaybookPreflightRoute, hasActionableChanges, hasChangeFeedEntryVisibilityHook, hasChangeFeedTableAuthorizerHook, ifNoneMatchHasConcreteMatch, ifNoneMatchSatisfied, importOptionalDependency, invalidateCollectionCache, isAbortedTransactionError, isAdvisoryOnlyChange, isApiActionEnabledForObject, isChangeFeedDenyAll, isChangeFeedEntryVisible, isChangeFeedSensitiveTable, isCrudOperation, isCrudToolAction, isDatabaseInterface, isDeterministicDatabaseError, isEmbeddedDatabase, isFrameworkBaseClass, isFromPackage, isLazyConfigSentinel, isManualOrAdvisoryChange, isNotNullViolationError, isPostgresDatabase, isQualifiedName, isRestActionRoutable, isRestRoutePublic, isSmrtCollectionExtendsName, isStaleWrite, isTenantScopedClassResolved, isTransientDatabaseError, isType, isUniqueViolationError, isValid, listConfigResolvers, loadExternalManifest, loadExternalManifestSync, loadLocalTestManifestSync, loadManifestFromPathSync, manifest, manyToMany, meta, method, migratePostgresSystemTimestamps, normalizeCustomActionFailure, normalizeDataQueryRequest, normalizeDataQueryResult, normalizeDataQuerySchema, normalizeEventsMaxSubscribers, normalizeOnDelete, normalizeTypedHttpError, oneToMany, parse, parseQualifiedName, parseSyncApplyBatch, payloadMatchesRow, planForeignKeyCreation, planPostgresPermissions, planPostgresSystemTimestampMigrations, postgresRevisionCandidates, postgresRevisionCondition, processSyncApplyBatch, pruneAiUsage, pruneChangeFeed, pruneExpiredContexts, pruneRunOnceClaims, publishArtifactFiles, publishAtomicArtifact, qualifiedNamesEqual, queryStringDecoderFor, readAgentModuleDocs, readDispatchHealth, readJobHealth, readMethodDecoratorConfig, readMigrationStatus, readPackageAgentDoc, readRecentChanges, readRegistryDrift, readScheduleHealth, readSystemDiagnostics, registerChangeFeedWriter, registerCompatibleFieldDecorator, registerCompatibleMethodDecorator, registerConfigResolver, registerFilesystemAdapterFactory, registerOptionalDependency, registerRetentionTask, resetChangeFeedWarnings, resetChangeSignals, resetCollectionCache, resetConfigResolvers, resetVerifiedTables, resolveAgentModuleDocPaths, resolveApiMethodExposure, resolveAuthorizedChangeFeedTables, resolveCustomActionMetadata, resolveDatabase, resolveDbCacheKey, resolveDeclaredScopeMismatch, resolveDispatchTenantId, resolveDispatchTenantScope, resolveEffectiveActionMetadata, resolveExistingRunOnceClaim, resolveFileKnowledgeConfig, resolveGetStringFilter, resolveLazyConfig, resolveListLimit, resolveListOffset, resolveMCPToolListCacheHint, resolvePostgresTimeouts, resolveReadCacheControl, resolveRegisteredObjectName, resolveTenantEtagDiscriminator, restFieldReadPermissions, restMethodForApiAction, runCascadeDelete, runOnce, runRetentionSweep, runWithTenantGate, safeParse, safeStringify, sanitizeMessagePaths, setChangeFeedAuthorizer, setChangeFeedEntryVisibility, setDispatchTenantResolver, setTenantEntryPointRunner, setTenantScopedClassResolver, setupSwaggerUI, shouldIncludeMethod, signalVisibleToTenant, smrt, smrtPlugin, smrt as smrtRegistry, snapshotRegistry, sortMCPTools, stableStringify, startRestServer, staticManifest, stopCacheInvalidationListeners, stopChangeSignalListeners, stringify, subscribeToChangeSignals, tableExists, toCustomActionBoolean, toCustomActionDate, toCustomActionNumber, toSnakeCase, tryReserveChangeEventSubscriberSlot, unregisterChangeFeedWriter, unregisterConfigResolver, unregisterRetentionTask, usesEmbeddedRevisionFallback, validatePostgresPermissionContract, validateSyncApplyItem, validateToolCall, versionConditionalResponse, warnIfSharedCacheNeutralized, withEmbeddedWriteQueue, withEmbeddedWriteTransaction };
106
+ export { AGENT_SURFACE_HASH_PREFIX, AIError, APIGenerator, AiUsageCollector, AiUsagePersistenceHandler, BOOTED_PROVENANCE, CACHE_INVALIDATION_CHANNEL, CHANGE_FEED_CREDENTIAL_TABLES, CHANGE_FEED_INTERCEPTOR_NAME, CHANGE_FEED_TABLE, CHANGE_SIGNAL_CHANNEL, CRUD_OPERATIONS, ConfigurationError, ContentHasher, CosineSimilarity, DEFAULT_AI_COST_RATES, DEFAULT_CHANGES_LIMIT, DEFAULT_DATA_QUERY_PAGE_LIMIT, DEFAULT_DATA_QUERY_RESULT_BYTES, DEFAULT_EMBEDDING_CONFIG, DEFAULT_EVENTS_HEARTBEAT_MS, DEFAULT_EVENTS_MAX_SUBSCRIBERS, DEFAULT_EVENTS_RETRY_AFTER_SECONDS, DEFAULT_FACET_LIMIT, DEFAULT_LEARNING_CONFIG, DEFAULT_LIST_LIMIT, DEFAULT_LIST_ORDER_BY, DEFAULT_POSTGRES_TIMEOUTS, DEFAULT_RETENTION_POLICY, DIAGNOSTICS_DEFAULT_LIMIT, DataQueryValidationError, DatabaseError, Dispatch, DispatchBus, DispatchCollection, DispatchSubscription, DispatchSubscriptionCollection, EmbeddingProvider, EmbeddingStorage, EmbeddingUnavailableError, ErrorUtils, FilesystemError, GlobalInterceptors, IN_LIST_CHUNK_SIZE, LearningMemory, LiveSchemaParityError, MAX_CHANGES_LIMIT, MAX_DATA_QUERY_CURSOR_LENGTH, MAX_DATA_QUERY_FACETS, MAX_DATA_QUERY_FILTERS, MAX_DATA_QUERY_FILTER_DEPTH, MAX_DATA_QUERY_IN_VALUES, MAX_DATA_QUERY_OFFSET, MAX_DATA_QUERY_PAGE_LIMIT, MAX_DATA_QUERY_REQUEST_BYTES, MAX_DATA_QUERY_RESULT_BYTES, MAX_DATA_QUERY_WARNINGS, MAX_FACET_FIELDS, MAX_FACET_LIMIT, MAX_LIST_LIMIT, MAX_STI_READ_SCOPE_TYPES, MAX_SYNC_APPLY_BATCH_SIZE, MCPGenerator, MCP_STABLE_CATALOG_TTL_MS, MODULE_DOC_HASH_PREFIX, ManifestBuilder, ManifestGenerator, ManifestManager, MetricsAdapter, NetworkError, ObjectRegistry, PLAYBOOK_PREFLIGHT_CAPABILITY, PLAYBOOK_PREFLIGHT_ROUTE_SEGMENT, POSTGRES_REVISION_GUARD_EXPRESSION, POSTGRES_TIMEOUT_ENV_VARS, PRIVATE_READ_CACHE_CONTROL, PubSubAdapter, QueryBoundsError, QueryOrderByError, RUN_ONCE_CLAIMS_TABLE, RunOnceClaimError, RuntimeError, SMRT_COLLECTION_BASE_NAMES, SMRT_CUSTOM_ACTION_ERROR_METADATA_KEY, SMRT_SCHEMA_VERSION, SYNC_APPLY_ROUTE_SEGMENTS, SYNC_APPLY_UUID_PATTERN, SYSTEM_DIAGNOSTICS_TABLES, SYSTEM_TABLE_NAMES, SchemaComparer, SignalBus, SignalSanitizer, SmrtClass, SmrtCollection, SmrtError, SmrtHierarchical, SmrtJunction, SmrtMCPServer, SmrtObject, SmrtPolymorphicAssociation, TenantIsolationError, ValidationError, ValidationReport, ValidationUtils, appendChange, appendChanges, applyOneToManyChildAccessors, applyPendingDecoratorRegistrations, applyPostgresPermissions, applyPostgresRuntimeTimeouts, applySyncWritablePolicy, assertPlainJson, assertPostgresSystemTimestampsCurrent, assertScopedPackageName, broadcastCacheInvalidation, buildCascadePlan, buildChangeEventStream, buildCustomActionInputSchema, buildCustomActionInvocationArgs, buildDefaultListOrderBy, buildDomainKnowledgeManifest, buildKnowledgeGraph, bumpChangeFeed, canonicalReadRepresentation, canonicalizeDataQuery, cascadeReferencesTo, changeEventSubscribersAtCapacity, checkKnowledgeGraphFreshness, checkLiveSchemaParity, childAccessorName, chunkArray, classifyDatabaseError, classifyDialectMessage, classifyMethodWireability, classifyParameterWireability, clearRetentionTasks, clone, coerceCustomActionArgument, collectForeignKeyOrphanCounts, computeBodyEtag, computeRuntimeWebManifestHash, computeTableVersionEtag, conditionalJsonResponse, config, convertTypeToJsonSchema, createClassNamePredicate, createDataQueryFingerprint, createDispatchBus, createFilesystemAdapter, createGeneratedCollectionAccess, createInterceptorContext, createMCPServer, createManifestClassNamePredicate, createQualifiedName, createRestServer, createSmrtClient, createSmrtServer, crossPackageRef, customActionParameterInputName, declareChangeFeedSensitiveTable, declaredTypeAcceptsDate, declaresRuntimeRestRoute, declaresRuntimeRestRouteShape, deriveRunOnceClaimKey, detectEngine, digestRunOnceContent, discoverKnowledgeArtifactPaths, discoverManifestEntry, discoverScopedPackageDirectories, drainChangeFeed, ensureBootstrapSystemTableCompatibility, ensureCacheInvalidationListener, ensureChangeFeedTable, ensureDeferredSystemTableCompatibility, ensureDispatchSubscriptionsSystemTableCompatibility, ensureDispatchSystemTableCompatibility, ensureJobEventsSystemTableCompatibility, ensureJobsSystemTableCompatibility, ensureLegacySystemTableCompatibility, ensureSystemTables, estimateAiUsageCost, eventStreamCapacityExceededResponse, executeCollectionReadPlan, executeDecision, executeToolCall, executeToolCalls, field, filterVisibleChangeFeedEntries, findManifestEntryByQualifiedName, foreignKey, formatToolResults, generateDDLForEngine, generateOpenAPISpec, generateSchemaDiff, generateToolFromMethod, generateToolManifest, getAdapterInfo, getAuthorizedChangesSince, getAuthorizedTenantScopedChangesSince, getCacheGeneration, getChangeFeedSensitiveTables, getChangesSince, getClassConfigResolvers, getClassName, getConfigResolver, getDatabaseEngine, getManifest, getPackageFromQualifiedName, getRetentionTasks, getSQLFromDiff, getSystemTableShapes, getTableVersion, getTenantScopedChangesSince, getTestDatabase, handlePlaybookPreflightRoute, hasActionableChanges, hasChangeFeedEntryVisibilityHook, hasChangeFeedTableAuthorizerHook, ifNoneMatchHasConcreteMatch, ifNoneMatchSatisfied, importOptionalDependency, invalidateCollectionCache, isAbortedTransactionError, isAdvisoryOnlyChange, isApiActionEnabledForObject, isChangeFeedDenyAll, isChangeFeedEntryVisible, isChangeFeedSensitiveTable, isCrudOperation, isCrudToolAction, isDatabaseInterface, isDeterministicDatabaseError, isEmbeddedDatabase, isFrameworkBaseClass, isFromPackage, isLazyConfigSentinel, isManualOrAdvisoryChange, isNotNullViolationError, isPostgresDatabase, isQualifiedName, isRestActionRoutable, isRestRoutePublic, isScopedPackageName, isSmrtCollectionExtendsName, isStaleWrite, isTenantScopedClassResolved, isTransientDatabaseError, isType, isUniqueViolationError, isValid, listConfigResolvers, loadExternalManifest, loadExternalManifestSync, loadLocalTestManifestSync, loadManifestFromPathSync, manifest, manyToMany, meta, method, migratePostgresSystemTimestamps, normalizeCustomActionFailure, normalizeDataQueryRequest, normalizeDataQueryResult, normalizeDataQuerySchema, normalizeEventsMaxSubscribers, normalizeOnDelete, normalizeTypedHttpError, oneToMany, parse, parseQualifiedName, parseSyncApplyBatch, payloadMatchesRow, planForeignKeyCreation, planPostgresPermissions, planPostgresSystemTimestampMigrations, postgresRevisionCandidates, postgresRevisionCondition, processSyncApplyBatch, pruneAiUsage, pruneChangeFeed, pruneExpiredContexts, pruneRunOnceClaims, publishArtifactFiles, publishAtomicArtifact, qualifiedNamesEqual, queryStringDecoderFor, readAgentModuleDocs, readDispatchHealth, readJobHealth, readMethodDecoratorConfig, readMigrationStatus, readPackageAgentDoc, readRecentChanges, readRegistryDrift, readScheduleHealth, readSystemDiagnostics, registerChangeFeedWriter, registerCompatibleFieldDecorator, registerCompatibleMethodDecorator, registerConfigResolver, registerFilesystemAdapterFactory, registerOptionalDependency, registerRetentionTask, resetChangeFeedWarnings, resetChangeSignals, resetCollectionCache, resetConfigResolvers, resetVerifiedTables, resolveAgentModuleDocPaths, resolveApiMethodExposure, resolveAuthorizedChangeFeedTables, resolveCustomActionMetadata, resolveDatabase, resolveDbCacheKey, resolveDeclaredScopeMismatch, resolveDispatchTenantId, resolveDispatchTenantScope, resolveEffectiveActionMetadata, resolveExistingRunOnceClaim, resolveFileKnowledgeConfig, resolveGetStringFilter, resolveLazyConfig, resolveListLimit, resolveListOffset, resolveMCPToolListCacheHint, resolvePostgresTimeouts, resolveReadCacheControl, resolveRegisteredObjectName, resolveTenantEtagDiscriminator, restFieldReadPermissions, restMethodForApiAction, runCascadeDelete, runOnce, runRetentionSweep, runWithTenantGate, safeParse, safeStringify, sanitizeMessagePaths, setChangeFeedAuthorizer, setChangeFeedEntryVisibility, setDispatchTenantResolver, setTenantEntryPointRunner, setTenantScopedClassResolver, setupSwaggerUI, shouldIncludeMethod, signalVisibleToTenant, smrt, smrtPlugin, smrt as smrtRegistry, snapshotRegistry, sortMCPTools, stableStringify, startRestServer, staticManifest, stopCacheInvalidationListeners, stopChangeSignalListeners, stringify, subscribeToChangeSignals, tableExists, toCustomActionBoolean, toCustomActionDate, toCustomActionNumber, toSnakeCase, tryReserveChangeEventSubscriberSlot, unregisterChangeFeedWriter, unregisterConfigResolver, unregisterRetentionTask, usesEmbeddedRevisionFallback, validatePostgresPermissionContract, validateSyncApplyItem, validateToolCall, versionConditionalResponse, warnIfSharedCacheNeutralized, withEmbeddedWriteQueue, withEmbeddedWriteTransaction };
@@ -3,7 +3,7 @@ var staticManifest = {
3
3
  "version": "1.0.0",
4
4
  "timestamp": 0,
5
5
  "packageName": "@happyvertical/smrt-core",
6
- "packageVersion": "0.53.4",
6
+ "packageVersion": "0.53.6",
7
7
  "objects": {
8
8
  "@happyvertical/smrt-core:SmrtClass": {
9
9
  "name": "smrtclass",