Flow inputs carry an origin hint, run or panel

The Inputs editor and the canvas label show it, and the run forms leave
panel inputs out.
This commit is contained in:
2026-10-15 10:08:46 +02:00
parent 43498037be
commit e85b18092f
10 changed files with 111 additions and 39 deletions
+14
View File
@@ -1355,6 +1355,13 @@ export const FlowInput_InputSchema = {
}
],
title: 'Initial'
},
origin: {
type: 'string',
enum: ['run', 'panel'],
title: 'Origin',
description: 'What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.',
default: 'run'
}
},
type: 'object',
@@ -1376,6 +1383,13 @@ export const FlowInput_OutputSchema = {
}
],
title: 'Initial'
},
origin: {
type: 'string',
enum: ['run', 'panel'],
title: 'Origin',
description: 'What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.',
default: 'run'
}
},
type: 'object',
+13
View File
@@ -391,14 +391,27 @@ export type FlowDetail = {
export type FlowInput_Input = {
spec: MessageSpec;
initial?: (unknown | null);
/**
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
*/
origin?: 'run' | 'panel';
};
/**
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
*/
export type origin = 'run' | 'panel';
/**
* A message the flow starts with rather than computes.
*/
export type FlowInput_Output = {
spec: MessageSpec;
initial?: (unknown | null);
/**
* What writes it. A run input is a parameter a run passes in, a panel input is written by a dashboard or panel control. A hint only: run forms leave panel inputs out, the engine treats both the same.
*/
origin?: 'run' | 'panel';
};
/**