feat(web): builder tokens, Modal primitive, input-param types

This commit is contained in:
2026-07-20 14:40:07 +01:00
parent f141767fc2
commit 78194daf5f
4 changed files with 58 additions and 0 deletions
+8
View File
@@ -132,6 +132,12 @@ export interface ServerWithKeys extends Server {
keys: (Assignment & { key: Key })[];
}
export interface InputParam {
name: string;
default: string;
description: string;
}
export interface WorkflowStep {
step_id: string;
name: string;
@@ -139,6 +145,7 @@ export interface WorkflowStep {
interpreter: "bash" | "powershell";
script: string;
declared_outputs: string[];
declared_inputs: InputParam[];
secret_refs: string[];
}
@@ -148,6 +155,7 @@ export interface WorkflowStepRef {
on_failure: "stop" | "continue" | "retry";
max_retries: number;
overrides?: { script?: string; secret_refs?: string[] };
inputs?: Record<string, string>;
}
export interface Workflow {