Repository navigation
Conversation
🦋 Changeset detectedLatest commit: e86d7a3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This PR has been sitting with merge conflicts since June — the underlying problem is still very much alive in 0.38.0 (native Windows CLI): every UserPromptSubmit hook block is rendered in the TUI. Real-world impact: we run a Chinese-language setup for a non-technical user. He reads the injected hook blocks (routing/memory instructions meant for the model) as the assistant "talking nonsense", and has repeatedly lost trust in the tool because of it. Happy to provide screenshots if useful. Any chance of a rebase so this can land? The per-hook |
Fixes #897
Summary
suppress_tui_displayoption forUserPromptSubmitallow-outputhook.resultevents and transcript replay entries for suppressed chunksUserPromptSubmithook output visibleValidation
pnpm --filter @moonshot-ai/agent-core exec vitest run test/agent/turn.test.ts test/config/configs.test.ts test/hooks/engine.test.tspnpm --filter @moonshot-ai/kimi-code exec vitest run test/tui/message-replay.test.tspnpm --filter @moonshot-ai/protocol exec vitest run src/__tests__/events.test.tspnpm --filter @moonshot-ai/agent-core run testpnpm --filter @moonshot-ai/protocol run testpnpm --filter @moonshot-ai/agent-core run typecheckpnpm --filter @moonshot-ai/protocol run typecheckpnpm --filter @moonshot-ai/kimi-code run typecheckpnpm exec oxlint --type-aware ... --quietpnpm --filter @moonshot-ai/agent-core run buildpnpm --filter @moonshot-ai/protocol run buildpnpm --filter @moonshot-ai/kimi-code run buildgit diff --checkReview
Ran a subagent review after implementation. It caught ordering/docs/protocol gaps; those are fixed now. Second pass found no blockers.
AI Assistance Disclosure
I used Codex to review the changes, sanity-check the implementation against existing patterns, and help spot potential edge cases.