@aigne/example-mcp-sqlite 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 +5 -5
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ AI ->> User: There are 10 products in the database.
|
|
|
83
83
|
npx -y @aigne/example-mcp-sqlite
|
|
84
84
|
|
|
85
85
|
# Run in interactive chat mode
|
|
86
|
-
npx -y @aigne/example-mcp-sqlite --
|
|
86
|
+
npx -y @aigne/example-mcp-sqlite --interactive
|
|
87
87
|
|
|
88
88
|
# Use pipeline input
|
|
89
89
|
echo "create a product table with columns name description and createdAt" | npx -y @aigne/example-mcp-sqlite
|
|
@@ -91,7 +91,7 @@ echo "create a product table with columns name description and createdAt" | npx
|
|
|
91
91
|
|
|
92
92
|
### Connect to an AI Model
|
|
93
93
|
|
|
94
|
-
As an example, running `npx -y @aigne/example-mcp-sqlite --
|
|
94
|
+
As an example, running `npx -y @aigne/example-mcp-sqlite --interactive"` requires an AI model. If this is your first run, you need to connect one.
|
|
95
95
|
|
|
96
96
|

|
|
97
97
|
|
|
@@ -152,7 +152,7 @@ pnpm install
|
|
|
152
152
|
pnpm start # Run in one-shot mode (default)
|
|
153
153
|
|
|
154
154
|
# Run in interactive chat mode
|
|
155
|
-
pnpm start -- --
|
|
155
|
+
pnpm start -- --interactive
|
|
156
156
|
|
|
157
157
|
# Use pipeline input
|
|
158
158
|
echo "create a product table with columns name description and createdAt" | pnpm start
|
|
@@ -164,7 +164,7 @@ The example supports the following command-line parameters:
|
|
|
164
164
|
|
|
165
165
|
| Parameter | Description | Default |
|
|
166
166
|
|-----------|-------------|---------|
|
|
167
|
-
| `--
|
|
167
|
+
| `--interactive` | Run in interactive chat mode | Disabled (one-shot mode) |
|
|
168
168
|
| `--model <provider[:model]>` | AI model to use in format 'provider\[:model]' where model is optional. Examples: 'openai' or 'openai:gpt-4o-mini' | openai |
|
|
169
169
|
| `--temperature <value>` | Temperature for model generation | Provider default |
|
|
170
170
|
| `--top-p <value>` | Top-p sampling value | Provider default |
|
|
@@ -177,7 +177,7 @@ The example supports the following command-line parameters:
|
|
|
177
177
|
|
|
178
178
|
```bash
|
|
179
179
|
# Run in chat mode (interactive)
|
|
180
|
-
pnpm start -- --
|
|
180
|
+
pnpm start -- --interactive
|
|
181
181
|
|
|
182
182
|
# Set logging level
|
|
183
183
|
pnpm start -- --log-level DEBUG
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-mcp-sqlite",
|
|
3
|
-
"version": "1.19.6-beta.
|
|
3
|
+
"version": "1.19.6-beta.31",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework and Sqlite MCP Server to interact with a SQLite database",
|
|
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-sqlite",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@aigne/agent-library": "^1.24.0-beta.
|
|
20
|
-
"@aigne/cli": "^1.59.0-beta.
|
|
21
|
-
"@aigne/core": "^1.72.0-beta.
|
|
22
|
-
"@aigne/default-memory": "^1.
|
|
23
|
-
"@aigne/openai": "^0.16.16-beta.
|
|
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",
|