@elizaos/plugin-xai 2.0.0-alpha.1 → 2.0.0-alpha.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.
- package/dist/timeline.d.ts +8 -8
- package/dist/timeline.d.ts.map +1 -1
- package/package.json +16 -5
package/dist/timeline.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type IAgentRuntime } from "@elizaos/core";
|
|
2
2
|
import type { ClientBase } from "./base";
|
|
3
3
|
import type { Client, Post } from "./client/index";
|
|
4
4
|
declare enum TIMELINE_TYPE {
|
|
@@ -17,21 +17,21 @@ export declare class XTimelineClient {
|
|
|
17
17
|
start(): Promise<void>;
|
|
18
18
|
stop(): Promise<void>;
|
|
19
19
|
getTimeline(count: number): Promise<Post[]>;
|
|
20
|
-
createPostId(runtime: IAgentRuntime, post: Post):
|
|
20
|
+
createPostId(runtime: IAgentRuntime, post: Post): string;
|
|
21
21
|
formMessage(runtime: IAgentRuntime, post: Post): {
|
|
22
|
-
id:
|
|
23
|
-
agentId:
|
|
22
|
+
id: string;
|
|
23
|
+
agentId: string;
|
|
24
24
|
content: {
|
|
25
25
|
text: string | undefined;
|
|
26
26
|
url: string | undefined;
|
|
27
27
|
imageUrls: string[];
|
|
28
|
-
inReplyTo:
|
|
28
|
+
inReplyTo: string | undefined;
|
|
29
29
|
source: string;
|
|
30
|
-
channelType:
|
|
30
|
+
channelType: "GROUP";
|
|
31
31
|
post: Record<string, string | number | boolean | null | undefined>;
|
|
32
32
|
};
|
|
33
|
-
entityId:
|
|
34
|
-
roomId:
|
|
33
|
+
entityId: string;
|
|
34
|
+
roomId: string;
|
|
35
35
|
createdAt: number;
|
|
36
36
|
};
|
|
37
37
|
handleTimeline(): Promise<void>;
|
package/dist/timeline.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../timeline.ts"],"names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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-xai",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/node/index.node.js",
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"format:check": "bunx @biomejs/biome format ."
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@elizaos/core": "
|
|
56
|
+
"@elizaos/core": "2.0.0-alpha.3",
|
|
57
57
|
"twitter-api-v2": "^1.28.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
+
"@biomejs/biome": "^2.3.11",
|
|
60
61
|
"@types/node": "^25.0.3",
|
|
61
|
-
"typescript": "^5.9.3"
|
|
62
|
-
"@biomejs/biome": "^2.3.11"
|
|
62
|
+
"typescript": "^5.9.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@elizaos/core": "
|
|
65
|
+
"@elizaos/core": "2.0.0-alpha.3"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
@@ -189,5 +189,16 @@
|
|
|
189
189
|
"sensitive": false
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
+
},
|
|
193
|
+
"milaidy": {
|
|
194
|
+
"platforms": [
|
|
195
|
+
"browser",
|
|
196
|
+
"node"
|
|
197
|
+
],
|
|
198
|
+
"runtime": "both",
|
|
199
|
+
"platformDetails": {
|
|
200
|
+
"browser": "Browser-compatible build available via exports.browser",
|
|
201
|
+
"node": "Node.js build available via exports.node"
|
|
202
|
+
}
|
|
192
203
|
}
|
|
193
204
|
}
|