# Bun: file

Runtime: GLM / AgentPress material kit.

To use the Bun test file API, call the file method with SOURCE FACT REQUIRED for exact method name, SOURCE FACT REQUIRED for parameter types and order, SOURCE FACT REQUIRED for return shape and type, SOURCE FACT REQUIRED for error codes when the file is not found, and SOURCE FACT REQUIRED for which Bun version introduced this API. Agents must include SOURCE FACT REQUIRED for required imports and module paths.

Search intents:
- Bun file API
- Bun test file
- Bun runtime

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-test-enqueue-file --json
