@spfunctions/cli 1.7.12 → 1.7.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/dist/client.d.ts +2 -0
- package/dist/client.js +6 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export declare class SFClient {
|
|
|
17
17
|
createThesis(rawThesis: string, sync?: boolean): Promise<any>;
|
|
18
18
|
injectSignal(id: string, type: string, content: string, source?: string): Promise<any>;
|
|
19
19
|
evaluate(id: string): Promise<any>;
|
|
20
|
+
getHeartbeatConfig(id: string): Promise<any>;
|
|
21
|
+
updateHeartbeatConfig(id: string, config: Record<string, unknown>): Promise<any>;
|
|
20
22
|
getFeed(hours?: number, limit?: number): Promise<any>;
|
|
21
23
|
getChanges(id: string, since: string): Promise<any>;
|
|
22
24
|
updateThesis(id: string, data: Record<string, unknown>): Promise<any>;
|
package/dist/client.js
CHANGED
|
@@ -74,6 +74,12 @@ class SFClient {
|
|
|
74
74
|
async evaluate(id) {
|
|
75
75
|
return this.request('POST', `/api/thesis/${id}/evaluate`);
|
|
76
76
|
}
|
|
77
|
+
async getHeartbeatConfig(id) {
|
|
78
|
+
return this.request('GET', `/api/thesis/${id}/heartbeat`);
|
|
79
|
+
}
|
|
80
|
+
async updateHeartbeatConfig(id, config) {
|
|
81
|
+
return this.request('PATCH', `/api/thesis/${id}/heartbeat`, config);
|
|
82
|
+
}
|
|
77
83
|
async getFeed(hours = 24, limit = 200) {
|
|
78
84
|
return this.request('GET', `/api/feed?hours=${hours}&limit=${limit}`);
|
|
79
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spfunctions/cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.13",
|
|
4
4
|
"description": "Prediction market intelligence CLI. Causal thesis model, 24/7 Kalshi/Polymarket scan, live orderbook, edge detection. Interactive agent mode with tool calling.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sf": "./dist/index.js"
|