forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.ts
37 lines (34 loc) · 1.35 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { Plugin } from "@elizaos/core";
import { continueAction } from "./actions/continue.ts";
import { followRoomAction } from "./actions/followRoom.ts";
import { ignoreAction } from "./actions/ignore.ts";
import { muteRoomAction } from "./actions/muteRoom.ts";
import { noneAction } from "./actions/none.ts";
import { unfollowRoomAction } from "./actions/unfollowRoom.ts";
import { unmuteRoomAction } from "./actions/unmuteRoom.ts";
import { factEvaluator } from "./evaluators/fact.ts";
import { goalEvaluator } from "./evaluators/goal.ts";
import { boredomProvider } from "./providers/boredom.ts";
import { factsProvider } from "./providers/facts.ts";
import { timeProvider } from "./providers/time.ts";
export * as actions from "./actions";
export * as evaluators from "./evaluators";
export * as providers from "./providers";
import packageJson from "../package.json";
export const bootstrapPlugin: Plugin = {
name: "bootstrap",
config: packageJson.agentConfig,
description: "Agent bootstrap with basic actions and evaluators",
actions: [
continueAction,
followRoomAction,
unfollowRoomAction,
ignoreAction,
noneAction,
muteRoomAction,
unmuteRoomAction,
],
evaluators: [factEvaluator, goalEvaluator],
providers: [boredomProvider, timeProvider, factsProvider],
};
export default bootstrapPlugin;