@aigne/example-mcp-puppeteer 1.19.6-beta.3 → 1.19.6-beta.31
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/README.md +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ AI ->> User: The content is as follows: ...
|
|
|
77
77
|
npx -y @aigne/example-mcp-puppeteer
|
|
78
78
|
|
|
79
79
|
# Run in interactive chat mode
|
|
80
|
-
npx -y @aigne/example-mcp-puppeteer --
|
|
80
|
+
npx -y @aigne/example-mcp-puppeteer --interactive
|
|
81
81
|
|
|
82
82
|
# Use pipeline input
|
|
83
83
|
echo "extract content from https://www.arcblock.io" | npx -y @aigne/example-mcp-puppeteer
|
|
@@ -85,7 +85,7 @@ echo "extract content from https://www.arcblock.io" | npx -y @aigne/example-mcp-
|
|
|
85
85
|
|
|
86
86
|
### Connect to an AI Model
|
|
87
87
|
|
|
88
|
-
As an example, running `npx -y @aigne/example-mcp-puppeteer --
|
|
88
|
+
As an example, running `npx -y @aigne/example-mcp-puppeteer --interactive` requires an AI model. If this is your first run, you need to connect one.
|
|
89
89
|
|
|
90
90
|

|
|
91
91
|
|
|
@@ -152,7 +152,7 @@ The example supports the following command-line parameters:
|
|
|
152
152
|
|
|
153
153
|
| Parameter | Description | Default |
|
|
154
154
|
|-----------|-------------|---------|
|
|
155
|
-
| `--
|
|
155
|
+
| `--interactive` | Run in interactive chat mode | Disabled (one-shot mode) |
|
|
156
156
|
| `--model <provider[:model]>` | AI model to use in format 'provider\[:model]' where model is optional. Examples: 'openai' or 'openai:gpt-4o-mini' | openai |
|
|
157
157
|
| `--temperature <value>` | Temperature for model generation | Provider default |
|
|
158
158
|
| `--top-p <value>` | Top-p sampling value | Provider default |
|
|
@@ -165,7 +165,7 @@ The example supports the following command-line parameters:
|
|
|
165
165
|
|
|
166
166
|
```bash
|
|
167
167
|
# Run in chat mode (interactive)
|
|
168
|
-
pnpm start -- --
|
|
168
|
+
pnpm start -- --interactive
|
|
169
169
|
|
|
170
170
|
# Set logging level
|
|
171
171
|
pnpm start -- --log-level DEBUG
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-mcp-puppeteer",
|
|
3
|
-
"version": "1.19.6-beta.
|
|
3
|
+
"version": "1.19.6-beta.31",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework and Puppeteer MCP Server to extract content from websites using Puppeteer",
|
|
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-puppeteer",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@aigne/
|
|
20
|
-
"@aigne/cli": "^1.59.0-beta.
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/
|
|
23
|
-
"@aigne/
|
|
19
|
+
"@aigne/agent-library": "^1.24.0-beta.26",
|
|
20
|
+
"@aigne/cli": "^1.59.0-beta.30",
|
|
21
|
+
"@aigne/core": "^1.72.0-beta.24",
|
|
22
|
+
"@aigne/default-memory": "^1.4.0-beta.23",
|
|
23
|
+
"@aigne/openai": "^0.16.16-beta.24"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/bun": "^1.2.22",
|
|
27
|
-
"@aigne/test-utils": "^0.5.69-beta.
|
|
27
|
+
"@aigne/test-utils": "^0.5.69-beta.24"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"start": "bun run index.ts",
|