Skip to content

Allow kimi web [PATH] to create/select a workspace at the given path #3222

Description

@yankeguo

What feature would you like to see?

Add an optional positional argument [PATH] to kimi web:

kimi web .                  # use the current directory as the workspace
kimi web ~/projects/foo     # use the given directory as the workspace
  • A relative [PATH] is resolved against the cwd where the command runs (kimi web . = current directory).
  • When the web UI opens, it automatically creates (if missing) and selects the workspace at that path as the default workspace for this launch, instead of restoring the most recent session's workspace.
  • Omitting [PATH] keeps the current behavior unchanged (fully backward compatible).
  • Mirrors the familiar code . / cursor . convention, lowering the friction of moving from the terminal to the web UI.

Use case

After cd-ing into a project in the terminal, a single kimi web . opens the browser already scoped to that project, with no manual directory picking in the web UI.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions