@elizaos/plugin-x 2.0.3-beta.5 → 2.0.3-beta.7

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,21 @@
1
+ import { BaseMessageAdapter, MessageSource, IAgentRuntime, MessageAdapterCapabilities, ListOptions, MessageRef, DraftRequest } from '@elizaos/core/node';
2
+
3
+ declare class XDmAdapter extends BaseMessageAdapter {
4
+ readonly source: MessageSource;
5
+ isAvailable(runtime: IAgentRuntime): boolean;
6
+ capabilities(): MessageAdapterCapabilities;
7
+ protected listMessagesImpl(runtime: IAgentRuntime, opts: ListOptions): Promise<MessageRef[]>;
8
+ protected getMessageImpl(runtime: IAgentRuntime, id: string): Promise<MessageRef | null>;
9
+ protected createDraftImpl(_runtime: IAgentRuntime, draft: DraftRequest): Promise<{
10
+ draftId: string;
11
+ preview: string;
12
+ }>;
13
+ protected sendDraftImpl(runtime: IAgentRuntime, draftId: string): Promise<{
14
+ externalId: string;
15
+ }>;
16
+ protected scheduleSendImpl(_runtime: IAgentRuntime, _draftId: string, _sendAtMs: number): Promise<{
17
+ scheduledId: string;
18
+ }>;
19
+ }
20
+
21
+ export { XDmAdapter };
@@ -0,0 +1,7 @@
1
+ import {
2
+ XDmAdapter
3
+ } from "./chunk-VU26ZOMZ.js";
4
+ export {
5
+ XDmAdapter
6
+ };
7
+ //# sourceMappingURL=lifeops-message-adapter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-x",
3
- "version": "2.0.3-beta.5",
3
+ "version": "2.0.3-beta.7",
4
4
  "description": "elizaOS X (formerly Twitter) connector: posting, mentions, replies, DMs, and timeline interactions.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -63,6 +63,7 @@
63
63
  "dev": "tsup --watch",
64
64
  "test": "vitest run",
65
65
  "test:coverage": "vitest run --coverage",
66
+ "prepack": "bun run build",
66
67
  "lint": "bunx @biomejs/biome check --write --unsafe .",
67
68
  "lint:check": "bunx @biomejs/biome check .",
68
69
  "typecheck": "echo \"Typecheck skipped for release\"",
@@ -406,7 +407,7 @@
406
407
  }
407
408
  },
408
409
  "peerDependencies": {
409
- "@elizaos/core": "2.0.3-beta.5"
410
+ "@elizaos/core": "2.0.3-beta.7"
410
411
  },
411
- "gitHead": "ff6157011c9459670021cc28a6797592a78b8817"
412
+ "gitHead": "61094f10458d11055c75b3dd0bae374e3f66bac5"
412
413
  }