MoonshotAI / MoonshotAI/kimi-code

feat(web): expose an integrated terminal for each session

Open
#2,218 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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?

Add an interactive terminal panel to Kimi Code Web, scoped to the active session and workspace. It should support terminal input/output, resizing, reconnecting, and closing or restarting the terminal so users can run commands without leaving the browser.

Additional information

Much of the groundwork already exists in apps/kimi-web/src/components/Terminal.vue, apps/kimi-web/src/composables/useTerminal.ts, the Web API client, and the server PTY routes. However, Terminal.vue is not mounted in the UI, useTerminal.ts is currently unused by the visible workflow, and the v2 WebSocket terminal_* handling appears unfinished. This request is to finish and expose that existing capability.

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 the existing flow through apps/kimi-web/src/components/Terminal.vue and apps/kimi-web/src/composables/useTerminal.ts, then inspect the Web API client and server PTY routes. Check the unfinished v2 WebSocket terminal_* handling and how the visible workflow mounts components. Done means the active session exposes a usable terminal with input/output, resizing, reconnecting, and close or restart behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.