@noresponse/mcp 0.3.4 → 0.4.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 +10 -0
- package/bin/mcp-server.js +6 -5
- package/bin/mcp-server.js.map +6 -6
- package/manifest.json +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
No changes detected.
|
|
6
|
+
|
|
7
|
+
## 0.3.5
|
|
8
|
+
|
|
9
|
+
* `SDK.assessments.create()`: `response.account.risk_version` **Added**
|
|
10
|
+
* `SDK.assessments.get()`: `response.account.risk_version` **Added**
|
|
11
|
+
* `SDK.accounts.get()`: `response.risk_version` **Added**
|
|
12
|
+
|
|
3
13
|
## 0.3.4
|
|
4
14
|
|
|
5
15
|
No changes detected.
|
package/bin/mcp-server.js
CHANGED
|
@@ -48104,9 +48104,9 @@ var init_config = __esm(() => {
|
|
|
48104
48104
|
SDK_METADATA = {
|
|
48105
48105
|
language: "typescript",
|
|
48106
48106
|
openapiDocVersion: "1",
|
|
48107
|
-
sdkVersion: "0.
|
|
48107
|
+
sdkVersion: "0.4.0",
|
|
48108
48108
|
genVersion: "internal",
|
|
48109
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.
|
|
48109
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.4.0 internal 1 @noresponse/mcp"
|
|
48110
48110
|
};
|
|
48111
48111
|
});
|
|
48112
48112
|
|
|
@@ -50367,6 +50367,7 @@ var init_account = __esm(() => {
|
|
|
50367
50367
|
decisions_by_flow: AccountDecisionsByFlow$zodSchema.describe("The decision for each flow: the account's score under that flow's thresholds. A flow the workspace has not set uses its account_creation thresholds, so the flows differ only where it set them."),
|
|
50368
50368
|
id: string2().describe("The account_id the workspace sends with its assessments."),
|
|
50369
50369
|
risk: AccountRisk$zodSchema,
|
|
50370
|
+
risk_version: int().describe("The version of the account's current risk. It increases every time the account's current risk or decisions_by_flow changes, and does not decrease. Of two copies of an account, the one with the higher risk_version is newer. account.risk_changed carries the risk_version that its change made."),
|
|
50370
50371
|
schema_version: literal("1").default("1").optional().describe("Version of the body shape."),
|
|
50371
50372
|
updated_at: string2().describe("updated_at of that assessment's latest revision.")
|
|
50372
50373
|
}).describe("Body of the 200 answer to GET /v1/accounts/{account_id}: the one current risk of one of the calling workspace's accounts. It is the risk of the account's latest assessment that has a decision (status complete or partial), by created_at and then assessment_id, scored exactly as GET /v1/assessments/{assessment_id} scores that assessment, plus the account's own reason shared_api_key when a key issued to the account was used from many IP addresses or countries (POST /v1/key_usage/batches). Its assessments are the account's history (GET /v1/accounts/{account_id}/assessments).");
|
|
@@ -54933,7 +54934,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
54933
54934
|
function createMCPServer(deps) {
|
|
54934
54935
|
const server = new McpServer({
|
|
54935
54936
|
name: "NoResponse",
|
|
54936
|
-
version: "0.
|
|
54937
|
+
version: "0.4.0"
|
|
54937
54938
|
});
|
|
54938
54939
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
54939
54940
|
security: deps.security,
|
|
@@ -63622,7 +63623,7 @@ var routes = buildRouteMap({
|
|
|
63622
63623
|
var app = buildApplication(routes, {
|
|
63623
63624
|
name: "mcp",
|
|
63624
63625
|
versionInfo: {
|
|
63625
|
-
currentVersion: "0.
|
|
63626
|
+
currentVersion: "0.4.0"
|
|
63626
63627
|
}
|
|
63627
63628
|
});
|
|
63628
63629
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -63630,5 +63631,5 @@ export {
|
|
|
63630
63631
|
app
|
|
63631
63632
|
};
|
|
63632
63633
|
|
|
63633
|
-
//# debugId=
|
|
63634
|
+
//# debugId=5006D1FDA31E604A64756E2164756E21
|
|
63634
63635
|
//# sourceMappingURL=mcp-server.js.map
|