@clawos-dev/clawd 0.2.157-beta.328.919c18f → 0.2.157-beta.329.b324109

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.
@@ -21120,7 +21120,8 @@ function fail(text) {
21120
21120
  }
21121
21121
  async function callApi(ctx, method, pathAndQuery, body) {
21122
21122
  const f = ctx.fetch ?? fetch;
21123
- const url = `${ctx.apiUrl}${pathAndQuery}`;
21123
+ const base = ctx.apiUrl.replace(/\/+$/, "");
21124
+ const url = `${base}/api${pathAndQuery}`;
21124
21125
  let res;
21125
21126
  try {
21126
21127
  res = await f(url, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.157-beta.328.919c18f",
3
+ "version": "0.2.157-beta.329.b324109",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",