OptionalapiOptionalprojectActive project id for organization/user tokens, threaded into project-scoped
requests. When omitted, the SDK resolves it from BUGBUG_PROJECT_ID,
bugbug.yaml, or the persisted current project. Project tokens ignore this —
their project is implied by the token. Use BugBugSDK.setProject to
change it at runtime.
OptionalverboseEnable detailed request/response debug logging. Default: false.
OptionallogLower bound on emitted log severity. Default: 'info'.
OptionaltimeoutPer-request timeout in milliseconds. Default: 30_000 (30s).
OptionalrateClient-side rate limiting and retry-on-429 behavior. See RateLimitConfig.
OptionalrequestExtra HTTP headers added to every request.
Caller-supplied Authorization is still ignored: the SDK's token
always wins.
OptionalonHook invoked just before a request is dispatched.
OptionalonHook invoked after a successful (non-error) response.
OptionalonHook invoked after a request errored. Receives the parsed Response and the underlying Error.
API token used for all requests. When omitted, the SDK resolves it from
bugbug.yaml,.env, orBUGBUG_API_TOKEN(in that order). Throws aConfigurationErrorat construction time if no token can be found.