@cjhyy/code-shell 0.9.42 → 0.9.44

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -8,6 +8,88 @@ breaking.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.9.44] - 2026-10-15
12
+
13
+ ### Changed
14
+
15
+ - Refine forwarding selected conversation turns into a new session, including
16
+ selection controls, progress and error states, and transferred-context details.
17
+
18
+ ### Fixed
19
+
20
+ - Use the currently selected model's configured vision capability consistently
21
+ across provider requests, image input, Browser, ViewImage and MCP image results.
22
+ - Refresh auxiliary clients when model settings change, and retain the selected
23
+ model identity and capability when resolving pooled connections.
24
+ - Refresh active model settings after saving, deleting or restoring model
25
+ catalog entries.
26
+
27
+ ## [0.9.43] - 2026-10-15
28
+
29
+ ### Added
30
+
31
+ - Read Figma nodes, exported images and image-fill assets through Link with
32
+ on-demand content loading, bounded responses and account authorization guidance.
33
+ - Open sub-agent conversations in the side dock while keeping the parent chat
34
+ available.
35
+ - Add `@cjhyy/code-shell-host`, a Core-only HostRuntime foundation with capability
36
+ registration, adapter lifecycle and a shared worker request interceptor used by
37
+ Desktop, serve and Panel task hosts. Larger service migrations remain pending.
38
+
39
+ ### Changed
40
+
41
+ - Unify themed dropdowns across Desktop and keep theme music local, including
42
+ imported MP3/WAV tracks and playback that continues outside Appearance settings.
43
+ - Improve Quick Chat layout and composer usability in short panels.
44
+ - Refresh the curated OpenRouter model catalog.
45
+ - Return a reusable `agent_id` with synchronous Agent reports and guide related
46
+ follow-up work through `AgentSendInput` using saved context and incremental input.
47
+ - Persist sub-agent role scopes for continuation after restart. Legacy sessions
48
+ without saved scope metadata require a new Agent after restarting.
49
+ - Extract protocol request dispatch and ingress validation without changing the
50
+ legacy wire contract; reduce the AgentServer architecture budget to 4,949 lines.
51
+ - Reserve tool names beginning with `__` for internal host loopbacks, including
52
+ extension tool catalogs and late registration.
53
+ - REPL uses the sandboxed-Bash environment allowlist plus explicit project env,
54
+ including credential env exposures. Proxy variables, `NODE_PATH`, `PYTHONPATH`,
55
+ `VIRTUAL_ENV` and `CONDA_*` are not inherited. Bash with sandboxing disabled
56
+ still inherits the full environment. This allowlist does not prevent theft of
57
+ files or environment data accessible to the same OS user; REPL remains outside
58
+ the OS sandbox.
59
+ - TypeScript REPL reuses the host's Bun executable under Bun, and requires an
60
+ already available PATH Bun under Node, with `--no-env-file` in both cases.
61
+ REPL now advertises the workspace write protocol. Windows shell env overrides
62
+ merge without case-sensitive PATH/Path duplicates.
63
+
64
+ ### Fixed
65
+
66
+ - Preserve external runtime output across restarts, adopted cost snapshots and
67
+ turn timing; keep reopened autocomplete suggestions focused.
68
+ - Make GitHub data access opt-in at sign-in and distinguish local logout from
69
+ unconfirmed remote revocation.
70
+ - Expose verified Node runtime fallbacks to Panel CLIs.
71
+ - Track resumed sub-agents as running, route further input to their existing
72
+ runtime, and preserve cancellation until that runtime fully exits, including
73
+ across the automatic background threshold.
74
+ - Enforce sub-agent role tool allowlists at execution time on both initial and
75
+ resumed runs, while retaining parent-disabled tools and the flat agent hierarchy.
76
+ - Keep the bundled Host package in Desktop devDependencies, and derive the
77
+ production workspace packaging guard from predist's actual materialization list.
78
+ - Include a unique JSON-RPC id in Desktop unsupported-loopback replies so Core
79
+ consumes the pending request immediately; keep known authority notifications private.
80
+ - Enable workspace IPC only when the host explicitly installs it. Desktop keeps
81
+ its bridge; serve and Panel workers use Core's disk fallback for cross-session
82
+ messages, asynchronous AskUser and mailbox wakeups.
83
+ - Panel task workers immediately answer unsupported `desktop/*` and internal
84
+ loopbacks with typed failures instead of timing out or reporting user denial;
85
+ private loopback IDs are kept out of client approval events. Ordinary approvals
86
+ and installed Panel callbacks keep their routes. Panel tasks have no text-answer
87
+ UI: AskUser now returns an explicit host-unavailable failure without displaying
88
+ a yes/no approval or supplying a fake answer; asynchronous questions retire
89
+ without injecting an answer or waking a follow-up run.
90
+ - Clear inherited host MCP/IPC switches from serve and Panel workers, and clear
91
+ the remote Link client secret even when a Panel host supplies a custom env.
92
+
11
93
  ## [0.9.42] - 2026-10-15
12
94
 
13
95
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjhyy/code-shell",
3
- "version": "0.9.42",
3
+ "version": "0.9.44",
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.42",
66
- "@cjhyy/code-shell-tui": "0.9.42"
65
+ "@cjhyy/code-shell-core": "0.9.44",
66
+ "@cjhyy/code-shell-tui": "0.9.44"
67
67
  },
68
68
  "workspaces": [
69
69
  "packages/*"