cortex-sync 0.4.12 → 0.4.13

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.js +2 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -321,7 +321,8 @@ var GitHubBackend = class {
321
321
  apiBase;
322
322
  headers;
323
323
  url(path) {
324
- return `${this.apiBase}/contents/${path}`;
324
+ const encoded = path.split("/").map(encodeURIComponent).join("/");
325
+ return `${this.apiBase}/contents/${encoded}`;
325
326
  }
326
327
  async getSha(path) {
327
328
  const res = await fetch(this.url(path), { headers: this.headers });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-sync",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Sync Claude Code sessions between machines with automatic path remapping and skill conversion",
5
5
  "license": "AGPL-3.0",
6
6
  "type": "module",