mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 15:14:10 +00:00
feat(agent): integrate sandboxed bash tool and sandbox settings
This commit is contained in:
@@ -75,6 +75,14 @@ export const ImageTranscodeStrategy = {
|
||||
export type ImageTranscodeStrategy =
|
||||
(typeof ImageTranscodeStrategy)[keyof typeof ImageTranscodeStrategy]
|
||||
|
||||
export const sandboxSettingsSchema = z.object({
|
||||
allowedDomains: z.array(z.string()),
|
||||
})
|
||||
export type SandboxSettings = z.infer<typeof sandboxSettingsSchema>
|
||||
|
||||
export const updateSandboxSettingsRequestSchema = sandboxSettingsSchema
|
||||
export type UpdateSandboxSettingsRequest = z.infer<typeof updateSandboxSettingsRequestSchema>
|
||||
|
||||
// Service Layer Interfaces
|
||||
export interface ServiceCreateTeamRequest {
|
||||
name: string
|
||||
|
||||
Reference in New Issue
Block a user