@clawos-dev/clawd 0.2.38 → 0.2.39

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/dist/cli.cjs +6 -5
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -9188,8 +9188,8 @@ var init_schemas = __esm({
9188
9188
  sessionId: external_exports.string().min(1),
9189
9189
  status: SessionStatusSchema,
9190
9190
  freshSpawn: external_exports.boolean(),
9191
- pendingPermissionsCount: external_exports.number().int().nonnegative(),
9192
- pendingQuestionsCount: external_exports.number().int().nonnegative()
9191
+ pendingPermissionRequestIds: external_exports.array(external_exports.string().min(1)),
9192
+ pendingQuestionToolUseIds: external_exports.array(external_exports.string().min(1))
9193
9193
  });
9194
9194
  InfoResponseSchema = external_exports.object({
9195
9195
  type: external_exports.literal("info"),
@@ -17177,9 +17177,10 @@ var SessionManager = class {
17177
17177
  sessionId: sid,
17178
17178
  status: compressStatus(st.status),
17179
17179
  freshSpawn: st.freshSpawn,
17180
- // sidebar awaiting-user baseline:UI 端据此填 anonymous slot 直到 push 帧带真实 toolUseId
17181
- pendingPermissionsCount: Object.keys(st.pendingPermissions).length,
17182
- pendingQuestionsCount: Object.keys(st.pendingQuestions).length
17180
+ // sidebar awaiting-user baseline:UI bootstrap 时把这两个 toolUseId 列表直接 seed
17181
+ // realIds 集合,与 push 帧(permission:request / session:question / *:cleared)维护同形态
17182
+ pendingPermissionRequestIds: Object.keys(st.pendingPermissions),
17183
+ pendingQuestionToolUseIds: Object.keys(st.pendingQuestions)
17183
17184
  });
17184
17185
  }
17185
17186
  return { runningSessions: running };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.38",
3
+ "version": "0.2.39",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",