Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`workflow_run` tool until cancellation, replay, and worktree semantics are
release-safe. Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking
direction.
- Added an official VS Code extension Phase 0 scaffold with terminal launch,
local runtime attach checks, status bar state, and a CodeWhale runtime status
view. This answers the VS Code GUI lane without exposing chat webviews,
Agent View, inline edits, or retry/undo runtime endpoints yet (#461, #462,
#480, #2580). Thanks @AiurArtanis for the Agent View prompt, @lbcheng888 for
the earlier scaffold, and @BigBenLabs, @lzx1545642258, @yangdaowan,
@mangdehuang, @VerrPower, @hejia-v, and @ygzhang-cn for the GUI/VS Code
demand and validation trail.
- Added `POST /v1/sessions` for runtime clients to save a completed thread as a
managed session. The endpoint preserves thread title/model/mode/workspace
metadata, maps missing threads to 404, and returns 409 instead of snapshotting
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,10 @@ Current v0.9 track credits:
- **[aboimpinto](https://github.com/aboimpinto)** — sidebar command polish and
pausable custom-command lifecycle direction harvested into the v0.9 track
(#2788, #2732)
- **[lbcheng888](https://github.com/lbcheng888)** and
**[AiurArtanis](https://github.com/AiurArtanis)** — VS Code extension
scaffold direction and Agent View request that shaped the official Phase 0
extension (#1022, #2580)
- **[HUQIANTAO](https://github.com/HUQIANTAO)** — `web_run` cache-state
lock-splitting, turn-metadata prefix-cache stability, and project-context
cache work (#2502, #2517, #2636)
Expand Down
8 changes: 8 additions & 0 deletions crates/tui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`workflow_run` tool until cancellation, replay, and worktree semantics are
release-safe. Thanks @AdityaVG13 for the WhaleFlow draft and cost-tracking
direction.
- Added an official VS Code extension Phase 0 scaffold with terminal launch,
local runtime attach checks, status bar state, and a CodeWhale runtime status
view. This answers the VS Code GUI lane without exposing chat webviews,
Agent View, inline edits, or retry/undo runtime endpoints yet (#461, #462,
#480, #2580). Thanks @AiurArtanis for the Agent View prompt, @lbcheng888 for
the earlier scaffold, and @BigBenLabs, @lzx1545642258, @yangdaowan,
@mangdehuang, @VerrPower, @hejia-v, and @ygzhang-cn for the GUI/VS Code
demand and validation trail.
- Added `POST /v1/sessions` for runtime clients to save a completed thread as a
managed session. The endpoint preserves thread title/model/mode/workspace
metadata, maps missing threads to 404, and returns 409 instead of snapshotting
Expand Down
2 changes: 2 additions & 0 deletions extensions/vscode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Checking compiled JavaScript files (out/) and source maps (out/**/*.map) into the git repository is discouraged. It causes massive diff noise in pull requests and frequent merge conflicts.

Instead, out/ should be added to .gitignore, and compilation should be automated before packaging/publishing using the vscode:prepublish script in package.json.

node_modules/
out/

*.vsix
21 changes: 21 additions & 0 deletions extensions/vscode/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024-2025 DeepSeek CLI Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions extensions/vscode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CodeWhale for VS Code

Official CodeWhale extension scaffold for local development.

This first slice is intentionally small:

- open CodeWhale in an integrated terminal
- start `codewhale serve --http` in a visible terminal
- check a local runtime through `/health` and `/v1/runtime/info`
- show connection state in the status bar and CodeWhale activity view

It does not expose the full chat webview, VS Code Agent View integration,
inline edit application, marketplace publish workflow, or retry/undo/snapshot
GUI endpoints yet.

## Local Use

```bash
npm install
npm run compile
npm run package
code --install-extension codewhale-vscode-0.8.53.vsix
```

Configure `codewhale.commandPath`, `codewhale.runtimeHost`,
`codewhale.runtimePort`, and `codewhale.runtimeToken` from VS Code settings.

Keep the runtime on `127.0.0.1` unless you deliberately front it with trusted
local networking controls.
6 changes: 6 additions & 0 deletions extensions/vscode/media/codewhale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions extensions/vscode/out/extension.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extensions/vscode/out/extension.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

161 changes: 161 additions & 0 deletions extensions/vscode/out/runtime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading