import { sdk } from './sdk' // Spaces 0.0.9:3 binds spaced to 0.0.0.0:7225 and exports the `spaces-api` // interface with static RPC creds at the root of its `main` volume. SpacesOps // reads those creds from the mounted Spaces volume in main.ts and connects to // http://spaces.startos:7225. Dependency declarations do NOT gate startup — // main.ts throws/retries until the creds are available. export const setDependencies = sdk.setupDependencies(async ({ effects }) => ({ spaces: { kind: 'running', versionRange: '>=0.0.9:3', healthChecks: ['spaced', 'sync'], }, }))