@cjhyy/code-shell 0.9.43 → 0.9.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +153 -0
- package/README.md +4 -4
- package/README.zh-CN.md +4 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,159 @@ breaking.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Share Host skill inventory, bounded MCP probes and safe session file metadata
|
|
14
|
+
between Desktop and Hub. MCP SDK connections remain behind a narrow Core
|
|
15
|
+
internal interface; adapters keep authorization, DTOs and cache policy.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Move Hub's existing single-request model connection test into Host ownership,
|
|
20
|
+
retaining its compatibility entry and Core clients. Core model listing and
|
|
21
|
+
Desktop model metadata retain their existing behavior. Output replay remains
|
|
22
|
+
deferred until both journal cursor and stateVersion resumptions exist.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Keep successful MCP POST probes usable after optional GET/SSE diagnostics,
|
|
27
|
+
preserve Desktop launcher-banner and structured-logger compatibility, and
|
|
28
|
+
redact explicit credentials at any length plus longer private env/argv values
|
|
29
|
+
without corrupting ordinary short launcher/env values or protocol text.
|
|
30
|
+
- Retry ordinary session-state atomic replacements only in lists, retain strict
|
|
31
|
+
authorization reads, and expose a narrow Host storage entry. Desktop catalog
|
|
32
|
+
state over 2 MiB now emits a safe diagnostic when omitted.
|
|
33
|
+
- Reject mismatched external accounting references with actionable Native recovery
|
|
34
|
+
guidance while preserving historical costs and keeping a healthy CLI retryable.
|
|
35
|
+
- Avoid a second renderer failure terminal/toast after the current run has already
|
|
36
|
+
streamed its terminal, including cancellation from another client.
|
|
37
|
+
- Keep Link account menus visible in scrolling dialogs, give authorized Figma
|
|
38
|
+
files clear names and open actions, and separate alternative connections and
|
|
39
|
+
authorization-service diagnostics from everyday account management.
|
|
40
|
+
|
|
41
|
+
## [0.9.45] - 2026-10-16
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- Record local model calls with available prompts, responses, transport attempts,
|
|
46
|
+
token usage and timings, including auxiliary and reviewed Panel/native calls.
|
|
47
|
+
Browse recorded calls by conversation and execution in Desktop and Web, with
|
|
48
|
+
recording and retention controls and explicit limits on external CLI coverage.
|
|
49
|
+
- Classify recorded calls by execution, subtask, Panel, auxiliary or media purpose,
|
|
50
|
+
with type filters. Distinguish runtime input snapshots from provider requests
|
|
51
|
+
and label System instructions, user-role input, history and tool results.
|
|
52
|
+
- Add portable Link operation contracts and persisted connection recipes, with
|
|
53
|
+
immutable operation validation, resource authority and Host-derived routing.
|
|
54
|
+
- Open installed Panel Apps in separate windows and provide a Panel launcher from
|
|
55
|
+
the new-tab button.
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- Move cloud account management into a dedicated Settings page opened directly
|
|
60
|
+
from the sidebar, with separate profile, login and authorization sections.
|
|
61
|
+
- Group configured models by provider in a simpler model picker while preserving
|
|
62
|
+
connection identity, complete labels and keyboard navigation.
|
|
63
|
+
- Manage Link applications and their connections in dedicated dialogs, with
|
|
64
|
+
clearer account authorization, provider discovery and connection status.
|
|
65
|
+
- Keep Task center search and advanced filters compact in narrow and short windows.
|
|
66
|
+
- Use the file panel's available width for readable previews and keyboard-visible
|
|
67
|
+
actions, with a return path to the file list on small screens.
|
|
68
|
+
- Add a return-to-latest control and new-output count to Web conversations while
|
|
69
|
+
preserving the reader's position during streaming.
|
|
70
|
+
- Keep Web sidebar navigation and account controls reachable in short windows.
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
- Avoid a source import cycle between credential metadata and MCP tool execution
|
|
75
|
+
that could prevent the Host from starting.
|
|
76
|
+
- Verify wrapped Figma MCP account identities while rejecting explicit failures
|
|
77
|
+
and conflicting identities before saving the connection.
|
|
78
|
+
- Ship the Link provider bootstrap with packaged Desktop workers so provider
|
|
79
|
+
execution remains available outside development checkouts.
|
|
80
|
+
- Keep independent Link grants separate, preserve shared credential custody, and
|
|
81
|
+
reject stale connection creation after account changes. Retain bounded status
|
|
82
|
+
receipts and diagnostics when remote actions fail or are cancelled.
|
|
83
|
+
- Show consumed follow-up messages between activity cards and keep them visible
|
|
84
|
+
when activity is collapsed, without leaving an empty card body.
|
|
85
|
+
- Show recoverable file-loading errors and prevent stale directory responses from
|
|
86
|
+
replacing the current location in Desktop and Web.
|
|
87
|
+
- Keep composer suggestion accessibility targets synchronized with their actual
|
|
88
|
+
options and provide a stable input name.
|
|
89
|
+
- Preserve the selected theme when removal fails, report the error, and restore
|
|
90
|
+
keyboard focus without interrupting another control.
|
|
91
|
+
- Preserve Context settings drafts through read/save/reset failures and support
|
|
92
|
+
normal numeric editing with named keyboard-accessible sliders.
|
|
93
|
+
- Close suggestions after accepted submissions and cancel stale composer caret
|
|
94
|
+
restoration when the reader edits, changes focus or switches conversations.
|
|
95
|
+
- Recover failed update-status reads and actions with visible errors and retries;
|
|
96
|
+
keep newer pushed state and contain long diagnostics on small screens.
|
|
97
|
+
- Make inline questions keyboard accessible, preserve answers through failed
|
|
98
|
+
submissions, and keep questions and approvals usable in short chat panes.
|
|
99
|
+
- Wrap complete question-answer receipts and long tool identities while keeping
|
|
100
|
+
approval risk, execution status and action controls visible.
|
|
101
|
+
- Keep Desktop navigation, sessions and account controls reachable in short
|
|
102
|
+
windows, including keyboard focus after resizing.
|
|
103
|
+
- Keep long drafts and queued messages within the main chat pane while retaining
|
|
104
|
+
visible conversation output and access to input and Stop.
|
|
105
|
+
- Preserve Settings search and navigation focus through clearing, result
|
|
106
|
+
selection, responsive layouts, zoom and closing navigation popups.
|
|
107
|
+
- Keep search results and full search-mode labels usable in short windows.
|
|
108
|
+
- Keep complete run usage, session history and recovery actions reachable in
|
|
109
|
+
short panes, preserving rename drafts and the user's current focus.
|
|
110
|
+
- Preserve search-connection drafts and persisted defaults through failed or
|
|
111
|
+
delayed operations, and keep connection cards within narrow Settings panes.
|
|
112
|
+
- Make MCP tool and error details keyboard-operable dialogs with visible Close
|
|
113
|
+
controls, complete scrollable content and focus return to their opener.
|
|
114
|
+
- Keep cloud project status and long errors within a keyboard-scrollable region
|
|
115
|
+
while preserving visible conversation output, draft input and status actions.
|
|
116
|
+
- Bring Web model editors into view, return focus after cancel/discard, and keep
|
|
117
|
+
failed-save drafts editable without interrupting focus moved elsewhere.
|
|
118
|
+
- Keep cloud project dialogs within short windows and recover owned failed
|
|
119
|
+
operations without interrupting another control, account or project.
|
|
120
|
+
- Keep digital-human editing, memory and switch review dialogs usable in short
|
|
121
|
+
windows, retaining visible actions and safe focus return through asynchronous
|
|
122
|
+
previews, nested confirmations and rapid reopening.
|
|
123
|
+
- Preserve Web skill-editor drafts and focus through delayed loads, cancellation
|
|
124
|
+
and failed saves without interrupting another control.
|
|
125
|
+
- Keep Web model defaults, deletion errors and MCP edit/removal recovery visible
|
|
126
|
+
in short windows, including refreshed entries that have disappeared elsewhere.
|
|
127
|
+
- Support keyboard navigation and selection in the Desktop model picker, keep
|
|
128
|
+
complete names readable, and close an open picker when selection is disabled.
|
|
129
|
+
- Make the conversation permission picker keyboard accessible and close stale
|
|
130
|
+
options when selection becomes unavailable.
|
|
131
|
+
- Show project-trust read and save failures with retries, keep trust choices
|
|
132
|
+
visible in short windows, and ignore results belonging to an earlier project.
|
|
133
|
+
- Point the empty model picker to model connections in Settings.
|
|
134
|
+
- Keep Web history errors and focused actions visible, preserve rename drafts
|
|
135
|
+
and restore/open intent through refreshes, and recover failed pagination.
|
|
136
|
+
- Support keyboard navigation in the project picker, preserve deliberate list
|
|
137
|
+
scrolling, and return focus through project selection and adding a project.
|
|
138
|
+
- Keep Link management errors and actions inside short dialogs, retain failed
|
|
139
|
+
edit drafts, and avoid stealing focus after delayed operations.
|
|
140
|
+
- Preserve the current control's focus when the Web sidebar collapses, while
|
|
141
|
+
retaining focus return after deliberate mobile navigation and closing it.
|
|
142
|
+
- Return focus after staying on a page with unsaved edits in development mode,
|
|
143
|
+
without overriding a newer focus choice or navigation.
|
|
144
|
+
- Keep account-device actions and complete errors visible in short windows,
|
|
145
|
+
recover failed reads, and preserve focus and authentication behavior through
|
|
146
|
+
delayed operations and closing the dialog.
|
|
147
|
+
|
|
148
|
+
## [0.9.44] - 2026-10-15
|
|
149
|
+
|
|
150
|
+
### Changed
|
|
151
|
+
|
|
152
|
+
- Refine forwarding selected conversation turns into a new session, including
|
|
153
|
+
selection controls, progress and error states, and transferred-context details.
|
|
154
|
+
|
|
155
|
+
### Fixed
|
|
156
|
+
|
|
157
|
+
- Use the currently selected model's configured vision capability consistently
|
|
158
|
+
across provider requests, image input, Browser, ViewImage and MCP image results.
|
|
159
|
+
- Refresh auxiliary clients when model settings change, and retain the selected
|
|
160
|
+
model identity and capability when resolving pooled connections.
|
|
161
|
+
- Refresh active model settings after saving, deleting or restoring model
|
|
162
|
+
catalog entries.
|
|
163
|
+
|
|
11
164
|
## [0.9.43] - 2026-10-15
|
|
12
165
|
|
|
13
166
|
### Added
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ CodeShell is one orchestration engine wearing three faces:
|
|
|
32
32
|
|
|
33
33
|
The core is deliberately **domain-agnostic**. The turn loop, context management, permissions, MCP integration, hooks, tasks, cron, sub-agents, sessions, and memory all stay generic. Coding tools, git/worktree behavior, LSP, review, quota, and coding prompts live in the physically separate `@cjhyy/code-shell-capability-coding` package and are composed by the CLI/Desktop hosts. (See `packages/core/CONTRIBUTING.md`: "core only carries mechanism, not policy.")
|
|
34
34
|
|
|
35
|
-
> Status: **0.
|
|
35
|
+
> Status: **0.9.x**. The desktop app is the headline product; the CLI and SDK share the same core engine. See [published releases](https://github.com/cjhyy/codeshell/releases) and the [current release acceptance record](docs/todo/release-real-operations-2026-10-16.md).
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -273,7 +273,7 @@ assets/ # README / product images (mascot, promo hero, Playwright desktop
|
|
|
273
273
|
docs/
|
|
274
274
|
├── architecture/ # System architecture chapters + feature inventory (see architecture/README.md)
|
|
275
275
|
├── todo/ # Roadmap + forward-looking design docs (see todo/README.md)
|
|
276
|
-
└── archive/ # Superseded design docs, audits, and
|
|
276
|
+
└── archive/ # Superseded design docs, audits, and earlier architecture sets
|
|
277
277
|
|
|
278
278
|
scripts/ # Build, release, and repo maintenance scripts
|
|
279
279
|
```
|
|
@@ -312,9 +312,9 @@ bun run build
|
|
|
312
312
|
- [Package boundaries & Pet split rationale](docs/architecture/12-package-boundaries-and-release-units.md)
|
|
313
313
|
- [Plugin parity matrix](docs/architecture/13-plugin-parity-and-video-editor.md)
|
|
314
314
|
- [Digital humans & Pet architecture](docs/architecture/14-digital-human-and-pet.md)
|
|
315
|
-
- [Architecture & feature inventory](docs/architecture/README.md)
|
|
315
|
+
- [Architecture (function-level chapters 00–10) & feature inventory](docs/architecture/README.md)
|
|
316
316
|
- [Roadmap & TODO](docs/todo/README.md)
|
|
317
|
-
-
|
|
317
|
+
- Archived architecture sets: [2026-07 edition](docs/archive/architecture-2026-07/README.md) and [2026-05 set](docs/archive/architecture/README.md)
|
|
318
318
|
|
|
319
319
|
---
|
|
320
320
|
|
package/README.zh-CN.md
CHANGED
|
@@ -32,7 +32,7 @@ CodeShell 是同一个编排引擎的三种形态:
|
|
|
32
32
|
|
|
33
33
|
核心引擎保持**领域无关**。turn loop、上下文管理、权限、MCP 集成、hooks、tasks、cron、sub-agents、sessions 和 memory 都是通用机制。编码工具、git/worktree、LSP、review、quota 与编码 prompt 位于物理独立的 `@cjhyy/code-shell-capability-coding` 包,由 CLI/Desktop host 组合,不写进 core。
|
|
34
34
|
|
|
35
|
-
> 状态:**0.
|
|
35
|
+
> 状态:**0.9.x**。桌面应用是当前主产品;CLI 和 SDK 共享同一个核心引擎。已发行版本见 [Releases](https://github.com/cjhyy/codeshell/releases),候选版状态见[发布验收记录](docs/todo/release-real-operations-2026-10-16.md)。
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -257,7 +257,7 @@ assets/ # README / product images (mascot, promo hero, Playwright desktop
|
|
|
257
257
|
docs/
|
|
258
258
|
├── architecture/ # System architecture chapters + feature inventory
|
|
259
259
|
├── todo/ # Roadmap + forward-looking design docs
|
|
260
|
-
└── archive/ # Superseded design docs, audits, and
|
|
260
|
+
└── archive/ # Superseded design docs, audits, and earlier architecture sets
|
|
261
261
|
|
|
262
262
|
scripts/ # Build, release, and repo maintenance scripts
|
|
263
263
|
```
|
|
@@ -288,14 +288,14 @@ bun run build
|
|
|
288
288
|
|
|
289
289
|
## 延伸阅读
|
|
290
290
|
|
|
291
|
-
- [
|
|
291
|
+
- [架构(函数级 00–10 章)与能力盘点](docs/architecture/README.md)
|
|
292
292
|
- [Plugin panels v1](docs/plugin-panels.md)
|
|
293
293
|
- [视频剪辑参考插件](examples/plugins/video-editor/README.md)
|
|
294
294
|
- [包边界与 Pet 拆分理由](docs/architecture/12-package-boundaries-and-release-units.md)
|
|
295
295
|
- [插件能力差距矩阵](docs/architecture/13-plugin-parity-and-video-editor.md)
|
|
296
296
|
- [数字人与 Pet 架构](docs/architecture/14-digital-human-and-pet.md)
|
|
297
297
|
- [Roadmap & TODO](docs/todo/README.md)
|
|
298
|
-
- [
|
|
298
|
+
- 已归档的架构文档:[2026-07 版](docs/archive/architecture-2026-07/README.md)、[2026-05 版](docs/archive/architecture/README.md)
|
|
299
299
|
|
|
300
300
|
---
|
|
301
301
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cjhyy/code-shell",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.46",
|
|
4
4
|
"description": "Code Shell — meta package. Installs @cjhyy/code-shell-core and @cjhyy/code-shell-tui.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.3.11",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"test:task-routing": "node scripts/run-isolated-node-smoke.mjs scripts/smoke-task-capability-routing.mjs"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@cjhyy/code-shell-core": "0.9.
|
|
66
|
-
"@cjhyy/code-shell-tui": "0.9.
|
|
65
|
+
"@cjhyy/code-shell-core": "0.9.46",
|
|
66
|
+
"@cjhyy/code-shell-tui": "0.9.46"
|
|
67
67
|
},
|
|
68
68
|
"workspaces": [
|
|
69
69
|
"packages/*"
|