@elizaos/plugin-github 1.2.9 → 2.0.0-alpha.1
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 +1870 -6835
- package/dist/index.js.map +27 -1
- package/package.json +67 -63
- package/.npmignore +0 -5
- package/README.md +0 -658
- package/dist/index.d.ts +0 -563
- package/tsup.config.ts +0 -32
package/package.json
CHANGED
|
@@ -1,26 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-github",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.2.9",
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"main": "dist/index.js",
|
|
7
6
|
"module": "dist/index.js",
|
|
8
7
|
"types": "dist/index.d.ts",
|
|
9
|
-
"packageType": "plugin",
|
|
10
|
-
"platform": "node",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"author": "elizaOS",
|
|
13
|
-
"keywords": [
|
|
14
|
-
"plugin",
|
|
15
|
-
"elizaos"
|
|
16
|
-
],
|
|
17
8
|
"repository": {
|
|
18
9
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/elizaos-plugins/plugin-github"
|
|
20
|
-
},
|
|
21
|
-
"homepage": "https://elizaos.ai",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/elizaos-plugins/plugin-github/issues"
|
|
10
|
+
"url": "git+https://github.com/elizaos-plugins/plugin-github.git"
|
|
24
11
|
},
|
|
25
12
|
"exports": {
|
|
26
13
|
"./package.json": "./package.json",
|
|
@@ -32,52 +19,35 @@
|
|
|
32
19
|
}
|
|
33
20
|
},
|
|
34
21
|
"files": [
|
|
35
|
-
"dist"
|
|
36
|
-
"README.md",
|
|
37
|
-
".npmignore",
|
|
38
|
-
"package.json",
|
|
39
|
-
"tsup.config.ts"
|
|
22
|
+
"dist"
|
|
40
23
|
],
|
|
41
24
|
"dependencies": {
|
|
42
|
-
"@elizaos/core": "
|
|
43
|
-
"@octokit/rest": "^
|
|
44
|
-
"@octokit/types": "^
|
|
45
|
-
"@
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"react-dom": "^19.1.0",
|
|
50
|
-
"tailwindcss": "^4.1.10",
|
|
51
|
-
"vite": "^7.0.4",
|
|
52
|
-
"zod": "^4.0.5"
|
|
25
|
+
"@elizaos/core": "workspace:*",
|
|
26
|
+
"@octokit/rest": "^21.0.0",
|
|
27
|
+
"@octokit/types": "^13.0.0",
|
|
28
|
+
"@octokit/webhooks-types": "^7.5.0",
|
|
29
|
+
"glob": "^11.0.0",
|
|
30
|
+
"simple-git": "^3.27.0",
|
|
31
|
+
"zod": "^4.3.5"
|
|
53
32
|
},
|
|
54
|
-
"peerDependencies": {},
|
|
55
33
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"
|
|
59
|
-
"@tailwindcss/vite": "^4.1.11",
|
|
60
|
-
"@testing-library/cypress": "^10.0.3",
|
|
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",
|
|
66
|
-
"axios": "^1.6.5",
|
|
67
|
-
"cypress": "^14.5.2",
|
|
68
|
-
"dotenv": "17.2.0",
|
|
69
|
-
"prettier": "^3.6.2",
|
|
70
|
-
"tsup": "^8.0.2",
|
|
71
|
-
"tsx": "^4.19.2",
|
|
72
|
-
"typescript": "5.8.3"
|
|
34
|
+
"@biomejs/biome": "^2.3.11",
|
|
35
|
+
"@types/node": "^25.0.3",
|
|
36
|
+
"typescript": "^5.9.3"
|
|
73
37
|
},
|
|
74
38
|
"scripts": {
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
39
|
+
"dev": "bun --hot build.ts",
|
|
40
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
41
|
+
"test": "vitest run __tests__/",
|
|
42
|
+
"test:unit": "vitest run __tests__/",
|
|
43
|
+
"test:integration": "echo 'Integration tests require elizaos CLI - skipping'",
|
|
44
|
+
"lint": "biome check --write .",
|
|
45
|
+
"lint:check": "biome check .",
|
|
46
|
+
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo",
|
|
47
|
+
"format": "biome format --write .",
|
|
48
|
+
"format:check": "biome format .",
|
|
49
|
+
"build": "bun run build.ts",
|
|
50
|
+
"build:ts": "bun run build.ts"
|
|
81
51
|
},
|
|
82
52
|
"publishConfig": {
|
|
83
53
|
"access": "public"
|
|
@@ -85,22 +55,56 @@
|
|
|
85
55
|
"agentConfig": {
|
|
86
56
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
87
57
|
"pluginParameters": {
|
|
88
|
-
"
|
|
58
|
+
"GITHUB_API_TOKEN": {
|
|
89
59
|
"type": "string",
|
|
90
|
-
"description": "GitHub
|
|
91
|
-
"required": true
|
|
60
|
+
"description": "GitHub personal access token for API authentication",
|
|
61
|
+
"required": true,
|
|
62
|
+
"sensitive": true
|
|
92
63
|
},
|
|
93
64
|
"GITHUB_OWNER": {
|
|
94
65
|
"type": "string",
|
|
95
|
-
"description": "Default GitHub username
|
|
96
|
-
"required": false
|
|
66
|
+
"description": "Default GitHub repository owner (username or organization)",
|
|
67
|
+
"required": false,
|
|
68
|
+
"sensitive": false
|
|
69
|
+
},
|
|
70
|
+
"GITHUB_REPO": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Default GitHub repository name",
|
|
73
|
+
"required": false,
|
|
74
|
+
"sensitive": false
|
|
75
|
+
},
|
|
76
|
+
"GITHUB_BRANCH": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Default branch name (defaults to main)",
|
|
79
|
+
"required": false,
|
|
80
|
+
"default": "main",
|
|
81
|
+
"sensitive": false
|
|
97
82
|
},
|
|
98
83
|
"GITHUB_WEBHOOK_SECRET": {
|
|
99
84
|
"type": "string",
|
|
100
|
-
"description": "Secret for
|
|
101
|
-
"required": false
|
|
85
|
+
"description": "Secret for validating GitHub webhook payloads",
|
|
86
|
+
"required": false,
|
|
87
|
+
"sensitive": true
|
|
88
|
+
},
|
|
89
|
+
"GITHUB_APP_ID": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "GitHub App ID for app-based authentication",
|
|
92
|
+
"required": false,
|
|
93
|
+
"sensitive": false
|
|
94
|
+
},
|
|
95
|
+
"GITHUB_APP_PRIVATE_KEY": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "GitHub App private key for app-based authentication",
|
|
98
|
+
"required": false,
|
|
99
|
+
"sensitive": true
|
|
100
|
+
},
|
|
101
|
+
"GITHUB_INSTALLATION_ID": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "GitHub App installation ID",
|
|
104
|
+
"required": false,
|
|
105
|
+
"sensitive": false
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
},
|
|
105
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "646c632924826e2b75c2304a75ee56959fe4a460"
|
|
106
110
|
}
|