@usabledev/usable-chat 1.197.0 → 1.197.1
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/cli.js +19 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -93558,6 +93558,20 @@ var init_env2 = __esm({
|
|
|
93558
93558
|
}
|
|
93559
93559
|
});
|
|
93560
93560
|
|
|
93561
|
+
// src/lib/boolean-env.ts
|
|
93562
|
+
function resolveBooleanEnv(value, fallback) {
|
|
93563
|
+
if (typeof value === "boolean") return value;
|
|
93564
|
+
const normalized = typeof value === "string" ? value.trim().toLowerCase() : "";
|
|
93565
|
+
if (normalized === "true") return true;
|
|
93566
|
+
if (normalized === "false") return false;
|
|
93567
|
+
return fallback;
|
|
93568
|
+
}
|
|
93569
|
+
var init_boolean_env = __esm({
|
|
93570
|
+
"src/lib/boolean-env.ts"() {
|
|
93571
|
+
"use strict";
|
|
93572
|
+
}
|
|
93573
|
+
});
|
|
93574
|
+
|
|
93561
93575
|
// src/lib/config.ts
|
|
93562
93576
|
var config_exports = {};
|
|
93563
93577
|
__export(config_exports, {
|
|
@@ -93569,6 +93583,7 @@ var init_config = __esm({
|
|
|
93569
93583
|
"src/lib/config.ts"() {
|
|
93570
93584
|
"use strict";
|
|
93571
93585
|
init_env2();
|
|
93586
|
+
init_boolean_env();
|
|
93572
93587
|
DEFAULT_MCP_OAUTH_CLIENT_ID2 = "mcp_oauth_client";
|
|
93573
93588
|
config2 = {
|
|
93574
93589
|
app: {
|
|
@@ -93625,7 +93640,9 @@ var init_config = __esm({
|
|
|
93625
93640
|
provisionPathway: env.FLOWCORE_PROVISION_PATHWAY,
|
|
93626
93641
|
pathwayName: env.FLOWCORE_PATHWAY_NAME,
|
|
93627
93642
|
pathwayEndpointUrl: env.FLOWCORE_PATHWAY_ENDPOINT_URL,
|
|
93628
|
-
|
|
93643
|
+
// Docker and ephemeral tooling intentionally use SKIP_ENV_VALIDATION, so
|
|
93644
|
+
// transformed env values can still be raw strings at runtime.
|
|
93645
|
+
dataCoreDeleteProtection: resolveBooleanEnv(env.FLOWCORE_DATA_CORE_DELETE_PROTECTION, true)
|
|
93629
93646
|
},
|
|
93630
93647
|
database: {
|
|
93631
93648
|
url: env.DATABASE_URL,
|
|
@@ -315191,7 +315208,7 @@ init_tui_select();
|
|
|
315191
315208
|
init_model_registry();
|
|
315192
315209
|
|
|
315193
315210
|
// package.json
|
|
315194
|
-
var version2 = "1.197.
|
|
315211
|
+
var version2 = "1.197.1";
|
|
315195
315212
|
|
|
315196
315213
|
// src/adapters/cli/model-catalog.ts
|
|
315197
315214
|
init_codex_auth();
|