Skip to content

Feature Request: Include assistant response text in Stop hook payload (or add a post-response hook event) #952

@GlobalInvestor152

Description

@GlobalInvestor152

What feature would you like to see?

Use case: Building persistent session memory / conversation logging on top of Kimi CLI hooks.

Current state: The UserPromptSubmit hook exposes the user's message, but the Stop hook payload only contains session_id, cwd, and stop_hook_active. It does not include the assistant's response text.

Requested change: Include the assistant's final response text in the Stop hook payload, or add a new observation-only hook (e.g. AssistantResponse) that fires after the response is complete and includes the full text.

Why it matters: Without the assistant side, third-party memory systems can only log user prompts, which makes cross-session recall and fact extraction much weaker.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions