mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
fix(sessions): reconcile current category schema
This commit is contained in:
@@ -565,12 +565,22 @@
|
||||
"detailKeys": [
|
||||
"sessionKey",
|
||||
"label",
|
||||
"category",
|
||||
"unread",
|
||||
"pinned",
|
||||
"archived",
|
||||
"model",
|
||||
"thinkingLevel"
|
||||
]
|
||||
},
|
||||
"patch_many": {
|
||||
"label": "update many",
|
||||
"detailKeys": [
|
||||
"category",
|
||||
"unread",
|
||||
"targets"
|
||||
]
|
||||
},
|
||||
"group_list": {
|
||||
"label": "groups"
|
||||
},
|
||||
|
||||
@@ -109,11 +109,6 @@ const SessionsToolSchema = Type.Object(
|
||||
label: Type.Optional(
|
||||
Type.String({ description: "Sidebar title override. Empty string clears it." }),
|
||||
),
|
||||
category: Type.Optional(
|
||||
Type.Union([Type.String(), Type.Null()], {
|
||||
description: "Sidebar group/category. Null or empty string clears it to Other.",
|
||||
}),
|
||||
),
|
||||
unread: Type.Optional(Type.Boolean({ description: "Mark the session unread or read." })),
|
||||
icon: Type.Optional(
|
||||
Type.String({
|
||||
|
||||
Reference in New Issue
Block a user