fix(gateway): bind node exec approvals to nodeId

This commit is contained in:
Peter Steinberger
2026-02-24 03:05:36 +00:00
parent 9530c01085
commit 4a3f8438e5
18 changed files with 231 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ export const ExecApprovalRequestParamsSchema = Type.Object(
id: Type.Optional(NonEmptyString),
command: NonEmptyString,
cwd: Type.Optional(Type.Union([Type.String(), Type.Null()])),
nodeId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
host: Type.Optional(Type.Union([Type.String(), Type.Null()])),
security: Type.Optional(Type.Union([Type.String(), Type.Null()])),
ask: Type.Optional(Type.Union([Type.String(), Type.Null()])),