@electron-stagewright/plugin-budget 0.0.0-stage → 0.2.0

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.
Files changed (55) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +214 -2
  3. package/dist/budget.d.ts +143 -0
  4. package/dist/budget.d.ts.map +1 -0
  5. package/dist/budget.js +134 -0
  6. package/dist/budget.js.map +1 -0
  7. package/dist/bundle.d.ts +15 -0
  8. package/dist/bundle.d.ts.map +1 -0
  9. package/dist/bundle.js +64 -0
  10. package/dist/bundle.js.map +1 -0
  11. package/dist/check-api.d.ts +15 -0
  12. package/dist/check-api.d.ts.map +1 -0
  13. package/dist/check-api.js +11 -0
  14. package/dist/check-api.js.map +1 -0
  15. package/dist/check.d.ts +50 -0
  16. package/dist/check.d.ts.map +1 -0
  17. package/dist/check.js +198 -0
  18. package/dist/check.js.map +1 -0
  19. package/dist/cli.d.ts +85 -0
  20. package/dist/cli.d.ts.map +1 -0
  21. package/dist/cli.js +464 -0
  22. package/dist/cli.js.map +1 -0
  23. package/dist/index.d.ts +24 -0
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +17 -0
  26. package/dist/index.js.map +1 -0
  27. package/dist/measure.d.ts +81 -0
  28. package/dist/measure.d.ts.map +1 -0
  29. package/dist/measure.js +269 -0
  30. package/dist/measure.js.map +1 -0
  31. package/dist/memory.d.ts +43 -0
  32. package/dist/memory.d.ts.map +1 -0
  33. package/dist/memory.js +159 -0
  34. package/dist/memory.js.map +1 -0
  35. package/dist/plugin.d.ts +13 -0
  36. package/dist/plugin.d.ts.map +1 -0
  37. package/dist/plugin.js +456 -0
  38. package/dist/plugin.js.map +1 -0
  39. package/dist/probe.d.ts +74 -0
  40. package/dist/probe.d.ts.map +1 -0
  41. package/dist/probe.js +181 -0
  42. package/dist/probe.js.map +1 -0
  43. package/dist/render.d.ts +21 -0
  44. package/dist/render.d.ts.map +1 -0
  45. package/dist/render.js +63 -0
  46. package/dist/render.js.map +1 -0
  47. package/dist/run.d.ts +267 -0
  48. package/dist/run.d.ts.map +1 -0
  49. package/dist/run.js +257 -0
  50. package/dist/run.js.map +1 -0
  51. package/dist/session.d.ts +79 -0
  52. package/dist/session.d.ts.map +1 -0
  53. package/dist/session.js +263 -0
  54. package/dist/session.js.map +1 -0
  55. package/package.json +67 -3
package/package.json CHANGED
@@ -1,6 +1,70 @@
1
1
  {
2
2
  "name": "@electron-stagewright/plugin-budget",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "Performance budget plugin for Electron Stagewright: measure startup, per-process memory, main-thread blocking, IPC latency, and bundle size, and gate them against a budget file from an agent or CI.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "johnny4young <johnny.iv.young@gmail.com>",
8
+ "homepage": "https://electron-stagewright.github.io/electron-stagewright/",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/electron-stagewright/electron-stagewright.git",
12
+ "directory": "packages/plugin-budget"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/electron-stagewright/electron-stagewright/issues"
16
+ },
17
+ "keywords": [
18
+ "electron",
19
+ "mcp",
20
+ "stagewright",
21
+ "performance",
22
+ "performance-budget",
23
+ "memory",
24
+ "ai-agent"
25
+ ],
26
+ "main": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "bin": {
29
+ "electron-stagewright-budget": "./dist/cli.js"
30
+ },
31
+ "files": [
32
+ "dist/",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "import": "./dist/index.js"
40
+ },
41
+ "./check": {
42
+ "types": "./dist/check-api.d.ts",
43
+ "import": "./dist/check-api.js",
44
+ "default": "./dist/check-api.js"
45
+ },
46
+ "./cli": {
47
+ "types": "./dist/cli.d.ts",
48
+ "import": "./dist/cli.js",
49
+ "default": "./dist/cli.js"
50
+ },
51
+ "./package.json": "./package.json"
52
+ },
53
+ "dependencies": {
54
+ "zod": "^4.4.3",
55
+ "@electron-stagewright/core": "0.10.0"
56
+ },
57
+ "engines": {
58
+ "node": ">=26.13.1"
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "devDependencies": {
64
+ "@electron-stagewright/testkit": "0.0.0"
65
+ },
66
+ "scripts": {
67
+ "build": "tsc -p tsconfig.json",
68
+ "typecheck": "tsc -p tsconfig.json --noEmit"
69
+ }
6
70
  }