0ae59f3550
Introduces RECAP_MODE=multi alongside single-mode self-host: - Tenant auth + accounts (magic-link via System SMTP), per-tenant credit pool, anonymous trial minting with per-IP/-64 caps - Self-serve Pro/Max purchase: inline Lightning (BTCPay) + card (Zaprite), prepaid 30-day periods, expiry-reminder emails - Core-decoupling: relay owns cloud tier/expiry keyed by Recaps user-id - SQLite (better-sqlite3) schema for multi-mode; filesystem unchanged for single - StartOS actions/versions through 0.2.155
48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
import { setupManifest } from '@start9labs/start-sdk'
|
|
import { alertInstall, long, short } from './i18n'
|
|
|
|
export const manifest = setupManifest({
|
|
id: 'recap',
|
|
title: 'Recaps',
|
|
license: 'Proprietary',
|
|
packageRepo: 'https://ten31.xyz',
|
|
upstreamRepo: 'https://ten31.xyz',
|
|
marketingUrl: 'https://ten31.xyz',
|
|
donationUrl: null,
|
|
docsUrls: [],
|
|
description: { short, long },
|
|
volumes: ['main'],
|
|
images: {
|
|
main: {
|
|
source: {
|
|
dockerBuild: {
|
|
workdir: '.',
|
|
dockerfile: './Dockerfile',
|
|
},
|
|
},
|
|
arch: ['x86_64', 'aarch64'],
|
|
},
|
|
},
|
|
alerts: {
|
|
install: alertInstall,
|
|
update: null,
|
|
uninstall: null,
|
|
restore: null,
|
|
start: null,
|
|
stop: null,
|
|
},
|
|
dependencies: {
|
|
// Optional: enables the local-LLM analysis path. When installed on
|
|
// the same StartOS server, the "Set Ollama Server URL" action
|
|
// auto-pre-populates with the package's container IP + port, so
|
|
// users don't have to type anything. Recap works fine without it
|
|
// (cloud providers stay available).
|
|
ollama: {
|
|
description:
|
|
'Run local LLMs (Llama, Mistral, etc.) for topic analysis without a cloud API. Recaps auto-detects the install and pre-fills its connection URL.',
|
|
optional: true,
|
|
s9pk: null,
|
|
},
|
|
},
|
|
})
|