@opengeni/config 0.19.0-canary.0 → 0.20.1-canary.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 CHANGED
@@ -760,6 +760,12 @@ declare const SettingsSchema: z.ZodObject<{
760
760
  githubAppSlug: z.ZodOptional<z.ZodString>;
761
761
  githubWebhookSecret: z.ZodOptional<z.ZodString>;
762
762
  githubAppPrivateKey: z.ZodOptional<z.ZodString>;
763
+ prReviewGithubAppId: z.ZodOptional<z.ZodString>;
764
+ prReviewGithubClientId: z.ZodOptional<z.ZodString>;
765
+ prReviewGithubClientSecret: z.ZodOptional<z.ZodString>;
766
+ prReviewGithubAppSlug: z.ZodOptional<z.ZodString>;
767
+ prReviewGithubWebhookSecret: z.ZodOptional<z.ZodString>;
768
+ prReviewGithubAppPrivateKey: z.ZodOptional<z.ZodString>;
763
769
  betterAuthSecret: z.ZodOptional<z.ZodString>;
764
770
  betterAuthAllowedHosts: z.ZodDefault<z.ZodString>;
765
771
  betterAuthCookieDomain: z.ZodOptional<z.ZodString>;
package/dist/index.js CHANGED
@@ -369,12 +369,16 @@ var SettingsSchema = z.object({
369
369
  // into @opengeni/db once at boot.
370
370
  // Env: OPENGENI_CHILD_LIFECYCLE_NOTICES_ENABLED.
371
371
  childLifecycleNoticesEnabled: EnvBoolean.default(false),
372
- // Per-channel and per-DM Slack workspace routing. Default off: with the flag
373
- // off the routing resolver short-circuits to the installation's own workspace
374
- // before any new read, so an existing single-workspace install behaves exactly
375
- // as it did. Enabling it is a deploy decision, not a code default.
372
+ // Per-channel and per-DM Slack workspace routing. Default ON. A channel does
373
+ // not count a personal workspace as a candidate, so an organization with one
374
+ // shared workspace resolves it as the sole candidate and never asks; the
375
+ // visible change is confined to organizations that genuinely have more than
376
+ // one - plus one case worth knowing before an upgrade: a person who has lost
377
+ // live authority now receives a posted refusal where the pre-routing code
378
+ // failed silently. Set the env var to `false` to restore the short-circuit
379
+ // to the installation's own workspace.
376
380
  // Env: OPENGENI_SLACK_WORKSPACE_ROUTING_ENABLED.
377
- slackWorkspaceRoutingEnabled: EnvBoolean.default(false),
381
+ slackWorkspaceRoutingEnabled: EnvBoolean.default(true),
378
382
  // Per-segment ceiling on agent loop turns (model calls) within a single
379
383
  // session turn. Effectively unbounded by default for the same reason as
380
384
  // above; the graceful max-turns valve (idle + goal continuation, never a
@@ -1036,6 +1040,12 @@ var SettingsSchema = z.object({
1036
1040
  githubAppSlug: z.string().optional(),
1037
1041
  githubWebhookSecret: z.string().optional(),
1038
1042
  githubAppPrivateKey: z.string().optional(),
1043
+ prReviewGithubAppId: z.string().optional(),
1044
+ prReviewGithubClientId: z.string().optional(),
1045
+ prReviewGithubClientSecret: z.string().optional(),
1046
+ prReviewGithubAppSlug: z.string().optional(),
1047
+ prReviewGithubWebhookSecret: z.string().optional(),
1048
+ prReviewGithubAppPrivateKey: z.string().optional(),
1039
1049
  betterAuthSecret: z.string().optional(),
1040
1050
  betterAuthAllowedHosts: z.string().default(""),
1041
1051
  betterAuthCookieDomain: z.string().optional(),
@@ -2036,6 +2046,12 @@ function getSettings() {
2036
2046
  githubAppSlug: optional("OPENGENI_GITHUB_APP_SLUG"),
2037
2047
  githubWebhookSecret: optional("OPENGENI_GITHUB_WEBHOOK_SECRET"),
2038
2048
  githubAppPrivateKey: optional("OPENGENI_GITHUB_APP_PRIVATE_KEY"),
2049
+ prReviewGithubAppId: optional("OPENGENI_PR_REVIEW_GITHUB_APP_ID"),
2050
+ prReviewGithubClientId: optional("OPENGENI_PR_REVIEW_GITHUB_CLIENT_ID"),
2051
+ prReviewGithubClientSecret: optional("OPENGENI_PR_REVIEW_GITHUB_CLIENT_SECRET"),
2052
+ prReviewGithubAppSlug: optional("OPENGENI_PR_REVIEW_GITHUB_APP_SLUG"),
2053
+ prReviewGithubWebhookSecret: optional("OPENGENI_PR_REVIEW_GITHUB_WEBHOOK_SECRET"),
2054
+ prReviewGithubAppPrivateKey: optional("OPENGENI_PR_REVIEW_GITHUB_APP_PRIVATE_KEY"),
2039
2055
  betterAuthSecret: optional("OPENGENI_BETTER_AUTH_SECRET"),
2040
2056
  betterAuthAllowedHosts: optional("OPENGENI_BETTER_AUTH_ALLOWED_HOSTS"),
2041
2057
  betterAuthCookieDomain: optional("OPENGENI_BETTER_AUTH_COOKIE_DOMAIN"),