@fileverse/api 0.0.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/README.md +142 -0
- package/dist/cli/index.js +1258 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/commands/index.js +1548 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/index.js +17802 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/index.js +14052 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/worker.js +2846 -0
- package/dist/worker.js.map +1 -0
- package/package.json +93 -0
- package/public/llm.txt +621 -0
- package/public/openapi.json +922 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fileverse/api",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Fileverse API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js",
|
|
12
|
+
"./server": "./dist/index.js",
|
|
13
|
+
"./worker": "./dist/worker.js"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"api": "dist/cli/index.js",
|
|
17
|
+
"fileverse-api": "dist/cli/index.js",
|
|
18
|
+
"ddctl": "dist/commands/index.js",
|
|
19
|
+
"fileverse-api-mcp": "dist/mcp/index.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"public"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "node scripts/generate-constants.cjs config/network.config.json && tsup",
|
|
27
|
+
"build:local": "node scripts/generate-constants.cjs config/dev.network.config.json && tsup",
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"clean": "rm -rf dist",
|
|
30
|
+
"generate:constants": "node scripts/generate-constants.cjs",
|
|
31
|
+
"prepublishOnly": "npm run typecheck && npm run clean && npm run build",
|
|
32
|
+
"dev": "node scripts/generate-constants.cjs config/dev.network.config.json && tsx watch src/index.ts",
|
|
33
|
+
"dev:worker": "node scripts/generate-constants.cjs config/dev.network.config.json && tsx watch src/worker.ts",
|
|
34
|
+
"dev:cli": "tsx src/commands/index.ts",
|
|
35
|
+
"dev:api": "tsx src/cli/index.ts",
|
|
36
|
+
"start:api": "NODE_ENV=production node dist/index.js",
|
|
37
|
+
"start:worker": "NODE_ENV=production node dist/worker.js",
|
|
38
|
+
"lint": "eslint . --ext .ts,.js",
|
|
39
|
+
"format": "prettier --write .",
|
|
40
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [],
|
|
43
|
+
"author": "",
|
|
44
|
+
"license": "ISC",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@fileverse/content-processor": "^0.0.1",
|
|
47
|
+
"@fileverse/crypto": "^0.0.21",
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
49
|
+
"@stablelib/ed25519": "^2.0.2",
|
|
50
|
+
"@ucans/ucans": "^0.12.0",
|
|
51
|
+
"axios": "^1.7.9",
|
|
52
|
+
"better-sqlite3": "^12.5.0",
|
|
53
|
+
"cli-table3": "^0.6.5",
|
|
54
|
+
"commander": "^14.0.2",
|
|
55
|
+
"cors": "^2.8.5",
|
|
56
|
+
"dotenv": "^16.4.7",
|
|
57
|
+
"express": "^4.21.2",
|
|
58
|
+
"express-validation": "^4.1.1",
|
|
59
|
+
"futoin-hkdf": "^1.5.3",
|
|
60
|
+
"helmet": "^8.0.0",
|
|
61
|
+
"js-base64": "^3.7.8",
|
|
62
|
+
"morgan": "^1.10.0",
|
|
63
|
+
"multer": "^2.0.2",
|
|
64
|
+
"ox": "^0.11.3",
|
|
65
|
+
"permissionless": "^0.3.4",
|
|
66
|
+
"pino": "^10.3.0",
|
|
67
|
+
"pino-pretty": "^13.1.3",
|
|
68
|
+
"prompts": "^2.4.2",
|
|
69
|
+
"short-uuid": "^6.0.3",
|
|
70
|
+
"tweetnacl": "^1.0.3",
|
|
71
|
+
"uuidv7": "^1.1.0",
|
|
72
|
+
"viem": "^2.45.0"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
76
|
+
"@types/cors": "^2.8.17",
|
|
77
|
+
"@types/express": "^4.17.21",
|
|
78
|
+
"@types/morgan": "^1.9.9",
|
|
79
|
+
"@types/multer": "^2.0.0",
|
|
80
|
+
"@types/node": "^20.14.0",
|
|
81
|
+
"@types/prompts": "^2.4.9",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^8.23.0",
|
|
83
|
+
"@typescript-eslint/parser": "^8.23.0",
|
|
84
|
+
"eslint": "^9.20.0",
|
|
85
|
+
"eslint-config-prettier": "^10.0.1",
|
|
86
|
+
"nodemon": "^3.1.11",
|
|
87
|
+
"prettier": "^3.5.0",
|
|
88
|
+
"ts-node": "^10.9.2",
|
|
89
|
+
"tsup": "^8.5.1",
|
|
90
|
+
"tsx": "^4.21.0",
|
|
91
|
+
"typescript": "^5.4.5"
|
|
92
|
+
}
|
|
93
|
+
}
|