@zintrust/core 1.6.0 → 1.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/core",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Production-grade TypeScript backend framework for JavaScript",
5
5
  "homepage": "https://zintrust.com",
6
6
  "repository": {
@@ -57,14 +57,14 @@
57
57
  "./package.json": "./package.json"
58
58
  },
59
59
  "dependencies": {
60
- "@cloudflare/containers": "^0.3.2",
60
+ "@cloudflare/containers": "^0.3.3",
61
61
  "bcryptjs": "^3.0.3",
62
- "bullmq": "^5.76.1",
62
+ "bullmq": "^5.76.4",
63
63
  "chalk": "^5.6.2",
64
64
  "commander": "^14.0.3",
65
- "inquirer": "^13.4.1",
65
+ "inquirer": "^13.4.2",
66
66
  "jsonwebtoken": "^9.0.3",
67
- "mysql2": "^3.22.1",
67
+ "mysql2": "^3.22.3",
68
68
  "pg": "^8.20.0",
69
69
  "tsx": "^4.21.0"
70
70
  },
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/boot/registry/runtime.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAkQ9C,eAAO,MAAM,8BAA8B,GAAI,iBAAiB,gBAAgB,KAAG,IA6BlF,CAAC;AA8UF,KAAK,eAAe,GAAG;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,gBAAgB,CAAC;IAClC,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AA4HF,eAAO,MAAM,eAAe,GAC1B,QAAQ,eAAe,KACtB;IAAE,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAK5D,CAAC"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../src/boot/registry/runtime.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AA0Q9C,eAAO,MAAM,8BAA8B,GAAI,iBAAiB,gBAAgB,KAAG,IA6BlF,CAAC;AAyVF,KAAK,eAAe,GAAG;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,gBAAgB,CAAC;IAClC,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,SAAS,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACrC,CAAC;AA4HF,eAAO,MAAM,eAAe,GAC1B,QAAQ,eAAe,KACtB;IAAE,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAK5D,CAAC"}
@@ -49,12 +49,19 @@ const loadBundledSystemTraceModule = async () => {
49
49
  return undefined;
50
50
  }
51
51
  };
52
+ const resolveLocalSystemTraceProjectRoot = () => {
53
+ const configuredProjectRoot = readEnvString('ZINTRUST_PROJECT_ROOT').trim();
54
+ if (configuredProjectRoot !== '') {
55
+ return configuredProjectRoot;
56
+ }
57
+ return typeof process !== 'undefined' && typeof process.cwd === 'function' ? process.cwd() : '';
58
+ };
52
59
  const loadLocalSystemTraceModule = async () => {
53
60
  const globalTracePluginState = globalThis;
54
61
  if (globalTracePluginState.__zintrust_system_trace_runtime__ !== undefined) {
55
62
  return globalTracePluginState.__zintrust_system_trace_runtime__;
56
63
  }
57
- const projectRoot = typeof process !== 'undefined' && typeof process.cwd === 'function' ? process.cwd() : '';
64
+ const projectRoot = resolveLocalSystemTraceProjectRoot();
58
65
  if (projectRoot !== '') {
59
66
  const moduleCandidates = [
60
67
  path.join(projectRoot, 'src', 'runtime', 'plugins', 'trace-runtime.ts'),
@@ -411,6 +418,12 @@ const isTraceDashboardAutoMountEnabled = () => {
411
418
  const raw = readEnvString('TRACE_AUTO_MOUNT').trim().toLowerCase();
412
419
  return raw === '1' || raw === 'true';
413
420
  };
421
+ const isTraceProxySenderEnabled = () => {
422
+ const proxyEnabled = readEnvString('TRACE_PROXY').trim().toLowerCase();
423
+ if (proxyEnabled !== '1' && proxyEnabled !== 'true')
424
+ return false;
425
+ return readEnvString('TRACE_PROXY_URL').trim() !== '';
426
+ };
414
427
  const resolveTraceDashboardBasePath = () => {
415
428
  const raw = readEnvString('TRACE_BASE_PATH').trim();
416
429
  if (raw === '')
@@ -447,6 +460,9 @@ const initializeSystemTrace = async (router) => {
447
460
  return;
448
461
  }
449
462
  if (!isTraceDashboardAutoMountEnabled()) {
463
+ if (isTraceProxySenderEnabled()) {
464
+ return;
465
+ }
450
466
  Logger.info('System Trace runtime activated. Set TRACE_AUTO_MOUNT=true or register dashboard routes manually if needed.');
451
467
  return;
452
468
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CloudflareWranglerDevEnv.d.ts","sourceRoot":"","sources":["../../../../src/cli/cloudflare/CloudflareWranglerDevEnv.ts"],"names":[],"mappings":"AAUA,KAAK,kBAAkB,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAyJF,eAAO,MAAM,0BAA0B,GACrC,MAAM,kBAAkB,KACvB,OAAO,CAAC,mCAAmC,CAmB7C,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAU,CAAC,EACjD,MAAM,kBAAkB,EACxB,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,KACnB,OAAO,CAAC,CAAC,CA8BX,CAAC;;uCAvDM,kBAAkB,KACvB,OAAO,CAAC,mCAAmC,CAAC;kCAqBG,CAAC,QAC3C,kBAAkB,MACpB,MAAM,OAAO,CAAC,CAAC,CAAC,KACnB,OAAO,CAAC,CAAC,CAAC;;AAgCb,wBAGG"}
1
+ {"version":3,"file":"CloudflareWranglerDevEnv.d.ts","sourceRoot":"","sources":["../../../../src/cli/cloudflare/CloudflareWranglerDevEnv.ts"],"names":[],"mappings":"AAUA,KAAK,kBAAkB,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IAC/B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AA+MF,eAAO,MAAM,0BAA0B,GACrC,MAAM,kBAAkB,KACvB,OAAO,CAAC,mCAAmC,CAmB7C,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAU,CAAC,EACjD,MAAM,kBAAkB,EACxB,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,KACnB,OAAO,CAAC,CAAC,CAkCX,CAAC;;uCA3DM,kBAAkB,KACvB,OAAO,CAAC,mCAAmC,CAAC;kCAqBG,CAAC,QAC3C,kBAAkB,MACpB,MAAM,OAAO,CAAC,CAAC,CAAC,KACnB,OAAO,CAAC,CAAC,CAAC;;AAoCb,wBAGG"}
@@ -70,6 +70,42 @@ const resolveRuntimeEnvMap = (runtimeEnv) => {
70
70
  return typeof entry[1] === 'string';
71
71
  }));
72
72
  };
73
+ const readExistingWranglerDevVars = async (args) => {
74
+ const fileName = getWranglerDevVarsFileName(args.envName);
75
+ const targetPath = path.join(args.cwd, fileName);
76
+ const backupPath = getWranglerDevVarsBackupPath(targetPath);
77
+ let sourcePath;
78
+ if (existsSync(targetPath)) {
79
+ sourcePath = fileName;
80
+ }
81
+ else if (existsSync(backupPath)) {
82
+ sourcePath = path.basename(backupPath);
83
+ }
84
+ if (sourcePath === undefined)
85
+ return {};
86
+ return EnvFile.read({
87
+ cwd: args.cwd,
88
+ path: sourcePath,
89
+ });
90
+ };
91
+ const isTruthyEnvValue = (value) => {
92
+ if (!isNonEmptyString(value))
93
+ return false;
94
+ const normalized = value.trim().toLowerCase();
95
+ return normalized === '1' || normalized === 'true' || normalized === 'yes' || normalized === 'on';
96
+ };
97
+ const shouldUseEnvFileDirectly = async (args) => {
98
+ const runtimeEnv = resolveRuntimeEnvMap(args.runtimeEnv ?? process.env);
99
+ if (isTruthyEnvValue(runtimeEnv['USE_ENV'])) {
100
+ return true;
101
+ }
102
+ const envPath = isNonEmptyString(args.envPath) ? args.envPath.trim() : '.env';
103
+ const envFileValues = await EnvFile.read({
104
+ cwd: args.projectRoot,
105
+ path: envPath,
106
+ });
107
+ return isTruthyEnvValue(envFileValues['USE_ENV']);
108
+ };
73
109
  const resolveSelectedKeys = (args) => {
74
110
  const zintrustConfigPath = path.join(args.projectRoot, '.zintrust.json');
75
111
  if (!existsSync(zintrustConfigPath)) {
@@ -93,6 +129,7 @@ const resolveSelectedKeys = (args) => {
93
129
  };
94
130
  const collectWranglerDevVarValues = async (args, selectedKeys) => {
95
131
  const runtimeEnv = resolveRuntimeEnvMap(args.runtimeEnv ?? process.env);
132
+ const existingDevVarValues = await readExistingWranglerDevVars(args);
96
133
  const envPath = isNonEmptyString(args.envPath) ? args.envPath.trim() : '.env';
97
134
  const envFileValues = await EnvFile.read({
98
135
  cwd: args.projectRoot,
@@ -100,14 +137,22 @@ const collectWranglerDevVarValues = async (args, selectedKeys) => {
100
137
  });
101
138
  const allowedKeys = selectedKeys.length === 0
102
139
  ? undefined
103
- : new Set([...WRANGLER_RUNTIME_ENV_KEYS, ...selectedKeys]);
140
+ : new Set([
141
+ ...WRANGLER_RUNTIME_ENV_KEYS,
142
+ ...selectedKeys,
143
+ ...Object.keys(existingDevVarValues),
144
+ ]);
104
145
  const candidateKeys = allowedKeys === undefined
105
- ? uniq([...Object.keys(runtimeEnv), ...Object.keys(envFileValues)]).filter(isWranglerVarName)
146
+ ? uniq([
147
+ ...Object.keys(runtimeEnv),
148
+ ...Object.keys(envFileValues),
149
+ ...Object.keys(existingDevVarValues),
150
+ ]).filter(isWranglerVarName)
106
151
  : [...allowedKeys].filter(isWranglerVarName);
107
152
  const values = {};
108
153
  const missingKeys = [];
109
154
  for (const key of candidateKeys) {
110
- const value = envFileValues[key] ?? runtimeEnv[key];
155
+ const value = existingDevVarValues[key] ?? envFileValues[key] ?? runtimeEnv[key];
111
156
  if (typeof value !== 'string') {
112
157
  if (selectedKeys.includes(key))
113
158
  missingKeys.push(key);
@@ -136,6 +181,9 @@ export const materializeWranglerDevVars = async (args) => {
136
181
  };
137
182
  };
138
183
  export const withWranglerDevVarsSnapshot = async (args, fn) => {
184
+ if (await shouldUseEnvFileDirectly(args)) {
185
+ return fn();
186
+ }
139
187
  const targetPath = path.join(args.cwd, getWranglerDevVarsFileName(args.envName));
140
188
  const backupPath = getWranglerDevVarsBackupPath(targetPath);
141
189
  try {
@@ -1 +1 @@
1
- {"version":3,"file":"StartCommand.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/StartCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAugCvF,eAAO,MAAM,YAAY;cACb,YAAY;;mCA38BU,MAAM,KAAG,OAAO;4CAaP,MAAM,KAAG,MAAM;4CA4Bf,MAAM,KAAG,OAAO;sCAetB,MAAM,WAAW,MAAM,KAAG,OAAO;oCAmBnC,MAAM,KAAG,OAAO;;EA26BjD,CAAC"}
1
+ {"version":3,"file":"StartCommand.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/StartCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAygCvF,eAAO,MAAM,YAAY;cACb,YAAY;;mCA78BU,MAAM,KAAG,OAAO;4CAaP,MAAM,KAAG,MAAM;4CA4Bf,MAAM,KAAG,OAAO;sCAetB,MAAM,WAAW,MAAM,KAAG,OAAO;oCAmBnC,MAAM,KAAG,OAAO;;EA66BjD,CAAC"}
@@ -320,10 +320,12 @@ const readPackageJsonFromDir = (dir) => {
320
320
  }
321
321
  };
322
322
  const resolveStartContext = (cwd) => {
323
- const projectRoot = findNearestPackageJsonDir(cwd) ?? cwd;
324
- const packageDir = findNearestPackageJsonDir(cwd);
323
+ const configuredProjectRoot = (process.env['ZINTRUST_PROJECT_ROOT'] ?? '').trim();
324
+ const effectiveCwd = configuredProjectRoot === '' ? cwd : configuredProjectRoot;
325
+ const projectRoot = findNearestPackageJsonDir(effectiveCwd) ?? effectiveCwd;
326
+ const packageDir = findNearestPackageJsonDir(effectiveCwd);
325
327
  return {
326
- cwd,
328
+ cwd: effectiveCwd,
327
329
  projectRoot,
328
330
  ...(packageDir === undefined ? {} : { packageJson: readPackageJsonFromDir(packageDir) }),
329
331
  };
@@ -1 +1 @@
1
- {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../../src/cli/scaffolding/env.ts"],"names":[],"mappings":"AAmiBA,eAAO,MAAM,OAAO,GAClB,MAAM,MAAM,EACZ,MAAM,MAAM,EACZ,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,oBAAoB,MAAM,EAC1B,SAAS,MAAM,EAAE,EACjB,cAAc,MAAM,KACnB,MAAM,EAWR,CAAC"}
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../../src/cli/scaffolding/env.ts"],"names":[],"mappings":"AAqiBA,eAAO,MAAM,OAAO,GAClB,MAAM,MAAM,EACZ,MAAM,MAAM,EACZ,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,oBAAoB,MAAM,EAC1B,SAAS,MAAM,EAAE,EACjB,cAAc,MAAM,KACnB,MAAM,EAWR,CAAC"}
@@ -26,6 +26,8 @@ const HeaderAndApp = (name, port, baseUrl, appKey) => [
26
26
  '',
27
27
  '# Cloudflare Workers (TCP sockets) — set true if using TCP adapters on Workers.',
28
28
  'ENABLE_CLOUDFLARE_SOCKETS=false',
29
+ '# When true, Wrangler reads .env directly and ZinTrust will not materialize .dev.vars files.',
30
+ 'USE_ENV=false',
29
31
  '',
30
32
  '# CLI / tooling',
31
33
  'ZINTRUST_RUN_FROM_SOURCE=0',
package/src/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @zintrust/core v1.6.0
2
+ * @zintrust/core v1.6.2
3
3
  *
4
4
  * ZinTrust Framework - Production-Grade TypeScript Backend
5
5
  * Built for performance, type safety, and exceptional developer experience
6
6
  *
7
7
  * Build Information:
8
- * Built: 2026-04-29T16:55:46.596Z
8
+ * Built: 2026-04-30T16:12:18.041Z
9
9
  * Node: >=20.0.0
10
10
  * License: MIT
11
11
  *
@@ -21,7 +21,7 @@
21
21
  * Available at runtime for debugging and health checks
22
22
  */
23
23
  export const ZINTRUST_VERSION = '0.1.41';
24
- export const ZINTRUST_BUILD_DATE = '2026-04-29T16:55:46.563Z'; // Replaced during build
24
+ export const ZINTRUST_BUILD_DATE = '2026-04-30T16:12:18.008Z'; // Replaced during build
25
25
  export { Application } from './boot/Application.js';
26
26
  export { AwsSigV4 } from './common/index.js';
27
27
  export { SignedRequest } from './security/SignedRequest.js';
@@ -1 +1 @@
1
- {"version":3,"file":"SQLiteAdapter.d.ts","sourceRoot":"","sources":["../../../../src/orm/adapters/SQLiteAdapter.ts"],"names":[],"mappings":"AACA;;;GAGG;AAUH,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAe,MAAM,sBAAsB,CAAC;AA+N1F,iBAAS,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,gBAAgB,CA0FrE;AAED,eAAO,MAAM,aAAa;;EAExB,CAAC"}
1
+ {"version":3,"file":"SQLiteAdapter.d.ts","sourceRoot":"","sources":["../../../../src/orm/adapters/SQLiteAdapter.ts"],"names":[],"mappings":"AACA;;;GAGG;AAWH,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAe,MAAM,sBAAsB,CAAC;AAuO1F,iBAAS,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,gBAAgB,CA0FrE;AAED,eAAO,MAAM,aAAa;;EAExB,CAAC"}
@@ -4,6 +4,7 @@
4
4
  * Production Implementation
5
5
  */
6
6
  import { databaseConfig } from '../../config/database.js';
7
+ import { Env } from '../../config/env.js';
7
8
  import { FeatureFlags } from '../../config/features.js';
8
9
  import { Logger } from '../../config/logger.js';
9
10
  import { ErrorFactory } from '../../exceptions/ZintrustError.js';
@@ -60,7 +61,15 @@ async function importSqliteDatabaseConstructor() {
60
61
  }
61
62
  function normalizeFilename(database) {
62
63
  const value = (database ?? '').trim();
63
- return value.length > 0 ? value : ':memory:';
64
+ if (value.length === 0)
65
+ return ':memory:';
66
+ if (value === ':memory:' || value.startsWith('/') || /^[A-Za-z]:[\\/]/.test(value)) {
67
+ return value;
68
+ }
69
+ const configuredProjectRoot = Env.ZINTRUST_PROJECT_ROOT.trim();
70
+ if (configuredProjectRoot !== '')
71
+ return path.join(configuredProjectRoot, value);
72
+ return value;
64
73
  }
65
74
  function isSelectQuery(sql) {
66
75
  const normalized = sql.trimStart().toLowerCase();
@@ -17,7 +17,7 @@ const parseReadHosts = (raw: string): string[] | undefined => {
17
17
  };
18
18
 
19
19
  export default {
20
- default: Env.get('DB_CONNECTION', 'mysql'),
20
+ default: Env.get('DB_CONNECTION', Env.getBool('CLOUDFLARE_WORKER', false) ? 'd1' : 'sqlite'),
21
21
  connections: {
22
22
  sqlite: {
23
23
  driver: 'sqlite' as const,
@@ -1,7 +1,10 @@
1
1
  /**
2
- * Auto-generated fallback module.
3
- * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
- * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
2
+ * ZinTrust plugin auto-imports
3
+ *
4
+ * In real projects, this file is managed by `zin plugin install` and contains
5
+ * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
+ * optional adapters/drivers into core registries.
7
+ *
5
8
  */
6
9
  export type {};
7
10
  export declare const __zintrustGeneratedPluginStub = "zintrust.plugins.ts";
@@ -1 +1 @@
1
- {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
1
+ {"version":3,"file":"zintrust.plugins.d.ts","sourceRoot":"","sources":["../../src/zintrust.plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,YAAY,EAAE,CAAC;AAgBf,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;;AACnE,wBAAkB"}
@@ -1,7 +1,10 @@
1
1
  /**
2
- * Auto-generated fallback module.
3
- * This file is created by scripts/ensure-worker-plugins.mjs when missing.
4
- * It allows optional runtime plugin imports to resolve in CI/scaffolded setups.
2
+ * ZinTrust plugin auto-imports
3
+ *
4
+ * In real projects, this file is managed by `zin plugin install` and contains
5
+ * side-effect imports (e.g. `@zintrust/db-sqlite/register`) that register
6
+ * optional adapters/drivers into core registries.
7
+ *
5
8
  */
6
9
  import * as TraceRuntime from './runtime/plugins/trace-runtime.js';
7
10
  globalThis.__zintrust_system_trace_plugin_requested__ = true;