@elizaos/plugin-bootstrap 1.6.1-alpha.4 → 1.6.1-alpha.6
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/index.js +89 -13
- package/dist/index.js.map +8 -7
- package/package.json +4 -4
- package/dist/actions/choice.d.ts +0 -14
- package/dist/actions/choice.d.ts.map +0 -1
- package/dist/actions/followRoom.d.ts +0 -25
- package/dist/actions/followRoom.d.ts.map +0 -1
- package/dist/actions/ignore.d.ts +0 -26
- package/dist/actions/ignore.d.ts.map +0 -1
- package/dist/actions/imageGeneration.d.ts +0 -8
- package/dist/actions/imageGeneration.d.ts.map +0 -1
- package/dist/actions/index.d.ts +0 -14
- package/dist/actions/index.d.ts.map +0 -1
- package/dist/actions/muteRoom.d.ts +0 -28
- package/dist/actions/muteRoom.d.ts.map +0 -1
- package/dist/actions/none.d.ts +0 -15
- package/dist/actions/none.d.ts.map +0 -1
- package/dist/actions/reply.d.ts +0 -16
- package/dist/actions/reply.d.ts.map +0 -1
- package/dist/actions/roles.d.ts +0 -13
- package/dist/actions/roles.d.ts.map +0 -1
- package/dist/actions/sendMessage.d.ts +0 -15
- package/dist/actions/sendMessage.d.ts.map +0 -1
- package/dist/actions/settings.d.ts +0 -21
- package/dist/actions/settings.d.ts.map +0 -1
- package/dist/actions/unfollowRoom.d.ts +0 -13
- package/dist/actions/unfollowRoom.d.ts.map +0 -1
- package/dist/actions/unmuteRoom.d.ts +0 -24
- package/dist/actions/unmuteRoom.d.ts.map +0 -1
- package/dist/actions/updateEntity.d.ts +0 -43
- package/dist/actions/updateEntity.d.ts.map +0 -1
- package/dist/evaluators/index.d.ts +0 -2
- package/dist/evaluators/index.d.ts.map +0 -1
- package/dist/evaluators/reflection.d.ts +0 -3
- package/dist/evaluators/reflection.d.ts.map +0 -1
- package/dist/index.d.ts +0 -46
- package/dist/index.d.ts.map +0 -1
- package/dist/providers/actionState.d.ts +0 -7
- package/dist/providers/actionState.d.ts.map +0 -1
- package/dist/providers/actions.d.ts +0 -35
- package/dist/providers/actions.d.ts.map +0 -1
- package/dist/providers/anxiety.d.ts +0 -16
- package/dist/providers/anxiety.d.ts.map +0 -1
- package/dist/providers/attachments.d.ts +0 -20
- package/dist/providers/attachments.d.ts.map +0 -1
- package/dist/providers/capabilities.d.ts +0 -14
- package/dist/providers/capabilities.d.ts.map +0 -1
- package/dist/providers/character.d.ts +0 -17
- package/dist/providers/character.d.ts.map +0 -1
- package/dist/providers/choice.d.ts +0 -11
- package/dist/providers/choice.d.ts.map +0 -1
- package/dist/providers/entities.d.ts +0 -7
- package/dist/providers/entities.d.ts.map +0 -1
- package/dist/providers/evaluators.d.ts +0 -27
- package/dist/providers/evaluators.d.ts.map +0 -1
- package/dist/providers/facts.d.ts +0 -11
- package/dist/providers/facts.d.ts.map +0 -1
- package/dist/providers/index.d.ts +0 -18
- package/dist/providers/index.d.ts.map +0 -1
- package/dist/providers/providers.d.ts +0 -18
- package/dist/providers/providers.d.ts.map +0 -1
- package/dist/providers/recentMessages.d.ts +0 -14
- package/dist/providers/recentMessages.d.ts.map +0 -1
- package/dist/providers/relationships.d.ts +0 -15
- package/dist/providers/relationships.d.ts.map +0 -1
- package/dist/providers/roles.d.ts +0 -19
- package/dist/providers/roles.d.ts.map +0 -1
- package/dist/providers/settings.d.ts +0 -7
- package/dist/providers/settings.d.ts.map +0 -1
- package/dist/providers/shouldRespond.d.ts +0 -7
- package/dist/providers/shouldRespond.d.ts.map +0 -1
- package/dist/providers/time.d.ts +0 -16
- package/dist/providers/time.d.ts.map +0 -1
- package/dist/providers/world.d.ts +0 -8
- package/dist/providers/world.d.ts.map +0 -1
- package/dist/services/embedding.d.ts +0 -43
- package/dist/services/embedding.d.ts.map +0 -1
- package/dist/services/index.d.ts +0 -2
- package/dist/services/index.d.ts.map +0 -1
- package/dist/services/task.d.ts +0 -77
- package/dist/services/task.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-bootstrap",
|
|
3
|
-
"version": "1.6.1-alpha.
|
|
3
|
+
"version": "1.6.1-alpha.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"LICENSE"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@elizaos/core": "1.6.1-alpha.
|
|
29
|
-
"@elizaos/plugin-sql": "1.6.1-alpha.
|
|
28
|
+
"@elizaos/core": "1.6.1-alpha.6",
|
|
29
|
+
"@elizaos/plugin-sql": "1.6.1-alpha.6",
|
|
30
30
|
"bun": "^1.2.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "8a0b8d2bba9bc932188f8a4f7f06360f65748f04"
|
|
57
57
|
}
|
package/dist/actions/choice.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an action that allows selecting an option for a pending task that has multiple options.
|
|
4
|
-
* @type {Action}
|
|
5
|
-
* @property {string} name - The name of the action
|
|
6
|
-
* @property {string[]} similes - Similar words or phrases for the action
|
|
7
|
-
* @property {string} description - A brief description of the action
|
|
8
|
-
* @property {Function} validate - Asynchronous function to validate the action
|
|
9
|
-
* @property {Function} handler - Asynchronous function to handle the action
|
|
10
|
-
* @property {ActionExample[][]} examples - Examples demonstrating the usage of the action
|
|
11
|
-
*/
|
|
12
|
-
export declare const choiceAction: Action;
|
|
13
|
-
export default choiceAction;
|
|
14
|
-
//# sourceMappingURL=choice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../src/actions/choice.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAYZ,MAAM,eAAe,CAAC;AA+DvB;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,EAAE,MA6V1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Template for deciding if {{agentName}} should start following a room.
|
|
4
|
-
* The decision is based on various criteria, including recent messages and user interactions.
|
|
5
|
-
* Respond with YES if:
|
|
6
|
-
* - The user has directly asked {{agentName}} to follow the conversation
|
|
7
|
-
* - The conversation topic is engaging and {{agentName}}'s input would add value
|
|
8
|
-
* - {{agentName}} has unique insights to contribute and users seem receptive
|
|
9
|
-
* Otherwise, respond with NO.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Template for determining if the agent should start following a room
|
|
13
|
-
* @type {string}
|
|
14
|
-
*/
|
|
15
|
-
export declare const shouldFollowTemplate = "# Task: Decide if {{agentName}} should start following this room, i.e. eagerly participating without explicit mentions.\n\n{{recentMessages}}\n\nShould {{agentName}} start following this room, eagerly participating without explicit mentions?\nRespond with YES if:\n- The user has directly asked {{agentName}} to follow the conversation or participate more actively\n- The conversation topic is highly engaging and {{agentName}}'s input would add significant value\n- {{agentName}} has unique insights to contribute and the users seem receptive\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
|
|
16
|
-
/**
|
|
17
|
-
* Action for following a room with great interest.
|
|
18
|
-
* Similes: FOLLOW_CHAT, FOLLOW_CHANNEL, FOLLOW_CONVERSATION, FOLLOW_THREAD
|
|
19
|
-
* Description: Start following this channel with great interest, chiming in without needing to be explicitly mentioned. Only do this if explicitly asked to.
|
|
20
|
-
* @param {IAgentRuntime} runtime - The current agent runtime.
|
|
21
|
-
* @param {Memory} message - The message memory.
|
|
22
|
-
* @returns {Promise<boolean>} - Promise that resolves to a boolean indicating if the room should be followed.
|
|
23
|
-
*/
|
|
24
|
-
export declare const followRoomAction: Action;
|
|
25
|
-
//# sourceMappingURL=followRoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"followRoom.d.ts","sourceRoot":"","sources":["../../src/actions/followRoom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAWZ,MAAM,eAAe,CAAC;AAEvB;;;;;;;;GAQG;AACH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,qmBAWhB,CAAC;AAElB;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,MA4cpB,CAAC"}
|
package/dist/actions/ignore.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Action representing the IGNORE action. This action is used when ignoring the user in a conversation.
|
|
4
|
-
*
|
|
5
|
-
* @type {Action}
|
|
6
|
-
* @property {string} name - The name of the action, which is "IGNORE".
|
|
7
|
-
* @property {string[]} similes - An array of related similes for the action.
|
|
8
|
-
* @property {Function} validate - Asynchronous function that validates the action.
|
|
9
|
-
* @property {string} description - Description of when to use the IGNORE action in a conversation.
|
|
10
|
-
* @property {Function} handler - Asynchronous function that handles the action logic.
|
|
11
|
-
* @property {ActionExample[][]} examples - Array of examples demonstrating the usage of the IGNORE action.
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Represents an action called 'IGNORE'.
|
|
15
|
-
*
|
|
16
|
-
* This action is used to ignore the user in a conversation. It should be used when the user is aggressive, creepy, or when the conversation has naturally ended.
|
|
17
|
-
* Avoid using this action if the user has engaged directly or if there is a need to communicate with them. Use IGNORE only when the user should be ignored.
|
|
18
|
-
*
|
|
19
|
-
* The action includes a validation function that always returns true and a handler function that also returns true.
|
|
20
|
-
*
|
|
21
|
-
* Examples of using the IGNORE action are provided in the 'examples' array. Each example includes messages between two parties and the use of the IGNORE action.
|
|
22
|
-
*
|
|
23
|
-
* @typedef {Action} ignoreAction
|
|
24
|
-
*/
|
|
25
|
-
export declare const ignoreAction: Action;
|
|
26
|
-
//# sourceMappingURL=ignore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ignore.d.ts","sourceRoot":"","sources":["../../src/actions/ignore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAMP,MAAM,eAAe,CAAC;AAEvB;;;;;;;;;;GAUG;AACH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,EAAE,MAyOhB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an action that allows the agent to generate an image using a generated prompt.
|
|
4
|
-
*
|
|
5
|
-
* This action can be used in a chain where the agent needs to visualize or illustrate a concept, emotion, or scene.
|
|
6
|
-
*/
|
|
7
|
-
export declare const generateImageAction: Action;
|
|
8
|
-
//# sourceMappingURL=imageGeneration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"imageGeneration.d.ts","sourceRoot":"","sources":["../../src/actions/imageGeneration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAYZ,MAAM,eAAe,CAAC;AAuBvB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EA6M3B,MAAM,CAAC"}
|
package/dist/actions/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { generateImageAction } from './imageGeneration';
|
|
2
|
-
export { choiceAction } from './choice';
|
|
3
|
-
export { followRoomAction } from './followRoom';
|
|
4
|
-
export { ignoreAction } from './ignore';
|
|
5
|
-
export { muteRoomAction } from './muteRoom';
|
|
6
|
-
export { noneAction } from './none';
|
|
7
|
-
export { replyAction } from './reply';
|
|
8
|
-
export { updateRoleAction } from './roles';
|
|
9
|
-
export { sendMessageAction } from './sendMessage';
|
|
10
|
-
export { updateSettingsAction } from './settings';
|
|
11
|
-
export { unfollowRoomAction } from './unfollowRoom';
|
|
12
|
-
export { unmuteRoomAction } from './unmuteRoom';
|
|
13
|
-
export { updateEntityAction } from './updateEntity';
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Template string for deciding if the agent should mute a room and stop responding unless explicitly mentioned.
|
|
4
|
-
*
|
|
5
|
-
* @type {string}
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Template for deciding if agent should mute a room and stop responding unless explicitly mentioned.
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
*/
|
|
12
|
-
export declare const shouldMuteTemplate = "# Task: Decide if {{agentName}} should mute this room and stop responding unless explicitly mentioned.\n\n{{recentMessages}}\n\nShould {{agentName}} mute this room and stop responding unless explicitly mentioned?\n\nRespond with YES if:\n- The user is being aggressive, rude, or inappropriate\n- The user has directly asked {{agentName}} to stop responding or be quiet\n- {{agentName}}'s responses are not well-received or are annoying the user(s)\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
|
|
13
|
-
/**
|
|
14
|
-
* Action for muting a room, ignoring all messages unless explicitly mentioned.
|
|
15
|
-
* Only do this if explicitly asked to, or if you're annoying people.
|
|
16
|
-
*
|
|
17
|
-
* @name MUTE_ROOM
|
|
18
|
-
* @type {Action}
|
|
19
|
-
*
|
|
20
|
-
* @property {string} name - The name of the action
|
|
21
|
-
* @property {string[]} similes - Similar actions related to muting a room
|
|
22
|
-
* @property {string} description - Description of the action
|
|
23
|
-
* @property {Function} validate - Validation function to check if the room is not already muted
|
|
24
|
-
* @property {Function} handler - Handler function to handle muting the room
|
|
25
|
-
* @property {ActionExample[][]} examples - Examples of using the action
|
|
26
|
-
*/
|
|
27
|
-
export declare const muteRoomAction: Action;
|
|
28
|
-
//# sourceMappingURL=muteRoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"muteRoom.d.ts","sourceRoot":"","sources":["../../src/actions/muteRoom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAWZ,MAAM,eAAe,CAAC;AAEvB;;;;GAIG;AACH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,qgBAYd,CAAC;AAElB;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,EAAE,MAmSlB,CAAC"}
|
package/dist/actions/none.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents the none action.
|
|
4
|
-
*
|
|
5
|
-
* This action responds but performs no additional action. It is the default if the agent is speaking and not doing anything additional.
|
|
6
|
-
*
|
|
7
|
-
* @type {Action}
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Represents an action that responds but performs no additional action.
|
|
11
|
-
* This is the default behavior if the agent is speaking and not doing anything additional.
|
|
12
|
-
* @type {Action}
|
|
13
|
-
*/
|
|
14
|
-
export declare const noneAction: Action;
|
|
15
|
-
//# sourceMappingURL=none.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"none.d.ts","sourceRoot":"","sources":["../../src/actions/none.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAsD,MAAM,eAAe,CAAC;AAEhG;;;;;;GAMG;AACH;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,MAiJd,CAAC"}
|
package/dist/actions/reply.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an action that allows the agent to reply to the current conversation with a generated message.
|
|
4
|
-
*
|
|
5
|
-
* This action can be used as an acknowledgement at the beginning of a chain of actions, or as a final response at the end of a chain of actions.
|
|
6
|
-
*
|
|
7
|
-
* @typedef {Object} replyAction
|
|
8
|
-
* @property {string} name - The name of the action ("REPLY").
|
|
9
|
-
* @property {string[]} similes - An array of similes for the action.
|
|
10
|
-
* @property {string} description - A description of the action and its usage.
|
|
11
|
-
* @property {Function} validate - An asynchronous function for validating the action runtime.
|
|
12
|
-
* @property {Function} handler - An asynchronous function for handling the action logic.
|
|
13
|
-
* @property {ActionExample[][]} examples - An array of example scenarios for the action.
|
|
14
|
-
*/
|
|
15
|
-
export declare const replyAction: Action;
|
|
16
|
-
//# sourceMappingURL=reply.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reply.d.ts","sourceRoot":"","sources":["../../src/actions/reply.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAWZ,MAAM,eAAe,CAAC;AAqCvB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,EAyJnB,MAAM,CAAC"}
|
package/dist/actions/roles.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an action to update the role of a user within a server.
|
|
4
|
-
* @typedef {Object} Action
|
|
5
|
-
* @property {string} name - The name of the action.
|
|
6
|
-
* @property {string[]} similes - The similar actions that can be performed.
|
|
7
|
-
* @property {string} description - A description of the action and its purpose.
|
|
8
|
-
* @property {Function} validate - A function to validate the action before execution.
|
|
9
|
-
* @property {Function} handler - A function to handle the execution of the action.
|
|
10
|
-
* @property {ActionExample[][]} examples - Examples demonstrating how the action can be used.
|
|
11
|
-
*/
|
|
12
|
-
export declare const updateRoleAction: Action;
|
|
13
|
-
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../src/actions/roles.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAeZ,MAAM,eAAe,CAAC;AA0CvB;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAkT9B,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an action to send a message to a user or room.
|
|
4
|
-
*
|
|
5
|
-
* @typedef {Action} sendMessageAction
|
|
6
|
-
* @property {string} name - The name of the action.
|
|
7
|
-
* @property {string[]} similes - Additional names for the action.
|
|
8
|
-
* @property {string} description - Description of the action.
|
|
9
|
-
* @property {function} validate - Asynchronous function to validate if the action can be executed.
|
|
10
|
-
* @property {function} handler - Asynchronous function to handle the action execution.
|
|
11
|
-
* @property {ActionExample[][]} examples - Examples demonstrating the usage of the action.
|
|
12
|
-
*/
|
|
13
|
-
export declare const sendMessageAction: Action;
|
|
14
|
-
export default sendMessageAction;
|
|
15
|
-
//# sourceMappingURL=sendMessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../src/actions/sendMessage.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,MAAM,EAYZ,MAAM,eAAe,CAAC;AAwFvB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAsd/B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type Action, type IAgentRuntime, type WorldSettings } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Gets settings state from world metadata
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves the settings for a specific world from the database.
|
|
7
|
-
* @param {IAgentRuntime} runtime - The Agent Runtime instance.
|
|
8
|
-
* @param {string} serverId - The ID of the server.
|
|
9
|
-
* @returns {Promise<WorldSettings | null>} The settings of the world, or null if not found.
|
|
10
|
-
*/
|
|
11
|
-
export declare function getWorldSettings(runtime: IAgentRuntime, serverId: string): Promise<WorldSettings | null>;
|
|
12
|
-
/**
|
|
13
|
-
* Updates settings state in world metadata
|
|
14
|
-
*/
|
|
15
|
-
export declare function updateWorldSettings(runtime: IAgentRuntime, serverId: string, worldSettings: WorldSettings): Promise<boolean>;
|
|
16
|
-
/**
|
|
17
|
-
* Enhanced settings action with improved state management and logging
|
|
18
|
-
* Updated to use world metadata instead of cache
|
|
19
|
-
*/
|
|
20
|
-
export declare const updateSettingsAction: Action;
|
|
21
|
-
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/actions/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EASX,KAAK,aAAa,EAOlB,KAAK,aAAa,EAEnB,MAAM,eAAe,CAAC;AAoMvB;;GAEG;AACH;;;;;GAKG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAc/B;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,aAAa,GAC3B,OAAO,CAAC,OAAO,CAAC,CA0BlB;AAugBD;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAiclC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Action for unfollowing a room.
|
|
4
|
-
*
|
|
5
|
-
* - Name: UNFOLLOW_ROOM
|
|
6
|
-
* - Similes: ["UNFOLLOW_CHAT", "UNFOLLOW_CONVERSATION", "UNFOLLOW_ROOM", "UNFOLLOW_THREAD"]
|
|
7
|
-
* - Description: Stop following this channel. You can still respond if explicitly mentioned, but you won't automatically chime in anymore. Unfollow if you're annoying people or have been asked to.
|
|
8
|
-
* - Validate function checks if the room state is "FOLLOWED".
|
|
9
|
-
* - Handler function handles the unfollowing logic based on user input.
|
|
10
|
-
* - Examples provide sample interactions for unfollowing a room.
|
|
11
|
-
*/
|
|
12
|
-
export declare const unfollowRoomAction: Action;
|
|
13
|
-
//# sourceMappingURL=unfollowRoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unfollowRoom.d.ts","sourceRoot":"","sources":["../../src/actions/unfollowRoom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAWZ,MAAM,eAAe,CAAC;AA2BvB;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAgYtB,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Template for determining if an agent should unmute a previously muted room.
|
|
4
|
-
* * @type { string }
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Template for deciding if {{agentName}} should unmute a previously muted room.
|
|
8
|
-
*
|
|
9
|
-
* @type {string}
|
|
10
|
-
*/
|
|
11
|
-
export declare const shouldUnmuteTemplate = "# Task: Decide if {{agentName}} should unmute this previously muted room and start considering it for responses again.\n\n{{recentMessages}}\n\nShould {{agentName}} unmute this previously muted room and start considering it for responses again?\nRespond with YES if:\n- The user has explicitly asked {{agentName}} to start responding again\n- The user seems to want to re-engage with {{agentName}} in a respectful manner\n- The tone of the conversation has improved and {{agentName}}'s input would be welcome\n\nOtherwise, respond with NO.\nRespond with only a YES or a NO.";
|
|
12
|
-
/**
|
|
13
|
-
* Action to unmute a room, allowing the agent to consider responding to messages again.
|
|
14
|
-
*
|
|
15
|
-
* @name UNMUTE_ROOM
|
|
16
|
-
* @similes ["UNMUTE_CHAT", "UNMUTE_CONVERSATION", "UNMUTE_ROOM", "UNMUTE_THREAD"]
|
|
17
|
-
* @description Unmutes a room, allowing the agent to consider responding to messages again.
|
|
18
|
-
*
|
|
19
|
-
* @param {IAgentRuntime} runtime - The agent runtime to access runtime functionalities.
|
|
20
|
-
* @param {Memory} message - The message containing information about the room.
|
|
21
|
-
* @returns {Promise<boolean>} A boolean value indicating if the room was successfully unmuted.
|
|
22
|
-
*/
|
|
23
|
-
export declare const unmuteRoomAction: Action;
|
|
24
|
-
//# sourceMappingURL=unmuteRoom.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unmuteRoom.d.ts","sourceRoot":"","sources":["../../src/actions/unmuteRoom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAWZ,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,kkBAWhB,CAAC;AAElB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,MA+RpB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type Action } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Action for updating contact details for a user entity.
|
|
4
|
-
*
|
|
5
|
-
* @name UPDATE_ENTITY
|
|
6
|
-
* @description Add or edit contact details for a user entity (like twitter, discord, email address, etc.)
|
|
7
|
-
*
|
|
8
|
-
* @param {IAgentRuntime} _runtime - The runtime environment.
|
|
9
|
-
* @param {Memory} _message - The message data.
|
|
10
|
-
* @param {State} _state - The current state.
|
|
11
|
-
* @returns {Promise<boolean>} Returns a promise indicating if validation was successful.
|
|
12
|
-
*
|
|
13
|
-
* @param {IAgentRuntime} runtime - The runtime environment.
|
|
14
|
-
* @param {Memory} message - The message data.
|
|
15
|
-
* @param {State} state - The current state.
|
|
16
|
-
* @param {any} _options - Additional options.
|
|
17
|
-
* @param {HandlerCallback} callback - The callback function.
|
|
18
|
-
* @param {Memory[]} responses - Array of responses.
|
|
19
|
-
* @returns {Promise<void>} Promise that resolves after handling the update entity action.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* [
|
|
23
|
-
* [
|
|
24
|
-
* {
|
|
25
|
-
* name: "{{name1}}",
|
|
26
|
-
* content: {
|
|
27
|
-
* text: "Please update my telegram username to @dev_guru",
|
|
28
|
-
* },
|
|
29
|
-
* },
|
|
30
|
-
* {
|
|
31
|
-
* name: "{{name2}}",
|
|
32
|
-
* content: {
|
|
33
|
-
* text: "I've updated your telegram information.",
|
|
34
|
-
* actions: ["UPDATE_ENTITY"],
|
|
35
|
-
* },
|
|
36
|
-
* },
|
|
37
|
-
* ],
|
|
38
|
-
* ...
|
|
39
|
-
* ]
|
|
40
|
-
*/
|
|
41
|
-
export declare const updateEntityAction: Action;
|
|
42
|
-
export default updateEntityAction;
|
|
43
|
-
//# sourceMappingURL=updateEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateEntity.d.ts","sourceRoot":"","sources":["../../src/actions/updateEntity.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,MAAM,EAcZ,MAAM,eAAe,CAAC;AAiEvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAkVhC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/evaluators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reflection.d.ts","sourceRoot":"","sources":["../../src/evaluators/reflection.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,SAAS,EAMf,MAAM,eAAe,CAAC;AAuUvB,eAAO,MAAM,mBAAmB,EAAE,SA+LjC,CAAC"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { type IAgentRuntime, type Media, type Plugin, type Room } from '@elizaos/core';
|
|
2
|
-
export * from './actions/index.ts';
|
|
3
|
-
export * from './evaluators/index.ts';
|
|
4
|
-
export * from './providers/index.ts';
|
|
5
|
-
/**
|
|
6
|
-
* Represents media data containing a buffer of data and the media type.
|
|
7
|
-
* @typedef {Object} MediaData
|
|
8
|
-
* @property {Buffer} data - The buffer of data.
|
|
9
|
-
* @property {string} mediaType - The type of media.
|
|
10
|
-
*/
|
|
11
|
-
type MediaData = {
|
|
12
|
-
data: Buffer;
|
|
13
|
-
mediaType: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Escapes special characters in a string to make it JSON-safe.
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Fetches media data from a list of attachments, supporting both HTTP URLs and local file paths.
|
|
20
|
-
*
|
|
21
|
-
* @param attachments Array of Media objects containing URLs or file paths to fetch media from
|
|
22
|
-
* @returns Promise that resolves with an array of MediaData objects containing the fetched media data and content type
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* Fetches media data from given attachments.
|
|
26
|
-
* @param {Media[]} attachments - Array of Media objects to fetch data from.
|
|
27
|
-
* @returns {Promise<MediaData[]>} - A Promise that resolves with an array of MediaData objects.
|
|
28
|
-
*/
|
|
29
|
-
export declare function fetchMediaData(attachments: Media[]): Promise<MediaData[]>;
|
|
30
|
-
/**
|
|
31
|
-
* Processes attachments by generating descriptions for supported media types.
|
|
32
|
-
* Currently supports image description generation.
|
|
33
|
-
*
|
|
34
|
-
* @param {Media[]} attachments - Array of attachments to process
|
|
35
|
-
* @param {IAgentRuntime} runtime - The agent runtime for accessing AI models
|
|
36
|
-
* @returns {Promise<Media[]>} - Returns a new array of processed attachments with added description, title, and text properties
|
|
37
|
-
*/
|
|
38
|
-
export declare function processAttachments(attachments: Media[], runtime: IAgentRuntime): Promise<Media[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Determines whether to skip the shouldRespond logic based on room type and message source.
|
|
41
|
-
* Supports both default values and runtime-configurable overrides via env settings.
|
|
42
|
-
*/
|
|
43
|
-
export declare function shouldBypassShouldRespond(runtime: IAgentRuntime, room?: Room, source?: string): boolean;
|
|
44
|
-
export declare const bootstrapPlugin: Plugin;
|
|
45
|
-
export default bootstrapPlugin;
|
|
46
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,KAAK,aAAa,EAIlB,KAAK,KAAK,EAMV,KAAK,MAAM,EAKX,KAAK,IAAI,EAUV,MAAM,eAAe,CAAC;AAUvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AAErC;;;;;GAKG;AACH,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAyBF;;GAEG;AA0CH;;;;;GAKG;AACH;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,WAAW,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAsB/E;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,KAAK,EAAE,EACpB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,KAAK,EAAE,CAAC,CAyHlB;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,aAAa,EACtB,IAAI,CAAC,EAAE,IAAI,EACX,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAyCT;AAimDD,eAAO,MAAM,eAAe,EAAE,MAyC7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Provider for sharing action execution state and plan between actions
|
|
4
|
-
* Makes previous action results and execution plan available to subsequent actions
|
|
5
|
-
*/
|
|
6
|
-
export declare const actionStateProvider: Provider;
|
|
7
|
-
//# sourceMappingURL=actionState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actionState.d.ts","sourceRoot":"","sources":["../../src/providers/actionState.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EAGd,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAsMjC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* A provider object that fetches possible response actions based on the provided runtime, message, and state.
|
|
4
|
-
* @type {Provider}
|
|
5
|
-
* @property {string} name - The name of the provider ("ACTIONS").
|
|
6
|
-
* @property {string} description - The description of the provider ("Possible response actions").
|
|
7
|
-
* @property {number} position - The position of the provider (-1).
|
|
8
|
-
* @property {Function} get - Asynchronous function that retrieves actions that validate for the given message.
|
|
9
|
-
* @param {IAgentRuntime} runtime - The runtime object.
|
|
10
|
-
* @param {Memory} message - The message memory.
|
|
11
|
-
* @param {State} state - The state object.
|
|
12
|
-
* @returns {Object} An object containing the actions data, values, and combined text sections.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Provider for ACTIONS
|
|
16
|
-
*
|
|
17
|
-
* @typedef {import('./Provider').Provider} Provider
|
|
18
|
-
* @typedef {import('./Runtime').IAgentRuntime} IAgentRuntime
|
|
19
|
-
* @typedef {import('./Memory').Memory} Memory
|
|
20
|
-
* @typedef {import('./State').State} State
|
|
21
|
-
* @typedef {import('./Action').Action} Action
|
|
22
|
-
*
|
|
23
|
-
* @type {Provider}
|
|
24
|
-
* @property {string} name - The name of the provider
|
|
25
|
-
* @property {string} description - Description of the provider
|
|
26
|
-
* @property {number} position - The position of the provider
|
|
27
|
-
* @property {Function} get - Asynchronous function to get actions that validate for a given message
|
|
28
|
-
*
|
|
29
|
-
* @param {IAgentRuntime} runtime - The agent runtime
|
|
30
|
-
* @param {Memory} message - The message memory
|
|
31
|
-
* @param {State} state - The state of the agent
|
|
32
|
-
* @returns {Object} Object containing data, values, and text related to actions
|
|
33
|
-
*/
|
|
34
|
-
export declare const actionsProvider: Provider;
|
|
35
|
-
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/providers/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,QAAQ,EAAS,MAAM,eAAe,CAAC;AAGpF;;;;;;;;;;;GAWG;AACH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,EAAE,QAsD7B,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an anxiety provider that provides examples and guidance for an AI roleplaying as a character.
|
|
4
|
-
* The anxiety provider offers suggestions on how to reduce verbosity and eagerness in responses based on the channel type.
|
|
5
|
-
* Randomly selects and returns three anxiety examples for the AI to follow.
|
|
6
|
-
*
|
|
7
|
-
* @type {Provider}
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Function that provides anxiety-related guidance for the AI based on the channel type.
|
|
11
|
-
* @param {IAgentRuntime} _runtime - The runtime environment for the AI agent
|
|
12
|
-
* @param {Memory} message - The message containing information about the channel type
|
|
13
|
-
* @returns {Object} - Object containing randomized anxiety examples, anxiety text, and formatted data
|
|
14
|
-
*/
|
|
15
|
-
export declare const anxietyProvider: Provider;
|
|
16
|
-
//# sourceMappingURL=anxiety.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anxiety.d.ts","sourceRoot":"","sources":["../../src/providers/anxiety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAErE;;;;;;GAMG;AACH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,QA0F7B,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Provides a list of attachments in the current conversation.
|
|
4
|
-
* @param {IAgentRuntime} runtime - The agent runtime object.
|
|
5
|
-
* @param {Memory} message - The message memory object.
|
|
6
|
-
* @returns {Object} The attachments values, data, and text.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Provides a list of attachments sent during the current conversation, including names, descriptions, and summaries.
|
|
10
|
-
* @type {Provider}
|
|
11
|
-
* @property {string} name - The name of the provider (ATTACHMENTS).
|
|
12
|
-
* @property {string} description - Description of the provider.
|
|
13
|
-
* @property {boolean} dynamic - Indicates if the provider is dynamic.
|
|
14
|
-
* @property {function} get - Asynchronous function that retrieves attachments based on the runtime and message provided.
|
|
15
|
-
* @param {IAgentRuntime} runtime - The runtime environment for the agent.
|
|
16
|
-
* @param {Memory} message - The message object containing content and attachments.
|
|
17
|
-
* @returns {Object} An object containing values, data, and text about the attachments retrieved.
|
|
18
|
-
*/
|
|
19
|
-
export declare const attachmentsProvider: Provider;
|
|
20
|
-
//# sourceMappingURL=attachments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../src/providers/attachments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgC,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG5E;;;;;GAKG;AACH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAgGjC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Provider that collects capability descriptions from all registered services
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Provides capabilities information for the agent.
|
|
7
|
-
*
|
|
8
|
-
* @param {IAgentRuntime} runtime - The agent runtime instance.
|
|
9
|
-
* @param {Memory} _message - The memory message object.
|
|
10
|
-
* @returns {Promise<ProviderResult>} The provider result object containing capabilities information.
|
|
11
|
-
*/
|
|
12
|
-
export declare const capabilitiesProvider: Provider;
|
|
13
|
-
export default capabilitiesProvider;
|
|
14
|
-
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/providers/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAkB,MAAM,eAAe,CAAC;AAGrF;;GAEG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAmDlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Character provider object.
|
|
4
|
-
* @typedef {Object} Provider
|
|
5
|
-
* @property {string} name - The name of the provider ("CHARACTER").
|
|
6
|
-
* @property {string} description - Description of the character information.
|
|
7
|
-
* @property {Function} get - Async function to get character information.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Provides character information.
|
|
11
|
-
* @param {IAgentRuntime} runtime - The agent runtime.
|
|
12
|
-
* @param {Memory} message - The message memory.
|
|
13
|
-
* @param {State} state - The state of the character.
|
|
14
|
-
* @returns {Object} Object containing values, data, and text sections.
|
|
15
|
-
*/
|
|
16
|
-
export declare const characterProvider: Provider;
|
|
17
|
-
//# sourceMappingURL=character.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../src/providers/character.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAS,MAAM,eAAe,CAAC;AAG5E;;;;;;GAMG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,QA8L/B,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Provider } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* Choice provider function that retrieves all pending tasks with options for a specific room
|
|
4
|
-
*
|
|
5
|
-
* @param {IAgentRuntime} runtime - The runtime object for the agent
|
|
6
|
-
* @param {Memory} message - The message memory object
|
|
7
|
-
* @returns {Promise<ProviderResult>} A promise that resolves with the provider result containing the pending tasks with options
|
|
8
|
-
*/
|
|
9
|
-
export declare const choiceProvider: Provider;
|
|
10
|
-
export default choiceProvider;
|
|
11
|
-
//# sourceMappingURL=choice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../src/providers/choice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAqB5F;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QA4F5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/providers/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG7E;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAgC9B,CAAC"}
|