@cjhyy/code-shell 0.9.26 → 0.9.28

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 +65 -0
  2. package/package.json +12 -8
package/CHANGELOG.md CHANGED
@@ -6,6 +6,71 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and while the project is pre-1.0 we treat any 0.x → 0.(x+1) bump as potentially
7
7
  breaking.
8
8
 
9
+ ## [Unreleased]
10
+
11
+ ## [0.9.28] - 2026-10-09
12
+
13
+ ### Added
14
+
15
+ - Discover eligible tools progressively: select tools before exposing their full
16
+ definitions to subsequent model requests, and recheck permissions before use.
17
+ - Recover committed long output for persistent Desktop/Web sessions through a
18
+ Session-owned journal, durable cursors and bounded pages across disconnects and
19
+ worker/Main restarts. The journal is capped at 128 MiB per Session and 16 MiB per
20
+ logical event; old peers, mobile, retention and repair retain separate limits.
21
+
22
+ ### Fixed
23
+
24
+ - Raise the Core/Server/Desktop MCP SDK floor to 1.31.0 and preserve OAuth issuer
25
+ binding in Desktop. Existing client secrets cannot follow replacement endpoints;
26
+ legacy credentials can still refresh at their saved endpoint.
27
+ - Preserve normal message, attachment and queued steering identities during live
28
+ delivery and output recovery. Child Agent input no longer creates or overwrites
29
+ a parent user message; machine-injected inputs remain hidden.
30
+ - Confirm accepted npm submissions against public exact-version and requested-tag
31
+ metadata under one bounded batch budget. Delayed visibility never triggers
32
+ another publish command or a dist-tag write.
33
+
34
+ ## [0.9.27] - 2026-10-09
35
+
36
+ ### Added
37
+
38
+ - Complete the configured remote Link adapters for ten providers, retain exact
39
+ account/resource grants, and support rotating local GitHub/GitLab OAuth tokens
40
+ and system-browser authorization handoffs. Real account acceptance and service
41
+ deployment remain separate from these Host changes.
42
+ - Add verified GitHub issue creation and single-repository Star/Unstar actions
43
+ with durable operation receipts, independent readback and no automatic resend
44
+ after an unknown result. New Star actions require explicit grants.
45
+ - Parse bounded Office and PDF uploads and search authorized local text chunks.
46
+ Desktop uses its verified managed Node runtime for PDF parsing; Core PDF support
47
+ requires Node 22.13+ and the optional parser dependency.
48
+ - Add cross-session request receipts and cost estimates to existing activity
49
+ records and TUI usage views, with visible unknown usage and pricing coverage.
50
+ - Add durable model request boundaries and Host-owned signing of actual provider
51
+ request projections. Desktop requires available OS key storage and rejects
52
+ plaintext backends before sending; Node/TUI retain explicit plaintext custody.
53
+ - Add isolated, tool-free Optimization Lab Agent trials, frozen instruction
54
+ revisions, native scope-specific adoption and revocation. The Lab remains off
55
+ by default; authorized reports and budget evidence remain durable.
56
+
57
+ ### Changed
58
+
59
+ - Simplify Desktop navigation: move Task center into Settings → Activity, and
60
+ move credentials, Cloud workbench and the optional Optimization Lab into the
61
+ settings menu. Keep their existing pages, controls and feature flags available.
62
+ - Bound Skill metadata by model context budget and provide permission-filtered
63
+ search and pagination without loading Skill bodies into the initial context.
64
+ - Manage Host/Engine/Session/run resources with explicit ownership and cleanup.
65
+ - Restrict CLI Link bindings to reads: reviewed HTTP adapters handle writes.
66
+
67
+ ### Fixed
68
+
69
+ - Require complete zero-failure Bun shard reports and private test environments.
70
+ Native packed consumers and spawned workers receive isolation before Core loads.
71
+ - Exercise actual Linux SecretService in Electron acceptance instead of
72
+ Playwright's default plaintext and mock-keychain switches.
73
+
9
74
  ## [0.9.26] - 2026-10-08
10
75
 
11
76
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjhyy/code-shell",
3
- "version": "0.9.26",
3
+ "version": "0.9.28",
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",
@@ -26,9 +26,9 @@
26
26
  "dev:desktop": "bun run --filter '@cjhyy/code-shell-desktop' dev",
27
27
  "dev:tui": "CODE_SHELL_DEV=1 CODESHELL_UI_PERF=1 bun run packages/tui/src/cli/main.ts",
28
28
  "dev:bigtranscript": "bun run scripts/render-bigtranscript-dev.ts",
29
- "test": "bun test --timeout 30000 tests packages",
30
- "test:core": "bun test --timeout 30000 packages/core/src",
31
- "test:mimi-chat": "bun test --timeout 30000 tests/mimi-chat-replay.test.ts tests/mimi-bound-session-replay.test.ts packages/chat/src packages/pet/src packages/desktop/src/main/pet packages/desktop/src/main/im-gateway-service.test.ts packages/core/src/engine/engine.profile-max-turns.test.ts packages/core/src/engine/engine.profile-input-change.test.ts packages/core/src/engine/turn-loop-steer-backfill.test.ts",
29
+ "test": "node scripts/run-bun-test-shard.mjs --timeout 30000 tests packages",
30
+ "test:core": "node scripts/run-bun-test-shard.mjs --timeout 30000 packages/core/src",
31
+ "test:mimi-chat": "node scripts/run-bun-test-shard.mjs --timeout 30000 tests/mimi-chat-replay.test.ts tests/mimi-bound-session-replay.test.ts packages/chat/src packages/pet/src packages/desktop/src/main/pet packages/desktop/src/main/im-gateway-service.test.ts packages/core/src/engine/engine.profile-max-turns.test.ts packages/core/src/engine/engine.profile-input-change.test.ts packages/core/src/engine/turn-loop-steer-backfill.test.ts",
32
32
  "test:coverage": "bun run scripts/check-builtin-coverage.ts",
33
33
  "test:e2e": "bun run build && bun run --cwd packages/desktop build && bun run --cwd packages/desktop test:e2e",
34
34
  "smoke": "bun run build && bun run --cwd packages/desktop build && bun run --cwd packages/desktop smoke",
@@ -37,7 +37,7 @@
37
37
  "evals:list": "node evals/harness/runner.mjs --list",
38
38
  "evals:validate": "node evals/harness/runner.mjs --validate",
39
39
  "evals:live": "node evals/harness/runner.mjs --live",
40
- "test:evals": "bun test tests/harness-evals-*.test.ts",
40
+ "test:evals": "node scripts/run-bun-test-shard.mjs tests/harness-evals-*.test.ts",
41
41
  "test:package-release": "bun run scripts/package-release-smoke.ts",
42
42
  "test:watch": "bun test --timeout 30000 --watch tests packages",
43
43
  "bench:render": "bun run bench/render-tail.bench.ts && bun run bench/render-streaming.bench.ts && bun run bench/render-spinner.bench.ts && bun run bench/render-wheel.bench.ts",
@@ -47,11 +47,15 @@
47
47
  "lint:engine-bypass": "bash scripts/check-no-engine-bypass.sh",
48
48
  "lint:workflow-test-paths": "node scripts/check-workflow-test-paths.mjs",
49
49
  "lint:baseline": "node scripts/check-lint-baseline.mjs",
50
- "format": "prettier --write 'packages/**/*.ts'"
50
+ "format": "prettier --write 'packages/**/*.ts'",
51
+ "test:upload-documents": "node scripts/run-isolated-node-smoke.mjs scripts/smoke-upload-documents.mjs",
52
+ "test:github-star": "node scripts/run-isolated-node-smoke.mjs scripts/smoke-github-star.mjs",
53
+ "test:output-journal": "node scripts/run-isolated-node-smoke.mjs scripts/smoke-output-journal.mjs",
54
+ "test:deferred-tools": "node scripts/run-isolated-node-smoke.mjs scripts/smoke-deferred-tools.mjs"
51
55
  },
52
56
  "dependencies": {
53
- "@cjhyy/code-shell-core": "0.9.26",
54
- "@cjhyy/code-shell-tui": "0.9.26"
57
+ "@cjhyy/code-shell-core": "0.9.28",
58
+ "@cjhyy/code-shell-tui": "0.9.28"
55
59
  },
56
60
  "workspaces": [
57
61
  "packages/*"