Files
hellow-da-sb 8c93bde5f6 feat: vibe-registry M1 — 万物皆注册框架骨架
- core: registerLayout/Widget/Action(泛型)/Schema + 校验闸门
- definePage: 页面只管业务,结构来自注册表
- presets: admin / app-shell 预设布局(vr add 物化)
- cli: vr list/add/update 防覆盖
- examples/qa-orchestrator: 实战编排验证(workspace:* 依赖)
2026-09-03 00:48:10 +08:00

14 lines
373 B
TypeScript

/**
* stop-run —— 停止运行中的套件 action
*/
import { registerAction } from 'vibe-registry'
export const stopRunAction = registerAction({
kind: 'action',
id: 'stop-run',
description: '停止正在运行的测试套件',
handler: async (payload: { runId: string }, _ctx) => {
return { stopped: true, runId: payload.runId, at: Date.now() }
},
})