bijection.json configures the project around the app tree: the location
of your bijection/ folder, frontend apps, captured imports, the AuthKit
integration and the AI helper files. The app tree itself is the default export
of bijection.config.ts.
bijection.json never chooses who operates a capability. Handler modules and
their egress are declared on the target in code, and every provider choice is
a binding in the installation’s bindings file, passed with bijection deploy --bindings <file> (placement).
To modify these settings:
- Modify the
bijection.jsonfile (or create it if it doesn’t already exist). This file must be located at the root of your project (in the same directory as yourpackage.json). - Apply these settings by running
bijection devin development orbijection deployin production.
bijection.json file are valid, you can set the
$schema property: code editors that support
JSON Schema will use it to validate the contents of
the file and provide relevant documentation for each field.
bijection.json
Changing the bijection/ folder name or location
You can choose a different name or location for the bijection/ folder via the
functions field. For example, Create React App doesn’t allow importing from
outside the src/ directory, so if you’re using Create React App you should
have the following config:
bijection.json
App layout
Apps underapps/<name>/app.ts are discovered automatically. Declare a custom
root here; firstPort sets the start of the workspace development port range:
bijection.json
root. The app’s app.ts owns its label,
login, presentation and optional framework or hosting overrides. The framework
configuration owns rendering; package.json scripts own build and development commands. The
built-in official-dashboard entry accepts its documented presentation settings
and port. See hosting for the complete contract.
Orchestration
Register the Python pipeline package.dev, check and deploy write it from the analyzed pipeline contracts; Bijection configures,
imports and deploys no scheduler.
bijection.json
python.package is a public Python identifier. python.out defaults to
orchestration/generated and contains an ordinary installable Python project
that depends only on the Bijection SDK. Install it in any scheduler’s
environment and call it from an ordinary task; see
calling pipelines from any scheduler.
Configuring AI files messages
Bijection can install AI helper files (for tools like Cursor and Claude Code) and show install or update suggestions duringbijection dev.
To suppress those suggestions, set aiFiles.enabled to false in
bijection.json:
bijection.json
false, bijection dev will not show the AI files install or
staleness messages.
You can also configure which agents the Bijection skills are installed for
(defaults to ["claude-code", "codex"]):
bijection.json
Configuring the TypeScript compiler
The native Bijection CLI uses its pinned native TypeScript compiler, built into the CLI. Runbijection typecheck to check your backend without installing
Node.js, npm or a project-local compiler.
There is no compiler selector in bijection.json; remove typescriptCompiler
if it is present. Backend commands accept --typecheck=enable, try or
disable where shown in their help. Frontend build tools manage their own
TypeScript dependencies.
Captured integration projects
Declare captured sources inimports. An alias names the import;
adapter selects an installed preparation capability. source selects exactly
one application-relative root or file. Provider settings, connections and
credentials belong to deployment bindings.
bijection.json
<functions>/_generated/, named
by adapter and alias, and the app imports it directly. An infrastructure.outputs
import compute is import { contract as compute } from "./_generated/infrastructure/compute".
There is no combined index module.
For a worker-owned interface document, use
bijection contracts import
to scaffold typed compute jobs.
For bounded warehouse SQL, declare a statement task.
Run dbt, SQLMesh, Dataform and similar tools on your own compute.
infrastructure.outputs captures a bijection.boundary-outputs/v2 file, the
bijection_boundary output of the
worker infrastructure as
bijection deploy outputs --out <file> writes it. It generates
typed references at <alias>.pools.<pool>.setup for a launch binding’s setup.
Planning resolves them from the worker pool slots’ bindings (<compute>.pools.<name>,
see placement) without an applied outputs file.
Deployment requires captured outputs whose setup and manifest match the current
boundary. A gcp pool with dataproc supplies launch setup. The file holds
no secrets and can be atomically refreshed at the same path after each apply.
The inventory admits at most 64 imports; adapters apply their smaller limits. ? marks optional options.
Every adapter prepares its import in process from the declared source: Bijection
runs no third-party compiler and installs no per-import tools. Commit
bijection.json with the import’s bindings.
imports add detects recognized source formats; select --adapter when the
format is ambiguous. imports adapters lists the supported options. Add, update
and remove prepare the complete candidate before publishing configuration and
bindings. --dry-run reports interface changes and bounded
reference/file differences without changing project files.