kimi-code/packages/server/src
qer dfcfdfd9dd
feat(web): hide empty sessions from the session list (#1166)
* 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.
2026-06-28 13:38:46 +08:00
..
lib feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
middleware feat(server): add --allowed-host flag for DNS-rebinding allowlist (#1128) 2026-06-26 17:06:01 +08:00
openapi feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
routes feat(web): hide empty sessions from the session list (#1166) 2026-06-28 13:38:46 +08:00
services fix(server): skip Unix-only permission check on Windows for server token (#1135) 2026-06-26 18:38:24 +08:00
svc feat(server): make --host opt-in for LAN binding (#1105) 2026-06-25 22:13:13 +08:00
ws feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
envelope.ts feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
error-handler.ts feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
index.ts feat(server): add bearer-token auth and safe host exposure (#1006) 2026-06-25 17:57:56 +08:00
lock.ts feat(server): add bearer-token auth and safe host exposure (#1006) 2026-06-25 17:57:56 +08:00
request-id.ts feat(web): introduce Kimi web app and daemon gateway (#625) 2026-06-17 20:53:46 +08:00
start.ts feat(server): add --allowed-host flag for DNS-rebinding allowlist (#1128) 2026-06-26 17:06:01 +08:00
version.ts feat(server): report host kimi-code CLI version in /meta (#879) 2026-06-18 14:39:24 +08:00