mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 12:37:40 +00:00
TUI/Gateway: emit internal hooks for /new and /reset
This commit is contained in:
@@ -82,7 +82,10 @@ export const SessionsPatchParamsSchema = Type.Object(
|
||||
);
|
||||
|
||||
export const SessionsResetParamsSchema = Type.Object(
|
||||
{ key: NonEmptyString },
|
||||
{
|
||||
key: NonEmptyString,
|
||||
reason: Type.Optional(Type.Union([Type.Literal("new"), Type.Literal("reset")])),
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user