pi-cloudflare 0.4.1 → 0.5.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/package.json
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-cloudflare",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Pi extension proxying Cloudflare's official MCP servers (API, docs, bindings, builds, observability) with cf_ prefixed tools.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"pi-package",
|
|
7
|
-
"pi",
|
|
8
|
-
"extension",
|
|
9
6
|
"cloudflare",
|
|
10
|
-
"
|
|
7
|
+
"extension",
|
|
8
|
+
"mcp",
|
|
9
|
+
"pi",
|
|
10
|
+
"pi-package"
|
|
11
11
|
],
|
|
12
|
+
"homepage": "https://github.com/0xPlayerOne/pi-cloudflare#readme",
|
|
13
|
+
"bugs": "https://github.com/0xPlayerOne/pi-cloudflare/issues",
|
|
12
14
|
"license": "MIT",
|
|
13
15
|
"author": "0xPlayerOne",
|
|
14
16
|
"repository": {
|
|
15
17
|
"type": "git",
|
|
16
18
|
"url": "https://github.com/0xPlayerOne/pi-cloudflare.git"
|
|
17
19
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"type": "module",
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": "^20.19.0 || ^22.12.0 || >=23"
|
|
20
|
+
"bin": {
|
|
21
|
+
"pi-cloudflare-setup": "./bin/setup.mjs"
|
|
23
22
|
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"skills",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
24
29
|
"sideEffects": false,
|
|
25
30
|
"main": "./dist/index.js",
|
|
26
31
|
"types": "./dist/index.d.ts",
|
|
@@ -33,25 +38,11 @@
|
|
|
33
38
|
"default": "./package.json"
|
|
34
39
|
}
|
|
35
40
|
},
|
|
36
|
-
"files": [
|
|
37
|
-
"dist",
|
|
38
|
-
"skills",
|
|
39
|
-
"README.md"
|
|
40
|
-
],
|
|
41
|
-
"pi": {
|
|
42
|
-
"extensions": [
|
|
43
|
-
"./dist/index.js"
|
|
44
|
-
],
|
|
45
|
-
"skills": [
|
|
46
|
-
"./skills"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"bin": {
|
|
50
|
-
"pi-cloudflare-setup": "./bin/setup.mjs"
|
|
51
|
-
},
|
|
52
41
|
"scripts": {
|
|
53
42
|
"build": "tsc -p tsconfig.json",
|
|
54
|
-
"format:check": "
|
|
43
|
+
"format:check": "oxfmt --check .",
|
|
44
|
+
"fmt": "oxfmt .",
|
|
45
|
+
"lint": "oxlint",
|
|
55
46
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
56
47
|
"prepublishOnly": "npm run build",
|
|
57
48
|
"test": "node --test test/config.test.mjs test/servers.test.mjs test/proxy.test.mjs test/oauth.test.mjs test/token-store.test.mjs test/auth-recovery.test.mjs",
|
|
@@ -63,7 +54,19 @@
|
|
|
63
54
|
},
|
|
64
55
|
"devDependencies": {
|
|
65
56
|
"@types/node": "^22.0.0",
|
|
66
|
-
"
|
|
57
|
+
"oxfmt": "^0.66.0",
|
|
58
|
+
"oxlint": "^1.81.0",
|
|
67
59
|
"typescript": "^5.9.0"
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": "^20.19.0 || ^22.12.0 || >=23"
|
|
63
|
+
},
|
|
64
|
+
"pi": {
|
|
65
|
+
"extensions": [
|
|
66
|
+
"./dist/index.js"
|
|
67
|
+
],
|
|
68
|
+
"skills": [
|
|
69
|
+
"./skills"
|
|
70
|
+
]
|
|
68
71
|
}
|
|
69
72
|
}
|
|
@@ -341,9 +341,6 @@ A Promise that is not `await`ed, `return`ed, or passed to `ctx.waitUntil()` is a
|
|
|
341
341
|
**Check**: every `fetch()`, `env.*.put()`, `env.*.send()`, and any other async call is handled. Enable `no-floating-promises` lint rule.
|
|
342
342
|
|
|
343
343
|
```bash
|
|
344
|
-
# ESLint
|
|
345
|
-
npx eslint --rule '{"@typescript-eslint/no-floating-promises": "error"}' src/
|
|
346
|
-
|
|
347
344
|
# oxlint
|
|
348
345
|
npx oxlint --deny typescript/no-floating-promises src/
|
|
349
346
|
```
|