@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/dist/index.d.ts
CHANGED
|
@@ -273,6 +273,8 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
273
273
|
variable_set_get_variable: "variable_set_get_variable";
|
|
274
274
|
variable_set_list: "variable_set_list";
|
|
275
275
|
variable_set_set_variable: "variable_set_set_variable";
|
|
276
|
+
work_claim_release: "work_claim_release";
|
|
277
|
+
work_claim_upsert: "work_claim_upsert";
|
|
276
278
|
x_accounts_list: "x_accounts_list";
|
|
277
279
|
x_mentions_live: "x_mentions_live";
|
|
278
280
|
x_post_reply: "x_post_reply";
|
|
@@ -417,6 +419,8 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
417
419
|
variable_set_get_variable: "variable_set_get_variable";
|
|
418
420
|
variable_set_list: "variable_set_list";
|
|
419
421
|
variable_set_set_variable: "variable_set_set_variable";
|
|
422
|
+
work_claim_release: "work_claim_release";
|
|
423
|
+
work_claim_upsert: "work_claim_upsert";
|
|
420
424
|
x_accounts_list: "x_accounts_list";
|
|
421
425
|
x_mentions_live: "x_mentions_live";
|
|
422
426
|
x_post_reply: "x_post_reply";
|
|
@@ -426,6 +430,10 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
426
430
|
}>>>>;
|
|
427
431
|
streamTokenSecret: z.ZodOptional<z.ZodString>;
|
|
428
432
|
streamControlEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
433
|
+
workDiscoveryEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
434
|
+
workClaimMutationsEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
435
|
+
workDiscoveryHumanAdvisoriesEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
436
|
+
workDiscoveryAutomaticNudgesEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
429
437
|
ogtoolPackageSpec: z.ZodOptional<z.ZodString>;
|
|
430
438
|
environmentsEncryptionKey: z.ZodOptional<z.ZodString>;
|
|
431
439
|
integrationsEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
package/dist/index.js
CHANGED
|
@@ -304,6 +304,21 @@ var SettingsSchema = z.object({
|
|
|
304
304
|
// holder of stream:control gets 403 until this flips. Keeps stream:control a
|
|
305
305
|
// declared-but-inert permission so later hardening is a flag flip.
|
|
306
306
|
streamControlEnabled: EnvBoolean.default(false),
|
|
307
|
+
// Provider-neutral advisory work discovery rollout. Disabling this keeps
|
|
308
|
+
// ordinary session listings available while rejecting relevance discovery
|
|
309
|
+
// and omitting claim evidence from their compact projections.
|
|
310
|
+
workDiscoveryEnabled: EnvBoolean.default(true),
|
|
311
|
+
// Exact-attempt claim mutations are independently reversible. Turning this
|
|
312
|
+
// off removes the first-party mutation tools; durable claims and lifecycle
|
|
313
|
+
// settlement evidence remain readable.
|
|
314
|
+
workClaimMutationsEnabled: EnvBoolean.default(true),
|
|
315
|
+
// Human presentation is a separate rollout stage from the read API. The
|
|
316
|
+
// topology response carries this decision so clients can hide advisory UI
|
|
317
|
+
// without inventing authorization or ownership semantics.
|
|
318
|
+
workDiscoveryHumanAdvisoriesEnabled: EnvBoolean.default(true),
|
|
319
|
+
// Automatic overlap nudges are deliberately unshipped and default OFF until
|
|
320
|
+
// an evaluated precision threshold and operator runbook approve them.
|
|
321
|
+
workDiscoveryAutomaticNudgesEnabled: EnvBoolean.default(false),
|
|
307
322
|
// Optional release-coherent bootstrap hint for custom rigs/connected machines
|
|
308
323
|
// that do not carry the stock-image ogtool binary. Exact stable versions only:
|
|
309
324
|
// the agent must never guess a tag or silently install `latest`.
|
|
@@ -1740,6 +1755,14 @@ function getSettings() {
|
|
|
1740
1755
|
allowedFirstPartyMcpTools: optional("OPENGENI_ALLOWED_FIRST_PARTY_MCP_TOOLS"),
|
|
1741
1756
|
streamTokenSecret: optional("OPENGENI_STREAM_TOKEN_SECRET"),
|
|
1742
1757
|
streamControlEnabled: optional("OPENGENI_STREAM_CONTROL_ENABLED"),
|
|
1758
|
+
workDiscoveryEnabled: optional("OPENGENI_WORK_DISCOVERY_ENABLED"),
|
|
1759
|
+
workClaimMutationsEnabled: optional("OPENGENI_WORK_CLAIM_MUTATIONS_ENABLED"),
|
|
1760
|
+
workDiscoveryHumanAdvisoriesEnabled: optional(
|
|
1761
|
+
"OPENGENI_WORK_DISCOVERY_HUMAN_ADVISORIES_ENABLED"
|
|
1762
|
+
),
|
|
1763
|
+
workDiscoveryAutomaticNudgesEnabled: optional(
|
|
1764
|
+
"OPENGENI_WORK_DISCOVERY_AUTOMATIC_NUDGES_ENABLED"
|
|
1765
|
+
),
|
|
1743
1766
|
ogtoolPackageSpec: optional("OPENGENI_OGTOOL_PACKAGE_SPEC"),
|
|
1744
1767
|
environmentsEncryptionKey: optional("OPENGENI_ENVIRONMENTS_ENCRYPTION_KEY"),
|
|
1745
1768
|
integrationsEnabled: optional("OPENGENI_INTEGRATIONS_ENABLED"),
|