mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-13 19:29:25 +00:00
* chore(web): remove the /sessions slash command
* feat(web): hide empty sessions from the session list
Add an optional exclude_empty parameter to the session list API; the web client passes it so unused "New Session" entries are hidden by default, with pagination and has_more computed on the filtered set.
* fix(protocol): add exclude_empty to the session list query schema
Keep the shared protocol schema in sync with the server route so clients using the protocol type see the new parameter.
* fix(protocol): keep exclude_empty off the child session list schema
listSessionChildrenQuerySchema aliased the main list schema, so it inherited exclude_empty even though the /sessions/{id}/children route does not filter by it. Split it so generated clients are not misled.
|
||
|---|---|---|
| .. | ||
| lib | ||
| middleware | ||
| openapi | ||
| routes | ||
| services | ||
| svc | ||
| ws | ||
| envelope.ts | ||
| error-handler.ts | ||
| index.ts | ||
| lock.ts | ||
| request-id.ts | ||
| start.ts | ||
| version.ts | ||