@cjhyy/code-shell 0.9.41 → 0.9.43
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 +100 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,106 @@ breaking.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.9.43] - 2026-10-15
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Read Figma nodes, exported images and image-fill assets through Link with
|
|
16
|
+
on-demand content loading, bounded responses and account authorization guidance.
|
|
17
|
+
- Open sub-agent conversations in the side dock while keeping the parent chat
|
|
18
|
+
available.
|
|
19
|
+
- Add `@cjhyy/code-shell-host`, a Core-only HostRuntime foundation with capability
|
|
20
|
+
registration, adapter lifecycle and a shared worker request interceptor used by
|
|
21
|
+
Desktop, serve and Panel task hosts. Larger service migrations remain pending.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Unify themed dropdowns across Desktop and keep theme music local, including
|
|
26
|
+
imported MP3/WAV tracks and playback that continues outside Appearance settings.
|
|
27
|
+
- Improve Quick Chat layout and composer usability in short panels.
|
|
28
|
+
- Refresh the curated OpenRouter model catalog.
|
|
29
|
+
- Return a reusable `agent_id` with synchronous Agent reports and guide related
|
|
30
|
+
follow-up work through `AgentSendInput` using saved context and incremental input.
|
|
31
|
+
- Persist sub-agent role scopes for continuation after restart. Legacy sessions
|
|
32
|
+
without saved scope metadata require a new Agent after restarting.
|
|
33
|
+
- Extract protocol request dispatch and ingress validation without changing the
|
|
34
|
+
legacy wire contract; reduce the AgentServer architecture budget to 4,949 lines.
|
|
35
|
+
- Reserve tool names beginning with `__` for internal host loopbacks, including
|
|
36
|
+
extension tool catalogs and late registration.
|
|
37
|
+
- REPL uses the sandboxed-Bash environment allowlist plus explicit project env,
|
|
38
|
+
including credential env exposures. Proxy variables, `NODE_PATH`, `PYTHONPATH`,
|
|
39
|
+
`VIRTUAL_ENV` and `CONDA_*` are not inherited. Bash with sandboxing disabled
|
|
40
|
+
still inherits the full environment. This allowlist does not prevent theft of
|
|
41
|
+
files or environment data accessible to the same OS user; REPL remains outside
|
|
42
|
+
the OS sandbox.
|
|
43
|
+
- TypeScript REPL reuses the host's Bun executable under Bun, and requires an
|
|
44
|
+
already available PATH Bun under Node, with `--no-env-file` in both cases.
|
|
45
|
+
REPL now advertises the workspace write protocol. Windows shell env overrides
|
|
46
|
+
merge without case-sensitive PATH/Path duplicates.
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- Preserve external runtime output across restarts, adopted cost snapshots and
|
|
51
|
+
turn timing; keep reopened autocomplete suggestions focused.
|
|
52
|
+
- Make GitHub data access opt-in at sign-in and distinguish local logout from
|
|
53
|
+
unconfirmed remote revocation.
|
|
54
|
+
- Expose verified Node runtime fallbacks to Panel CLIs.
|
|
55
|
+
- Track resumed sub-agents as running, route further input to their existing
|
|
56
|
+
runtime, and preserve cancellation until that runtime fully exits, including
|
|
57
|
+
across the automatic background threshold.
|
|
58
|
+
- Enforce sub-agent role tool allowlists at execution time on both initial and
|
|
59
|
+
resumed runs, while retaining parent-disabled tools and the flat agent hierarchy.
|
|
60
|
+
- Keep the bundled Host package in Desktop devDependencies, and derive the
|
|
61
|
+
production workspace packaging guard from predist's actual materialization list.
|
|
62
|
+
- Include a unique JSON-RPC id in Desktop unsupported-loopback replies so Core
|
|
63
|
+
consumes the pending request immediately; keep known authority notifications private.
|
|
64
|
+
- Enable workspace IPC only when the host explicitly installs it. Desktop keeps
|
|
65
|
+
its bridge; serve and Panel workers use Core's disk fallback for cross-session
|
|
66
|
+
messages, asynchronous AskUser and mailbox wakeups.
|
|
67
|
+
- Panel task workers immediately answer unsupported `desktop/*` and internal
|
|
68
|
+
loopbacks with typed failures instead of timing out or reporting user denial;
|
|
69
|
+
private loopback IDs are kept out of client approval events. Ordinary approvals
|
|
70
|
+
and installed Panel callbacks keep their routes. Panel tasks have no text-answer
|
|
71
|
+
UI: AskUser now returns an explicit host-unavailable failure without displaying
|
|
72
|
+
a yes/no approval or supplying a fake answer; asynchronous questions retire
|
|
73
|
+
without injecting an answer or waking a follow-up run.
|
|
74
|
+
- Clear inherited host MCP/IPC switches from serve and Panel workers, and clear
|
|
75
|
+
the remote Link client secret even when a Panel host supplies a custom env.
|
|
76
|
+
|
|
77
|
+
## [0.9.42] - 2026-10-15
|
|
78
|
+
|
|
79
|
+
### Added
|
|
80
|
+
|
|
81
|
+
- Add a minimal `initialize` handshake to AgentServer that returns the protocol
|
|
82
|
+
version and the contract table, and export `CONTRACTS` from core.
|
|
83
|
+
- Include `contracts` in the serve `/health` response.
|
|
84
|
+
- Combine account actions and Settings in a grouped sidebar menu with direct
|
|
85
|
+
access to common settings pages.
|
|
86
|
+
- Make the shared source library and each project's selected sources separate
|
|
87
|
+
destinations, with a project chooser and a return path between them.
|
|
88
|
+
|
|
89
|
+
### Changed
|
|
90
|
+
|
|
91
|
+
- Run REPL with the sandboxed-Bash environment allowlist plus project env.
|
|
92
|
+
Proxy variables, `NODE_PATH`, `PYTHONPATH`, `VIRTUAL_ENV`, `CONDA_*` and the
|
|
93
|
+
cwd `.env` no longer reach REPL; set them in project env instead.
|
|
94
|
+
- Add Windows and CA-certificate variables to the shared shell allowlist.
|
|
95
|
+
- Explicit project env, including configured credential env exposures, also
|
|
96
|
+
reaches REPL. REPL remains unsandboxed; Bash with sandboxing disabled still
|
|
97
|
+
inherits the full host environment.
|
|
98
|
+
- Retire demonstration data sources from production and provide an opt-in
|
|
99
|
+
cleanup script for legacy source mock data.
|
|
100
|
+
|
|
101
|
+
### Fixed
|
|
102
|
+
|
|
103
|
+
- Serve now answers Desktop-only host requests with `unsupported` immediately
|
|
104
|
+
instead of hanging, and no longer broadcasts worker `desktop/*` requests to
|
|
105
|
+
Web tabs.
|
|
106
|
+
- Keep account, settings, source dialogs and context menus usable in narrow
|
|
107
|
+
windows and themed surfaces, including focus, scrolling and menu handoff.
|
|
108
|
+
- Improve source-add forms with generated identifiers, and open the Link account
|
|
109
|
+
page from the source settings destination.
|
|
110
|
+
|
|
11
111
|
## [0.9.40] - 2026-10-13
|
|
12
112
|
|
|
13
113
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cjhyy/code-shell",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.43",
|
|
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",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"preinstall": "node scripts/check-node.cjs",
|
|
20
|
-
"build": "bun run --filter '@cjhyy/code-shell-link' build && bun run --filter '@cjhyy/code-shell-core' build && bun run --filter '@cjhyy/code-shell-pet' build && bun run --filter '@cjhyy/code-shell-capability-optimization-lab' build && bun run --filter '@cjhyy/code-shell-capability-coding' build && bun run --filter '@cjhyy/code-shell-cdp' build && bun run --filter '@cjhyy/code-shell-browser-devtools' build && bun run --filter '@cjhyy/code-shell-web' build && bun run --filter '@cjhyy/code-shell-server' build && bun run --filter '@cjhyy/code-shell-tui' build && bun run --filter '@cjhyy/code-shell-chat' build && bun run scripts/build-meta.ts",
|
|
21
|
-
"build:server": "bun run --filter '@cjhyy/code-shell-link' build && bun run --filter '@cjhyy/code-shell-core' build && bun run --filter '@cjhyy/code-shell-capability-coding' build && bun run --filter '@cjhyy/code-shell-web' build && bun run --filter '@cjhyy/code-shell-server' build",
|
|
20
|
+
"build": "bun run --filter '@cjhyy/code-shell-link' build && bun run --filter '@cjhyy/code-shell-core' build && bun run --filter '@cjhyy/code-shell-host' build && bun run --filter '@cjhyy/code-shell-pet' build && bun run --filter '@cjhyy/code-shell-capability-optimization-lab' build && bun run --filter '@cjhyy/code-shell-capability-coding' build && bun run --filter '@cjhyy/code-shell-cdp' build && bun run --filter '@cjhyy/code-shell-browser-devtools' build && bun run --filter '@cjhyy/code-shell-web' build && bun run --filter '@cjhyy/code-shell-server' build && bun run --filter '@cjhyy/code-shell-tui' build && bun run --filter '@cjhyy/code-shell-chat' build && bun run scripts/build-meta.ts",
|
|
21
|
+
"build:server": "bun run --filter '@cjhyy/code-shell-link' build && bun run --filter '@cjhyy/code-shell-core' build && bun run --filter '@cjhyy/code-shell-host' build && bun run --filter '@cjhyy/code-shell-capability-coding' build && bun run --filter '@cjhyy/code-shell-web' build && bun run --filter '@cjhyy/code-shell-server' build",
|
|
22
22
|
"serve:server": "node packages/server/dist/bin/code-shell-serve.js",
|
|
23
23
|
"test:server-panel-recovery": "node scripts/smoke-web-panel-recovery.mjs",
|
|
24
24
|
"test:server-smoke": "node scripts/smoke-hub-server.mjs",
|
|
@@ -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.43",
|
|
66
|
+
"@cjhyy/code-shell-tui": "0.9.43"
|
|
67
67
|
},
|
|
68
68
|
"workspaces": [
|
|
69
69
|
"packages/*"
|