@n1creator/openacp-cli 2026.712.2 → 2026.712.3
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/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33882,7 +33882,7 @@ Shows the version of the currently running daemon process.
|
|
|
33882
33882
|
const state = toggle === "on" ? "enabled" : "disabled";
|
|
33883
33883
|
console.log(`Bypass permissions ${state} for session ${sessionId}`);
|
|
33884
33884
|
} else if (subCmd === "health") {
|
|
33885
|
-
const res = await call("/api/health");
|
|
33885
|
+
const res = await call("/api/v1/system/health/details");
|
|
33886
33886
|
const data = await res.json();
|
|
33887
33887
|
if (!res.ok) {
|
|
33888
33888
|
if (json) jsonError(ErrorCodes.API_ERROR, extractApiError(data));
|
|
@@ -33908,7 +33908,7 @@ Shows the version of the currently running daemon process.
|
|
|
33908
33908
|
console.log(`Adapters : ${adapters}`);
|
|
33909
33909
|
console.log(`Tunnel : ${tunnelStr}`);
|
|
33910
33910
|
} else if (subCmd === "restart") {
|
|
33911
|
-
const res = await call("/api/restart", { method: "POST" });
|
|
33911
|
+
const res = await call("/api/v1/system/restart", { method: "POST" });
|
|
33912
33912
|
const data = await res.json();
|
|
33913
33913
|
if (!res.ok) {
|
|
33914
33914
|
if (json) jsonError(ErrorCodes.API_ERROR, extractApiError(data));
|
|
@@ -33967,7 +33967,7 @@ Shows the version of the currently running daemon process.
|
|
|
33967
33967
|
process.exit(1);
|
|
33968
33968
|
}
|
|
33969
33969
|
} else if (subCmd === "adapters") {
|
|
33970
|
-
const res = await call("/api/adapters");
|
|
33970
|
+
const res = await call("/api/v1/system/adapters");
|
|
33971
33971
|
const data = await res.json();
|
|
33972
33972
|
if (!res.ok) {
|
|
33973
33973
|
if (json) jsonError(ErrorCodes.API_ERROR, String(data.error ?? "API request failed"));
|
|
@@ -34015,7 +34015,7 @@ Shows the version of the currently running daemon process.
|
|
|
34015
34015
|
if (json) jsonSuccess({ sent: true });
|
|
34016
34016
|
console.log("Notification sent to all channels.");
|
|
34017
34017
|
} else if (subCmd === "version") {
|
|
34018
|
-
const res = await call("/api/version");
|
|
34018
|
+
const res = await call("/api/v1/system/version");
|
|
34019
34019
|
const data = await res.json();
|
|
34020
34020
|
if (!res.ok) {
|
|
34021
34021
|
if (json) jsonError(ErrorCodes.API_ERROR, extractApiError(data));
|