Skip to content

ResourceLimits

Defined in: resource-limits.ts:2

Resource budgets applied to every untrusted network/package input.

Property Type Description Defined in
maxAuditBytes? number Maximum total source bytes sent to the AI source-code audit. resource-limits.ts:20
maxAuditFiles? number Maximum files sent to the AI source-code audit (–audit-code). resource-limits.ts:18
maxExtractedBytes? number Maximum total uncompressed bytes extracted from one package. resource-limits.ts:10
maxFileBytes? number Maximum uncompressed size of one extracted file. resource-limits.ts:14
maxFiles? number Maximum archive entries / extracted filesystem objects. resource-limits.ts:12
maxResponseBytes? number Maximum bytes accepted from non-tarball HTTP responses. resource-limits.ts:6
maxScanDuration? number Maximum duration of static package-content analysis, in milliseconds. resource-limits.ts:16
maxTarballBytes? number Maximum compressed tarball bytes downloaded. resource-limits.ts:8
networkTimeoutMs? number Total time allowed for a network response, including reading its body. resource-limits.ts:4