@elizaos/plugin-farcaster 1.7.0 → 1.7.2
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/__tests__/e2e/scenarios.d.ts.map +1 -1
- package/dist/__tests__/suite.d.ts +13 -0
- package/dist/__tests__/suite.d.ts.map +1 -1
- package/dist/actions/sendCast.d.ts.map +1 -1
- package/dist/common/callbacks.d.ts.map +1 -1
- package/dist/common/config.d.ts +9 -0
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/types.d.ts +28 -2
- package/dist/common/types.d.ts.map +1 -1
- package/dist/common/utils.d.ts +4 -0
- package/dist/common/utils.d.ts.map +1 -1
- package/dist/events/messageHandler.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +593 -255
- package/dist/index.js.map +19 -18
- package/dist/managers/agent.d.ts.map +1 -1
- package/dist/managers/embedManager.d.ts +89 -0
- package/dist/managers/embedManager.d.ts.map +1 -0
- package/dist/managers/interaction-source.d.ts.map +1 -1
- package/dist/managers/interactions.d.ts +1 -0
- package/dist/managers/interactions.d.ts.map +1 -1
- package/dist/providers/profileProvider.d.ts.map +1 -1
- package/dist/service.d.ts.map +1 -1
- package/dist/services/CastService.d.ts.map +1 -1
- package/dist/services/MessageService.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scenarios.d.ts","sourceRoot":"","sources":["../../../src/__tests__/e2e/scenarios.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"scenarios.d.ts","sourceRoot":"","sources":["../../../src/__tests__/e2e/scenarios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAOpF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,EAsV3C,CAAC;AAGF,eAAe,qBAAqB,CAAC"}
|
|
@@ -15,6 +15,19 @@ export declare class FarcasterTestSuite implements TestSuite {
|
|
|
15
15
|
* Initializes an array of test functions to be executed.
|
|
16
16
|
*/
|
|
17
17
|
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* A wrapper for test cases that dynamically runs either a real or mock test
|
|
20
|
+
* based on the presence of Farcaster credentials in the agent's runtime settings.
|
|
21
|
+
*
|
|
22
|
+
* @param realTest - The test case to run if credentials are provided.
|
|
23
|
+
* @param mockTest - An optional mock test case to run as a fallback.
|
|
24
|
+
* @returns A TestCase that handles the conditional logic.
|
|
25
|
+
*/
|
|
26
|
+
private credentialedOrMockTest;
|
|
27
|
+
/**
|
|
28
|
+
* Test that checks and logs the Farcaster configuration for the current agent.
|
|
29
|
+
*/
|
|
30
|
+
testConfiguration(runtime: IAgentRuntime): Promise<void>;
|
|
18
31
|
/**
|
|
19
32
|
* Test that checks if Farcaster is properly configured
|
|
20
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suite.d.ts","sourceRoot":"","sources":["../../src/__tests__/suite.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"suite.d.ts","sourceRoot":"","sources":["../../src/__tests__/suite.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,SAAS,EAEd,KAAK,QAAQ,EACd,MAAM,eAAe,CAAC;AAQvB;;;;;GAKG;AACH,qBAAa,kBAAmB,YAAW,SAAS;IAClD,IAAI,SAA4B;IAChC,WAAW,SAAmD;IAC9D,OAAO,CAAC,OAAO,CAAsC;IACrD,KAAK,EAAE,QAAQ,EAAE,CAAC;IAElB;;;OAGG;;IA6BH;;;;;;;OAOG;IACH,OAAO,CAAC,sBAAsB;IAyB9B;;OAEG;IACG,iBAAiB,CAAC,OAAO,EAAE,aAAa;IAsB9C;;OAEG;IACG,qBAAqB,CAAC,OAAO,EAAE,aAAa;IAqBlD;;OAEG;IACG,mBAAmB,CAAC,OAAO,EAAE,aAAa;IA+BhD;;;;;OAKG;IACG,sBAAsB,CAAC,OAAO,EAAE,aAAa;IAmBnD;;;;;OAKG;IACG,gBAAgB,CAAC,OAAO,EAAE,aAAa;IAqB7C;;;;;;OAMG;IACG,iBAAiB,CAAC,OAAO,EAAE,aAAa;IAuB9C;;;;;;OAMG;IACG,YAAY,CAAC,OAAO,EAAE,aAAa;IAoBzC;;;;;;;OAOG;IACG,iBAAiB,CAAC,OAAO,EAAE,aAAa;IAwB9C;;;;;;OAMG;IACG,sBAAsB,CAAC,OAAO,EAAE,aAAa;IA+CnD;;;;;;OAMG;YACW,yBAAyB;IAcvC;;;;;OAKG;IACG,kBAAkB,CAAC,OAAO,EAAE,aAAa;IAuC/C;;;;;OAKG;IACG,eAAe,CAAC,OAAO,EAAE,aAAa;IAsC5C;;;;;OAKG;IACG,sBAAsB,CAAC,OAAO,EAAE,aAAa;IA0CnD;;;;;OAKG;IACG,2BAA2B,CAAC,OAAO,EAAE,aAAa;IAoDxD;;;;;OAKG;IACG,2BAA2B,CAAC,OAAO,EAAE,aAAa;CA4CzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendCast.d.ts","sourceRoot":"","sources":["../../src/actions/sendCast.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"sendCast.d.ts","sourceRoot":"","sources":["../../src/actions/sendCast.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAKZ,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,cAAc,EAAE,MA4G5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../src/common/callbacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,eAAe,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../src/common/callbacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,eAAe,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAGlD,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EACN,OAAO,EACP,MAAM,EACN,MAAM,EACN,YAAY,EACZ,OAAO,EACP,SAAS,GACV,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,IAAI,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C,GAAG,eAAe,CAqDlB"}
|
package/dist/common/config.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { type IAgentRuntime } from '@elizaos/core';
|
|
2
2
|
import { FarcasterConfig } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Gets the Farcaster FID from runtime settings.
|
|
5
|
+
* Uses getSetting which already prioritizes: character.secrets -> character.settings -> env vars
|
|
6
|
+
*/
|
|
7
|
+
export declare function getFarcasterFid(runtime: IAgentRuntime): number | null;
|
|
8
|
+
/**
|
|
9
|
+
* Checks if Farcaster is properly configured for this runtime.
|
|
10
|
+
* getSetting already handles priority: character.secrets -> character.settings -> env vars
|
|
11
|
+
*/
|
|
3
12
|
export declare function hasFarcasterEnabled(runtime: IAgentRuntime): boolean;
|
|
4
13
|
/**
|
|
5
14
|
* Constructs and validates a Farcaster configuration object using runtime settings and environment variables.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/common/config.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/common/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAQzE,OAAO,EAAE,eAAe,EAAyB,MAAM,SAAS,CAAC;AAQjE;;;GAGG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAKrE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAUnE;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAsG/E"}
|
package/dist/common/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Memory, MessagePayload } from '@elizaos/core';
|
|
2
|
-
import { Cast as NeynarCast } from '@neynar/nodejs-sdk/build/api';
|
|
1
|
+
import { type Media, Memory, MessagePayload } from '@elizaos/core';
|
|
2
|
+
import { Cast as NeynarCast, Embed as NeynarEmbed } from '@neynar/nodejs-sdk/build/api';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export type Profile = {
|
|
5
5
|
fid: number;
|
|
@@ -9,6 +9,28 @@ export type Profile = {
|
|
|
9
9
|
bio?: string;
|
|
10
10
|
url?: string;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Embed types that can be attached to a cast
|
|
14
|
+
*/
|
|
15
|
+
export type CastEmbed = {
|
|
16
|
+
/** Type of embed: image, video, url, cast (quote), frame */
|
|
17
|
+
type: 'image' | 'video' | 'audio' | 'url' | 'cast' | 'frame' | 'unknown';
|
|
18
|
+
/** URL of the embedded content */
|
|
19
|
+
url: string;
|
|
20
|
+
/** For embedded casts, the cast hash */
|
|
21
|
+
castHash?: string;
|
|
22
|
+
/** Metadata about the embed from Neynar */
|
|
23
|
+
metadata?: {
|
|
24
|
+
contentType?: string;
|
|
25
|
+
width?: number;
|
|
26
|
+
height?: number;
|
|
27
|
+
duration?: number;
|
|
28
|
+
title?: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
authorFid?: number;
|
|
31
|
+
authorUsername?: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
12
34
|
export type Cast = {
|
|
13
35
|
hash: string;
|
|
14
36
|
authorFid: number;
|
|
@@ -25,6 +47,10 @@ export type Cast = {
|
|
|
25
47
|
replies: number;
|
|
26
48
|
likes: number;
|
|
27
49
|
};
|
|
50
|
+
/** Raw embeds from Neynar API */
|
|
51
|
+
embeds?: NeynarEmbed[];
|
|
52
|
+
/** Processed media attachments ready for elizaos Memory */
|
|
53
|
+
media?: Media[];
|
|
28
54
|
};
|
|
29
55
|
export type CastId = {
|
|
30
56
|
hash: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGnE,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,C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package/dist/common/utils.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export declare function castUuid(props: {
|
|
|
13
13
|
export declare function splitPostContent(content: string, maxLength?: number): string[];
|
|
14
14
|
export declare function splitParagraph(paragraph: string, maxLength: number): string[];
|
|
15
15
|
export declare function lastCastCacheKey(fid: number): string;
|
|
16
|
+
/**
|
|
17
|
+
* Convert a Neynar Cast to our internal Cast type
|
|
18
|
+
* Now includes embeds from the original cast for media processing
|
|
19
|
+
*/
|
|
16
20
|
export declare function neynarCastToCast(neynarCast: NeynarCast): Cast;
|
|
17
21
|
export declare function createCastMemory({ roomId, senderId, runtime, cast, }: {
|
|
18
22
|
roomId: UUID;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAgB,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,eAAO,MAAM,eAAe,OAAO,CAAC;AAEpC,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,UAE1E;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,OAEhE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,GAAE,MAAwB,GAAG,MAAM,EAAE,CAkC/F;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CA6C7E;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,UAE3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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageHandler.d.ts","sourceRoot":"","sources":["../../src/events/messageHandler.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"messageHandler.d.ts","sourceRoot":"","sources":["../../src/events/messageHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,IAAI,EACV,MAAM,eAAe,CAAC;AAGvB;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAU,SAAS;IAC5C,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,KAAG,OAAO,CAAC,IAAI,CAkCf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAU,SAAS,cAAc,KAAG,OAAO,CAAC,IAAI,CAyC9E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,SAAS;IACjD,OAAO,EAAE,aAAa,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,IAAI,CAAC;CACd,KAAG,OAAO,CAAC,IAAI,CAiCf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,GAAI,SAAS,aAAa,KAAG,IAKvE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FarcasterService } from './service.js';
|
|
2
2
|
import { FarcasterTestSuite } from './__tests__/suite.js';
|
|
3
|
+
export { EmbedManager, isEmbedUrl, isEmbedCast, type ProcessedEmbed } from './managers/embedManager.js';
|
|
4
|
+
export type { Cast, CastEmbed, Profile, FarcasterConfig } from './common/types.js';
|
|
3
5
|
declare const farcasterPlugin: {
|
|
4
6
|
name: string;
|
|
5
7
|
description: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACxG,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEnF,QAAA,MAAM,eAAe;;;;;;;;CAQpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|