codiedev 0.10.0-beta.15 → 0.10.0-beta.16

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.
@@ -97,6 +97,12 @@ function sessionStores(env = process.env, home = os.homedir(), stateDir = (0, co
97
97
  root: path.join((0, copilotHooks_1.copilotHome)(env, home), "session-state"),
98
98
  match: (f) => path.basename(f) === "workspace.yaml",
99
99
  },
100
+ {
101
+ harness: "copilot",
102
+ kind: "json",
103
+ root: path.join((0, copilotHooks_1.copilotHome)(env, home), "session-state"),
104
+ match: (f) => path.basename(f) === "index.json" && path.basename(path.dirname(f)) === "rewind-file-snapshots",
105
+ },
100
106
  { harness: "pi", kind: "jsonl", root: path.join((0, harnessDirs_1.piAgentDir)(env, home), "sessions"), match: isJsonl },
101
107
  { harness: "pi", kind: "jsonl", root: path.join(stateDir, "managed", "pi", "agent", "sessions"), match: isJsonl },
102
108
  { harness: "opencode", kind: "json", root: path.join(stateDir, "opencode-captures"), match: (f) => f.endsWith(".json") },
@@ -182,8 +182,10 @@ function sessionKeyOf(harness, file) {
182
182
  const base = path.basename(file);
183
183
  if (base === "history.jsonl")
184
184
  return "history";
185
- if (harness === "copilot")
186
- return path.basename(path.dirname(file));
185
+ if (harness === "copilot") {
186
+ const dir = path.dirname(file);
187
+ return path.basename(path.basename(dir) === "rewind-file-snapshots" ? path.dirname(dir) : dir);
188
+ }
187
189
  const uuid = base.match(/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})/i);
188
190
  if (uuid)
189
191
  return uuid[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codiedev",
3
- "version": "0.10.0-beta.15",
3
+ "version": "0.10.0-beta.16",
4
4
  "description": "Connect Claude Code, Codex, Cursor, OpenCode, or VS Code Copilot to Codiedev for team session capture and artifact collaboration — and run the governed Codie harness",
5
5
  "bin": {
6
6
  "codiedev": "dist/cli.js",