pi-cloudflare 0.5.3 → 0.5.5
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
CHANGED
|
@@ -133,9 +133,14 @@ closed on scope). They complement; neither replaces the other.
|
|
|
133
133
|
|
|
134
134
|
```bash
|
|
135
135
|
npm install
|
|
136
|
-
npm test #
|
|
136
|
+
npm test # build + unit tests (mocked, no network)
|
|
137
|
+
npm run perf:check # performance budgets enforced by Code Foundry's performance job
|
|
138
|
+
npm run perf # build/startup/request/package performance report
|
|
137
139
|
```
|
|
138
140
|
|
|
141
|
+
Performance budgets, measured surfaces, and the release validation path are documented in
|
|
142
|
+
[`docs/performance.md`](docs/performance.md).
|
|
143
|
+
|
|
139
144
|
## License
|
|
140
145
|
|
|
141
146
|
MIT for this package's own code (see LICENSE). Vendored skill content
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-cloudflare",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Pi extension proxying Cloudflare's official MCP servers (API, docs, bindings, builds, observability) with cf_ prefixed tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
"format:check": "oxfmt --check .",
|
|
44
44
|
"fmt": "oxfmt .",
|
|
45
45
|
"lint": "oxlint",
|
|
46
|
+
"perf": "node scripts/performance-audit.mjs",
|
|
47
|
+
"perf:check": "node scripts/performance-audit.mjs --check",
|
|
46
48
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
47
49
|
"prepublishOnly": "npm run build",
|
|
48
50
|
"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",
|
|
@@ -151,7 +151,7 @@ Delete transport settings entirely. Remove session APIs. Isolate users with **se
|
|
|
151
151
|
|
|
152
152
|
### Deploy cutover
|
|
153
153
|
|
|
154
|
-
|
|
154
|
+
Validate a preview deployment first. Production is **one** deploy of matching Worker + image:
|
|
155
155
|
|
|
156
156
|
```sh
|
|
157
157
|
npx wrangler deploy --containers-rollout=immediate
|