web: split the task page into agent-to-agent and single-agent tasks with templates and run status
This commit is contained in:
1 parent
3a9ea46d6f
commit
7ad226f29c
5 files changed
+401
-162
No files matched your search
@@ -69,3 +69,20 @@ export interface Page<T> {
|
||||
|
||||
/** 后端数字有时按 integer|string 声明:统一成 number。 */
|
||||
export const n = (v: number | string | null | undefined): number => (v === null || v === undefined ? 0 : Number(v))
|
||||
|
||||
export interface TargetDto {
|
||||
task_id: string
|
||||
agent_id: string
|
||||
agent_name: string
|
||||
kind: string
|
||||
target: string
|
||||
status: 'running' | 'waiting' | 'stale' | 'rejected' | 'offline'
|
||||
reason?: string | null
|
||||
last_sample?: string | null
|
||||
from: string
|
||||
to: string
|
||||
step: string
|
||||
t: number[]
|
||||
values: Record<string, (number | null)[]>
|
||||
summary: { metrics: Record<string, number | null>; samples: Record<string, number>; coverage: number }
|
||||
}
|
||||
Reference in new issue
Block a user