thin-client

Bundle System Internals

How multi-file projects are bundled, hashed, and sent for compilation.

Published May 30, 2026

Bundle Manifest

The manifest lists: project root, included files, bundle size, and unresolved imports.

File Discovery

By default, the bundle includes the entrypoint file. Use --bundle-all-project to include all .py files under the project root.

Import Resolution

The bundle builder walks local imports recursively. Third-party imports are left unresolved and handled at runtime.

Size Limits

Very large bundles may be rejected by the API. Exclude test directories, documentation, and large data files with --exclude.