Skip to content

SentryPluginOptions

Defined in: plugins/holocron-plugin-sentry/src/index.ts:12

Options for the Sentry plugin: token resolution, the organization and team, and test overrides.

optional baseUrl?: string

Defined in: plugins/holocron-plugin-sentry/src/index.ts:20

Override base URL for tests.


optional cliToken?: string

Defined in: cli/kyber/dist/secrets.d.mts:125

The --token flag.

ResolveTokenInput.cliToken


optional env?: ProcessEnv

Defined in: cli/kyber/dist/secrets.d.mts:127

The environment to read. Default process.env; a test passes its own.

ResolveTokenInput.env


optional fetch?: (input, init?) => Promise<Response>

Defined in: plugins/holocron-plugin-sentry/src/index.ts:22

Override fetch for tests.

string | URL | Request

RequestInit

Promise<Response>


optional keyring?: (account) => string | null

Defined in: cli/kyber/dist/secrets.d.mts:129

Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.

string

string | null

ResolveTokenInput.keyring


optional org?: string

Defined in: plugins/holocron-plugin-sentry/src/index.ts:18

Sentry organization slug. Optional at load time — the errors capability activates from env vars alone — but required for whoami / ensureProject (validated at call time, not construction).

ResolveTokenInput.org


optional team?: string

Defined in: plugins/holocron-plugin-sentry/src/capabilities/errors.ts:21

Default team slug for project creation. Defaults to org slug.

SentryErrorsOptions.team