mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-23 04:37:09 +00:00
修复 Codex 会话导入合并后列表为空的问题。 Fix Codex session import merge so a session is not detected as a duplicate of itself and deleted during merge.
This commit is contained in:
@@ -163,7 +163,7 @@ export const ListCodexSessionsRpcRequestSchema = z.object({
|
||||
})
|
||||
|
||||
export const ListCodexSessionsRpcResponseSchema = z.union([
|
||||
z.object({ success: z.literal(true), sessions: z.array(z.union([CodexLocalSessionSummarySchema, CodexLocalSessionWithMessagesSchema])) }),
|
||||
z.object({ success: z.literal(true), sessions: z.array(z.union([CodexLocalSessionWithMessagesSchema, CodexLocalSessionSummarySchema])) }),
|
||||
z.object({ success: z.literal(false), error: z.string() })
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user