Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bitfield.so/llms.txt

Use this file to discover all available pages before exploring further.

Workflow

Package-owned file.

Use stored_bytes when the package needs to bring a file with it. The file can be text, JSON, an image, or any other bytes your package owns.

Stored bytes are package-owned bytes with a stable package name. Bitfield stores the bytes behind that name after the package is admitted.

Folder shape

help-package/
  things-to-store-and-run.json
  help/
    getting-started.txt

Boundary file

{
  "package": "help-package",
  "things": [
    {
      "type": "stored_bytes",
      "name": "getting-started-help",
      "source_path": "help/getting-started.txt"
    }
  ]
}

File content

Start with one screen.
Keep the app-facing Runtime Kit calls boring.
Let packages grow behind them.

Why this shape works

The package gives the bytes a public package name: getting-started-help. The package also points at the file inside the package folder. Bitfield can reject a file path that tries to escape the package.That keeps the package boundary clear. The package can bring bytes with it, but it cannot quietly read random files from the machine.
Last modified on May 8, 2026