@jrpool/kilotest 60.0.3 → 60.0.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/docs/AI-TOOLS.md +14 -4
- package/lhm.plugin.json +1 -1
- package/openapi-3.0.yaml +1 -1
- package/openapi.yaml +1 -1
- package/package.json +1 -1
- package/server.json +1 -1
package/docs/AI-TOOLS.md
CHANGED
|
@@ -95,19 +95,29 @@ A change to the tool or API contract (tool names, parameter names, schemas, resp
|
|
|
95
95
|
- The LobeHub MCP Market listing is published from `lhm.plugin.json` and is non-automated, because LobeHub requires browser-based OAuth. A normal release pushes the updated file when `npm run postPR` runs `npm run publish:lhm`; to push a contract update without a release, run `npm run publish:lhm` manually.
|
|
96
96
|
- The RapidAPI Hub listing stores a copy of the API endpoints. Its importer accepts only OpenAPI 3.0 documents, so after releasing a contract change, update the definition in Studio: `My APIs` → the Kilotest API project → `Hub Listing` → `Definitions` → `CI/CD` → `Import OpenAPI`, and upload the regenerated `openapi-3.0.yaml` (not `openapi.yaml`, which is 3.1 and is rejected). The `/publish/…` pages contain only listing metadata, not the spec.
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
### Step by step
|
|
99
99
|
|
|
100
|
-
When you make
|
|
100
|
+
When you make a change in a feature branch **without** any API or tool contract change, here are the maintenance steps:
|
|
101
|
+
|
|
102
|
+
1. Stage, commit, and optionally push all changes.
|
|
103
|
+
2. Execute `npm run prePR -- <level>` (`major`, `minor`, or `patch`).
|
|
104
|
+
3. Submit a pull request.
|
|
105
|
+
4. When all checks succeed, squash-merge to `main` and delete the feature branch on GitHub.
|
|
106
|
+
5. Execute `npm run postPR` (with interactive browser OAuth).
|
|
107
|
+
6. Wait until `npmjs.com` has processed the publication.
|
|
108
|
+
7. Use `git pull`, `npm ci`, and `pm2 restart kilotest` to deploy the revised `main` branch on the public server.
|
|
109
|
+
|
|
110
|
+
When you **make an API or tool contract change** in a feature branch, here are the maintenance steps:
|
|
101
111
|
|
|
102
112
|
1. `lhm.plugin.json`: Transform it to match `api/schemas.ts` and `mcp.ts`.
|
|
103
113
|
2. `llms.txt`, `llms-full.txt`, `capability.md`, `README.md`: Update parameter and path names.
|
|
104
|
-
3. Stage and
|
|
114
|
+
3. Stage, commit, and optionally push all changes.
|
|
105
115
|
4. Execute `npm run prePR -- <level>` (`major`, `minor`, or `patch`).
|
|
106
116
|
5. Submit a pull request.
|
|
107
117
|
6. When all checks succeed, squash-merge to `main`.
|
|
108
118
|
7. Execute `npm run postPR` (with interactive browser OAuth).
|
|
109
119
|
8. Wait until `npmjs.com` has processed the publication.
|
|
110
|
-
9. Use `git pull` and `pm2 restart kilotest` to deploy the revised `main` branch on the public server.
|
|
120
|
+
9. Use `git pull`, `npm ci`, and `pm2 restart kilotest` to deploy the revised `main` branch on the public server.
|
|
111
121
|
10. Visit the [RapidAPI Studio](https://rapidapi.com/studio) and update the API definition at `Hub Listing` → `Definitions` → `CI/CD` → `Import OpenAPI` by uploading the regenerated `openapi-3.0.yaml`.
|
|
112
122
|
|
|
113
123
|
If any step fails, see the details above for troubleshooting instructions.
|
package/lhm.plugin.json
CHANGED
package/openapi-3.0.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.0.3
|
|
|
2
2
|
info:
|
|
3
3
|
title: Kilotest API
|
|
4
4
|
description: 'Kilotest is an ensemble testing and reporting service for front-end web quality. It uses an ensemble of 12 rule engines to test web pages for front-end quality (accessibility, usability, and web standards, including HTML, CSS, ARIA, and WCAG). Kilotest acts as a web server for human users, an MCP server for AI platforms, and an API for programmatic access. With this API you can request that a page be tested or retested, discover available reports, incrementally retrieve facts from a report: from what reports are available, to what issues were reported in one report, to what elements violated one issue, to what diagnoses rule engines gave for one violation.'
|
|
5
|
-
version: 60.0.
|
|
5
|
+
version: 60.0.5
|
|
6
6
|
license:
|
|
7
7
|
name: MIT
|
|
8
8
|
url: https://github.com/jrpool/kilotest/blob/main/LICENSE
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
info:
|
|
3
3
|
title: Kilotest API
|
|
4
4
|
description: 'Kilotest is an ensemble testing and reporting service for front-end web quality. It uses an ensemble of 12 rule engines to test web pages for front-end quality (accessibility, usability, and web standards, including HTML, CSS, ARIA, and WCAG). Kilotest acts as a web server for human users, an MCP server for AI platforms, and an API for programmatic access. With this API you can request that a page be tested or retested, discover available reports, incrementally retrieve facts from a report: from what reports are available, to what issues were reported in one report, to what elements violated one issue, to what diagnoses rule engines gave for one violation.'
|
|
5
|
-
version: 60.0.
|
|
5
|
+
version: 60.0.5
|
|
6
6
|
license:
|
|
7
7
|
name: MIT
|
|
8
8
|
identifier: MIT
|
package/package.json
CHANGED