@elizaos/plugin-github 1.2.0 → 1.2.9
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.d.ts +561 -7
- package/dist/index.js +1455 -5009
- package/dist/index.js.map +1 -41
- package/package.json +24 -16
- package/tsup.config.ts +32 -0
- package/dist/__tests__/e2e/intelligent-analysis.test.d.ts +0 -15
- package/dist/actions/activity.d.ts +0 -4
- package/dist/actions/autoCoder.d.ts +0 -3
- package/dist/actions/branches.d.ts +0 -4
- package/dist/actions/issues.d.ts +0 -5
- package/dist/actions/pullRequests.d.ts +0 -5
- package/dist/actions/repository.d.ts +0 -5
- package/dist/actions/search.d.ts +0 -2
- package/dist/actions/stats.d.ts +0 -3
- package/dist/actions/users.d.ts +0 -4
- package/dist/actions/webhooks.d.ts +0 -5
- package/dist/providers/github.d.ts +0 -6
- package/dist/services/github.d.ts +0 -342
- package/dist/test-exports.d.ts +0 -4
- package/dist/tests.d.ts +0 -20
- package/dist/types.d.ts +0 -290
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-github",
|
|
3
3
|
"description": "Comprehensive GitHub integration plugin for ElizaOS with repository management, issue tracking, and PR workflows",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -39,41 +39,49 @@
|
|
|
39
39
|
"tsup.config.ts"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elizaos/core": "^1.2.
|
|
43
|
-
"@octokit/rest": "^
|
|
44
|
-
"@octokit/types": "^
|
|
42
|
+
"@elizaos/core": "^1.2.9",
|
|
43
|
+
"@octokit/rest": "^22.0.0",
|
|
44
|
+
"@octokit/types": "^14.1.0",
|
|
45
|
+
"@tanstack/react-query": "^5.80.7",
|
|
45
46
|
"deprecation": "^2.3.1",
|
|
46
47
|
"ngrok": "^5.0.0-beta.2",
|
|
48
|
+
"react": "^19.1.0",
|
|
49
|
+
"react-dom": "^19.1.0",
|
|
47
50
|
"tailwindcss": "^4.1.10",
|
|
48
|
-
"vite": "^
|
|
49
|
-
"zod": "^
|
|
51
|
+
"vite": "^7.0.4",
|
|
52
|
+
"zod": "^4.0.5"
|
|
50
53
|
},
|
|
51
54
|
"peerDependencies": {},
|
|
52
55
|
"devDependencies": {
|
|
53
56
|
"@cypress/react": "^9.0.1",
|
|
57
|
+
"@elizaos/config": "^1.2.9",
|
|
58
|
+
"@elizaos/test-utils": "^1.2.9",
|
|
59
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
54
60
|
"@testing-library/cypress": "^10.0.3",
|
|
55
|
-
"@types/
|
|
61
|
+
"@types/bun": "^1.2.18",
|
|
62
|
+
"@types/node": "^24.0.14",
|
|
63
|
+
"@types/react": "^19.1.8",
|
|
64
|
+
"@types/react-dom": "^19.1.6",
|
|
65
|
+
"@vitejs/plugin-react-swc": "^3.10.2",
|
|
56
66
|
"axios": "^1.6.5",
|
|
57
|
-
"cypress": "^14.5.
|
|
58
|
-
"dotenv": "
|
|
59
|
-
"prettier": "3.
|
|
67
|
+
"cypress": "^14.5.2",
|
|
68
|
+
"dotenv": "17.2.0",
|
|
69
|
+
"prettier": "^3.6.2",
|
|
70
|
+
"tsup": "^8.0.2",
|
|
60
71
|
"tsx": "^4.19.2",
|
|
61
72
|
"typescript": "5.8.3"
|
|
62
73
|
},
|
|
63
74
|
"scripts": {
|
|
64
|
-
"build": "
|
|
65
|
-
"dev": "
|
|
75
|
+
"build": "tsup",
|
|
76
|
+
"dev": "tsup --watch",
|
|
66
77
|
"clean": "rm -rf dist && rm -rf .turbo",
|
|
67
|
-
"lint": "
|
|
78
|
+
"lint": "prettier --write ./src",
|
|
68
79
|
"typecheck": "tsc --noEmit",
|
|
69
80
|
"test": "bun test && elizaos test"
|
|
70
81
|
},
|
|
71
82
|
"publishConfig": {
|
|
72
83
|
"access": "public"
|
|
73
84
|
},
|
|
74
|
-
"resolutions": {
|
|
75
|
-
"zod": "3.25.67"
|
|
76
|
-
},
|
|
77
85
|
"agentConfig": {
|
|
78
86
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
79
87
|
"pluginParameters": {
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineConfig } from 'tsup';
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: ['src/index.ts'],
|
|
5
|
+
outDir: 'dist',
|
|
6
|
+
tsconfig: './tsconfig.build.json',
|
|
7
|
+
sourcemap: true,
|
|
8
|
+
clean: true,
|
|
9
|
+
format: ['esm'],
|
|
10
|
+
dts: {
|
|
11
|
+
// This will make the build fail on TypeScript errors
|
|
12
|
+
resolve: true,
|
|
13
|
+
compilerOptions: {
|
|
14
|
+
strict: true,
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
external: [
|
|
18
|
+
'dotenv',
|
|
19
|
+
'fs',
|
|
20
|
+
'path',
|
|
21
|
+
'crypto',
|
|
22
|
+
'https',
|
|
23
|
+
'http',
|
|
24
|
+
'agentkeepalive',
|
|
25
|
+
'zod',
|
|
26
|
+
'@elizaos/core',
|
|
27
|
+
'axios',
|
|
28
|
+
'cheerio',
|
|
29
|
+
'bun:test',
|
|
30
|
+
// Add other modules that should be externalized
|
|
31
|
+
],
|
|
32
|
+
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { IAgentRuntime } from '@elizaos/core';
|
|
2
|
-
/**
|
|
3
|
-
* E2E tests for intelligent GitHub plugin analysis capabilities
|
|
4
|
-
* Tests real AI-powered evaluation instead of string matching
|
|
5
|
-
*/
|
|
6
|
-
export declare class IntelligentAnalysisTestSuite {
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
tests: {
|
|
10
|
-
name: string;
|
|
11
|
-
fn: (runtime: IAgentRuntime) => Promise<void>;
|
|
12
|
-
}[];
|
|
13
|
-
}
|
|
14
|
-
declare const _default: IntelligentAnalysisTestSuite;
|
|
15
|
-
export default _default;
|
package/dist/actions/issues.d.ts
DELETED
package/dist/actions/search.d.ts
DELETED
package/dist/actions/stats.d.ts
DELETED
package/dist/actions/users.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type Provider } from '@elizaos/core';
|
|
2
|
-
export declare const githubRepositoryProvider: Provider;
|
|
3
|
-
export declare const githubIssuesProvider: Provider;
|
|
4
|
-
export declare const githubPullRequestsProvider: Provider;
|
|
5
|
-
export declare const githubActivityProvider: Provider;
|
|
6
|
-
export declare const githubUserProvider: Provider;
|
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
import { Service, type IAgentRuntime } from '@elizaos/core';
|
|
2
|
-
export interface GitHubConfig {
|
|
3
|
-
GITHUB_TOKEN: string;
|
|
4
|
-
GITHUB_USERNAME?: string;
|
|
5
|
-
GITHUB_EMAIL?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface GitHubActivityItem {
|
|
8
|
-
id: string;
|
|
9
|
-
timestamp: string;
|
|
10
|
-
action: string;
|
|
11
|
-
resource_type: 'repository' | 'issue' | 'pr' | 'user';
|
|
12
|
-
resource_id: string;
|
|
13
|
-
details: Record<string, any>;
|
|
14
|
-
success: boolean;
|
|
15
|
-
error?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare class GitHubAPIError extends Error {
|
|
18
|
-
status?: number;
|
|
19
|
-
response?: any;
|
|
20
|
-
constructor(message: string, status?: number, response?: any);
|
|
21
|
-
}
|
|
22
|
-
export declare class GitHubAuthenticationError extends GitHubAPIError {
|
|
23
|
-
constructor(message: string);
|
|
24
|
-
}
|
|
25
|
-
export declare class GitHubRateLimitError extends GitHubAPIError {
|
|
26
|
-
resetTime: number;
|
|
27
|
-
constructor(message: string, resetTime: number);
|
|
28
|
-
}
|
|
29
|
-
export declare class GitHubService extends Service {
|
|
30
|
-
static serviceType: string;
|
|
31
|
-
capabilityDescription: string;
|
|
32
|
-
private octokit;
|
|
33
|
-
private rateLimitRemaining;
|
|
34
|
-
private rateLimitReset;
|
|
35
|
-
private activityLog;
|
|
36
|
-
private githubConfig;
|
|
37
|
-
constructor(runtime?: IAgentRuntime);
|
|
38
|
-
static start(runtime: IAgentRuntime): Promise<GitHubService>;
|
|
39
|
-
stop(): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* Validate authentication by checking user permissions
|
|
42
|
-
*/
|
|
43
|
-
validateAuthentication(): Promise<boolean>;
|
|
44
|
-
/**
|
|
45
|
-
* Rate limiting helper to prevent hitting GitHub API limits
|
|
46
|
-
*/
|
|
47
|
-
private checkRateLimit;
|
|
48
|
-
/**
|
|
49
|
-
* Update rate limit info from response headers
|
|
50
|
-
*/
|
|
51
|
-
private updateRateLimit;
|
|
52
|
-
/**
|
|
53
|
-
* Sanitize error for logging (remove sensitive data)
|
|
54
|
-
*/
|
|
55
|
-
private sanitizeError;
|
|
56
|
-
/**
|
|
57
|
-
* Validate GitHub username/repo name format
|
|
58
|
-
*/
|
|
59
|
-
private validateGitHubName;
|
|
60
|
-
/**
|
|
61
|
-
* Get authenticated user information
|
|
62
|
-
*/
|
|
63
|
-
getAuthenticatedUser(): Promise<any>;
|
|
64
|
-
/**
|
|
65
|
-
* Get user by username
|
|
66
|
-
*/
|
|
67
|
-
getUserByUsername(username: string): Promise<any>;
|
|
68
|
-
/**
|
|
69
|
-
* Get repository information
|
|
70
|
-
*/
|
|
71
|
-
getRepository(owner: string, repo: string): Promise<any>;
|
|
72
|
-
/**
|
|
73
|
-
* List repositories for authenticated user
|
|
74
|
-
*/
|
|
75
|
-
getRepositories(options?: {
|
|
76
|
-
visibility?: 'all' | 'public' | 'private';
|
|
77
|
-
affiliation?: 'owner' | 'collaborator' | 'organization_member';
|
|
78
|
-
type?: 'all' | 'owner' | 'public' | 'private' | 'member';
|
|
79
|
-
sort?: 'created' | 'updated' | 'pushed' | 'full_name';
|
|
80
|
-
direction?: 'asc' | 'desc';
|
|
81
|
-
per_page?: number;
|
|
82
|
-
}): Promise<any>;
|
|
83
|
-
/**
|
|
84
|
-
* Get repository issues
|
|
85
|
-
*/
|
|
86
|
-
getRepositoryIssues(owner: string, repo: string, options?: {
|
|
87
|
-
milestone?: string | number;
|
|
88
|
-
state?: 'open' | 'closed' | 'all';
|
|
89
|
-
assignee?: string;
|
|
90
|
-
creator?: string;
|
|
91
|
-
mentioned?: string;
|
|
92
|
-
labels?: string;
|
|
93
|
-
sort?: 'created' | 'updated' | 'comments';
|
|
94
|
-
direction?: 'asc' | 'desc';
|
|
95
|
-
since?: string;
|
|
96
|
-
per_page?: number;
|
|
97
|
-
}): Promise<any>;
|
|
98
|
-
/**
|
|
99
|
-
* Get specific issue
|
|
100
|
-
*/
|
|
101
|
-
getIssue(owner: string, repo: string, issue_number: number): Promise<any>;
|
|
102
|
-
/**
|
|
103
|
-
* Create issue comment
|
|
104
|
-
*/
|
|
105
|
-
createIssueComment(owner: string, repo: string, issue_number: number, body: string): Promise<any>;
|
|
106
|
-
/**
|
|
107
|
-
* Get issue comments
|
|
108
|
-
*/
|
|
109
|
-
getIssueComments(owner: string, repo: string, issue_number: number, options?: {
|
|
110
|
-
since?: string;
|
|
111
|
-
per_page?: number;
|
|
112
|
-
}): Promise<any>;
|
|
113
|
-
/**
|
|
114
|
-
* Get repository pull requests
|
|
115
|
-
*/
|
|
116
|
-
getRepositoryPullRequests(owner: string, repo: string, options?: {
|
|
117
|
-
state?: 'open' | 'closed' | 'all';
|
|
118
|
-
head?: string;
|
|
119
|
-
base?: string;
|
|
120
|
-
sort?: 'created' | 'updated' | 'popularity';
|
|
121
|
-
direction?: 'asc' | 'desc';
|
|
122
|
-
per_page?: number;
|
|
123
|
-
}): Promise<any>;
|
|
124
|
-
/**
|
|
125
|
-
* Get specific pull request
|
|
126
|
-
*/
|
|
127
|
-
getPullRequest(owner: string, repo: string, pull_number: number): Promise<any>;
|
|
128
|
-
/**
|
|
129
|
-
* Create pull request
|
|
130
|
-
*/
|
|
131
|
-
createPullRequest(owner: string, repo: string, options: {
|
|
132
|
-
title: string;
|
|
133
|
-
head: string;
|
|
134
|
-
base: string;
|
|
135
|
-
body?: string;
|
|
136
|
-
maintainer_can_modify?: boolean;
|
|
137
|
-
draft?: boolean;
|
|
138
|
-
}): Promise<any>;
|
|
139
|
-
/**
|
|
140
|
-
* Create or update file
|
|
141
|
-
*/
|
|
142
|
-
createOrUpdateFile(owner: string, repo: string, path: string, content: string, message: string, branch?: string, sha?: string): Promise<any>;
|
|
143
|
-
/**
|
|
144
|
-
* Get file content
|
|
145
|
-
*/
|
|
146
|
-
getFileContent(owner: string, repo: string, path: string, ref?: string): Promise<{
|
|
147
|
-
content: string;
|
|
148
|
-
sha: string;
|
|
149
|
-
}>;
|
|
150
|
-
/**
|
|
151
|
-
* Delete file
|
|
152
|
-
*/
|
|
153
|
-
deleteFile(owner: string, repo: string, path: string, message: string, sha: string, branch?: string): Promise<any>;
|
|
154
|
-
/**
|
|
155
|
-
* Get repository tree
|
|
156
|
-
*/
|
|
157
|
-
getRepositoryTree(owner: string, repo: string, tree_sha?: string): Promise<any[]>;
|
|
158
|
-
/**
|
|
159
|
-
* Get default branch
|
|
160
|
-
*/
|
|
161
|
-
getDefaultBranch(owner: string, repo: string): Promise<string>;
|
|
162
|
-
/**
|
|
163
|
-
* Create webhook
|
|
164
|
-
*/
|
|
165
|
-
createWebhook(owner: string, repo: string, config: {
|
|
166
|
-
url: string;
|
|
167
|
-
content_type?: 'json' | 'form';
|
|
168
|
-
secret?: string;
|
|
169
|
-
insecure_ssl?: string;
|
|
170
|
-
}, events?: string[]): Promise<any>;
|
|
171
|
-
/**
|
|
172
|
-
* List webhooks
|
|
173
|
-
*/
|
|
174
|
-
listWebhooks(owner: string, repo: string): Promise<any[]>;
|
|
175
|
-
/**
|
|
176
|
-
* Delete webhook
|
|
177
|
-
*/
|
|
178
|
-
deleteWebhook(owner: string, repo: string, hook_id: number): Promise<void>;
|
|
179
|
-
/**
|
|
180
|
-
* Ping webhook
|
|
181
|
-
*/
|
|
182
|
-
pingWebhook(owner: string, repo: string, hook_id: number): Promise<void>;
|
|
183
|
-
/**
|
|
184
|
-
* Get activity log for debugging and monitoring
|
|
185
|
-
*/
|
|
186
|
-
getActivityLog(limit?: number): GitHubActivityItem[];
|
|
187
|
-
/**
|
|
188
|
-
* Clear activity log
|
|
189
|
-
*/
|
|
190
|
-
clearActivityLog(): void;
|
|
191
|
-
/**
|
|
192
|
-
* Get rate limit status
|
|
193
|
-
*/
|
|
194
|
-
getRateLimitStatus(): {
|
|
195
|
-
remaining: number;
|
|
196
|
-
reset: number;
|
|
197
|
-
limit: number;
|
|
198
|
-
used: number;
|
|
199
|
-
resource: string;
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* Get rate limit (alias for compatibility)
|
|
203
|
-
*/
|
|
204
|
-
getRateLimit(): {
|
|
205
|
-
remaining: number;
|
|
206
|
-
reset: number;
|
|
207
|
-
limit: number;
|
|
208
|
-
used: number;
|
|
209
|
-
resource: string;
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Get current authenticated user (alias for compatibility)
|
|
213
|
-
*/
|
|
214
|
-
getCurrentUser(): Promise<any>;
|
|
215
|
-
/**
|
|
216
|
-
* Get Git reference
|
|
217
|
-
*/
|
|
218
|
-
getRef(owner: string, repo: string, ref: string): Promise<any>;
|
|
219
|
-
/**
|
|
220
|
-
* Create a new branch
|
|
221
|
-
*/
|
|
222
|
-
createBranch(owner: string, repo: string, branchName: string, sha: string): Promise<any>;
|
|
223
|
-
/**
|
|
224
|
-
* List branches
|
|
225
|
-
*/
|
|
226
|
-
listBranches(owner: string, repo: string): Promise<any[]>;
|
|
227
|
-
/**
|
|
228
|
-
* Get branch details
|
|
229
|
-
*/
|
|
230
|
-
getBranch(owner: string, repo: string, branch: string): Promise<any>;
|
|
231
|
-
/**
|
|
232
|
-
* Delete a branch
|
|
233
|
-
*/
|
|
234
|
-
deleteBranch(owner: string, repo: string, branch: string): Promise<void>;
|
|
235
|
-
/**
|
|
236
|
-
* Compare two branches
|
|
237
|
-
*/
|
|
238
|
-
compareBranches(owner: string, repo: string, base: string, head: string): Promise<any>;
|
|
239
|
-
/**
|
|
240
|
-
* Get branch protection settings
|
|
241
|
-
*/
|
|
242
|
-
getBranchProtection(owner: string, repo: string, branch: string): Promise<any>;
|
|
243
|
-
/**
|
|
244
|
-
* List issues
|
|
245
|
-
*/
|
|
246
|
-
listIssues(owner: string, repo: string, options?: any): Promise<any>;
|
|
247
|
-
/**
|
|
248
|
-
* Create issue
|
|
249
|
-
*/
|
|
250
|
-
createIssue(owner: string, repo: string, options: {
|
|
251
|
-
title: string;
|
|
252
|
-
body?: string;
|
|
253
|
-
assignees?: string[];
|
|
254
|
-
milestone?: number;
|
|
255
|
-
labels?: string[];
|
|
256
|
-
}): Promise<any>;
|
|
257
|
-
/**
|
|
258
|
-
* Search issues
|
|
259
|
-
*/
|
|
260
|
-
searchIssues(query: string, options?: any): Promise<any>;
|
|
261
|
-
/**
|
|
262
|
-
* Search pull requests
|
|
263
|
-
*/
|
|
264
|
-
searchPullRequests(query: string, options?: any): Promise<any>;
|
|
265
|
-
/**
|
|
266
|
-
* List pull requests
|
|
267
|
-
*/
|
|
268
|
-
listPullRequests(owner: string, repo: string, options?: any): Promise<any>;
|
|
269
|
-
/**
|
|
270
|
-
* Merge pull request
|
|
271
|
-
*/
|
|
272
|
-
mergePullRequest(owner: string, repo: string, pull_number: number, options?: {
|
|
273
|
-
commit_title?: string;
|
|
274
|
-
commit_message?: string;
|
|
275
|
-
merge_method?: 'merge' | 'squash' | 'rebase';
|
|
276
|
-
}): Promise<any>;
|
|
277
|
-
/**
|
|
278
|
-
* List repositories
|
|
279
|
-
*/
|
|
280
|
-
listRepositories(options?: any): Promise<any>;
|
|
281
|
-
/**
|
|
282
|
-
* Create repository
|
|
283
|
-
*/
|
|
284
|
-
createRepository(options: {
|
|
285
|
-
name: string;
|
|
286
|
-
description?: string;
|
|
287
|
-
private?: boolean;
|
|
288
|
-
auto_init?: boolean;
|
|
289
|
-
gitignore_template?: string;
|
|
290
|
-
license_template?: string;
|
|
291
|
-
}): Promise<any>;
|
|
292
|
-
/**
|
|
293
|
-
* Search repositories
|
|
294
|
-
*/
|
|
295
|
-
searchRepositories(query: string, options?: any): Promise<any>;
|
|
296
|
-
/**
|
|
297
|
-
* Get contributors stats
|
|
298
|
-
*/
|
|
299
|
-
getContributorsStats(owner: string, repo: string): Promise<any>;
|
|
300
|
-
/**
|
|
301
|
-
* Get commit activity stats
|
|
302
|
-
*/
|
|
303
|
-
getCommitActivityStats(owner: string, repo: string): Promise<any>;
|
|
304
|
-
/**
|
|
305
|
-
* Get code frequency stats
|
|
306
|
-
*/
|
|
307
|
-
getCodeFrequencyStats(owner: string, repo: string): Promise<any>;
|
|
308
|
-
/**
|
|
309
|
-
* Get repository languages
|
|
310
|
-
*/
|
|
311
|
-
getLanguages(owner: string, repo: string): Promise<any>;
|
|
312
|
-
/**
|
|
313
|
-
* Get traffic views
|
|
314
|
-
*/
|
|
315
|
-
getTrafficViews(owner: string, repo: string): Promise<any>;
|
|
316
|
-
/**
|
|
317
|
-
* Get traffic clones
|
|
318
|
-
*/
|
|
319
|
-
getTrafficClones(owner: string, repo: string): Promise<any>;
|
|
320
|
-
/**
|
|
321
|
-
* Get top paths
|
|
322
|
-
*/
|
|
323
|
-
getTopPaths(owner: string, repo: string): Promise<any>;
|
|
324
|
-
/**
|
|
325
|
-
* Get top referrers
|
|
326
|
-
*/
|
|
327
|
-
getTopReferrers(owner: string, repo: string): Promise<any>;
|
|
328
|
-
/**
|
|
329
|
-
* Get user information
|
|
330
|
-
*/
|
|
331
|
-
getUser(username: string): Promise<any>;
|
|
332
|
-
/**
|
|
333
|
-
* List user repositories
|
|
334
|
-
*/
|
|
335
|
-
listUserRepositories(username: string, options?: any): Promise<any>;
|
|
336
|
-
/**
|
|
337
|
-
* List user events
|
|
338
|
-
*/
|
|
339
|
-
listUserEvents(username: string, options?: any): Promise<any>;
|
|
340
|
-
private logActivity;
|
|
341
|
-
private handleError;
|
|
342
|
-
}
|
package/dist/test-exports.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { GitHubPluginTestSuite, GitHubIntelligentAnalysisTestSuite } from './tests';
|
|
2
|
-
export { GitHubPluginTestSuite, GitHubIntelligentAnalysisTestSuite };
|
|
3
|
-
export declare const AllGitHubTestSuites: import("./__tests__/e2e/intelligent-analysis.test").IntelligentAnalysisTestSuite[];
|
|
4
|
-
export default GitHubPluginTestSuite;
|
package/dist/tests.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type IAgentRuntime } from '@elizaos/core';
|
|
2
|
-
export declare const githubPluginTestSuite: {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
tests: {
|
|
6
|
-
name: string;
|
|
7
|
-
fn: (runtime: IAgentRuntime) => Promise<void>;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
export declare const GitHubPluginTestSuite: {
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
tests: {
|
|
14
|
-
name: string;
|
|
15
|
-
fn: (runtime: IAgentRuntime) => Promise<void>;
|
|
16
|
-
}[];
|
|
17
|
-
};
|
|
18
|
-
export declare const GitHubIntelligentAnalysisTestSuite: import("./__tests__/e2e/intelligent-analysis.test").IntelligentAnalysisTestSuite;
|
|
19
|
-
export declare const AllGitHubTestSuites: import("./__tests__/e2e/intelligent-analysis.test").IntelligentAnalysisTestSuite[];
|
|
20
|
-
export default githubPluginTestSuite;
|