ahp-inspector 1.1.2 → 1.2.0
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.
package/dist/index.js
CHANGED
|
@@ -19,10 +19,10 @@ var MAX_DEPTH_BELOW_LAUNCH = 3;
|
|
|
19
19
|
function defaultRoots() {
|
|
20
20
|
const home = homedir();
|
|
21
21
|
const platform = process.platform;
|
|
22
|
-
const
|
|
23
|
-
origin: "vscode-oss-dev",
|
|
24
|
-
dir: join(home, ".vscode-oss-agents-dev", "logs")
|
|
25
|
-
|
|
22
|
+
const ossDevRoots = [
|
|
23
|
+
{ origin: "vscode-oss-dev", dir: join(home, ".vscode-oss-dev", "logs") },
|
|
24
|
+
{ origin: "vscode-oss-dev", dir: join(home, ".vscode-oss-agents-dev", "logs") }
|
|
25
|
+
];
|
|
26
26
|
if (platform === "darwin") {
|
|
27
27
|
return [
|
|
28
28
|
{ origin: "vscode", dir: join(home, "Library", "Application Support", "Code", "logs") },
|
|
@@ -30,7 +30,7 @@ function defaultRoots() {
|
|
|
30
30
|
origin: "vscode-insiders",
|
|
31
31
|
dir: join(home, "Library", "Application Support", "Code - Insiders", "logs")
|
|
32
32
|
},
|
|
33
|
-
|
|
33
|
+
...ossDevRoots
|
|
34
34
|
];
|
|
35
35
|
}
|
|
36
36
|
if (platform === "win32") {
|
|
@@ -38,13 +38,13 @@ function defaultRoots() {
|
|
|
38
38
|
return [
|
|
39
39
|
{ origin: "vscode", dir: join(appData, "Code", "logs") },
|
|
40
40
|
{ origin: "vscode-insiders", dir: join(appData, "Code - Insiders", "logs") },
|
|
41
|
-
|
|
41
|
+
...ossDevRoots
|
|
42
42
|
];
|
|
43
43
|
}
|
|
44
44
|
return [
|
|
45
45
|
{ origin: "vscode", dir: join(home, ".config", "Code", "logs") },
|
|
46
46
|
{ origin: "vscode-insiders", dir: join(home, ".config", "Code - Insiders", "logs") },
|
|
47
|
-
|
|
47
|
+
...ossDevRoots
|
|
48
48
|
];
|
|
49
49
|
}
|
|
50
50
|
var FILENAME_RE_AHP_JSONL = /^(agenthost|agent-host|ahp).*\.jsonl$/i;
|