@openfinclaw/findoo-alpha-plugin 2026.3.12 → 2026.3.13
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/index.ts +5 -0
- package/package.json +2 -4
package/index.ts
CHANGED
|
@@ -55,11 +55,13 @@ const findooPlugin = {
|
|
|
55
55
|
text: string,
|
|
56
56
|
options: { sessionKey: string; contextKey?: string },
|
|
57
57
|
) => void;
|
|
58
|
+
requestHeartbeatNow?: (opts?: { reason?: string; coalesceSec?: number }) => void;
|
|
58
59
|
};
|
|
59
60
|
};
|
|
60
61
|
|
|
61
62
|
const runtime = api.runtime as unknown as RuntimeServices | undefined;
|
|
62
63
|
const enqueueSystemEvent = runtime?.system?.enqueueSystemEvent;
|
|
64
|
+
const requestHeartbeatNow = runtime?.system?.requestHeartbeatNow;
|
|
63
65
|
|
|
64
66
|
// ── PendingTaskTracker (background stream consumer) ──
|
|
65
67
|
let tracker: PendingTaskTracker | undefined;
|
|
@@ -79,6 +81,8 @@ const findooPlugin = {
|
|
|
79
81
|
sessionKey: "main",
|
|
80
82
|
contextKey: "findoo-analysis",
|
|
81
83
|
});
|
|
84
|
+
// Immediately wake heartbeat so LLM sees the result
|
|
85
|
+
requestHeartbeatNow?.({ reason: "findoo-analysis-complete", coalesceSec: 5 });
|
|
82
86
|
},
|
|
83
87
|
|
|
84
88
|
onTaskFailed(task, error) {
|
|
@@ -86,6 +90,7 @@ const findooPlugin = {
|
|
|
86
90
|
sessionKey: "main",
|
|
87
91
|
contextKey: "findoo-analysis",
|
|
88
92
|
});
|
|
93
|
+
requestHeartbeatNow?.({ reason: "findoo-analysis-failed", coalesceSec: 5 });
|
|
89
94
|
},
|
|
90
95
|
});
|
|
91
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfinclaw/findoo-alpha-plugin",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.13",
|
|
4
4
|
"description": "Strategy Agent bridge — A2A protocol integration for LangGraph strategy-agent (37 financial analysis skills)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"a2a",
|
|
@@ -15,9 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@sinclair/typebox": "0.34.48"
|
|
17
17
|
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"openfinclaw": "workspace:*"
|
|
20
|
-
},
|
|
18
|
+
"devDependencies": {},
|
|
21
19
|
"peerDependencies": {
|
|
22
20
|
"openclaw": ">=2026.1.0"
|
|
23
21
|
},
|