mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +00:00
feat(cli): add runner start with bundled SRT sandboxing (#535)
* refactor(agent): expose runner bash without skill gating * feat(cli): add runner start with optional SRT sandboxing * refactor(cli): remove runner Python dependency * feat(cli): bundle SRT and use platform-native runner shells * refactor(cli): delegate runner processes to Execa
This commit is contained in:
@@ -136,8 +136,15 @@ export const runnerExecResultMessageSchema = z.object({
|
||||
})
|
||||
export type RunnerExecResultMessage = z.infer<typeof runnerExecResultMessageSchema>
|
||||
|
||||
export const runnerEnvironmentSchema = z.object({
|
||||
platform: z.enum(['darwin', 'linux', 'win32']),
|
||||
shell: z.string().min(1).max(1024),
|
||||
})
|
||||
export type RunnerEnvironment = z.infer<typeof runnerEnvironmentSchema>
|
||||
|
||||
export const runnerReconcileMessageSchema = z.object({
|
||||
type: z.literal('reconcile'),
|
||||
environment: runnerEnvironmentSchema,
|
||||
activeExecutions: z.array(
|
||||
z.object({
|
||||
executionId: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user