@noresponse/mcp 0.8.0 → 0.10.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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.0
4
+
5
+ * `SDK.assessments.create()`: `response.detail.risk.details.breach_names[]` **Changed**
6
+ * `SDK.assessments.get()`: `response.detail.risk.details.breach_names[]` **Changed**
7
+ * `SDK.assessments.query()`: `response.items[].risk.details.breach_names[]` **Changed**
8
+ * `SDK.assessments.search()`: `response.items[].detail.risk.details.breach_names[]` **Changed**
9
+ * `SDK.assessments.retrieveVersion()`: `response.detail.risk.details.breach_names[]` **Changed**
10
+ * `SDK.accounts.listAssessments()`: `response.items[].risk.details.breach_names[]` **Changed**
11
+ * `SDK.accounts.export()`: `response.assessments[].detail.risk.details.breach_names[]` **Changed**
12
+
13
+ ## 0.9.0
14
+
15
+ * `SDK.assessments.aggregate()`:
16
+ * `request.time_zone` **Added**
17
+ * `response.time_zone` **Added**
18
+
3
19
  ## 0.8.0
4
20
 
5
21
  * `SDK.assessments.search()`:
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.8.0",
48139
+ sdkVersion: "0.10.0",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.8.0 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.10.0 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -50664,6 +50664,8 @@ var init_riskdetailsbreachname = __esm(() => {
50664
50664
  init_zod();
50665
50665
  RiskDetailsBreachName$zodSchema = object({
50666
50666
  seen_in: int(),
50667
+ sites: array(string2()).optional().describe("The domains of the breached sites whose tables hold the name, lower case, each once, newest breach first, at most 32: the domain values of breaches[]. Covers the email's and the username's tables together. Absent when none of the tables has a site."),
50668
+ unsited: int().optional().describe("How many of the tables that hold the name have no site, such as a credential list or a stealer log. Absent when none."),
50667
50669
  value: string2()
50668
50670
  });
50669
50671
  });
@@ -50739,7 +50741,7 @@ var init_riskdetails = __esm(() => {
50739
50741
  init_riskdetailsevent();
50740
50742
  init_riskdetailsphonename();
50741
50743
  RiskDetails$zodSchema = object({
50742
- breach_names: array(RiskDetailsBreachName$zodSchema).optional().describe("Names found next to the identifiers in breach records, merged, with the number of distinct tables each was seen in."),
50744
+ breach_names: array(RiskDetailsBreachName$zodSchema).optional().describe("Names found next to the identifiers in breach records, merged, with the number of distinct tables each was seen in and the sites of those tables."),
50743
50745
  breaches: array(Breach$zodSchema).optional().describe("The matching breach tables, newest first, at most 100."),
50744
50746
  events: array(RiskDetailsEvent$zodSchema).optional().describe("The identity's dated footprint events, newest first, at most 300: the year and month, what happened (created, last_active, breached), the site, its category, the kind of evidence and the identifier it belongs to. No breach value: dates are coarsened to the month."),
50745
50747
  phone_names: array(RiskDetailsPhoneName$zodSchema).optional()
@@ -54880,7 +54882,7 @@ var init_bucket = __esm(() => {
54880
54882
  "hour",
54881
54883
  "day",
54882
54884
  "week"
54883
- ]).describe("The period each count covers, in UTC; a week starts on Monday.");
54885
+ ]).describe("The period each count covers: an hour, or a day or a week (from Monday) in time_zone. Hour buckets are whole UTC hours in any time zone.");
54884
54886
  });
54885
54887
 
54886
54888
  // src/models/decision.ts
@@ -54942,7 +54944,7 @@ var init_assessmentaggregaterequest = __esm(() => {
54942
54944
  AssessmentAggregateRequest$zodSchema = object({
54943
54945
  asn: int().optional(),
54944
54946
  band: Band$zodSchema.optional(),
54945
- bucket: Bucket$zodSchema.describe("The period each count covers, in UTC; a week starts on Monday."),
54947
+ bucket: Bucket$zodSchema.describe("The period each count covers: an hour, or a day or a week (from Monday) in time_zone. Hour buckets are whole UTC hours in any time zone."),
54946
54948
  country: string2().optional(),
54947
54949
  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."),
54948
54950
  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."),
@@ -54960,8 +54962,9 @@ var init_assessmentaggregaterequest = __esm(() => {
54960
54962
  score_max: int().optional().describe("Inclusive upper score bound, at least score_min when both are supplied."),
54961
54963
  score_min: int().optional().describe("Inclusive lower score bound. Pending answers without a score do not match."),
54962
54964
  status: Status$zodSchema.optional().describe("complete: final; nothing is still running. A lane that failed or missed its 10 s deadline stays listed in incomplete_sources, and confidence is lower. partial: a recommendation exists and at least one lane is still running or did not settle (see incomplete_sources). pending: nothing usable before the deadline; no recommendation yet, poll or wait for the webhook."),
54965
+ time_zone: string2().default("UTC").describe("The IANA time zone whose local midnight starts each day and week bucket, such as Europe/London or Asia/Kolkata; daylight saving changes make those days 23 or 25 hours long. A name the zone database does not know is refused (400 invalid_request naming time_zone). Day and week buckets in a zone other than UTC cover at most 92 days (400 invalid_request naming to); a year of them reads too many hourly counts to answer in time. Hour buckets stay whole UTC hours. Bucket starts, from and to stay instants. With the default population, a zone whose local midnight falls inside a UTC hour (a half-hour offset such as Asia/Kolkata) is refused for day and week buckets, as those counts are kept by the hour; retained_first_answers counts it."),
54963
54966
  to: string2().describe("The end, excluded: the start of the bucket after the last.")
54964
- }).describe("Count this environment's assessments created in [from,to) by bucket, from counts kept as each assessment is first answered, not by scanning assessments. Each assessment counts once, by its first answer (the answer served when it was first answered); later revisions and late results do not count it again, and late_flips counts its later account decision changes. from and to start a bucket (an hour, a UTC day, or a week from Monday 00:00 UTC), cover at most 366 days (31 for hour buckets) and from is inside the retention period. The filters are POST /v1/assessments/search's and describe the first answer, so a cell drills down to search with the same filters, revision first and the cell's bucket as from and to. Counts hold no identifier and stay when an assessment or account is deleted or erased; they expire with retention and go with the workspace. Reasons are counted by code and impact band, not by weight. No Idempotency-Key. Select retained_first_answers for exact facet filters and pairs over retained detail. This mode supports count, score_histogram and score_outcomes, and refuses late_flips. It has a 31-day and 100000-record work budget.");
54967
+ }).describe("Count this environment's assessments created in [from,to) by bucket, from counts kept as each assessment is first answered, not by scanning assessments. Each assessment counts once, by its first answer (the answer served when it was first answered); later revisions and late results do not count it again, and late_flips counts its later account decision changes. from and to start a bucket (an hour, or a day or a week from Monday that starts at midnight in time_zone, UTC by default), cover at most 366 days (31 for hour buckets, 92 for day and week buckets in a time_zone other than UTC) and from is inside the retention period. The filters are POST /v1/assessments/search's and describe the first answer, so a cell drills down to search with the same filters, revision first and the cell's bucket as from and to. Counts hold no identifier and stay when an assessment or account is deleted or erased; they expire with retention and go with the workspace. Reasons are counted by code and impact band, not by weight. No Idempotency-Key. Select retained_first_answers for exact facet filters and pairs over retained detail. This mode supports count, score_histogram and score_outcomes, and refuses late_flips. It has a 31-day and 100000-record work budget.");
54965
54968
  });
54966
54969
 
54967
54970
  // src/funcs/assessmentsAggregate.ts
@@ -55057,7 +55060,7 @@ var init_assessmentsAggregate2 = __esm(() => {
55057
55060
  name: "aggregate_assessments",
55058
55061
  description: `Count assessments by time, decision and reason
55059
55062
 
55060
- Count this environment's assessments created in [from,to) by hour, day or week, grouped by up to two of decision, flow, recommendation, band, reason, lane, country, asn and list_match. Each assessment counts once, by its first answer; late results do not count it again and appear in late_flips. Optional metrics add a score histogram per flow, that histogram by the latest reported outcome, and late account decision changes. from and to start a bucket and cover at most 366 days (31 for hour buckets) inside the retention period. The filters are search's and describe the first answer: send them to search with revision first to list a cell's assessments. Counts hold no identifier, stay when an assessment or account is deleted, and report reasons by code and impact band. No Idempotency-Key.`,
55063
+ Count this environment's assessments created in [from,to) by UTC hour, or by day or week from local midnight in time_zone (an IANA name, UTC by default; at most 92 days in a zone other than UTC), grouped by up to two of decision, flow, recommendation, band, reason, lane, country, asn and list_match. Each assessment counts once, by its first answer; late results do not count it again and appear in late_flips. Optional metrics add a score histogram per flow, that histogram by the latest reported outcome, and late account decision changes. from and to start a bucket and cover at most 366 days (31 for hour buckets) inside the retention period. The filters are search's and describe the first answer: send them to search with revision first to list a cell's assessments. Counts hold no identifier, stay when an assessment or account is deleted, and report reasons by code and impact band. No Idempotency-Key.`,
55061
55064
  annotations: {
55062
55065
  title: "Count assessments by time, decision and reason",
55063
55066
  destructiveHint: false,
@@ -69559,7 +69562,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
69559
69562
  function createMCPServer(deps) {
69560
69563
  const server = new McpServer({
69561
69564
  name: "NoResponse",
69562
- version: "0.8.0"
69565
+ version: "0.10.0"
69563
69566
  });
69564
69567
  const getClient = deps.getSDK || (() => new NoResponseCore({
69565
69568
  security: deps.security,
@@ -69817,7 +69820,7 @@ History is a POST with account_id in the body so an account identifier stays out
69817
69820
  name: "aggregate_assessments",
69818
69821
  description: `Count assessments by time, decision and reason
69819
69822
 
69820
- Count this environment's assessments created in [from,to) by hour, day or week, grouped by up to two of decision, flow, recommendation, band, reason, lane, country, asn and list_match. Each assessment counts once, by its first answer; late results do not count it again and appear in late_flips. Optional metrics add a score histogram per flow, that histogram by the latest reported outcome, and late account decision changes. from and to start a bucket and cover at most 366 days (31 for hour buckets) inside the retention period. The filters are search's and describe the first answer: send them to search with revision first to list a cell's assessments. Counts hold no identifier, stay when an assessment or account is deleted, and report reasons by code and impact band. No Idempotency-Key.`
69823
+ Count this environment's assessments created in [from,to) by UTC hour, or by day or week from local midnight in time_zone (an IANA name, UTC by default; at most 92 days in a zone other than UTC), grouped by up to two of decision, flow, recommendation, band, reason, lane, country, asn and list_match. Each assessment counts once, by its first answer; late results do not count it again and appear in late_flips. Optional metrics add a score histogram per flow, that histogram by the latest reported outcome, and late account decision changes. from and to start a bucket and cover at most 366 days (31 for hour buckets) inside the retention period. The filters are search's and describe the first answer: send them to search with revision first to list a cell's assessments. Counts hold no identifier, stay when an assessment or account is deleted, and report reasons by code and impact band. No Idempotency-Key.`
69821
69824
  },
69822
69825
  {
69823
69826
  name: "search_assessments",
@@ -78840,7 +78843,7 @@ var routes = buildRouteMap({
78840
78843
  var app = buildApplication(routes, {
78841
78844
  name: "mcp",
78842
78845
  versionInfo: {
78843
- currentVersion: "0.8.0"
78846
+ currentVersion: "0.10.0"
78844
78847
  }
78845
78848
  });
78846
78849
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -78848,5 +78851,5 @@ export {
78848
78851
  app
78849
78852
  };
78850
78853
 
78851
- //# debugId=826D0A8F103B637D64756E2164756E21
78854
+ //# debugId=334F932020CF8AD164756E2164756E21
78852
78855
  //# sourceMappingURL=mcp-server.js.map