@noresponse/mcp 0.6.17 → 0.7.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/CHANGELOG.md +4 -0
- package/bin/mcp-server.js +21 -8
- package/bin/mcp-server.js.map +11 -10
- package/manifest.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/mcp-server.js
CHANGED
|
@@ -48136,9 +48136,9 @@ var init_config = __esm(() => {
|
|
|
48136
48136
|
SDK_METADATA = {
|
|
48137
48137
|
language: "typescript",
|
|
48138
48138
|
openapiDocVersion: "1",
|
|
48139
|
-
sdkVersion: "0.
|
|
48139
|
+
sdkVersion: "0.7.0",
|
|
48140
48140
|
genVersion: "internal",
|
|
48141
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.
|
|
48141
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.7.0 internal 1 @noresponse/mcp"
|
|
48142
48142
|
};
|
|
48143
48143
|
});
|
|
48144
48144
|
|
|
@@ -68078,6 +68078,17 @@ Change named retention, source or flow settings in one transaction. Requires set
|
|
|
68078
68078
|
};
|
|
68079
68079
|
});
|
|
68080
68080
|
|
|
68081
|
+
// src/models/consolelookups.ts
|
|
68082
|
+
var ConsoleLookups$zodSchema;
|
|
68083
|
+
var init_consolelookups = __esm(() => {
|
|
68084
|
+
init_zod();
|
|
68085
|
+
ConsoleLookups$zodSchema = object({
|
|
68086
|
+
limit: int().describe("Lookups allowed per UTC day."),
|
|
68087
|
+
resets_at: string2().describe("The next reset: the coming midnight UTC, when used returns to 0."),
|
|
68088
|
+
used: int().describe("Lookups spent since the last reset.")
|
|
68089
|
+
}).describe("The live environment's daily cap on assessments members make through the console (the playground), as spent on the current UTC day. Each console submission with a new Idempotency-Key spends one lookup; a replay spends nothing, and API keys and the test environment spend none. When used reaches limit, the next lookup answers 429 lookup_limit_reached until resets_at. The count is the one the cap enforces.");
|
|
68090
|
+
});
|
|
68091
|
+
|
|
68081
68092
|
// src/models/metric.ts
|
|
68082
68093
|
var Metric$zodSchema;
|
|
68083
68094
|
var init_metric = __esm(() => {
|
|
@@ -68122,13 +68133,15 @@ var init_usagecount = __esm(() => {
|
|
|
68122
68133
|
var Usage$zodSchema;
|
|
68123
68134
|
var init_usage = __esm(() => {
|
|
68124
68135
|
init_zod();
|
|
68136
|
+
init_consolelookups();
|
|
68125
68137
|
init_usagecount();
|
|
68126
68138
|
Usage$zodSchema = object({
|
|
68139
|
+
console_lookups: ConsoleLookups$zodSchema.optional().describe("The live environment's daily cap on assessments members make through the console (the playground), as spent on the current UTC day. Each console submission with a new Idempotency-Key spends one lookup; a replay spends nothing, and API keys and the test environment spend none. When used reaches limit, the next lookup answers 429 lookup_limit_reached until resets_at. The count is the one the cap enforces."),
|
|
68127
68140
|
from: string2().describe("The first UTC day covered."),
|
|
68128
68141
|
items: array(UsageCount$zodSchema).describe("Ordered by environment (live first), then day, metric, flow and depth."),
|
|
68129
68142
|
to: string2().describe("The last UTC day covered, included."),
|
|
68130
68143
|
workspace_id: string2().describe("The workspace id, which is also its live environment's workspace id; the test environment's is the same id with :test appended. A workspace created through the API is tnt_ and a 26-character ULID.")
|
|
68131
|
-
}).describe("Body of the 200 answer to GET /v1/workspaces/{workspace_id}/usage: what the workspace's environments were metered for on each UTC day from from through to. Each billable unit is counted once, where it becomes final: an assessment when it is admitted (by flow and depth), a webhook delivery once per event per endpoint (retries and replays add nothing), and a key-usage event once when the ingest accepts it. A count does not change when the assessment, account or workspace is later deleted. A day, environment or metric with nothing counted has no item. No prices
|
|
68144
|
+
}).describe("Body of the 200 answer to GET /v1/workspaces/{workspace_id}/usage: what the workspace's environments were metered for on each UTC day from from through to. Each billable unit is counted once, where it becomes final: an assessment when it is admitted (by flow and depth), a webhook delivery once per event per endpoint (retries and replays add nothing), and a key-usage event once when the ingest accepts it. A count does not change when the assessment, account or workspace is later deleted. A day, environment or metric with nothing counted has no item. No prices or billing. console_lookups is the one limit: the live environment's daily cap on console lookups, as spent today.");
|
|
68132
68145
|
});
|
|
68133
68146
|
|
|
68134
68147
|
// src/models/getusageop.ts
|
|
@@ -68273,7 +68286,7 @@ var init_usageGet2 = __esm(() => {
|
|
|
68273
68286
|
name: "get_workspace_usage",
|
|
68274
68287
|
description: `Read a workspace's usage.
|
|
68275
68288
|
|
|
68276
|
-
Read daily usage units for the environments you can access. These counts are unpriced.`,
|
|
68289
|
+
Read daily usage units for the environments you can access. These counts are unpriced. With live access it also returns the daily console lookup cap: used, limit and resets_at.`,
|
|
68277
68290
|
annotations: {
|
|
68278
68291
|
title: "Read unpriced workspace usage in the key's environment",
|
|
68279
68292
|
destructiveHint: false,
|
|
@@ -69544,7 +69557,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
69544
69557
|
function createMCPServer(deps) {
|
|
69545
69558
|
const server = new McpServer({
|
|
69546
69559
|
name: "NoResponse",
|
|
69547
|
-
version: "0.
|
|
69560
|
+
version: "0.7.0"
|
|
69548
69561
|
});
|
|
69549
69562
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
69550
69563
|
security: deps.security,
|
|
@@ -70054,7 +70067,7 @@ Replay a recorded delivery for the current audit subscription. Requires audit_ma
|
|
|
70054
70067
|
name: "get_workspace_usage",
|
|
70055
70068
|
description: `Read a workspace's usage.
|
|
70056
70069
|
|
|
70057
|
-
Read daily usage units for the environments you can access. These counts are unpriced.`
|
|
70070
|
+
Read daily usage units for the environments you can access. These counts are unpriced. With live access it also returns the daily console lookup cap: used, limit and resets_at.`
|
|
70058
70071
|
},
|
|
70059
70072
|
{
|
|
70060
70073
|
name: "list_invites",
|
|
@@ -78825,7 +78838,7 @@ var routes = buildRouteMap({
|
|
|
78825
78838
|
var app = buildApplication(routes, {
|
|
78826
78839
|
name: "mcp",
|
|
78827
78840
|
versionInfo: {
|
|
78828
|
-
currentVersion: "0.
|
|
78841
|
+
currentVersion: "0.7.0"
|
|
78829
78842
|
}
|
|
78830
78843
|
});
|
|
78831
78844
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -78833,5 +78846,5 @@ export {
|
|
|
78833
78846
|
app
|
|
78834
78847
|
};
|
|
78835
78848
|
|
|
78836
|
-
//# debugId=
|
|
78849
|
+
//# debugId=B1B8A34B2355226564756E2164756E21
|
|
78837
78850
|
//# sourceMappingURL=mcp-server.js.map
|