@noresponse/mcp 0.7.0 → 0.8.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0
4
+
5
+ * `SDK.assessments.search()`:
6
+ * `request` **Changed**
7
+ * `response` **Changed**
8
+
3
9
  ## 0.7.0
4
10
 
5
11
  * `SDK.usage.get()`: `response.console_lookups` **Added**
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.7.0",
48139
+ sdkVersion: "0.8.0",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.7.0 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.8.0 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -56270,9 +56270,11 @@ var init_assessmentsearchrequest = __esm(() => {
56270
56270
  account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
56271
56271
  asn: int().optional(),
56272
56272
  band: Band$zodSchema.optional(),
56273
+ changed: boolean2().optional().describe("true returns only assessments whose latest stored revision's decision differs from their first answer's decision (see decision); false only the others. An assessment whose first answer or latest revision has no decision yet is not changed. Cannot be combined with revision first."),
56273
56274
  country: string2().optional(),
56274
56275
  cursor: string2().optional().describe("Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged."),
56275
56276
  decision: Decision$zodSchema.optional().describe("An assessment's own decision: block when its stored risk.block is true, otherwise its recommendation. It is not the account's decision or held-admission state."),
56277
+ email: string2().optional().describe("Assessments of every account that one of its retained admitted assessments sent this mailbox as identifiers.email, matched as lists match an email entry: case-insensitive, a +tag removed and, at gmail.com and googlemail.com, the dots of the local part ignored. Only assessments stored since email list matching began carry the mailbox. An address that is not a valid mailbox is refused with 400."),
56276
56278
  flow: Flow$zodSchema.optional().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."),
56277
56279
  from: string2(),
56278
56280
  impact: Impact$zodSchema.optional().describe("The selected reason's served impact band. Requires reason."),
@@ -56383,7 +56385,7 @@ var init_assessmentsSearch2 = __esm(() => {
56383
56385
  name: "search_assessments",
56384
56386
  description: `Search assessments across this environment
56385
56387
 
56386
- Search retained assessments created in [from,to), over at most 366 days. Filters use each assessment decision, rather than the current account decision. Results can change between pages. Keep the assessment version to retrieve the exact decision later. Each item's detail.identifiers holds the identifiers its assessment was sent, exactly as received. This read does not require an idempotency key.`,
56388
+ Search retained assessments created in [from,to), over at most 366 days. Filters use each assessment decision, rather than the current account decision. Results can change between pages. Keep the assessment version to retrieve the exact decision later. Each item's detail.identifiers holds the identifiers its assessment was sent, exactly as received, and first_decision holds the decision of its first answer. email finds every assessment of the accounts that sent a mailbox, matched as lists match it. changed keeps the assessments a later revision changed. total counts every match, exactly up to 10000. This read does not require an idempotency key.`,
56387
56389
  annotations: {
56388
56390
  title: "Search assessments in this environment",
56389
56391
  destructiveHint: false,
@@ -69557,7 +69559,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
69557
69559
  function createMCPServer(deps) {
69558
69560
  const server = new McpServer({
69559
69561
  name: "NoResponse",
69560
- version: "0.7.0"
69562
+ version: "0.8.0"
69561
69563
  });
69562
69564
  const getClient = deps.getSDK || (() => new NoResponseCore({
69563
69565
  security: deps.security,
@@ -69821,7 +69823,7 @@ Count this environment's assessments created in [from,to) by hour, day or week,
69821
69823
  name: "search_assessments",
69822
69824
  description: `Search assessments across this environment
69823
69825
 
69824
- Search retained assessments created in [from,to), over at most 366 days. Filters use each assessment decision, rather than the current account decision. Results can change between pages. Keep the assessment version to retrieve the exact decision later. Each item's detail.identifiers holds the identifiers its assessment was sent, exactly as received. This read does not require an idempotency key.`
69826
+ Search retained assessments created in [from,to), over at most 366 days. Filters use each assessment decision, rather than the current account decision. Results can change between pages. Keep the assessment version to retrieve the exact decision later. Each item's detail.identifiers holds the identifiers its assessment was sent, exactly as received, and first_decision holds the decision of its first answer. email finds every assessment of the accounts that sent a mailbox, matched as lists match it. changed keeps the assessments a later revision changed. total counts every match, exactly up to 10000. This read does not require an idempotency key.`
69825
69827
  },
69826
69828
  {
69827
69829
  name: "get_assessment_version",
@@ -78838,7 +78840,7 @@ var routes = buildRouteMap({
78838
78840
  var app = buildApplication(routes, {
78839
78841
  name: "mcp",
78840
78842
  versionInfo: {
78841
- currentVersion: "0.7.0"
78843
+ currentVersion: "0.8.0"
78842
78844
  }
78843
78845
  });
78844
78846
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -78846,5 +78848,5 @@ export {
78846
78848
  app
78847
78849
  };
78848
78850
 
78849
- //# debugId=B1B8A34B2355226564756E2164756E21
78851
+ //# debugId=826D0A8F103B637D64756E2164756E21
78850
78852
  //# sourceMappingURL=mcp-server.js.map