Targets StartOS 0.4.0-beta.10 (was beta.9). Four breaking changes applied: - Service interfaces moved onto their binding: sdk.serviceInterface.getOwn is gone, so nacho's EXPO_PUBLIC_API_BASE_URL now walks the subs-api interface off its host with sdk.host.getOwn, using the map selector so .const() re-runs only when that interface's address changes. - SubContainer.of is lazy and synchronous — dropped the awaits. - Task input split into accept/set; the Bitcoin RPC task accepts the credentials it sets, matching its previous behavior. - The manifest alerts field was removed (ours was all null). Also adopts the build plumbing the SDK now ships instead of vendoring it: the Makefile includes node_modules/@start9labs/start-sdk/s9pk.mk, tsconfig extends the SDK's base (ES2022, bundler resolution), and TypeScript moves to 6.0. Verified by installing on a StartOS box: all daemons come up, nacho logs a derived API base URL rather than the loopback fallback, and the sync health check's space-cli exec runs on cadence against the shared subcontainer. Co-authored-by: Cursor <cursoragent@cursor.com>
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import { setupManifest } from '@start9labs/start-sdk'
|
|
import { depBitcoindDescription, long, short } from './i18n'
|
|
|
|
export const manifest = setupManifest({
|
|
id: 'spaces',
|
|
title: 'Spaces',
|
|
license: 'MIT',
|
|
packageRepo: 'https://github.com/horologger/spaces-startos',
|
|
upstreamRepo: 'https://github.com/spacesops/spaced',
|
|
marketingUrl: 'https://spacesprotocol.org',
|
|
donationUrl: null,
|
|
docsUrls: ['https://docs.spacesprotocol.org/'],
|
|
description: { short, long },
|
|
volumes: ['main'],
|
|
images: {
|
|
spaces: {
|
|
source: { dockerTag: 'horologger/spaces:v0.2.1' },
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
subspaces: {
|
|
source: { dockerTag: 'horologger/subs:v0.1.2' },
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
certrelay: {
|
|
source: { dockerTag: 'horologger/certrelay:v0.2.5' },
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
nacho: {
|
|
source: { dockerTag: 'horologger/nacho:v1.0.0' },
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
},
|
|
dependencies: {
|
|
bitcoind: {
|
|
description: depBitcoindDescription,
|
|
optional: false,
|
|
metadata: {
|
|
title: 'Bitcoin',
|
|
icon: 'https://raw.githubusercontent.com/Start9Labs/bitcoin-core-startos/feec0b1dae42961a257948fe39b40caf8672fce1/dep-icon.svg',
|
|
},
|
|
},
|
|
},
|
|
})
|