@cjhyy/code-shell-server 0.9.9 → 0.9.10

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.
@@ -32,6 +32,8 @@ export declare function deleteSession(id: string): Promise<void>;
32
32
  */
33
33
  export declare function cleanupStaleQuickChatSessions(baseDir?: string): Promise<string[]>;
34
34
  export interface DiskSessionMeta {
35
+ runId?: string;
36
+ clientMessageId?: string;
35
37
  id: string;
36
38
  engineSessionId: string;
37
39
  cwd: string;
@@ -312,6 +312,14 @@ export async function listDiskSessions(opts, baseDir = sessionsRoot()) {
312
312
  continue;
313
313
  sessions.push({
314
314
  id,
315
+ ...(typeof state.runId === "string" && state.runId.length > 0 && state.runId.length <= 256
316
+ ? { runId: state.runId }
317
+ : {}),
318
+ ...(typeof state.clientMessageId === "string" &&
319
+ state.clientMessageId.length > 0 &&
320
+ state.clientMessageId.length <= 256
321
+ ? { clientMessageId: state.clientMessageId }
322
+ : {}),
315
323
  engineSessionId: id,
316
324
  cwd: typeof state.cwd === "string" ? state.cwd : "",
317
325
  // Prefer the LLM-generated title (now persisted to state); fall back to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cjhyy/code-shell-server",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "CodeShell server transport layer — mobile remote HTTP/WS host, pairing, passcode gate, tunnel, rooms, uploads, and session/attachment services. Electron-free; precursor of the auth gateway.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -51,13 +51,13 @@
51
51
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\""
52
52
  },
53
53
  "dependencies": {
54
- "@cjhyy/code-shell-capability-coding": "0.9.9",
55
- "@cjhyy/code-shell-core": "0.9.9",
56
- "@cjhyy/code-shell-web": "0.9.9",
54
+ "@cjhyy/code-shell-capability-coding": "0.9.10",
55
+ "@cjhyy/code-shell-core": "0.9.10",
56
+ "@cjhyy/code-shell-web": "0.9.10",
57
57
  "@modelcontextprotocol/sdk": "^1.12.1",
58
58
  "@types/ws": "^8.18.1",
59
59
  "ws": "^8.21.0",
60
- "@cjhyy/code-shell-link": "0.9.9"
60
+ "@cjhyy/code-shell-link": "0.9.10"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=20.10"