@lark-apaas/openclaw-scripts-diagnose-cli 0.1.10-alpha.2 → 0.1.10-beta.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.cjs +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -52,7 +52,7 @@ node_assert = __toESM(node_assert);
|
|
|
52
52
|
* it terse and parseable.
|
|
53
53
|
*/
|
|
54
54
|
function getVersion() {
|
|
55
|
-
return "0.1.10-
|
|
55
|
+
return "0.1.10-beta.0";
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/rule-engine/base.ts
|
|
@@ -4876,7 +4876,7 @@ function writeSecretsAndRestart(vars, resetData, configDir, log) {
|
|
|
4876
4876
|
writeFile(vars.providerFilePath, resetData.providerKeyContent);
|
|
4877
4877
|
log(`wrote provider key to ${vars.providerFilePath}`);
|
|
4878
4878
|
}
|
|
4879
|
-
const restartScript =
|
|
4879
|
+
const restartScript = "/opt/force/bin/openclaw_scripts/restart.sh";
|
|
4880
4880
|
if (fileExists(restartScript)) {
|
|
4881
4881
|
const t = Date.now();
|
|
4882
4882
|
shell(`bash '${restartScript}'`, 3e4);
|
|
@@ -10001,7 +10001,7 @@ async function reportCliRun(opts) {
|
|
|
10001
10001
|
//#region src/help.ts
|
|
10002
10002
|
const BIN = "mclaw-diagnose";
|
|
10003
10003
|
function versionBanner() {
|
|
10004
|
-
return `v0.1.10-
|
|
10004
|
+
return `v0.1.10-beta.0`;
|
|
10005
10005
|
}
|
|
10006
10006
|
const COMMANDS = [
|
|
10007
10007
|
{
|
package/package.json
CHANGED