@fileverse/api 0.0.6 → 0.0.8
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/cli/index.js +6 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/worker.js.map +1 -1
- package/package.json +2 -4
- package/dist/hono.js +0 -16377
- package/dist/hono.js.map +0 -1
package/dist/cli/index.js
CHANGED
|
@@ -1431,7 +1431,7 @@ var decryptSavedData = async (apiKey, encryptedData) => {
|
|
|
1431
1431
|
};
|
|
1432
1432
|
|
|
1433
1433
|
// src/cli/index.ts
|
|
1434
|
-
var program = new Command().name("fileverse-api").description("Run the Fileverse API server").version("0.0.
|
|
1434
|
+
var program = new Command().name("fileverse-api").description("Run the Fileverse API server").version("0.0.8").option("--apiKey <key>", "API key for authentication").option("--rpcUrl <url>", "RPC URL for blockchain connection").option("--port <port>", "Port to run the server on", "8001").option("--db <path>", "Database path").action(async (options) => {
|
|
1435
1435
|
try {
|
|
1436
1436
|
console.log("Fileverse API - Starting initialization...\n");
|
|
1437
1437
|
if (needsPrompting(options)) {
|
|
@@ -1479,17 +1479,13 @@ var program = new Command().name("fileverse-api").description("Run the Fileverse
|
|
|
1479
1479
|
API Server: http://127.0.0.1:${options.port}
|
|
1480
1480
|
Worker: Active
|
|
1481
1481
|
|
|
1482
|
-
MCP:
|
|
1482
|
+
MCP: Connect Claude to your Fileverse API:
|
|
1483
1483
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
"fileverse-api": {
|
|
1487
|
-
"command": "fileverse-api-mcp"
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1484
|
+
Via stdio:
|
|
1485
|
+
claude mcp add fileverse-api -- fileverse-api-mcp
|
|
1491
1486
|
|
|
1492
|
-
|
|
1487
|
+
Via HTTP:
|
|
1488
|
+
claude mcp add --transport http fileverse-api http://127.0.0.1:${options.port}/mcp
|
|
1493
1489
|
|
|
1494
1490
|
Press Ctrl+C to stop.
|
|
1495
1491
|
`);
|