echoclaw-relay-agent 0.23.3 → 0.26.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/RelayAgent.d.ts +5 -0
- package/dist/chat/ChatHandler.d.ts +9 -0
- package/dist/{chunk-F3E5E3ZS.js → chunk-KNVTSHSR.js} +4994 -2274
- package/dist/cli.js +30 -2
- package/dist/gateway/GatewayManager.d.ts +8 -0
- package/dist/gateway/GatewayWatchdog.d.ts +8 -0
- package/dist/index.js +26 -2
- package/dist/install/InstallHandler.d.ts +4 -2
- package/dist/install/types.d.ts +4 -0
- package/dist/local/LocalAgent.d.ts +1 -0
- package/dist/sync/SyncCommandHandler.d.ts +24 -0
- package/dist/sync/WorkspaceFileReader.d.ts +46 -0
- package/package.json +1 -1
package/dist/RelayAgent.d.ts
CHANGED
|
@@ -48,6 +48,11 @@ export declare class RelayAgent extends EventEmitter {
|
|
|
48
48
|
* Returns an unsubscribe function.
|
|
49
49
|
*/
|
|
50
50
|
subscribe(event: string, cb: (payload: unknown) => void): () => void;
|
|
51
|
+
/** Manual restart of OpenClaw process. Bypasses watchdog rate limit. */
|
|
52
|
+
manualRestart(): Promise<{
|
|
53
|
+
success: boolean;
|
|
54
|
+
error?: string;
|
|
55
|
+
}>;
|
|
51
56
|
/** Gracefully stop the agent. */
|
|
52
57
|
stop(): Promise<void>;
|
|
53
58
|
/** Export CryptoKey to base64 string for JSON persistence. */
|
|
@@ -104,6 +104,10 @@ export declare class ChatHandler {
|
|
|
104
104
|
private _echoedRuns;
|
|
105
105
|
/** Pending grace-window timers for external run classification. */
|
|
106
106
|
private _externalGraceTimers;
|
|
107
|
+
/** Workspace file reader for v3.1 file-driven app delivery. */
|
|
108
|
+
private _workspaceReader;
|
|
109
|
+
/** RunIds for which task_ack has already been sent (prevents duplicate sends on accumulated deltas). */
|
|
110
|
+
private _taskAckSentRuns;
|
|
107
111
|
constructor(config?: ChatHandlerConfig);
|
|
108
112
|
/** Expose the underlying WS client for event listening. */
|
|
109
113
|
get client(): OpenClawWsClient;
|
|
@@ -211,6 +215,11 @@ export declare class ChatHandler {
|
|
|
211
215
|
/** Start periodic cleanup of stale runs (prevents memory leak). */
|
|
212
216
|
private _startRunCleanup;
|
|
213
217
|
private _stopRunCleanup;
|
|
218
|
+
/**
|
|
219
|
+
* v3.1: Handle CLAW_APP_READY marker — read workspace files and deliver to Desktop.
|
|
220
|
+
* If file read or validation fails, send feedback to OpenClaw for auto-correction.
|
|
221
|
+
*/
|
|
222
|
+
private _handleAppReady;
|
|
214
223
|
/**
|
|
215
224
|
* Extract text from OpenClaw message format.
|
|
216
225
|
* message.content is an array of content blocks; we concatenate text blocks.
|