ccstatusline-zh 2.2.31 → 2.2.32
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/ccstatusline.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
initConfigPath,
|
|
31
31
|
loadSettings,
|
|
32
32
|
saveSettings
|
|
33
|
-
} from "./ccstatusline-
|
|
33
|
+
} from "./ccstatusline-xsgtxzjt.js";
|
|
34
34
|
import {
|
|
35
35
|
advanceGlobalPowerlineThemeIndex,
|
|
36
36
|
advanceGlobalSeparatorIndex
|
|
@@ -111,13 +111,13 @@ var StatusJSONSchema = looseObject({
|
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
// src/utils/hook-handler.ts
|
|
114
|
-
import * as fs2 from "fs";
|
|
115
|
-
import * as path2 from "path";
|
|
114
|
+
import * as fs2 from "node:fs";
|
|
115
|
+
import * as path2 from "node:path";
|
|
116
116
|
|
|
117
117
|
// src/utils/skills.ts
|
|
118
|
-
import * as fs from "fs";
|
|
119
|
-
import * as os from "os";
|
|
120
|
-
import * as path from "path";
|
|
118
|
+
import * as fs from "node:fs";
|
|
119
|
+
import * as os from "node:os";
|
|
120
|
+
import * as path from "node:path";
|
|
121
121
|
var EMPTY = { totalInvocations: 0, uniqueSkills: [], lastSkill: null };
|
|
122
122
|
function getSkillsDir() {
|
|
123
123
|
return path.join(os.homedir(), ".cache", "ccstatusline", "skills");
|
|
@@ -395,7 +395,7 @@ async function ensureWindowsUtf8CodePage() {
|
|
|
395
395
|
return;
|
|
396
396
|
}
|
|
397
397
|
try {
|
|
398
|
-
const { execFileSync } = await import("child_process");
|
|
398
|
+
const { execFileSync } = await import("node:child_process");
|
|
399
399
|
execFileSync("chcp.com", ["65001"], { stdio: "ignore", windowsHide: true });
|
|
400
400
|
} catch {}
|
|
401
401
|
}
|
|
@@ -590,7 +590,7 @@ async function main() {
|
|
|
590
590
|
const { updatemessage, ...newSettings } = settings;
|
|
591
591
|
await saveSettings(newSettings);
|
|
592
592
|
}
|
|
593
|
-
const { runTUI } = await import("./index-
|
|
593
|
+
const { runTUI } = await import("./index-3881ds5x.js");
|
|
594
594
|
runTUI();
|
|
595
595
|
}
|
|
596
596
|
}
|