jui-tools-mcp-server 2.16.0 → 2.17.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.
- package/.github/workflows/test.yml +2 -1
- package/README.md +16 -1
- package/dist/index.js +16 -1
- package/dist/tools/infra/infra_check.d.ts +10 -0
- package/dist/tools/infra/infra_check.js +43 -0
- package/dist/tools/infra/infra_common.d.ts +40 -0
- package/dist/tools/infra/infra_common.js +44 -0
- package/dist/tools/infra/infra_cost.d.ts +3 -0
- package/dist/tools/infra/infra_cost.js +118 -0
- package/dist/tools/infra/infra_load_validate.d.ts +8 -0
- package/dist/tools/infra/infra_load_validate.js +39 -0
- package/dist/tools/infra/infra_prices_validate.d.ts +7 -0
- package/dist/tools/infra/infra_prices_validate.js +34 -0
- package/dist/tools/infra/infra_seed.d.ts +27 -0
- package/dist/tools/infra/infra_seed.js +81 -0
- package/dist/tools/infra/infra_validate.d.ts +8 -0
- package/dist/tools/infra/infra_validate.js +37 -0
- package/package.json +1 -1
- package/scripts/record-infra-fixtures.sh +78 -0
- package/src/index.ts +17 -1
- package/src/tools/infra/infra_check.ts +49 -0
- package/src/tools/infra/infra_common.ts +69 -0
- package/src/tools/infra/infra_cost.ts +122 -0
- package/src/tools/infra/infra_load_validate.ts +46 -0
- package/src/tools/infra/infra_prices_validate.ts +41 -0
- package/src/tools/infra/infra_seed.ts +88 -0
- package/src/tools/infra/infra_validate.ts +44 -0
- package/tests/fixtures/infra/RECORDED_FROM +1 -0
- package/tests/fixtures/infra/check-infra.json +101 -0
- package/tests/fixtures/infra/cost-infra.day.json +10080 -0
- package/tests/fixtures/infra/cost-infra.month-by-node.json +484 -0
- package/tests/fixtures/infra/cost-infra.month.json +381 -0
- package/tests/fixtures/infra/cost-infra.refused.json +5 -0
- package/tests/fixtures/infra/seed-infra.draft.json +233 -0
- package/tests/fixtures/infra/seed-infra.report.json +46 -0
- package/tests/fixtures/infra/validate-infra-load.errors.json +39 -0
- package/tests/fixtures/infra/validate-infra-load.ok.json +29 -0
- package/tests/fixtures/infra/validate-infra-load.unreadable.json +6 -0
- package/tests/fixtures/infra/validate-infra-prices.ok.json +9 -0
- package/tests/fixtures/infra/validate-infra.errors.json +39 -0
- package/tests/fixtures/infra/validate-infra.ok.json +30 -0
- package/tests/fixtures/infra/validate-infra.unreadable.json +6 -0
- package/tests/tool_count.test.ts +1 -1
- package/tests/tools_infra.test.ts +332 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ok": true,
|
|
3
|
+
"exit": 0,
|
|
4
|
+
"checks": [
|
|
5
|
+
{
|
|
6
|
+
"name": "infra-load",
|
|
7
|
+
"type": "builtin:infra-load",
|
|
8
|
+
"status": "ok",
|
|
9
|
+
"summary": {
|
|
10
|
+
"ok": 10,
|
|
11
|
+
"mismatch": 0,
|
|
12
|
+
"missing_in_impl": 0,
|
|
13
|
+
"missing_in_doc": 0,
|
|
14
|
+
"skipped": 6,
|
|
15
|
+
"warning": 2,
|
|
16
|
+
"unit": "node"
|
|
17
|
+
},
|
|
18
|
+
"results": [
|
|
19
|
+
{
|
|
20
|
+
"target": "load/ordinary/stripe",
|
|
21
|
+
"status": "skipped",
|
|
22
|
+
"confidence": "metadata",
|
|
23
|
+
"message": "its kind reads no load"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"target": "load/ordinary/api-role",
|
|
27
|
+
"status": "skipped",
|
|
28
|
+
"confidence": "metadata",
|
|
29
|
+
"message": "its kind reads no load"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"target": "load/ordinary/api-5xx",
|
|
33
|
+
"status": "skipped",
|
|
34
|
+
"confidence": "metadata",
|
|
35
|
+
"message": "its kind reads no load"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"target": "load/sale/stripe",
|
|
39
|
+
"status": "skipped",
|
|
40
|
+
"confidence": "metadata",
|
|
41
|
+
"message": "its kind reads no load"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"target": "load/sale/mailer",
|
|
45
|
+
"status": "warning",
|
|
46
|
+
"confidence": "metadata",
|
|
47
|
+
"expected": "emails",
|
|
48
|
+
"message": "billed by use, but this load definition gives it no load (undefined, not 0)"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"target": "load/sale/assets",
|
|
52
|
+
"status": "warning",
|
|
53
|
+
"confidence": "metadata",
|
|
54
|
+
"expected": "get_requests, put_requests, storage_gb, egress_gb",
|
|
55
|
+
"message": "billed by use, but this load definition gives it no load (undefined, not 0)"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"target": "load/sale/api-role",
|
|
59
|
+
"status": "skipped",
|
|
60
|
+
"confidence": "metadata",
|
|
61
|
+
"message": "its kind reads no load"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"target": "load/sale/api-5xx",
|
|
65
|
+
"status": "skipped",
|
|
66
|
+
"confidence": "metadata",
|
|
67
|
+
"message": "its kind reads no load"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"warnings": [],
|
|
71
|
+
"report": "/private<ROOT>/room/docs/infra/load/.check-report.infra-load.json"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "infra-code",
|
|
75
|
+
"type": "builtin:infra-code",
|
|
76
|
+
"status": "ok",
|
|
77
|
+
"summary": {
|
|
78
|
+
"ok": 0,
|
|
79
|
+
"mismatch": 0,
|
|
80
|
+
"missing_in_impl": 0,
|
|
81
|
+
"missing_in_doc": 0,
|
|
82
|
+
"skipped": 0,
|
|
83
|
+
"warning": 1,
|
|
84
|
+
"unit": "reference"
|
|
85
|
+
},
|
|
86
|
+
"results": [
|
|
87
|
+
{
|
|
88
|
+
"target": "stripe/stripe#evidence/0",
|
|
89
|
+
"status": "warning",
|
|
90
|
+
"confidence": "proof",
|
|
91
|
+
"expected": "backend/app/config.py",
|
|
92
|
+
"message": "the evidence file is not there"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"warnings": [
|
|
96
|
+
"[unverified] *: only Python and JavaScript / TypeScript imports, AWS SDK clients and environment variable names are read (not values, not calls): a service reached another way is not seen"
|
|
97
|
+
],
|
|
98
|
+
"report": "/private<ROOT>/room/docs/infra/.check-report.infra-code.json"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|