Extract memind_adm admin server, add local dev tooling, and remove image-generation.
Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -141,8 +141,6 @@ export type BillingConfig = {
|
||||
tiersCents: number[];
|
||||
minRechargeCents: number;
|
||||
balanceCents: number;
|
||||
inputCentsPer1k: number;
|
||||
outputCentsPer1k: number;
|
||||
};
|
||||
|
||||
export type JsapiPayParams = {
|
||||
@@ -621,19 +619,6 @@ export type UsageRecord = {
|
||||
createdAt: number;
|
||||
};
|
||||
|
||||
export type UsageTotals = {
|
||||
requestCount: number;
|
||||
inputTokens: number | null;
|
||||
outputTokens: number | null;
|
||||
totalTokens: number;
|
||||
costCents: number;
|
||||
};
|
||||
|
||||
export type UsageSummary = {
|
||||
allTime: UsageTotals;
|
||||
last24h: UsageTotals;
|
||||
};
|
||||
|
||||
export type BalanceUpdate = {
|
||||
balanceCents: number;
|
||||
tokensUsed?: number;
|
||||
|
||||
Reference in New Issue
Block a user