DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to share one native build across agents on JS-only branches with Simfleet

Cache native builds by fingerprint so many agents reuse one build and environment switches skip native rebuilds.

Short answer: bun add -d simfleet; then add buildCacheProvider: { plugin: require.resolve("simfleet/build-cache") } under experiments in app.config.js (inferred from the README snippet); simfleet native plan. All steps.

Who it is forA team lead or platform engineer whose coding agents run many JS-only branches and keep triggering slow native rebuilds.

The problemEvery branch or environment switch can force a fresh native build, which wastes time and machine resources when only JavaScript changed.

The outcomeNative inputs are fingerprinted with JavaScript excluded, so agents on JS-only branches share one build, and switching staging and production does not rebuild native code.

What you need first

  • A Mac running macOS
  • Bun 1.1 or newer (https://bun.sh)
  • Xcode for iOS work, plus `brew install mobai-app/tap/simslim baguette watchman`
  • Android SDK with platform-tools and emulator for Android work, plus `brew tap kdbhalala/avdslim https://github.com/kdbhalala/avdslim.git && brew install avdslim scrcpy`
  • A React Native or Expo app with a Git repository

Steps

  1. bun add -d simfleet
  2. Add buildCacheProvider: { plugin: require.resolve("simfleet/build-cache") } under experiments in app.config.js (inferred from the README snippet).
  3. simfleet native plan
  4. simfleet native ensure (inferred, check the README)

Prompt for your agent

Using the simfleet repo (entropyconquers/simfleet), set up the Expo build cache in <path-to-app> and run `simfleet native plan` to inspect the fingerprint. Expected output: a plan that lists the native inputs and whether a cached build exists. Verify that changing only a JavaScript file leaves the native fingerprint unchanged.

Caveat. Only `projectName`, `nativeAuth`, and `nativeShells` feed the native fingerprint, so native changes outside those settings may not be detected as expected.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for entropyconquers/simfleet and "Share one native build across agents on JS-only branches"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer