@aigne/example-mcp-github 1.13.1 → 1.14.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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.ts +1 -0
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GitHub MCP Server Integration
2
2
 
3
- This is a demonstration of using [AIGNE Framework](https://github.com/AIGNE-io/aigne-framework) and [GitHub MCP Server](https://github.com/modelcontextprotocol/servers/tree/main/src/github) to interact with GitHub repositories. The example now supports both one-shot and interactive chat modes, along with customizable model settings and pipeline input/output.
3
+ This is a demonstration of using [AIGNE Framework](https://github.com/AIGNE-io/aigne-framework) and [GitHub MCP Server](https://github.com/modelcontextprotocol/servers-archived/tree/main/src/github) to interact with GitHub repositories. The example now supports both one-shot and interactive chat modes, along with customizable model settings and pipeline input/output.
4
4
 
5
5
  ```mermaid
6
6
  flowchart LR
@@ -64,7 +64,7 @@ AI ->> User: Here's the README content: ...
64
64
 
65
65
  ## Prerequisites
66
66
 
67
- * [Node.js](https://nodejs.org) and npm installed on your machine
67
+ * [Node.js](https://nodejs.org) (>=20.0) and npm installed on your machine
68
68
  * An [OpenAI API key](https://platform.openai.com/api-keys) for interacting with OpenAI's services
69
69
  * [GitHub Personal Access Token](https://github.com/settings/tokens) with appropriate permissions
70
70
  * Optional dependencies (if running the example from source code):
package/index.ts CHANGED
@@ -20,6 +20,7 @@ await runWithAIGNE(
20
20
  });
21
21
 
22
22
  const agent = AIAgent.from({
23
+ name: "example_github",
23
24
  instructions: `\
24
25
  ## GitHub Interaction Assistant
25
26
  You are an assistant that helps users interact with GitHub repositories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-mcp-github",
3
- "version": "1.13.1",
3
+ "version": "1.14.1",
4
4
  "description": "A demonstration of using AIGNE Framework and GitHub MCP Server to interact with GitHub repositories",
5
5
  "author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
6
6
  "homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/mcp-github",
@@ -16,14 +16,14 @@
16
16
  "README.md"
17
17
  ],
18
18
  "dependencies": {
19
- "@aigne/agent-library": "^1.17.6",
20
- "@aigne/core": "^1.28.1",
21
- "@aigne/openai": "^0.6.1",
22
- "@aigne/cli": "^1.18.1"
19
+ "@aigne/agent-library": "^1.17.7",
20
+ "@aigne/cli": "^1.19.0",
21
+ "@aigne/core": "^1.28.2",
22
+ "@aigne/openai": "^0.6.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/bun": "^1.2.9",
26
- "@aigne/test-utils": "^0.4.13"
26
+ "@aigne/test-utils": "^0.4.14"
27
27
  },
28
28
  "scripts": {
29
29
  "start": "bun run index.ts",