v0.2.5 grouped actions

This commit is contained in:
local
2026-05-11 22:12:02 -05:00
parent e612e8b8e8
commit 45c8462fa2
9 changed files with 30 additions and 18 deletions
+8 -10
View File
@@ -94,15 +94,13 @@ const inputSpec = InputSpec.of({
placeholder: null,
}),
// Max tier knobs.
max_monthly: Value.union(
{
name: 'Max — Monthly Credits',
description:
'Max-tier users default to unlimited monthly credits. Switch to "Limit to a specific amount" to cap how many credits each Max install can spend per month.',
default: 'unlimited',
},
maxMonthlyVariants,
),
max_monthly: Value.union({
name: 'Max — Monthly Credits',
description:
'Max-tier users default to unlimited monthly credits. Switch to "Limit to a specific amount" to cap how many credits each Max install can spend per month.',
default: 'unlimited',
variants: maxMonthlyVariants,
}),
max_gemini_cap: Value.number({
name: 'Max — Gemini Cap (monthly)',
description:
@@ -127,7 +125,7 @@ export const adjustTierQuotas = sdk.Action.withInput(
'Tune the per-tier monthly credit caps and Gemini exposure without redeploying. Changes apply to the next request — no restart needed.',
warning: null,
allowedStatuses: 'any',
group: null,
group: 'Tiers',
visibility: 'enabled',
}),
+1 -1
View File
@@ -47,7 +47,7 @@ export const setAdminPassword = sdk.Action.withInput(
"Gate the relay's /admin dashboard. The public /relay/* endpoints are unaffected — they're per-call authenticated via X-Recap-Install-Id + Authorization headers.",
warning: null,
allowedStatuses: 'any',
group: null,
group: 'Setup',
visibility: 'enabled',
}),
+1 -1
View File
@@ -32,7 +32,7 @@ export const setGeminiKey = sdk.Action.withInput(
"The operator's Gemini key. Required — the relay will refuse to serve traffic until this is set.",
warning: null,
allowedStatuses: 'any',
group: null,
group: 'AI Backends',
visibility: 'enabled',
}),
+1 -1
View File
@@ -43,7 +43,7 @@ export const setGemmaUrl = sdk.Action.withInput(
'Optional. Where the relay forwards analysis requests once a user exceeds their monthly Gemini cap. Leave URL empty to disable the fallback.',
warning: null,
allowedStatuses: 'any',
group: null,
group: 'AI Backends',
visibility: 'enabled',
}),
+1 -1
View File
@@ -35,7 +35,7 @@ export const setKeysatBaseUrl = sdk.Action.withInput(
"Where the relay validates Recap user licenses. Defaults to https://keysat.xyz — override to a co-located internal hostname if Keysat is on the same Start9 server.",
warning: null,
allowedStatuses: 'any',
group: null,
group: 'Setup',
visibility: 'enabled',
}),
+1 -1
View File
@@ -42,7 +42,7 @@ export const setParakeetUrl = sdk.Action.withInput(
"Optional. Where the relay forwards transcription requests once a user exceeds their monthly Gemini cap. Leave URL empty to disable the operator-hardware fallback.",
warning: null,
allowedStatuses: 'any',
group: null,
group: 'AI Backends',
visibility: 'enabled',
}),