Skip to content

Kimi Code subagent tool calls land in the parent session #184

Open

Description

@aayank13

Kimi Code fires hooks inside subagents with the parent's session id and nothing that marks them as a subagent's, so a subagent's edits and commands are journaled into the parent session and can become steps of its procedure.

Applies to the agent support in #149.

Files:

  • crates/trodden/src/harness/kimi.rs

Fix idea: nothing in the payload allows it today. Reading Kimi's wire.jsonl instead (it marks subagents) would, once parsers get the transcript path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: hooksClaude Code hooksbugSomething isn't workingpriority: lowFix when convenient

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions