@opengeni/config 0.21.0-canary.0 → 0.22.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 +8 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +23 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.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": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"prepublishOnly": "bash ../../scripts/prepublish-guard"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@opengeni/codex": "^0.2.19
|
|
37
|
-
"@opengeni/contracts": "^2.
|
|
38
|
-
"@opengeni/xai-subscription": "^0.1.2
|
|
36
|
+
"@opengeni/codex": "^0.2.19",
|
|
37
|
+
"@opengeni/contracts": "^2.7.0",
|
|
38
|
+
"@opengeni/xai-subscription": "^0.1.2",
|
|
39
39
|
"zod": "^4.2.1"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
package/src/index.ts
CHANGED
|
@@ -386,6 +386,21 @@ const SettingsSchema = z.object({
|
|
|
386
386
|
// holder of stream:control gets 403 until this flips. Keeps stream:control a
|
|
387
387
|
// declared-but-inert permission so later hardening is a flag flip.
|
|
388
388
|
streamControlEnabled: EnvBoolean.default(false),
|
|
389
|
+
// Provider-neutral advisory work discovery rollout. Disabling this keeps
|
|
390
|
+
// ordinary session listings available while rejecting relevance discovery
|
|
391
|
+
// and omitting claim evidence from their compact projections.
|
|
392
|
+
workDiscoveryEnabled: EnvBoolean.default(true),
|
|
393
|
+
// Exact-attempt claim mutations are independently reversible. Turning this
|
|
394
|
+
// off removes the first-party mutation tools; durable claims and lifecycle
|
|
395
|
+
// settlement evidence remain readable.
|
|
396
|
+
workClaimMutationsEnabled: EnvBoolean.default(true),
|
|
397
|
+
// Human presentation is a separate rollout stage from the read API. The
|
|
398
|
+
// topology response carries this decision so clients can hide advisory UI
|
|
399
|
+
// without inventing authorization or ownership semantics.
|
|
400
|
+
workDiscoveryHumanAdvisoriesEnabled: EnvBoolean.default(true),
|
|
401
|
+
// Automatic overlap nudges are deliberately unshipped and default OFF until
|
|
402
|
+
// an evaluated precision threshold and operator runbook approve them.
|
|
403
|
+
workDiscoveryAutomaticNudgesEnabled: EnvBoolean.default(false),
|
|
389
404
|
// Optional release-coherent bootstrap hint for custom rigs/connected machines
|
|
390
405
|
// that do not carry the stock-image ogtool binary. Exact stable versions only:
|
|
391
406
|
// the agent must never guess a tag or silently install `latest`.
|
|
@@ -2322,6 +2337,14 @@ export function getSettings(): Settings {
|
|
|
2322
2337
|
allowedFirstPartyMcpTools: optional("OPENGENI_ALLOWED_FIRST_PARTY_MCP_TOOLS"),
|
|
2323
2338
|
streamTokenSecret: optional("OPENGENI_STREAM_TOKEN_SECRET"),
|
|
2324
2339
|
streamControlEnabled: optional("OPENGENI_STREAM_CONTROL_ENABLED"),
|
|
2340
|
+
workDiscoveryEnabled: optional("OPENGENI_WORK_DISCOVERY_ENABLED"),
|
|
2341
|
+
workClaimMutationsEnabled: optional("OPENGENI_WORK_CLAIM_MUTATIONS_ENABLED"),
|
|
2342
|
+
workDiscoveryHumanAdvisoriesEnabled: optional(
|
|
2343
|
+
"OPENGENI_WORK_DISCOVERY_HUMAN_ADVISORIES_ENABLED",
|
|
2344
|
+
),
|
|
2345
|
+
workDiscoveryAutomaticNudgesEnabled: optional(
|
|
2346
|
+
"OPENGENI_WORK_DISCOVERY_AUTOMATIC_NUDGES_ENABLED",
|
|
2347
|
+
),
|
|
2325
2348
|
ogtoolPackageSpec: optional("OPENGENI_OGTOOL_PACKAGE_SPEC"),
|
|
2326
2349
|
environmentsEncryptionKey: optional("OPENGENI_ENVIRONMENTS_ENCRYPTION_KEY"),
|
|
2327
2350
|
integrationsEnabled: optional("OPENGENI_INTEGRATIONS_ENABLED"),
|