@noresponse/mcp 0.5.0 → 0.5.2
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 +10 -9
- package/bin/mcp-server.js.map +9 -9
- package/manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.2
|
|
4
|
+
|
|
5
|
+
No changes detected.
|
|
6
|
+
|
|
7
|
+
## 0.5.1
|
|
8
|
+
|
|
9
|
+
* `SDK.accounts.recordEnforcement()`:
|
|
10
|
+
* `request.body.action.enum(activate)` **Added**
|
|
11
|
+
* `response.action.enum(activate)` **Added** (Breaking ⚠️)
|
|
12
|
+
|
|
3
13
|
## 0.5.0
|
|
4
14
|
|
|
5
15
|
* `SDK.accounts.recordEnforcement()`: `response.code` **Changed** (Breaking ⚠️)
|
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.5.
|
|
48107
|
+
sdkVersion: "0.5.2",
|
|
48108
48108
|
genVersion: "internal",
|
|
48109
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.5.
|
|
48109
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.5.2 internal 1 @noresponse/mcp"
|
|
48110
48110
|
};
|
|
48111
48111
|
});
|
|
48112
48112
|
|
|
@@ -52427,7 +52427,7 @@ var init_listaccountsop = __esm(() => {
|
|
|
52427
52427
|
ListAccountsRequest$zodSchema = object({
|
|
52428
52428
|
changed_since: string2().describe("next_cursor from an earlier page, unchanged. Absent, the list starts from the oldest change.").optional(),
|
|
52429
52429
|
limit: int().default(50).describe("Most accounts per page."),
|
|
52430
|
-
unenforced: boolean2().default(false).describe("true lists only accounts with a decision other than allow for some flow
|
|
52430
|
+
unenforced: boolean2().default(false).describe("true lists only accounts with no applied enforcement at their current risk_version that have a decision other than allow for some flow or a hold no later applied enforcement resolved.")
|
|
52431
52431
|
});
|
|
52432
52432
|
ListAccountsResponseResult$zodSchema = union([
|
|
52433
52433
|
BadRequestError$zodSchema,
|
|
@@ -52582,8 +52582,9 @@ var init_enforcementaction = __esm(() => {
|
|
|
52582
52582
|
"unrestrict",
|
|
52583
52583
|
"fail_onboarding",
|
|
52584
52584
|
"reject_activation",
|
|
52585
|
+
"activate",
|
|
52585
52586
|
"none"
|
|
52586
|
-
]).describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account) or none (decided to take no action).");
|
|
52587
|
+
]).describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account), activate (let a held onboarding or provisional account in) or none (decided to take no action).");
|
|
52587
52588
|
});
|
|
52588
52589
|
|
|
52589
52590
|
// src/models/enforcementprovider.ts
|
|
@@ -52632,7 +52633,7 @@ var init_enforcement = __esm(() => {
|
|
|
52632
52633
|
init_flow();
|
|
52633
52634
|
Enforcement$zodSchema = object({
|
|
52634
52635
|
account_id: string2().describe("The account_id of the request path."),
|
|
52635
|
-
action: EnforcementAction$zodSchema.describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account) or none (decided to take no action)."),
|
|
52636
|
+
action: EnforcementAction$zodSchema.describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account), activate (let a held onboarding or provisional account in) or none (decided to take no action)."),
|
|
52636
52637
|
created_at: string2().describe("When NoResponse first recorded this enforcement, in UTC. A failed record that becomes applied keeps it."),
|
|
52637
52638
|
error_code: string2().optional().describe("Why a failed action failed, as a short code of the workspace's choosing (lower-case letters, digits, '_', '.' and '-'), such as the identity provider's error code. Allowed only with status failed: with status applied it answers 400 invalid_request. Keep personal data out of it."),
|
|
52638
52639
|
flow: Flow$zodSchema.describe("The event an assessment is made for: account_creation (a user creates an account), login (a user returns to an existing account) or purchase (a payment or a credit grant). The account's risk is reported with the decision for this flow."),
|
|
@@ -52654,7 +52655,7 @@ var init_enforcementrequest = __esm(() => {
|
|
|
52654
52655
|
init_enforcementstatus();
|
|
52655
52656
|
init_flow();
|
|
52656
52657
|
EnforcementRequest$zodSchema = object({
|
|
52657
|
-
action: EnforcementAction$zodSchema.describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account) or none (decided to take no action)."),
|
|
52658
|
+
action: EnforcementAction$zodSchema.describe("What the workspace did in its identity provider: revoke_sessions (signed the account out everywhere), restrict (limited what the account can do), unrestrict (lifted an earlier restriction), fail_onboarding (stopped an account that was still onboarding), reject_activation (refused to activate a provisional account), activate (let a held onboarding or provisional account in) or none (decided to take no action)."),
|
|
52658
52659
|
error_code: string2().optional().describe("Why a failed action failed, as a short code of the workspace's choosing (lower-case letters, digits, '_', '.' and '-'), such as the identity provider's error code. Allowed only with status failed: with status applied it answers 400 invalid_request. Keep personal data out of it."),
|
|
52659
52660
|
flow: Flow$zodSchema.describe("The event an assessment is made for: account_creation (a user creates an account), login (a user returns to an existing account) or purchase (a payment or a credit grant). The account's risk is reported with the decision for this flow."),
|
|
52660
52661
|
provider: EnforcementProvider$zodSchema.describe("The identity provider the action ran in; custom for the workspace's own user store."),
|
|
@@ -56216,7 +56217,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
56216
56217
|
function createMCPServer(deps) {
|
|
56217
56218
|
const server = new McpServer({
|
|
56218
56219
|
name: "NoResponse",
|
|
56219
|
-
version: "0.5.
|
|
56220
|
+
version: "0.5.2"
|
|
56220
56221
|
});
|
|
56221
56222
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
56222
56223
|
security: deps.security,
|
|
@@ -64953,7 +64954,7 @@ var routes = buildRouteMap({
|
|
|
64953
64954
|
var app = buildApplication(routes, {
|
|
64954
64955
|
name: "mcp",
|
|
64955
64956
|
versionInfo: {
|
|
64956
|
-
currentVersion: "0.5.
|
|
64957
|
+
currentVersion: "0.5.2"
|
|
64957
64958
|
}
|
|
64958
64959
|
});
|
|
64959
64960
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64961,5 +64962,5 @@ export {
|
|
|
64961
64962
|
app
|
|
64962
64963
|
};
|
|
64963
64964
|
|
|
64964
|
-
//# debugId=
|
|
64965
|
+
//# debugId=521A10820E901B6B64756E2164756E21
|
|
64965
64966
|
//# sourceMappingURL=mcp-server.js.map
|