Package v0.2.12→v0.2.124: manifest, actions, version graph
This commit is contained in:
+21
-9
@@ -1,12 +1,24 @@
|
||||
import { sdk } from './sdk'
|
||||
|
||||
// Recap declares Ollama as an OPTIONAL dependency in the manifest.
|
||||
// We do not return it here because we don't want to enforce a runtime
|
||||
// requirement on it — Recap runs fine using cloud providers
|
||||
// (Gemini/Anthropic/OpenAI) when Ollama is not installed. The optional
|
||||
// declaration in the manifest is what surfaces it as a suggested
|
||||
// install on the Marketplace; this empty result keeps it from blocking
|
||||
// startup.
|
||||
export const setDependencies = sdk.setupDependencies(async ({ effects }) => {
|
||||
return {}
|
||||
// Required running dependency on BTCPay Server. Mirrors Keysat's
|
||||
// pattern. The dep declaration is what gives us:
|
||||
// - guaranteed `btcpayserver.startos` DNS resolution inside our
|
||||
// container (used for daemon-to-daemon BTCPay API calls — see
|
||||
// server/btcpay-client.js)
|
||||
// - StartOS-level guarantee that BTCPay is running before the
|
||||
// relay starts, so the credit-purchase flow's webhook
|
||||
// auto-registration always works
|
||||
//
|
||||
// Without this declaration the docker network link isn't wired up
|
||||
// and `btcpayserver.startos` doesn't resolve — which previously
|
||||
// surfaced as "fetch failed" when the relay tried to list stores or
|
||||
// create the webhook during the one-click setup.
|
||||
export const setDependencies = sdk.setupDependencies(async ({ effects: _effects }) => {
|
||||
return {
|
||||
btcpayserver: {
|
||||
kind: 'running',
|
||||
versionRange: '>=1.11.0:0',
|
||||
healthChecks: [],
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user