@openacp/cli 0.4.3 → 0.4.5
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/{chunk-GA26H6JY.js → chunk-V5P3K4A5.js} +85 -23
- package/dist/chunk-V5P3K4A5.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/{main-3WJFOTNT.js → main-3CDOICYN.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-GA26H6JY.js.map +0 -1
- /package/dist/{main-3WJFOTNT.js.map → main-3CDOICYN.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -342,7 +342,7 @@ async function cmdDefault(command2) {
|
|
|
342
342
|
}
|
|
343
343
|
const { markRunning } = await import("./daemon-SLGQGRKO.js");
|
|
344
344
|
markRunning();
|
|
345
|
-
const { startServer } = await import("./main-
|
|
345
|
+
const { startServer } = await import("./main-3CDOICYN.js");
|
|
346
346
|
await startServer();
|
|
347
347
|
}
|
|
348
348
|
|
|
@@ -367,7 +367,7 @@ var commands = {
|
|
|
367
367
|
"reset": () => cmdReset(),
|
|
368
368
|
"update": () => cmdUpdate(),
|
|
369
369
|
"--daemon-child": async () => {
|
|
370
|
-
const { startServer } = await import("./main-
|
|
370
|
+
const { startServer } = await import("./main-3CDOICYN.js");
|
|
371
371
|
await startServer();
|
|
372
372
|
}
|
|
373
373
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ interface SessionRecord<P = Record<string, unknown>> {
|
|
|
106
106
|
createdAt: string;
|
|
107
107
|
lastActiveAt: string;
|
|
108
108
|
name?: string;
|
|
109
|
+
dangerousMode?: boolean;
|
|
109
110
|
platform: P;
|
|
110
111
|
}
|
|
111
112
|
interface TelegramPlatformData {
|
|
@@ -699,6 +700,7 @@ declare class SessionManager {
|
|
|
699
700
|
updateSessionPlatform(sessionId: string, platform: Record<string, unknown>): Promise<void>;
|
|
700
701
|
updateSessionActivity(sessionId: string): Promise<void>;
|
|
701
702
|
updateSessionStatus(sessionId: string, status: SessionStatus): Promise<void>;
|
|
703
|
+
updateSessionDangerousMode(sessionId: string, dangerousMode: boolean): Promise<void>;
|
|
702
704
|
updateSessionName(sessionId: string, name: string): Promise<void>;
|
|
703
705
|
getSessionRecord(sessionId: string): SessionRecord | undefined;
|
|
704
706
|
cancelSession(sessionId: string): Promise<void>;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ApiServer,
|
|
4
4
|
OpenACPCore,
|
|
5
5
|
TelegramAdapter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V5P3K4A5.js";
|
|
7
7
|
import "./chunk-WHKLPZGK.js";
|
|
8
8
|
import {
|
|
9
9
|
loadAdapterFactory
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
RESTART_EXIT_CODE,
|
|
169
169
|
startServer
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=main-
|
|
171
|
+
//# sourceMappingURL=main-3CDOICYN.js.map
|