mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +00:00
feat(runner): replace server-side bash sandbox with remote runner (#530)
* feat(runner): replace server-side bash sandbox with remote runner * fix(runner): address review findings for output bounds, key rotation, defaults, and generated uploads * chore(docker): remove sandbox privileges and env vars from remaining compose files * 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 * chore(cli): upgrade @anthropic-ai/sandbox-runtime to 0.0.83 * feat(cli): discover Bash for Windows runners Use Pi-style Bash discovery and launch behavior, exercise the packaged CLI shell, and wait for pending ZIP metadata reads before closing cancelled downloads. * fix(runner): enforce ownership and safe reconnects Gate dispatch on reconciliation, retain cancellations across disconnects, and stop replaced clients. Guard the single-server runner topology with a database lease. Restage missing generated inputs, report signal exits, and bound generated-file cleanup. * feat(webui): add Korean translations for agent runners * feat(cli): add runner event logging and --verbose flag (#536) * feat(cli): add runner event logging and --verbose flag * fix(cli): log runner capacity rejections accurately and use monotonic duration
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||
/* eslint-disable */
|
||||
// biome-ignore-all lint: generated file
|
||||
// @ts-nocheck
|
||||
// @ts-nocheck
|
||||
/*
|
||||
* WARNING: This is an internal file that is subject to change!
|
||||
*
|
||||
@@ -57,7 +57,7 @@ export const ModelName = {
|
||||
Verification: 'Verification',
|
||||
AuthToken: 'AuthToken',
|
||||
Team: 'Team',
|
||||
Sandbox: 'Sandbox',
|
||||
Runner: 'Runner',
|
||||
Skill: 'Skill',
|
||||
TeamMember: 'TeamMember',
|
||||
Project: 'Project',
|
||||
@@ -216,17 +216,21 @@ export const TeamScalarFieldEnum = {
|
||||
export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum]
|
||||
|
||||
|
||||
export const SandboxScalarFieldEnum = {
|
||||
export const RunnerScalarFieldEnum = {
|
||||
id: 'id',
|
||||
networkSandboxEnabled: 'networkSandboxEnabled',
|
||||
allowedDomains: 'allowedDomains',
|
||||
pendingDomains: 'pendingDomains',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
keyPrefix: 'keyPrefix',
|
||||
keyHash: 'keyHash',
|
||||
isDefault: 'isDefault',
|
||||
lastConnectedAt: 'lastConnectedAt',
|
||||
lastDisconnectedAt: 'lastDisconnectedAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
teamId: 'teamId'
|
||||
} as const
|
||||
|
||||
export type SandboxScalarFieldEnum = (typeof SandboxScalarFieldEnum)[keyof typeof SandboxScalarFieldEnum]
|
||||
export type RunnerScalarFieldEnum = (typeof RunnerScalarFieldEnum)[keyof typeof RunnerScalarFieldEnum]
|
||||
|
||||
|
||||
export const SkillScalarFieldEnum = {
|
||||
@@ -563,6 +567,7 @@ export const AgentScalarFieldEnum = {
|
||||
soul: 'soul',
|
||||
providerId: 'providerId',
|
||||
modelId: 'modelId',
|
||||
runnerId: 'runnerId',
|
||||
teamId: 'teamId',
|
||||
config: 'config',
|
||||
createdAt: 'createdAt',
|
||||
|
||||
Reference in New Issue
Block a user