@jrpool/kilotest 38.0.0 → 38.1.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.
@@ -42,7 +42,7 @@ As of the date of this decision, a partial initial API version already exists: a
42
42
 
43
43
  ## Considered options
44
44
 
45
- 1. **Iterate and instrument.** (1) Add a tool that implements level 4; then (2) add a tool that asks LLMs to comment on how the API design could better satisfy their needs; then (3) add metrics to make API usage and submitted LLM comments available to Kilotest managers.
45
+ 1. **Iterate and instrument.** (1) Finish redesigning the tools at levels 1, 2, and 3, to represent the hypothesized typical needs of LLM consumers; then (2) add a tool that implements level 4; then (3) add a tool that asks LLMs to comment on how the API design could better satisfy their needs; then (4) add metrics to make API usage and submitted LLM comments available to Kilotest managers.
46
46
  2. **Research first.** (1) Pause further API development while doing fundamental research to predict LLM needs; then (2) resume API and metrics development, including API redesign if the research results warrant.
47
47
 
48
48
  ## Decision
@@ -98,7 +98,7 @@ The sub-decision was **identifiers plus labels** (option 2). This decision was b
98
98
  - **Risk:** The cost estimate assumes a well-behaved client that preserves conversation history; a poorly implemented client could still incur higher-than-necessary costs.
99
99
  - **Mitigation:** MCP clients are expected to maintain message history by protocol; the ancestor labels provide a minimal human-friendly substitute.
100
100
  - **Risk:** Scenario 1 users may still want an aggregated "everything about page X" response.
101
- - **Mitigation:** A future tool can be added to aggregate the hierarchy on the server side and return a structured summary, but that decision is deferred until usage data justify it.
101
+ - **Mitigation:** A future tool can be added to aggregate the hierarchy on the server side and return a structured summary, but that decision is deferred until usage and suggestions data justify it.
102
102
 
103
103
  ## References
104
104
 
package/index.js CHANGED
@@ -345,7 +345,7 @@ const requestHandler = async (request, response) => {
345
345
  // If the service is provision of a list of all available reports:
346
346
  if (service === 'reportList') {
347
347
  // Get the response (potentially error) data.
348
- const responseData = await require(path.join(__dirname, 'reportList', 'api')).response(specs);
348
+ const responseData = await require(path.join(__dirname, 'api', 'reportList')).response(specs);
349
349
  // Send them.
350
350
  setHeaders('application/json', null, 'ultra');
351
351
  response.end(JSON.stringify(responseData));
@@ -353,7 +353,7 @@ const requestHandler = async (request, response) => {
353
353
  // Otherwise, if the service is provision of a report summary:
354
354
  else if (service === 'reportSummary') {
355
355
  // Get the response (potentially error) data.
356
- const responseData = await require(path.join(__dirname, 'reportSummary', 'api'))
356
+ const responseData = await require(path.join(__dirname, 'api', 'reportSummary'))
357
357
  .response(specs);
358
358
  // Send them.
359
359
  setHeaders('application/json', null, 'high');
package/mcp.js CHANGED
@@ -12,8 +12,8 @@ const {StreamableHTTPServerTransport} = require(
12
12
  const {z} = require('zod');
13
13
  const {isReportAvailable, isURL} = require('./util');
14
14
  const targetAPI = require('./target/api');
15
- const reportListAPI = require('./reportList/api');
16
- const reportSummaryAPI = require('./reportSummary/api');
15
+ const reportListAPI = require('./api/reportList');
16
+ const reportSummaryAPI = require('./api/reportSummary');
17
17
  const reportIssueAPI = require('./reportIssue/api');
18
18
  const testRecFormAPI = require('./testRecForm/api');
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jrpool/kilotest",
3
- "version": "38.0.0",
3
+ "version": "38.1.0",
4
4
  "description": "An ensemble testing service with a focus on accessibility",
5
5
  "main": "index.js",
6
6
  "scripts": {
File without changes
File without changes