@opengeni/config 4.4.1 → 4.5.0
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 +2 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Opengeni runtime configuration: settings resolution, deployment knobs, and config validation shared across the server packages.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"prepublishOnly": "bash ../../scripts/prepublish-guard"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@opengeni/codex": "4.
|
|
41
|
-
"@opengeni/contracts": "4.
|
|
42
|
-
"@opengeni/xai-subscription": "4.
|
|
40
|
+
"@opengeni/codex": "4.5.0",
|
|
41
|
+
"@opengeni/contracts": "4.5.0",
|
|
42
|
+
"@opengeni/xai-subscription": "4.5.0",
|
|
43
43
|
"zod": "^4.2.1"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
package/src/index.ts
CHANGED
|
@@ -445,6 +445,12 @@ const SettingsSchema = z.object({
|
|
|
445
445
|
// Opengeni's and link this deployment's web app page.
|
|
446
446
|
officeAddinName: z.string().trim().min(1).max(80).default("Opengeni"),
|
|
447
447
|
officeAddinInstallUrl: z.string().url().optional(),
|
|
448
|
+
// The Chrome extension that connects people's own Chrome to their connected
|
|
449
|
+
// computer, as agents and the chat name it, and where it is installed (its
|
|
450
|
+
// Chrome Web Store page). A product that ships its own branded build of the
|
|
451
|
+
// extension sets both; otherwise they name and link Opengeni Browser.
|
|
452
|
+
browserExtensionName: z.string().trim().min(1).max(80).default("Opengeni Browser"),
|
|
453
|
+
browserExtensionInstallUrl: z.string().url().startsWith("https://").optional(),
|
|
448
454
|
// Base URL for the bring-your-own-compute agent release assets the get.<domain>
|
|
449
455
|
// install routes redirect to. Defaults to this repo's GitHub Releases. The route
|
|
450
456
|
// appends `/download/agent-v<ver>/<asset>`.
|
|
@@ -5025,6 +5031,8 @@ export function getSettings(source: NodeJS.ProcessEnv = process.env): Settings {
|
|
|
5025
5031
|
webBaseUrl: optional("OPENGENI_WEB_BASE_URL"),
|
|
5026
5032
|
officeAddinName: optional("OPENGENI_OFFICE_ADDIN_NAME"),
|
|
5027
5033
|
officeAddinInstallUrl: optional("OPENGENI_OFFICE_ADDIN_INSTALL_URL"),
|
|
5034
|
+
browserExtensionName: optional("OPENGENI_BROWSER_EXTENSION_NAME"),
|
|
5035
|
+
browserExtensionInstallUrl: optional("OPENGENI_BROWSER_EXTENSION_INSTALL_URL"),
|
|
5028
5036
|
agentReleasesBaseUrl: optional("OPENGENI_AGENT_RELEASES_BASE_URL"),
|
|
5029
5037
|
agentStableVersion: optional("OPENGENI_AGENT_STABLE_VERSION"),
|
|
5030
5038
|
agentBetaVersion: optional("OPENGENI_AGENT_BETA_VERSION"),
|