@opengeni/config 1.2.2-canary.3 → 1.2.2-canary.35131097657002
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 +0 -2
- package/dist/index.js +2 -16
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +2 -19
package/dist/index.d.ts
CHANGED
|
@@ -535,8 +535,6 @@ declare const SettingsSchema: z.ZodObject<{
|
|
|
535
535
|
goalIdleBackoffMs: z.ZodDefault<z.ZodPreprocess<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>>;
|
|
536
536
|
goalIdleBackoffMaxMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
537
537
|
childLifecycleNoticesEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
538
|
-
hostMcpAuthoritySourceAdmissionEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
539
|
-
hostMcpCredentialResolversJson: z.ZodOptional<z.ZodString>;
|
|
540
538
|
slackWorkspaceRoutingEnabled: z.ZodDefault<z.ZodPreprocess<z.ZodBoolean>>;
|
|
541
539
|
agentMaxModelCallsPerTurn: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
542
540
|
contextWindowTokens: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
package/dist/index.js
CHANGED
|
@@ -367,16 +367,6 @@ var SettingsSchema = z.object({
|
|
|
367
367
|
// into @opengeni/db once at boot.
|
|
368
368
|
// Env: OPENGENI_CHILD_LIFECYCLE_NOTICES_ENABLED.
|
|
369
369
|
childLifecycleNoticesEnabled: EnvBoolean.default(false),
|
|
370
|
-
// Explicit host-owned MCP connection authority is a rolling protocol
|
|
371
|
-
// activation. Keep it off while any API, worker, or browser bundle predates
|
|
372
|
-
// the authority discriminator; enable it only after the whole fleet runs an
|
|
373
|
-
// image that understands host refs. Legacy markerless non-UUID refs remain a
|
|
374
|
-
// separate compatibility lane for already-persisted embedding integrations.
|
|
375
|
-
// Env: OPENGENI_HOST_MCP_AUTHORITY_SOURCE_ADMISSION_ENABLED.
|
|
376
|
-
hostMcpAuthoritySourceAdmissionEnabled: EnvBoolean.default(false),
|
|
377
|
-
// Server-owned per-organization remote MCP resolver configuration. Optional;
|
|
378
|
-
// inline credentials and native provider OAuth do not require this service.
|
|
379
|
-
hostMcpCredentialResolversJson: z.string().optional(),
|
|
380
370
|
// Per-channel and per-DM Slack workspace routing. Default ON. A channel does
|
|
381
371
|
// not count a personal workspace as a candidate, so an organization with one
|
|
382
372
|
// shared workspace resolves it as the sole candidate and never asks; the
|
|
@@ -2240,10 +2230,6 @@ function getSettings(source = process.env) {
|
|
|
2240
2230
|
goalIdleBackoffMs: optional("OPENGENI_GOAL_IDLE_BACKOFF_MS"),
|
|
2241
2231
|
goalIdleBackoffMaxMs: optional("OPENGENI_GOAL_IDLE_BACKOFF_MAX_MS"),
|
|
2242
2232
|
childLifecycleNoticesEnabled: optional("OPENGENI_CHILD_LIFECYCLE_NOTICES_ENABLED"),
|
|
2243
|
-
hostMcpAuthoritySourceAdmissionEnabled: optional(
|
|
2244
|
-
"OPENGENI_HOST_MCP_AUTHORITY_SOURCE_ADMISSION_ENABLED"
|
|
2245
|
-
),
|
|
2246
|
-
hostMcpCredentialResolversJson: optional("OPENGENI_HOST_MCP_CREDENTIAL_RESOLVERS_JSON"),
|
|
2247
2233
|
slackWorkspaceRoutingEnabled: optional("OPENGENI_SLACK_WORKSPACE_ROUTING_ENABLED"),
|
|
2248
2234
|
agentMaxModelCallsPerTurn: optional("OPENGENI_AGENT_MAX_MODEL_CALLS_PER_TURN"),
|
|
2249
2235
|
contextWindowTokens: optional("OPENGENI_CONTEXT_WINDOW_TOKENS"),
|
|
@@ -5017,9 +5003,9 @@ function validateSettings(settings, source = process.env) {
|
|
|
5017
5003
|
throw new Error(`OPENGENI_MCP_SERVERS contains duplicate id ${server.id}`);
|
|
5018
5004
|
}
|
|
5019
5005
|
serverIds.add(server.id);
|
|
5020
|
-
if (server.connectionRef?.authoritySource === "host"
|
|
5006
|
+
if (server.connectionRef?.authoritySource === "host") {
|
|
5021
5007
|
throw new Error(
|
|
5022
|
-
"OPENGENI_MCP_SERVERS host-owned connection refs
|
|
5008
|
+
"OPENGENI_MCP_SERVERS host-owned connection refs are no longer supported; select ordinary native connections"
|
|
5023
5009
|
);
|
|
5024
5010
|
}
|
|
5025
5011
|
}
|