-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.ts
128 lines (123 loc) · 3.41 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
import type { Plugin } from "@elizaos/core";
import {
createCommitAction,
githubCreateCommitPlugin,
} from "./plugins/createCommit";
import {
createIssueAction,
githubCreateIssuePlugin,
} from "./plugins/createIssue";
import {
createMemoriesFromFilesAction,
githubCreateMemorizeFromFilesPlugin,
} from "./plugins/createMemoriesFromFiles";
import {
createPullRequestAction,
githubCreatePullRequestPlugin,
} from "./plugins/createPullRequest";
import {
forkRepositoryAction,
githubForkRepositoryPlugin,
} from "./plugins/forkRepository";
import { githubIdeationPlugin, ideationAction } from "./plugins/ideationPlugin";
import {
githubInitializePlugin,
initializeRepositoryAction,
} from "./plugins/initializeRepository";
import {
addCommentToIssueAction,
closeIssueAction,
githubInteractWithIssuePlugin,
reactToIssueAction,
} from "./plugins/interactWithIssue";
import {
addCommentToPRAction,
closePRAction,
generateCodeFileChangesAction,
githubInteractWithPRPlugin,
implementFeatureAction,
mergePRAction,
reactToPRAction,
replyToPRCommentAction,
} from "./plugins/interactWithPR";
import {
githubModifyIssuePlugin,
modifyIssueAction,
} from "./plugins/modifyIssue";
import {
githubOrchestratePlugin,
orchestrateAction,
} from "./plugins/orchestrate";
import { documentationFilesProvider } from "./providers/documentationFiles";
import { releasesProvider } from "./providers/releases";
import { sourceCodeProvider } from "./providers/sourceCode";
import { testFilesProvider } from "./providers/testFiles";
import { workflowFilesProvider } from "./providers/workflowFiles";
export const plugins = {
githubInitializePlugin,
githubCreateMemorizeFromFilesPlugin,
githubCreatePullRequestPlugin,
githubCreateCommitPlugin,
githubCreateIssuePlugin,
githubModifyIssuePlugin,
githubInteractWithIssuePlugin,
githubInteractWithPRPlugin,
githubIdeationPlugin,
githubOrchestratePlugin,
githubForkRepositoryPlugin,
};
export * from "./plugins/initializeRepository";
export * from "./plugins/createMemoriesFromFiles";
export * from "./plugins/createPullRequest";
export * from "./plugins/createCommit";
export * from "./plugins/createIssue";
export * from "./plugins/modifyIssue";
export * from "./plugins/interactWithIssue";
export * from "./plugins/ideationPlugin";
export * from "./plugins/interactWithPR";
export * from "./plugins/orchestrate";
export * from "./providers/sourceCode";
export * from "./providers/testFiles";
export * from "./providers/workflowFiles";
export * from "./providers/documentationFiles";
export * from "./providers/releases";
export * from "./utils";
export * from "./services/github";
export * from "./templates";
export * from "./types";
export * from "./constants";
export const githubPlugin: Plugin = {
name: "github",
description: "Integration with GitHub",
actions: [
initializeRepositoryAction,
createMemoriesFromFilesAction,
createPullRequestAction,
createCommitAction,
createIssueAction,
modifyIssueAction,
addCommentToIssueAction,
ideationAction,
addCommentToPRAction,
mergePRAction,
closePRAction,
reactToPRAction,
closePRAction,
reactToIssueAction,
closeIssueAction,
replyToPRCommentAction,
generateCodeFileChangesAction,
implementFeatureAction,
forkRepositoryAction,
orchestrateAction,
],
evaluators: [],
providers: [
sourceCodeProvider,
testFilesProvider,
workflowFilesProvider,
documentationFilesProvider,
releasesProvider,
],
};
export default githubPlugin;