@happyvertical/smrt-config 0.51.27 → 0.51.32
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/dist/index.d.ts +24 -0
- package/dist/types.d.ts +24 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1335,6 +1335,30 @@ export declare interface SmrtGlobalConfig {
|
|
|
1335
1335
|
*/
|
|
1336
1336
|
storage?: 'json' | 'native';
|
|
1337
1337
|
};
|
|
1338
|
+
/**
|
|
1339
|
+
* Optional typed-decision provider configuration. This is deliberately
|
|
1340
|
+
* separate from generation configuration: configuring decisions never
|
|
1341
|
+
* changes the client used by `do()` or `describe()`.
|
|
1342
|
+
*/
|
|
1343
|
+
decisions?: {
|
|
1344
|
+
/** The currently supported typed-decision provider. */
|
|
1345
|
+
type: 'typesafe';
|
|
1346
|
+
/** Provider credential. Prefer an environment-backed value in deployments. */
|
|
1347
|
+
apiKey?: string;
|
|
1348
|
+
/** Optional provider endpoint override, primarily for approved test hosts. */
|
|
1349
|
+
baseUrl?: string;
|
|
1350
|
+
/** Default decision model; individual evaluations may override it. */
|
|
1351
|
+
defaultModel?: string;
|
|
1352
|
+
/** Inclusive predicate threshold. A probability equal to it is true. */
|
|
1353
|
+
threshold?: number;
|
|
1354
|
+
/**
|
|
1355
|
+
* Opt in to a generative tie-break only when the probability is inside the
|
|
1356
|
+
* finite band centered on the threshold. Provider failures never use it.
|
|
1357
|
+
*/
|
|
1358
|
+
uncertaintyFallback?: {
|
|
1359
|
+
band: number;
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1338
1362
|
[key: string]: unknown;
|
|
1339
1363
|
}
|
|
1340
1364
|
|
package/dist/types.d.ts
CHANGED
|
@@ -786,6 +786,30 @@ export declare interface SmrtGlobalConfig {
|
|
|
786
786
|
*/
|
|
787
787
|
storage?: 'json' | 'native';
|
|
788
788
|
};
|
|
789
|
+
/**
|
|
790
|
+
* Optional typed-decision provider configuration. This is deliberately
|
|
791
|
+
* separate from generation configuration: configuring decisions never
|
|
792
|
+
* changes the client used by `do()` or `describe()`.
|
|
793
|
+
*/
|
|
794
|
+
decisions?: {
|
|
795
|
+
/** The currently supported typed-decision provider. */
|
|
796
|
+
type: 'typesafe';
|
|
797
|
+
/** Provider credential. Prefer an environment-backed value in deployments. */
|
|
798
|
+
apiKey?: string;
|
|
799
|
+
/** Optional provider endpoint override, primarily for approved test hosts. */
|
|
800
|
+
baseUrl?: string;
|
|
801
|
+
/** Default decision model; individual evaluations may override it. */
|
|
802
|
+
defaultModel?: string;
|
|
803
|
+
/** Inclusive predicate threshold. A probability equal to it is true. */
|
|
804
|
+
threshold?: number;
|
|
805
|
+
/**
|
|
806
|
+
* Opt in to a generative tie-break only when the probability is inside the
|
|
807
|
+
* finite band centered on the threshold. Provider failures never use it.
|
|
808
|
+
*/
|
|
809
|
+
uncertaintyFallback?: {
|
|
810
|
+
band: number;
|
|
811
|
+
};
|
|
812
|
+
};
|
|
789
813
|
[key: string]: unknown;
|
|
790
814
|
}
|
|
791
815
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-config",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Centralized configuration management for SMRT modules",
|
|
6
6
|
"author": "HappyVertical",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"AGENTS.md"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@happyvertical/smrt-types": "0.51.
|
|
22
|
+
"@happyvertical/smrt-types": "0.51.32",
|
|
23
23
|
"cosmiconfig": "^10.0.1",
|
|
24
24
|
"jiti": "^2.7.0"
|
|
25
25
|
},
|