@leverageaiapps/locus 2.2.2 → 2.2.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.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Core Agent Loop — runs locally on the user's Mac inside Locus.
3
+ * Adapted from container-agent/src/agent-loop.ts.
4
+ *
5
+ * Key differences from container-agent (sandbox):
6
+ * - Memory paths: ~/.leverage/memory/ (not /root/memory/)
7
+ * - Working directory: user-specified or HOME (not /root)
8
+ * - No browser_action tool, no request_human_help tool
9
+ * - No ensureDesktop(), no refreshDesktopIfNeeded()
10
+ * - No R2 file sync for bash output (files already local on Mac)
11
+ * - install_skill: fetches from ClawHub locally → creates via WorkerProxy
12
+ * - Persistent process — no DO eviction recovery needed
13
+ */
14
+ import type { AgentRunRequest } from './types';
15
+ export declare function cancelCurrentTask(): boolean;
16
+ export declare function injectUserMessage(message: string, images?: string[]): boolean;
17
+ export declare function isRunning(): boolean;
18
+ export declare function runAgentLoop(req: AgentRunRequest): Promise<void>;
19
+ //# sourceMappingURL=agent-loop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-loop.d.ts","sourceRoot":"","sources":["../../src/agent/agent-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAgBH,OAAO,KAAK,EACV,eAAe,EAChB,MAAM,SAAS,CAAC;AAcjB,wBAAgB,iBAAiB,IAAI,OAAO,CAI3C;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAI7E;AAED,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAsCD,wBAAsB,YAAY,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CA6btE"}