@elizaos/core 2.0.0-alpha.80 → 2.0.0-alpha.83
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/advanced-capabilities/actions/createTask.d.ts +3 -0
- package/dist/advanced-capabilities/actions/createTask.d.ts.map +1 -0
- package/dist/advanced-memory/actions/resetSession.d.ts +11 -0
- package/dist/advanced-memory/actions/resetSession.d.ts.map +1 -0
- package/dist/advanced-memory/services/autoCompaction.d.ts +24 -0
- package/dist/advanced-memory/services/autoCompaction.d.ts.map +1 -0
- package/dist/autonomy/autonomousState.d.ts +5 -0
- package/dist/autonomy/autonomousState.d.ts.map +1 -0
- package/dist/basic-capabilities/actions/status.d.ts +10 -0
- package/dist/basic-capabilities/actions/status.d.ts.map +1 -0
- package/dist/basic-capabilities/providers/capabilities.d.ts +14 -0
- package/dist/basic-capabilities/providers/capabilities.d.ts.map +1 -0
- package/dist/bootstrap/actions/addContact.d.ts +3 -0
- package/dist/bootstrap/actions/addContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/choice.d.ts +3 -0
- package/dist/bootstrap/actions/choice.d.ts.map +1 -0
- package/dist/bootstrap/actions/followRoom.d.ts +3 -0
- package/dist/bootstrap/actions/followRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/ignore.d.ts +3 -0
- package/dist/bootstrap/actions/ignore.d.ts.map +1 -0
- package/dist/bootstrap/actions/imageGeneration.d.ts +2 -0
- package/dist/bootstrap/actions/imageGeneration.d.ts.map +1 -0
- package/dist/bootstrap/actions/index.d.ts +14 -0
- package/dist/bootstrap/actions/index.d.ts.map +1 -0
- package/dist/bootstrap/actions/muteRoom.d.ts +3 -0
- package/dist/bootstrap/actions/muteRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/none.d.ts +3 -0
- package/dist/bootstrap/actions/none.d.ts.map +1 -0
- package/dist/bootstrap/actions/removeContact.d.ts +3 -0
- package/dist/bootstrap/actions/removeContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/reply.d.ts +3 -0
- package/dist/bootstrap/actions/reply.d.ts.map +1 -0
- package/dist/bootstrap/actions/resetSession.d.ts +2 -0
- package/dist/bootstrap/actions/resetSession.d.ts.map +1 -0
- package/dist/bootstrap/actions/roles.d.ts +13 -0
- package/dist/bootstrap/actions/roles.d.ts.map +1 -0
- package/dist/bootstrap/actions/scheduleFollowUp.d.ts +3 -0
- package/dist/bootstrap/actions/scheduleFollowUp.d.ts.map +1 -0
- package/dist/bootstrap/actions/searchContacts.d.ts +3 -0
- package/dist/bootstrap/actions/searchContacts.d.ts.map +1 -0
- package/dist/bootstrap/actions/sendMessage.d.ts +14 -0
- package/dist/bootstrap/actions/sendMessage.d.ts.map +1 -0
- package/dist/bootstrap/actions/settings.d.ts +7 -0
- package/dist/bootstrap/actions/settings.d.ts.map +1 -0
- package/dist/bootstrap/actions/status.d.ts +10 -0
- package/dist/bootstrap/actions/status.d.ts.map +1 -0
- package/dist/bootstrap/actions/unfollowRoom.d.ts +13 -0
- package/dist/bootstrap/actions/unfollowRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/unmuteRoom.d.ts +14 -0
- package/dist/bootstrap/actions/unmuteRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/updateContact.d.ts +3 -0
- package/dist/bootstrap/actions/updateContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/updateEntity.d.ts +42 -0
- package/dist/bootstrap/actions/updateEntity.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/index.d.ts +2 -0
- package/dist/bootstrap/evaluators/index.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/reflection.d.ts +3 -0
- package/dist/bootstrap/evaluators/reflection.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/relationshipExtraction.d.ts +3 -0
- package/dist/bootstrap/evaluators/relationshipExtraction.d.ts.map +1 -0
- package/dist/bootstrap/index.d.ts +64 -0
- package/dist/bootstrap/index.d.ts.map +1 -0
- package/dist/bootstrap/providers/actionState.d.ts +7 -0
- package/dist/bootstrap/providers/actionState.d.ts.map +1 -0
- package/dist/bootstrap/providers/actions.d.ts +4 -0
- package/dist/bootstrap/providers/actions.d.ts.map +1 -0
- package/dist/bootstrap/providers/attachments.d.ts +20 -0
- package/dist/bootstrap/providers/attachments.d.ts.map +1 -0
- package/dist/bootstrap/providers/capabilities.d.ts +13 -0
- package/dist/bootstrap/providers/capabilities.d.ts.map +1 -0
- package/dist/bootstrap/providers/character.d.ts +17 -0
- package/dist/bootstrap/providers/character.d.ts.map +1 -0
- package/dist/bootstrap/providers/choice.d.ts +10 -0
- package/dist/bootstrap/providers/choice.d.ts.map +1 -0
- package/dist/bootstrap/providers/contacts.d.ts +3 -0
- package/dist/bootstrap/providers/contacts.d.ts.map +1 -0
- package/dist/bootstrap/providers/contextBench.d.ts +12 -0
- package/dist/bootstrap/providers/contextBench.d.ts.map +1 -0
- package/dist/bootstrap/providers/entities.d.ts +7 -0
- package/dist/bootstrap/providers/entities.d.ts.map +1 -0
- package/dist/bootstrap/providers/evaluators.d.ts +3 -0
- package/dist/bootstrap/providers/evaluators.d.ts.map +1 -0
- package/dist/bootstrap/providers/facts.d.ts +11 -0
- package/dist/bootstrap/providers/facts.d.ts.map +1 -0
- package/dist/bootstrap/providers/followUps.d.ts +3 -0
- package/dist/bootstrap/providers/followUps.d.ts.map +1 -0
- package/dist/bootstrap/providers/index.d.ts +16 -0
- package/dist/bootstrap/providers/index.d.ts.map +1 -0
- package/dist/bootstrap/providers/knowledge.d.ts +9 -0
- package/dist/bootstrap/providers/knowledge.d.ts.map +1 -0
- package/dist/bootstrap/providers/providers.d.ts +18 -0
- package/dist/bootstrap/providers/providers.d.ts.map +1 -0
- package/dist/bootstrap/providers/recentMessages.d.ts +14 -0
- package/dist/bootstrap/providers/recentMessages.d.ts.map +1 -0
- package/dist/bootstrap/providers/relationships.d.ts +15 -0
- package/dist/bootstrap/providers/relationships.d.ts.map +1 -0
- package/dist/bootstrap/providers/roles.d.ts +18 -0
- package/dist/bootstrap/providers/roles.d.ts.map +1 -0
- package/dist/bootstrap/providers/settings.d.ts +7 -0
- package/dist/bootstrap/providers/settings.d.ts.map +1 -0
- package/dist/bootstrap/providers/time.d.ts +16 -0
- package/dist/bootstrap/providers/time.d.ts.map +1 -0
- package/dist/bootstrap/providers/world.d.ts +7 -0
- package/dist/bootstrap/providers/world.d.ts.map +1 -0
- package/dist/bootstrap/services/autoCompaction.d.ts +2 -0
- package/dist/bootstrap/services/autoCompaction.d.ts.map +1 -0
- package/dist/browser/index.browser.js.map +3 -3
- package/dist/deterministic.d.ts +31 -0
- package/dist/deterministic.d.ts.map +1 -0
- package/dist/edge/index.edge.js +125 -413
- package/dist/edge/index.edge.js.map +4 -4
- package/dist/generated/action-docs.d.ts.map +1 -1
- package/dist/network/sandbox-fetch-proxy.d.ts +25 -0
- package/dist/network/sandbox-fetch-proxy.d.ts.map +1 -0
- package/dist/node/index.node.js +125 -413
- package/dist/node/index.node.js.map +4 -4
- package/dist/packages/typescript/tsconfig.tsbuildinfo +1 -0
- package/dist/providers/sessionKeys.d.ts +24 -0
- package/dist/providers/sessionKeys.d.ts.map +1 -0
- package/dist/request-context.d.ts +143 -0
- package/dist/request-context.d.ts.map +1 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/security/sandbox-token-manager.d.ts +33 -0
- package/dist/security/sandbox-token-manager.d.ts.map +1 -0
- package/dist/services/action-filter.d.ts +195 -0
- package/dist/services/action-filter.d.ts.map +1 -0
- package/dist/services/bm25.d.ts +51 -0
- package/dist/services/bm25.d.ts.map +1 -0
- package/dist/services/cosine-similarity.d.ts +5 -0
- package/dist/services/cosine-similarity.d.ts.map +1 -0
- package/dist/services/triggerScheduling.d.ts +29 -0
- package/dist/services/triggerScheduling.d.ts.map +1 -0
- package/dist/services/triggerWorker.d.ts +17 -0
- package/dist/services/triggerWorker.d.ts.map +1 -0
- package/dist/utils/time-format.d.ts +28 -0
- package/dist/utils/time-format.d.ts.map +1 -0
- package/dist/validation/keywords.d.ts +26 -0
- package/dist/validation/keywords.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../src/advanced-capabilities/actions/createTask.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,MAAM,EASP,MAAM,mBAAmB,CAAC;AAgF3B,eAAO,MAAM,gBAAgB,EAAE,MAyM9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reset Session Action
|
|
3
|
+
*
|
|
4
|
+
* Resets the conversation session by setting a compaction point.
|
|
5
|
+
* Messages before the compaction point will not be loaded in future context.
|
|
6
|
+
*
|
|
7
|
+
* Only OWNER or ADMIN roles can execute this action.
|
|
8
|
+
*/
|
|
9
|
+
import type { Action } from "../../types/index.ts";
|
|
10
|
+
export declare const resetSessionAction: Action;
|
|
11
|
+
//# sourceMappingURL=resetSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetSession.d.ts","sourceRoot":"","sources":["../../../src/advanced-memory/actions/resetSession.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,kBAAkB,EAAE,MA2LhC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-Compaction Service
|
|
3
|
+
*
|
|
4
|
+
* Provides an async fire-and-forget compaction trigger for the recentMessages
|
|
5
|
+
* provider. When the conversation token budget is exceeded, this module
|
|
6
|
+
* summarises the older portion of the conversation and sets a compaction
|
|
7
|
+
* point on the room so future context loads skip the summarised history.
|
|
8
|
+
*
|
|
9
|
+
* Key design choices:
|
|
10
|
+
* - Records the compaction timestamp **before** the LLM summarisation call
|
|
11
|
+
* so that messages arriving during the (potentially slow) summary are
|
|
12
|
+
* guaranteed to appear after the compaction point.
|
|
13
|
+
* - Prevents concurrent compactions for the same room via an in-progress set.
|
|
14
|
+
* - Stores the summary as a regular message (source: "compaction") so
|
|
15
|
+
* the recentMessages provider includes it in future context windows.
|
|
16
|
+
*/
|
|
17
|
+
import type { IAgentRuntime, UUID } from "../../types/index.ts";
|
|
18
|
+
/**
|
|
19
|
+
* Trigger an asynchronous compaction for the given room.
|
|
20
|
+
* Safe to call from hot paths — returns immediately if a compaction
|
|
21
|
+
* is already running for this room.
|
|
22
|
+
*/
|
|
23
|
+
export declare function triggerAutoCompaction(runtime: IAgentRuntime, roomId: UUID): Promise<void>;
|
|
24
|
+
//# sourceMappingURL=autoCompaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoCompaction.d.ts","sourceRoot":"","sources":["../../../src/advanced-memory/services/autoCompaction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAa,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAM3E;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,IAAI,GACX,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { IAgentRuntime, Provider } from "../types";
|
|
2
|
+
export declare function ensureAutonomousStateTracking(runtime: IAgentRuntime): void;
|
|
3
|
+
export declare function __resetAutonomousStateTrackingForTests(): void;
|
|
4
|
+
export declare function createAutonomousStateProvider(): Provider;
|
|
5
|
+
//# sourceMappingURL=autonomousState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autonomousState.d.ts","sourceRoot":"","sources":["../../src/autonomy/autonomousState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EAEb,QAAQ,EAIT,MAAM,UAAU,CAAC;AA+DlB,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAwC1E;AAED,wBAAgB,sCAAsC,IAAI,IAAI,CAM7D;AAuBD,wBAAgB,6BAA6B,IAAI,QAAQ,CAgExD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status Action
|
|
3
|
+
*
|
|
4
|
+
* Displays agent name, ID, room name, optional compaction timestamp,
|
|
5
|
+
* and pending/queued task counts.
|
|
6
|
+
*/
|
|
7
|
+
import type { Action } from "../../types/index.ts";
|
|
8
|
+
export declare const statusAction: Action;
|
|
9
|
+
export default statusAction;
|
|
10
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/basic-capabilities/actions/status.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACX,MAAM,EAON,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,YAAY,EAAE,MA2F1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/basic-capabilities/providers/capabilities.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,QAAQ,EAER,MAAM,sBAAsB,CAAC;AAK9B;;GAEG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAiDlC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addContact.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/addContact.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA+C9B,eAAO,MAAM,gBAAgB,EAAE,MAkM9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/choice.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,sBAAsB,CAAC;AAI9B,eAAO,MAAM,YAAY,EAAE,MA6V1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"followRoom.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/followRoom.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA2B9B,eAAO,MAAM,gBAAgB,EAAE,MA8epB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ignore.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/ignore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,YAAY,EAAE,MA2OhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageGeneration.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/imageGeneration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { choiceAction } from "./choice";
|
|
2
|
+
export { followRoomAction } from "./followRoom";
|
|
3
|
+
export { ignoreAction } from "./ignore";
|
|
4
|
+
export { generateImageAction } from "./imageGeneration";
|
|
5
|
+
export { muteRoomAction } from "./muteRoom";
|
|
6
|
+
export { noneAction } from "./none";
|
|
7
|
+
export { replyAction } from "./reply";
|
|
8
|
+
export { resetSessionAction } from "./resetSession";
|
|
9
|
+
export { updateRoleAction } from "./roles";
|
|
10
|
+
export { updateSettingsAction } from "./settings";
|
|
11
|
+
export { statusAction } from "./status";
|
|
12
|
+
export { unfollowRoomAction } from "./unfollowRoom";
|
|
13
|
+
export { unmuteRoomAction } from "./unmuteRoom";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/index.ts"],"names":[],"mappings":"AAAA,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,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,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,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"muteRoom.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/muteRoom.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA4B9B,eAAO,MAAM,cAAc,EAAE,MAsTlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"none.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/none.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAKP,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,UAAU,EAAE,MAoJd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeContact.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/removeContact.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA8B9B,eAAO,MAAM,mBAAmB,EAAE,MAgJjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reply.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/reply.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,sBAAsB,CAAC;AAI9B,eAAO,MAAM,WAAW,EAkJnB,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetSession.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/resetSession.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/roles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAUP,MAAM,sBAAsB,CAAC;AA6D9B;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAwW9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduleFollowUp.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/scheduleFollowUp.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA0D9B,eAAO,MAAM,sBAAsB,EAAE,MAuNpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"searchContacts.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/searchContacts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AAoC9B,eAAO,MAAM,oBAAoB,EAAE,MAmPlC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
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
|
+
//# sourceMappingURL=sendMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/sendMessage.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,MAAM,EASP,MAAM,sBAAsB,CAAC;AA8G9B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,EAAE,MA4f/B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Enhanced settings action with improved state management and logging
|
|
4
|
+
* Updated to use world metadata instead of cache
|
|
5
|
+
*/
|
|
6
|
+
export declare const updateSettingsAction: Action;
|
|
7
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/settings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,MAAM,EAYP,MAAM,sBAAsB,CAAC;AAksB9B;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAsgBlC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Status Action
|
|
3
|
+
*
|
|
4
|
+
* Provides information about the agent's current state, pending tasks,
|
|
5
|
+
* and session information. Useful for debugging and understanding
|
|
6
|
+
* what the agent is tracking.
|
|
7
|
+
*/
|
|
8
|
+
import type { Action } from "../../types/index.ts";
|
|
9
|
+
export declare const statusAction: Action;
|
|
10
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/status.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EACV,MAAM,EAQP,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,YAAY,EAAE,MA4L1B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unfollowRoom.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/unfollowRoom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AAwC9B;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAmZtB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Action to unmute a room, allowing the agent to consider responding to messages again.
|
|
4
|
+
*
|
|
5
|
+
* @name UNMUTE_ROOM
|
|
6
|
+
* @similes ["UNMUTE_CHAT", "UNMUTE_CONVERSATION", "UNMUTE_ROOM", "UNMUTE_THREAD"]
|
|
7
|
+
* @description Unmutes a room, allowing the agent to consider responding to messages again.
|
|
8
|
+
*
|
|
9
|
+
* @param {IAgentRuntime} runtime - The agent runtime to access runtime functionalities.
|
|
10
|
+
* @param {Memory} message - The message containing information about the room.
|
|
11
|
+
* @returns {Promise<boolean>} A boolean value indicating if the room was successfully unmuted.
|
|
12
|
+
*/
|
|
13
|
+
export declare const unmuteRoomAction: Action;
|
|
14
|
+
//# sourceMappingURL=unmuteRoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmuteRoom.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/unmuteRoom.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AAqC9B;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,MA+SpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateContact.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/updateContact.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,sBAAsB,CAAC;AA4C9B,eAAO,MAAM,mBAAmB,EAAE,MA+NjC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { Action } from "../../types/index.ts";
|
|
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 x, 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 {HandlerOptions} _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
|
+
//# sourceMappingURL=updateEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateEntity.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/actions/updateEntity.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,MAAM,EAYP,MAAM,sBAAsB,CAAC;AAwE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAkXhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/evaluators/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflection.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/evaluators/reflection.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAGV,SAAS,EAKV,MAAM,sBAAsB,CAAC;AAwV9B,eAAO,MAAM,mBAAmB,EAAE,SAyMjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"relationshipExtraction.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/evaluators/relationshipExtraction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,SAAS,EAKV,MAAM,sBAAsB,CAAC;AAuC9B,eAAO,MAAM,+BAA+B,EAAE,SAuH7C,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { IAgentRuntime, Media, Memory, MentionContext, Plugin, Room } from "../types/index.ts";
|
|
2
|
+
import type { ServiceClass } from "../types/plugin.ts";
|
|
3
|
+
export * from "./actions/index.ts";
|
|
4
|
+
export * from "./evaluators/index.ts";
|
|
5
|
+
export * from "./providers/index.ts";
|
|
6
|
+
type MediaData = {
|
|
7
|
+
data: Buffer;
|
|
8
|
+
mediaType: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function fetchMediaData(attachments: Media[], fetchFn?: typeof fetch): Promise<MediaData[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Processes attachments by generating descriptions for supported media types.
|
|
13
|
+
* Currently supports image description generation.
|
|
14
|
+
*
|
|
15
|
+
* @param {Media[]} attachments - Array of attachments to process
|
|
16
|
+
* @param {IAgentRuntime} runtime - The agent runtime for accessing AI models
|
|
17
|
+
* @returns {Promise<Media[]>} - Returns a new array of processed attachments with added description, title, and text properties
|
|
18
|
+
*/
|
|
19
|
+
export declare function processAttachments(attachments: Media[] | null | undefined, runtime: IAgentRuntime): Promise<Media[]>;
|
|
20
|
+
export declare function shouldRespond(runtime: IAgentRuntime, message: Memory, room?: Room, mentionContext?: MentionContext): {
|
|
21
|
+
shouldRespond: boolean;
|
|
22
|
+
skipEvaluation: boolean;
|
|
23
|
+
reason: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Configuration for basic-capabilities capabilities.
|
|
27
|
+
* - Basic: Core functionality (reply, ignore, none actions; core providers; task/embedding services)
|
|
28
|
+
* - Advanced: Additional features (choice, mute/follow room, roles, settings, image generation)
|
|
29
|
+
* - Autonomy: Autonomous operation (autonomy service, admin communication, status providers)
|
|
30
|
+
*/
|
|
31
|
+
export interface CapabilityConfig {
|
|
32
|
+
/** Disable basic capabilities (default: false) */
|
|
33
|
+
disableBasic?: boolean;
|
|
34
|
+
/** Enable advanced capabilities (default: false) */
|
|
35
|
+
advancedCapabilities?: boolean;
|
|
36
|
+
/** Skip the character provider (used for anonymous agents without a character file) */
|
|
37
|
+
skipCharacterProvider?: boolean;
|
|
38
|
+
/** Enable autonomy capabilities (default: false) */
|
|
39
|
+
enableAutonomy?: boolean;
|
|
40
|
+
}
|
|
41
|
+
declare const basic: {
|
|
42
|
+
providers: import("../types/components.ts").Provider[];
|
|
43
|
+
actions: import("../types/components.ts").Action[];
|
|
44
|
+
evaluators: never[];
|
|
45
|
+
services: ServiceClass[];
|
|
46
|
+
};
|
|
47
|
+
declare const advanced: {
|
|
48
|
+
providers: import("../types/components.ts").Provider[];
|
|
49
|
+
actions: import("../types/components.ts").Action[];
|
|
50
|
+
evaluators: never[];
|
|
51
|
+
services: ServiceClass[];
|
|
52
|
+
};
|
|
53
|
+
declare const autonomyCapabilities: {
|
|
54
|
+
providers: import("../types/components.ts").Provider[];
|
|
55
|
+
actions: import("../types/components.ts").Action[];
|
|
56
|
+
evaluators: never[];
|
|
57
|
+
services: ServiceClass[];
|
|
58
|
+
routes: import("../types/plugin.ts").Route[];
|
|
59
|
+
events: {};
|
|
60
|
+
};
|
|
61
|
+
export declare function createBootstrapPlugin(config?: CapabilityConfig): Plugin;
|
|
62
|
+
export { advanced as advancedCapabilities, autonomyCapabilities, basic as basicCapabilities, };
|
|
63
|
+
export * from "../autonomy/index.ts";
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bootstrap/index.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAQV,aAAa,EAGb,KAAK,EACL,MAAM,EACN,cAAc,EAGd,MAAM,EAEN,IAAI,EAIL,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AA0BvD,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AAErC,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAsB,cAAc,CAClC,WAAW,EAAE,KAAK,EAAE,EACpB,OAAO,GAAE,OAAO,KAAwB,GACvC,OAAO,CAAC,SAAS,EAAE,CAAC,CAiBtB;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,SAAS,EACvC,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,KAAK,EAAE,CAAC,CA4MlB;AAED,wBAAgB,aAAa,CAC3B,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,IAAI,EACX,cAAc,CAAC,EAAE,cAAc,GAC9B;IAAE,aAAa,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CA2FrE;AAswBD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,kDAAkD;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oDAAoD;IACpD,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,uFAAuF;IACvF,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,oDAAoD;IACpD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAGD,QAAA,MAAM,KAAK;;;;cA2BJ,YAAY,EAAE;CACpB,CAAC;AAEF,QAAA,MAAM,QAAQ;;;;cAqBI,YAAY,EAAE;CAC/B,CAAC;AAIF,QAAA,MAAM,oBAAoB;;;;cAIgB,YAAY,EAAE;;;CAGvD,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,MAAM,GAAE,gBAAqB,GAAG,MAAM,CA+B3E;AAOD,OAAO,EACL,QAAQ,IAAI,oBAAoB,EAChC,oBAAoB,EACpB,KAAK,IAAI,iBAAiB,GAC3B,CAAC;AAEF,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionState.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/actionState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAG9B;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAuNjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAIV,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAgC9B,sFAAsF;AACtF,eAAO,MAAM,eAAe,EAAE,QA0E7B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/attachments.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAIV,QAAQ,EACT,MAAM,sBAAsB,CAAC;AAG9B;;;;;GAKG;AACH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,EAAE,QA4GjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
+
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAgDlC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/character.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAIV,QAAQ,EAET,MAAM,sBAAsB,CAAC;AAI9B;;;;;;GAMG;AACH;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAwP/B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Provider } from "../../types/index.ts";
|
|
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
|
+
//# sourceMappingURL=choice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"choice.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/choice.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAGT,MAAM,sBAAsB,CAAC;AAoB9B;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QAwF5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.d.ts","sourceRoot":"","sources":["../../../src/bootstrap/providers/contacts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,QAAQ,EAGT,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,gBAAgB,EAAE,QAkF9B,CAAC"}
|