@clawos-dev/clawd 0.2.131 → 0.2.132

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 +4 -2
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -42823,12 +42823,14 @@ function buildAppBuilderHandlers(deps) {
42823
42823
  publishJob: withPublishJobStatus(p2)
42824
42824
  };
42825
42825
  }
42826
- const listProjects = async (_frame, _client, ctx) => {
42826
+ const listProjects = async (frame, _client, ctx) => {
42827
+ const f = frame;
42827
42828
  let metas;
42828
42829
  if (ctx?.principal.kind === "owner" && deps.usersRoot && deps.getStore) {
42829
42830
  metas = await listAllUsersProjects();
42830
42831
  } else {
42831
- metas = await resolveStore({ ctx }).list();
42832
+ const sessionId = typeof f.sessionId === "string" ? f.sessionId : void 0;
42833
+ metas = await resolveStore({ ctx, sessionId }).list();
42832
42834
  }
42833
42835
  return { response: { projects: metas.map(toProjectWithStatus) } };
42834
42836
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.131",
3
+ "version": "0.2.132",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",