agent-afk 5.129.0 → 5.130.1
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/agent/daemon/http-client.d.ts +4 -0
- package/dist/agent/daemon.listen.d.ts +8 -0
- package/dist/cli.mjs +493 -491
- package/dist/index.mjs +197 -197
- package/dist/telegram/forward-provenance.d.ts +21 -0
- package/dist/telegram/session-manager.d.ts +12 -0
- package/dist/telegram/session-manager.registry.d.ts +6 -0
- package/dist/telegram.mjs +262 -262
- package/package.json +1 -1
|
@@ -4,3 +4,7 @@ export interface DaemonSyncResult {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const SYNC_FAILED_NOTE: string;
|
|
6
6
|
export declare function trySyncToDaemon(method: 'POST' | 'DELETE', path: string, body?: unknown): Promise<DaemonSyncResult>;
|
|
7
|
+
export declare function parsePortFile(raw: string): {
|
|
8
|
+
host: string;
|
|
9
|
+
port: number;
|
|
10
|
+
} | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Server } from 'node:http';
|
|
2
|
+
interface ListenResult {
|
|
3
|
+
port: number;
|
|
4
|
+
address: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function listenWithRecovery(server: Server, requestedPort: number, host: string): Promise<ListenResult>;
|
|
7
|
+
export declare function closeServer(server: Server): Promise<void>;
|
|
8
|
+
export {};
|