create-egregore 0.19.6 → 0.19.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// egregore-launcher-version: 0.7.
|
|
2
|
+
// egregore-launcher-version: 0.7.2
|
|
3
3
|
//
|
|
4
4
|
// egregore — launch and browse Egregore instances from your terminal.
|
|
5
5
|
// Installed by create-egregore. Reads ~/.egregore/instances.json.
|
|
@@ -31,7 +31,7 @@ const https = require("node:https");
|
|
|
31
31
|
const { spawnSync, spawn } = require("node:child_process");
|
|
32
32
|
const readline = require("node:readline");
|
|
33
33
|
|
|
34
|
-
const VERSION = "0.7.
|
|
34
|
+
const VERSION = "0.7.2";
|
|
35
35
|
const REGISTRY = path.join(os.homedir(), ".egregore", "instances.json");
|
|
36
36
|
const DEFAULT_FILE = path.join(os.homedir(), ".egregore", "default");
|
|
37
37
|
const PUBLIC_NPX_PACKAGE = "create-egregore";
|
|
@@ -264,6 +264,10 @@ function readRegistry() {
|
|
|
264
264
|
for (const e of entries) {
|
|
265
265
|
if (!e || typeof e.path !== "string" || !e.path) continue;
|
|
266
266
|
const key = path.resolve(e.path);
|
|
267
|
+
// Worktrees live under a parent instance's .claude/worktrees/ — they are
|
|
268
|
+
// NOT their own egregore. A session that ran inside one may have registered
|
|
269
|
+
// its cwd; keep those out of the instance list (browser, ls, default).
|
|
270
|
+
if (key.includes("/.claude/worktrees/")) continue;
|
|
267
271
|
if (seen.has(key)) continue;
|
|
268
272
|
seen.add(key);
|
|
269
273
|
result.push(e);
|
package/package.json
CHANGED