omo-web 0.1.6 → 0.1.7

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/server.js +4 -4
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -12030,10 +12030,10 @@ ${source.nativeSessionId}`;
12030
12030
  }
12031
12031
  }
12032
12032
  async#resumeCliSource(source, nameHint) {
12033
- const existing = [...this.#rows.values()].find((row) => row.cwd === source.cwd && row.nativeId === source.nativeSessionId);
12034
- if (existing) {
12035
- await this.#resume(existing);
12036
- return this.#view(this.#row(existing.id));
12033
+ const existing = this.findAlias(source.nativeSessionId, source.cwd, source.workspaceKey);
12034
+ if (existing !== undefined) {
12035
+ await this.#resume(this.#row(existing));
12036
+ return this.#view(this.#row(existing));
12037
12037
  }
12038
12038
  const id = sessionKey.parse(crypto.randomUUID());
12039
12039
  const trimmed = nameHint.trim().slice(0, 120);
package/package.json CHANGED
@@ -30,5 +30,5 @@
30
30
  "native/web-send-file.mjs",
31
31
  "public"
32
32
  ],
33
- "version": "0.1.6"
33
+ "version": "0.1.7"
34
34
  }