MoonshotAI / MoonshotAI/kimi-code

Web端也支持对UserPromptSubmit hook的内容显示

Open
#1,227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

What feature would you like to see?

目前我本地用了openviking这类记忆工具,自己做了kimi code的hooks适配全套。
在kimi code命令行模式下,UserPromptSubmit hook都可以正常显示,我能清晰的知道agent被注入了什么记忆,方便我偶尔检查记忆召回是否正常工作

但是目前web端聊天界面,看不到UserPromptSubmit hook的注入信息,如果觉得这个这个过于打扰,我觉得可以让UserPromptSubmit hook的会话气泡默认保持折叠

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how UserPromptSubmit hook output is represented and rendered in the web chat interface, then compare it with the CLI behavior described in the issue. The finished change should make injected hook content visible in web conversations, with the content collapsed by default if that is the chosen presentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.