@happyvertical/smrt-config 0.55.3 → 0.55.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/AGENTS.md +4 -1
- package/dist/browser.d.ts +20 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +9 -0
- package/dist/browser.js.map +1 -0
- package/dist/chunks/shared-B81TOCQq.js +1065 -0
- package/dist/chunks/shared-B81TOCQq.js.map +1 -0
- package/dist/index.d.ts +2 -291
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1056
- package/dist/index.js.map +1 -1
- package/dist/loaded-config.d.ts +25 -0
- package/dist/loaded-config.d.ts.map +1 -0
- package/dist/loader-state.d.ts +38 -0
- package/dist/loader-state.d.ts.map +1 -0
- package/dist/loader.d.ts +1 -25
- package/dist/loader.d.ts.map +1 -1
- package/dist/shared.d.ts +277 -0
- package/dist/shared.d.ts.map +1 -0
- package/package.json +3 -2
package/dist/shared.d.ts
ADDED
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { type ResolveAIProviderOptions, type ResolvedAIProviderConfig } from './ai.js';
|
|
2
|
+
import { type ResolvedCliDatabase } from './database-environment.js';
|
|
3
|
+
import { type ResolvedApplicationRuntime } from './runtime-profile.js';
|
|
4
|
+
import type { AIConfigBlock, SmrtConfig } from './types.js';
|
|
5
|
+
export { AI_PROVIDER_KEY_ENV, type AIConfigField, type AIConfigSource, type AIExplicitConfig, type AIProviderClientOptions, AIProviderNotConfiguredError, canonicalizeAIConfig, DEFAULT_AI_ENV_PREFIXES, describeAIProviderConfig, getDefaultAIKeyEnvName, mergeAIConfigObjects, type ResolveAIProviderOptions, type ResolvedAIProviderConfig, redactBaseUrl, resolveAIProviderConfig, toAIClientOptions, tryResolveAIProviderConfig, withAIAliases, } from './ai.js';
|
|
6
|
+
export type { CliDatabaseSource, CliDatabaseType, ResolvedCliDatabase, } from './database-environment.js';
|
|
7
|
+
export { type ExportConfigOptions, exportConfig, mergeExportedConfig, parseExportedConfig, sanitizeConfig, } from './export.js';
|
|
8
|
+
export { clearRuntimeConfig, getRuntimeConfig, mergeConfigs } from './merge.js';
|
|
9
|
+
export type { ApplicationRuntimeConfig, ApplicationRuntimeProfile, AssetOwnership, AssetStorageProvider, AuthenticationProvider, BackupProvider, ConnectionOwnership, DatabaseEngine, JobTopology, NetworkExposure, OwnerBootstrapMode, ResolvedApplicationRuntime, RuntimeAssetProvider, RuntimeAuthenticationProvider, RuntimeCapabilities, RuntimeDatabaseProvider, RuntimeInvariants, RuntimeJobProvider, RuntimeNetworkProvider, RuntimeOverrideReport, RuntimePortabilityProvider, RuntimeProfileValidationIssue, RuntimeProviderOverrides, RuntimeProviders, RuntimeSecretProvider, RuntimeTenancyProvider, SecretOwnership, SecretProvider, TenancyMode, TenantContextMode, TenantIsolation, } from './runtime-profile.js';
|
|
10
|
+
export { getApplicationRuntimePreset, RuntimeProfileValidationError, resolveApplicationRuntime, } from './runtime-profile.js';
|
|
11
|
+
export type { AIConfigBlock, CliConfig, DatabaseConfig, ExportConfig, ExportFileConfig, ExportFilterValue, LoadConfigOptions, MigrationsConfig, MigrationsPostgresConfig, PostgresPermissionsConfig, SchemaContractConfig, SiteConfig, SiteLocation, SiteNavigation, SiteNavigationLink, SitePublisher, SiteTheme, SmrtConfig, SmrtGlobalConfig, } from './types.js';
|
|
12
|
+
/**
|
|
13
|
+
* Return the loaded file configuration synchronously.
|
|
14
|
+
*
|
|
15
|
+
* Reads from `globalThis.__smrtConfigCache` without triggering a file search.
|
|
16
|
+
* Returns `null` when {@link loadConfig} has not been called yet (or after
|
|
17
|
+
* {@link clearCache} resets the cache).
|
|
18
|
+
*
|
|
19
|
+
* @returns The cached {@link SmrtConfig}, or `null` if not yet loaded.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const config = getConfig();
|
|
24
|
+
* if (config?.smrt?.logLevel === 'debug') {
|
|
25
|
+
* console.log('Debug logging enabled');
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link loadConfig}
|
|
30
|
+
* @see {@link resolveConfiguredApplicationRuntime}
|
|
31
|
+
* @see {@link getSiteConfig}
|
|
32
|
+
* @see {@link getModuleConfig}
|
|
33
|
+
*/
|
|
34
|
+
export declare function getConfig(): SmrtConfig | null;
|
|
35
|
+
/**
|
|
36
|
+
* Resolve the effective application runtime using the documented config
|
|
37
|
+
* priority: runtime overrides set by {@link setConfig} > loaded file config >
|
|
38
|
+
* profile defaults.
|
|
39
|
+
*
|
|
40
|
+
* This accessor is intentionally separate from {@link getConfig}, whose legacy
|
|
41
|
+
* contract returns the loaded file object only. When a runtime override selects
|
|
42
|
+
* a different profile, lower-priority provider overrides are discarded so they
|
|
43
|
+
* cannot leak profile-specific choices (for example local files or inline jobs)
|
|
44
|
+
* into the new profile. Provider overrides still deep-merge when the profile is
|
|
45
|
+
* unchanged.
|
|
46
|
+
*
|
|
47
|
+
* @returns A validated, deterministic, secret-free runtime snapshot.
|
|
48
|
+
* @throws {RuntimeProfileValidationError} When no profile is configured or the
|
|
49
|
+
* effective provider composition violates a profile invariant.
|
|
50
|
+
*/
|
|
51
|
+
export declare function resolveConfiguredApplicationRuntime(): Readonly<ResolvedApplicationRuntime>;
|
|
52
|
+
/**
|
|
53
|
+
* Resolve the runtime an application actually runs with, from its loaded
|
|
54
|
+
* file config plus {@link setConfig} runtime overrides.
|
|
55
|
+
*
|
|
56
|
+
* The one rule `smrt app` and the SvelteKit runtime share (#3446): when
|
|
57
|
+
* neither layer declares a `runtime` block — the property is absent, or
|
|
58
|
+
* explicitly `undefined` — the application runs the `local` profile.
|
|
59
|
+
* Otherwise this is {@link resolveConfiguredApplicationRuntime}, so a present
|
|
60
|
+
* value that is not a runtime block (`null`, `false`, `0`, `''`, a string, an
|
|
61
|
+
* array) fails closed with the same {@link RuntimeProfileValidationError}
|
|
62
|
+
* instead of silently selecting `local`.
|
|
63
|
+
*
|
|
64
|
+
* @param config - The file configuration returned by {@link loadConfig};
|
|
65
|
+
* `null`/`undefined` means no file configuration.
|
|
66
|
+
* @returns A validated, deterministic, secret-free runtime snapshot.
|
|
67
|
+
* @throws {RuntimeProfileValidationError} When a declared runtime block is not
|
|
68
|
+
* an object or violates a profile invariant.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const runtime = resolveEffectiveApplicationRuntime(await loadConfig());
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare function resolveEffectiveApplicationRuntime(config: SmrtConfig | null | undefined): Readonly<ResolvedApplicationRuntime>;
|
|
76
|
+
/**
|
|
77
|
+
* Return the `site` section of the loaded configuration.
|
|
78
|
+
*
|
|
79
|
+
* Equivalent to `getConfig()?.site ?? null`. Returns `null` both when no
|
|
80
|
+
* config has been loaded and when the loaded config has no `site` key.
|
|
81
|
+
*
|
|
82
|
+
* @returns The {@link SiteConfig} object, or `null` if not defined.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ```ts
|
|
86
|
+
* const site = getSiteConfig();
|
|
87
|
+
* const title = site?.name ?? 'Untitled Site';
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @see {@link SiteConfig}
|
|
91
|
+
* @see {@link getConfig}
|
|
92
|
+
*/
|
|
93
|
+
export declare function getSiteConfig(): import('./types.js').SiteConfig | null;
|
|
94
|
+
/**
|
|
95
|
+
* Return the resolved configuration for a named module.
|
|
96
|
+
*
|
|
97
|
+
* Merges four layers in ascending priority order:
|
|
98
|
+
* 1. `defaults` (caller-supplied fallbacks)
|
|
99
|
+
* 2. Global `smrt` section of the loaded config
|
|
100
|
+
* 3. `modules[moduleName]` section of the loaded config
|
|
101
|
+
* 4. Runtime `modules[moduleName]` overrides set via {@link setConfig}
|
|
102
|
+
*
|
|
103
|
+
* Works synchronously — call {@link loadConfig} first to populate the cache.
|
|
104
|
+
* If no config has been loaded, only `defaults` are returned.
|
|
105
|
+
*
|
|
106
|
+
* @param moduleName - Key in `config.modules` (e.g., `'praeco'`).
|
|
107
|
+
* @param defaults - Optional fallback values used when a key is absent from all
|
|
108
|
+
* higher-priority layers.
|
|
109
|
+
* @returns The fully merged module config typed as `T`.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const config = getModuleConfig('praeco', {
|
|
114
|
+
* rssLimit: 50,
|
|
115
|
+
* fetchTimeout: 10_000,
|
|
116
|
+
* });
|
|
117
|
+
* // config.rssLimit may be overridden by smrt.config.js or setConfig()
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @see {@link getPackageConfig}
|
|
121
|
+
* @see {@link setConfig}
|
|
122
|
+
* @see {@link SmrtConfig.modules}
|
|
123
|
+
*/
|
|
124
|
+
export declare function getModuleConfig<T extends Record<string, unknown>>(moduleName: string, defaults?: T): T;
|
|
125
|
+
/**
|
|
126
|
+
* Resolve the database `smrt` commands and `smrt-dev-mcp` use: the declared
|
|
127
|
+
* `packages.cli.database` from any config layer, else `DATABASE_URL` /
|
|
128
|
+
* `DATABASE_TYPE` (#3410, #3446).
|
|
129
|
+
*
|
|
130
|
+
* A configured `database.url` always wins and the environment is not read.
|
|
131
|
+
* Otherwise `DATABASE_URL` supplies the URL and its engine comes from the
|
|
132
|
+
* config's `database.type`, else `DATABASE_TYPE`, else the URL scheme. An
|
|
133
|
+
* unsupported `DATABASE_TYPE` yields `invalid-environment` instead of a guess.
|
|
134
|
+
* Read-only: nothing is written to the config. Call after {@link loadConfig}.
|
|
135
|
+
*
|
|
136
|
+
* @param env - Environment to read (defaults to `process.env`).
|
|
137
|
+
* @returns The source and, for `config`/`environment`, the database block.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```ts
|
|
141
|
+
* await loadConfig();
|
|
142
|
+
* const { source, database } = resolveCliDatabaseConfig();
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
export declare function resolveCliDatabaseConfig(env?: Readonly<Record<string, string | undefined>>): ResolvedCliDatabase;
|
|
146
|
+
/**
|
|
147
|
+
* Return the resolved configuration for a named package.
|
|
148
|
+
*
|
|
149
|
+
* Identical to {@link getModuleConfig} but reads from `config.packages` instead
|
|
150
|
+
* of `config.modules`. Use this inside `@happyvertical/smrt-*` packages that
|
|
151
|
+
* want to expose their own config section without conflicting with user-defined
|
|
152
|
+
* module names.
|
|
153
|
+
*
|
|
154
|
+
* Merges four layers in ascending priority order:
|
|
155
|
+
* 1. `defaults` (caller-supplied fallbacks)
|
|
156
|
+
* 2. Global `smrt` section of the loaded config
|
|
157
|
+
* 3. `packages[packageName]` section of the loaded config
|
|
158
|
+
* 4. Runtime `packages[packageName]` overrides set via {@link setConfig}
|
|
159
|
+
*
|
|
160
|
+
* @param packageName - Key in `config.packages` (e.g., `'ai'`, `'spider'`).
|
|
161
|
+
* @param defaults - Optional fallback values.
|
|
162
|
+
* @returns The fully merged package config typed as `T`.
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* ```ts
|
|
166
|
+
* // Inside @happyvertical/smrt-ai package
|
|
167
|
+
* const config = getPackageConfig('ai', {
|
|
168
|
+
* defaultModel: 'gpt-4o-mini',
|
|
169
|
+
* maxTokens: 2048,
|
|
170
|
+
* });
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* @see {@link getModuleConfig}
|
|
174
|
+
* @see {@link setConfig}
|
|
175
|
+
* @see {@link SmrtConfig.packages}
|
|
176
|
+
*/
|
|
177
|
+
export declare function getPackageConfig<T extends Record<string, unknown>>(packageName: string, defaults?: T): T;
|
|
178
|
+
/**
|
|
179
|
+
* Apply runtime configuration overrides.
|
|
180
|
+
*
|
|
181
|
+
* Deep-merges `config` into an in-memory store that takes the highest priority
|
|
182
|
+
* in every subsequent {@link getModuleConfig} / {@link getPackageConfig} call.
|
|
183
|
+
* Successive calls accumulate. When a call explicitly changes the runtime
|
|
184
|
+
* profile, the stored runtime provider subtree is reset before merging so
|
|
185
|
+
* profile-specific selectors cannot leak into the new profile.
|
|
186
|
+
*
|
|
187
|
+
* Common uses:
|
|
188
|
+
* - Inject test doubles or environment-specific values without a config file.
|
|
189
|
+
* - Apply feature flags from a remote source after startup.
|
|
190
|
+
*
|
|
191
|
+
* @param config - Partial {@link SmrtConfig} to merge into the runtime store.
|
|
192
|
+
* `null` values are ignored (they do not clear existing keys).
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* ```ts
|
|
196
|
+
* setConfig({ modules: { ai: { defaultModel: 'gpt-4o' } } });
|
|
197
|
+
* ```
|
|
198
|
+
*
|
|
199
|
+
* @see {@link clearCache}
|
|
200
|
+
* @see {@link getModuleConfig}
|
|
201
|
+
*/
|
|
202
|
+
export declare function setConfig(config: Partial<SmrtConfig>): void;
|
|
203
|
+
/**
|
|
204
|
+
* Reset all cached configuration state.
|
|
205
|
+
*
|
|
206
|
+
* Clears three independent caches:
|
|
207
|
+
* 1. `globalThis.__smrtConfigCache` — the merged config loaded by {@link loadConfig}.
|
|
208
|
+
* 2. The internal loader cache (`globalThis.__smrtLoaderCachedConfig`) and the
|
|
209
|
+
* cosmiconfig explorer instance.
|
|
210
|
+
* 3. The runtime override store populated by {@link setConfig}.
|
|
211
|
+
*
|
|
212
|
+
* After calling this, {@link getConfig} returns `null` and a fresh
|
|
213
|
+
* {@link loadConfig} call will re-read from disk.
|
|
214
|
+
*
|
|
215
|
+
* WARNING: This is a global reset — it affects every module sharing the same
|
|
216
|
+
* runtime, not just the caller. Use with care outside of test teardown.
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* ```ts
|
|
220
|
+
* afterEach(() => {
|
|
221
|
+
* clearCache(); // reset between tests
|
|
222
|
+
* });
|
|
223
|
+
* ```
|
|
224
|
+
*
|
|
225
|
+
* @see {@link loadConfig}
|
|
226
|
+
* @see {@link setConfig}
|
|
227
|
+
*/
|
|
228
|
+
export declare function clearCache(): void;
|
|
229
|
+
/**
|
|
230
|
+
* Type-safe helper for authoring `smrt.config.js` files.
|
|
231
|
+
*
|
|
232
|
+
* This is an identity function — it returns its argument unchanged. Its sole
|
|
233
|
+
* purpose is to provide TypeScript type-checking and IDE auto-completion when
|
|
234
|
+
* writing the config object literal.
|
|
235
|
+
*
|
|
236
|
+
* @param config - The config object to validate against {@link SmrtConfig}.
|
|
237
|
+
* @returns The same object, unchanged.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```js
|
|
241
|
+
* // smrt.config.js
|
|
242
|
+
* import { defineConfig } from '@happyvertical/smrt-config';
|
|
243
|
+
*
|
|
244
|
+
* export default defineConfig({
|
|
245
|
+
* smrt: { logLevel: 'info' },
|
|
246
|
+
* site: { name: 'My Site', ... },
|
|
247
|
+
* });
|
|
248
|
+
* ```
|
|
249
|
+
*
|
|
250
|
+
* @see {@link SmrtConfig}
|
|
251
|
+
* @see {@link loadConfig}
|
|
252
|
+
*/
|
|
253
|
+
export declare function defineConfig(config: SmrtConfig): SmrtConfig;
|
|
254
|
+
/**
|
|
255
|
+
* The effective `ai` block: runtime `ai` > runtime `packages.ai` > file `ai` >
|
|
256
|
+
* file `packages.ai` (`smrt init` historically wrote `packages.ai`), merged
|
|
257
|
+
* field by field. Returns `null` when none is declared.
|
|
258
|
+
*/
|
|
259
|
+
export declare function getAIConfigBlock(): AIConfigBlock | null;
|
|
260
|
+
/**
|
|
261
|
+
* Merge `ai` block layers, lowest priority first, preserving provider
|
|
262
|
+
* ownership: `apiKey`, `apiKeyEnv`, `baseUrl` and `model` belong to the
|
|
263
|
+
* provider their layer names. When a higher layer names a different provider,
|
|
264
|
+
* the credentials and model already collected from lower layers for another
|
|
265
|
+
* provider are dropped (a model id is provider-specific, so it is dropped
|
|
266
|
+
* too). A layer that names no provider contributes generic values that bind to
|
|
267
|
+
* the provider selected so far.
|
|
268
|
+
*/
|
|
269
|
+
export declare function mergeAIConfigLayers(layers: ReadonlyArray<unknown>): AIConfigBlock | null;
|
|
270
|
+
/**
|
|
271
|
+
* {@link resolveAIProviderConfig} against the loaded `smrt.config.ts` `ai`
|
|
272
|
+
* block. Throws `AIProviderNotConfiguredError` when nothing is configured.
|
|
273
|
+
*/
|
|
274
|
+
export declare function resolveConfiguredAIProvider(options?: ResolveAIProviderOptions): ResolvedAIProviderConfig;
|
|
275
|
+
/** Non-throwing variant of {@link resolveConfiguredAIProvider}. */
|
|
276
|
+
export declare function tryResolveConfiguredAIProvider(options?: ResolveAIProviderOptions): ResolvedAIProviderConfig | undefined;
|
|
277
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAG9B,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAKL,KAAK,0BAA0B,EAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG5D,OAAO,EACL,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,aAAa,EACb,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,EAC1B,aAAa,GACd,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,KAAK,mBAAmB,EACxB,YAAY,EACZ,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACf,MAAM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mEAAmE;AACnE,wBAAgB,8BAA8B,CAC5C,OAAO,GAAE,wBAA6B,GACrC,wBAAwB,GAAG,SAAS,CAKtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-config",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Centralized configuration management for SMRT modules",
|
|
6
6
|
"author": "HappyVertical",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
|
+
"browser": "./dist/browser.js",
|
|
13
14
|
"import": "./dist/index.js"
|
|
14
15
|
}
|
|
15
16
|
},
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"AGENTS.md"
|
|
20
21
|
],
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@happyvertical/smrt-types": "0.55.
|
|
23
|
+
"@happyvertical/smrt-types": "0.55.5",
|
|
23
24
|
"cosmiconfig": "^10.0.1",
|
|
24
25
|
"jiti": "^2.7.0"
|
|
25
26
|
},
|