@noresponse/mcp 0.11.3 → 0.11.5

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,44 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.5
4
+
5
+ * `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
6
+ * `SDK.assessments.get()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
7
+ * `SDK.assessments.query()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
8
+ * `SDK.assessments.aggregate()`:
9
+ * `request.reason` **Changed**
10
+ * `response.buckets[].groups[].reason` **Changed** (Breaking ⚠️)
11
+ * `SDK.assessments.search()`:
12
+ * `request.reason` **Changed**
13
+ * `response.items[].detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
14
+ * `SDK.assessments.retrieveVersion()`: `response.detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
15
+ * `SDK.accounts.listChanged()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
16
+ * `SDK.accounts.get()`: `response.risk.reasons[].code` **Changed** (Breaking ⚠️)
17
+ * `SDK.accounts.listAssessments()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
18
+ * `SDK.accounts.retrieveDecision()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
19
+ * `SDK.accounts.export()`: `response.assessments[].detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
20
+ * `SDK.accounts.listDecisions()`: `response.items[].account.risk.reasons[].code` **Changed** (Breaking ⚠️)
21
+ * `SDK.accounts.search()`: `response.items[].latest.detail.risk.reasons[].code` **Changed** (Breaking ⚠️)
22
+ * `SDK.settings.get()`: `response.refused_sources[].enum(google)` **Added** (Breaking ⚠️)
23
+ * `SDK.settings.update()`:
24
+ * `request.body.refused_sources[].enum(google)` **Added**
25
+ * `response.refused_sources[].enum(google)` **Added** (Breaking ⚠️)
26
+ * `SDK.settings.listHistory()`: `response.items[].settings.refused_sources[].enum(google)` **Added** (Breaking ⚠️)
27
+ * `SDK.settings.restore()`: `response.refused_sources[].enum(google)` **Added** (Breaking ⚠️)
28
+ * `SDK.requests.list()`: `response.items[].decision.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
29
+ * `SDK.evaluations.publish()`: `response.refused_sources[].enum(google)` **Added** (Breaking ⚠️)
30
+
31
+ ## 0.11.4
32
+
33
+ * `SDK.assessments.create()`: `response.detail.risk.details.accounts` **Added**
34
+ * `SDK.assessments.get()`: `response.detail.risk.details.accounts` **Added**
35
+ * `SDK.assessments.query()`: `response.items[].risk.details.accounts` **Added**
36
+ * `SDK.assessments.search()`: `response.items[].detail.risk.details.accounts` **Added**
37
+ * `SDK.assessments.retrieveVersion()`: `response.detail.risk.details.accounts` **Added**
38
+ * `SDK.accounts.listAssessments()`: `response.items[].risk.details.accounts` **Added**
39
+ * `SDK.accounts.export()`: `response.assessments[].detail.risk.details.accounts` **Added**
40
+ * `SDK.accounts.search()`: `response.items[].latest.detail.risk.details.accounts` **Added**
41
+
3
42
  ## 0.11.3
4
43
 
5
44
  * `SDK.settings.get()`: `response.refused_sources[]` **Changed** (Breaking ⚠️)
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.11.3",
48139
+ sdkVersion: "0.11.5",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.3 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.5 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -50374,6 +50374,14 @@ var init_reasoncode = __esm(() => {
50374
50374
  "young_email_domain",
50375
50375
  "email_domain_no_mx",
50376
50376
  "email_domain_nonexistent",
50377
+ "google_account_missing",
50378
+ "google_empty_account",
50379
+ "google_active_profile",
50380
+ "google_aged_account",
50381
+ "google_name_match",
50382
+ "google_name_mismatch",
50383
+ "google_country_match",
50384
+ "google_country_mismatch",
50377
50385
  "forum_sanctioned",
50378
50386
  "prior_payment_abuse",
50379
50387
  "ip_history_match",
@@ -50659,6 +50667,86 @@ var init_breach = __esm(() => {
50659
50667
  }).describe("One breach table that matched, detailed view only. name is the catalogue's display name for the table's site, not the upstream provider. No member carries a record, value, password or hash.");
50660
50668
  });
50661
50669
 
50670
+ // src/models/accounttype.ts
50671
+ var AccountType$zodSchema;
50672
+ var init_accounttype = __esm(() => {
50673
+ init_zod();
50674
+ AccountType$zodSchema = _enum([
50675
+ "personal",
50676
+ "business"
50677
+ ]).describe("personal, or business: an account a company or school manages.");
50678
+ });
50679
+
50680
+ // src/models/failurereason.ts
50681
+ var FailureReason$zodSchema;
50682
+ var init_failurereason = __esm(() => {
50683
+ init_zod();
50684
+ FailureReason$zodSchema = _enum([
50685
+ "timed_out",
50686
+ "rate_limited",
50687
+ "blocked",
50688
+ "source_error",
50689
+ "unavailable",
50690
+ "deferred",
50691
+ "insufficient_evidence"
50692
+ ]).describe("Why a signal or source did not produce a definite found/not_found. timed_out means the source missed the request deadline; a continuation may still settle it. deferred means the (source, identifier) pair is async-only and was not attempted on the synchronous path; a continuation settles it.");
50693
+ });
50694
+
50695
+ // src/models/identifier.ts
50696
+ var Identifier$zodSchema;
50697
+ var init_identifier = __esm(() => {
50698
+ init_zod();
50699
+ Identifier$zodSchema = _enum([
50700
+ "email",
50701
+ "username"
50702
+ ]);
50703
+ });
50704
+
50705
+ // src/models/signaloutcome.ts
50706
+ var SignalOutcome$zodSchema;
50707
+ var init_signaloutcome = __esm(() => {
50708
+ init_zod();
50709
+ SignalOutcome$zodSchema = _enum([
50710
+ "found",
50711
+ "not_found",
50712
+ "inconclusive",
50713
+ "blocked",
50714
+ "unavailable"
50715
+ ]).describe("Per-signal outcome. A source that timed out, was blocked or errored reports blocked, unavailable or inconclusive with a reason and is listed in incomplete_sources; not_found is a definite absence.");
50716
+ });
50717
+
50718
+ // src/models/onlineaccount.ts
50719
+ var SignIn$zodSchema, OnlineAccount$zodSchema;
50720
+ var init_onlineaccount = __esm(() => {
50721
+ init_zod();
50722
+ init_accounttype();
50723
+ init_failurereason();
50724
+ init_identifier();
50725
+ init_signaloutcome();
50726
+ SignIn$zodSchema = _enum([
50727
+ "password",
50728
+ "google",
50729
+ "facebook",
50730
+ "apple",
50731
+ "microsoft",
50732
+ "sso",
50733
+ "other"
50734
+ ]);
50735
+ OnlineAccount$zodSchema = object({
50736
+ account_type: AccountType$zodSchema.optional().describe("personal, or business: an account a company or school manages."),
50737
+ blocked: boolean2().optional().describe("Whether the platform says the account is blocked or suspended."),
50738
+ domain: string2().describe("The platform's domain, lower case: the host its logo is fetched for."),
50739
+ email_verified: boolean2().optional().describe("Whether the platform says the account's email is verified."),
50740
+ first_name_prefix: string2().optional().describe("The first letters of the account holder's first name, as the platform shows them (Life360 shows two and hides the rest). It is evidence only: it does not change the score or the consistency results."),
50741
+ has_avatar: boolean2().optional().describe("Whether the account has its own profile picture rather than the platform's default. The picture is not returned."),
50742
+ identifier: Identifier$zodSchema,
50743
+ name: string2().describe("The platform's name, such as Adobe or GitHub."),
50744
+ outcome: SignalOutcome$zodSchema.describe("Per-signal outcome. A source that timed out, was blocked or errored reports blocked, unavailable or inconclusive with a reason and is listed in incomplete_sources; not_found is a definite absence."),
50745
+ reason: FailureReason$zodSchema.optional().describe("Why a signal or source did not produce a definite found/not_found. timed_out means the source missed the request deadline; a continuation may still settle it. deferred means the (source, identifier) pair is async-only and was not attempted on the synchronous path; a continuation settles it."),
50746
+ sign_in: array(SignIn$zodSchema).optional().describe("How the account signs in, as the platform reports it, sorted: a password, a Google, Facebook, Apple or Microsoft account, the organisation's single sign-on, or another method.")
50747
+ }).describe("One online-account search of the signup's email or username, detailed view only. name and domain name the platform searched, not a provider. outcome is the search's signal outcome: found, not_found, or a failure (blocked, unavailable, inconclusive) with its reason; a failure is not reported as not_found. The members after reason are what the platform returned beside an account it found, each absent when it did not say.");
50748
+ });
50749
+
50662
50750
  // src/models/riskdetailsbreachname.ts
50663
50751
  var RiskDetailsBreachName$zodSchema;
50664
50752
  var init_riskdetailsbreachname = __esm(() => {
@@ -50684,16 +50772,6 @@ var init_footprintfamily = __esm(() => {
50684
50772
  ]).describe("The source-neutral kind of evidence: account_presence (an account found on a site), auth_provider (the account at your auth provider), breach (breach and credential tables), breach_abuse (abuse and fraud communities' tables) and code_hosting (a code hosting profile).");
50685
50773
  });
50686
50774
 
50687
- // src/models/identifier.ts
50688
- var Identifier$zodSchema;
50689
- var init_identifier = __esm(() => {
50690
- init_zod();
50691
- Identifier$zodSchema = _enum([
50692
- "email",
50693
- "username"
50694
- ]);
50695
- });
50696
-
50697
50775
  // src/models/riskdetailseventkind.ts
50698
50776
  var RiskDetailsEventKind$zodSchema;
50699
50777
  var init_riskdetailseventkind = __esm(() => {
@@ -50738,10 +50816,12 @@ var RiskDetails$zodSchema;
50738
50816
  var init_riskdetails = __esm(() => {
50739
50817
  init_zod();
50740
50818
  init_breach();
50819
+ init_onlineaccount();
50741
50820
  init_riskdetailsbreachname();
50742
50821
  init_riskdetailsevent();
50743
50822
  init_riskdetailsphonename();
50744
50823
  RiskDetails$zodSchema = object({
50824
+ accounts: array(OnlineAccount$zodSchema).optional().describe("Every online-account search of the email or username: the platform, what the search came to and, for an account found, what the platform returned beside it. Found first, then not found, then searches that failed or are still running, each by platform name; at most 64. A failed or running search keeps its own outcome and is not reported as not_found."),
50745
50825
  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."),
50746
50826
  breaches: array(Breach$zodSchema).optional().describe("The matching breach tables, newest first, at most 100."),
50747
50827
  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."),
@@ -51029,21 +51109,6 @@ var init_sentidentifiers = __esm(() => {
51029
51109
  }).describe("The identifiers an assessment was sent: each member of the request's identifiers object exactly as received, before the server normalised it (the email domain keeps its case, the name its Unicode form). A member the request did not send is absent. NoResponse keeps them encrypted under the workspace's own key, does not index or log them, and deletes them with the assessment: on DELETE of the assessment or its account, at its expires_at, and with the workspace.");
51030
51110
  });
51031
51111
 
51032
- // src/models/failurereason.ts
51033
- var FailureReason$zodSchema;
51034
- var init_failurereason = __esm(() => {
51035
- init_zod();
51036
- FailureReason$zodSchema = _enum([
51037
- "timed_out",
51038
- "rate_limited",
51039
- "blocked",
51040
- "source_error",
51041
- "unavailable",
51042
- "deferred",
51043
- "insufficient_evidence"
51044
- ]).describe("Why a signal or source did not produce a definite found/not_found. timed_out means the source missed the request deadline; a continuation may still settle it. deferred means the (source, identifier) pair is async-only and was not attempted on the synchronous path; a continuation settles it.");
51045
- });
51046
-
51047
51112
  // src/models/freshness.ts
51048
51113
  var Freshness$zodSchema;
51049
51114
  var init_freshness = __esm(() => {
@@ -51217,19 +51282,6 @@ var init_phoneenrichment = __esm(() => {
51217
51282
  }).describe("Facts about the number only: line type, carrier and country. The upstream provider, its scores and its verdicts stay internal.");
51218
51283
  });
51219
51284
 
51220
- // src/models/signaloutcome.ts
51221
- var SignalOutcome$zodSchema;
51222
- var init_signaloutcome = __esm(() => {
51223
- init_zod();
51224
- SignalOutcome$zodSchema = _enum([
51225
- "found",
51226
- "not_found",
51227
- "inconclusive",
51228
- "blocked",
51229
- "unavailable"
51230
- ]).describe("Per-signal outcome. A source that timed out, was blocked or errored reports blocked, unavailable or inconclusive with a reason and is listed in incomplete_sources; not_found is a definite absence.");
51231
- });
51232
-
51233
51285
  // src/models/signal.ts
51234
51286
  var Signal$zodSchema;
51235
51287
  var init_signal = __esm(() => {
@@ -59622,8 +59674,9 @@ var init_sourceid = __esm(() => {
59622
59674
  "nvidia",
59623
59675
  "wix",
59624
59676
  "life360",
59625
- "zapier"
59626
- ]).describe("A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers), ipintel (IP intelligence) or an email account source that searches one platform for an account by email address (adobe, nvidia, wix, life360, zapier).");
59677
+ "zapier",
59678
+ "google"
59679
+ ]).describe("A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers), ipintel (IP intelligence) or an email account source that searches one platform for an account by email address (adobe, nvidia, wix, life360, zapier, google). google runs only for Gmail addresses.");
59627
59680
  });
59628
59681
 
59629
59682
  // src/models/settings.ts
@@ -70056,7 +70109,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70056
70109
  function createMCPServer(deps) {
70057
70110
  const server = new McpServer({
70058
70111
  name: "NoResponse",
70059
- version: "0.11.3"
70112
+ version: "0.11.5"
70060
70113
  });
70061
70114
  const getClient = deps.getSDK || (() => new NoResponseCore({
70062
70115
  security: deps.security,
@@ -79353,7 +79406,7 @@ var routes = buildRouteMap({
79353
79406
  var app = buildApplication(routes, {
79354
79407
  name: "mcp",
79355
79408
  versionInfo: {
79356
- currentVersion: "0.11.3"
79409
+ currentVersion: "0.11.5"
79357
79410
  }
79358
79411
  });
79359
79412
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79361,5 +79414,5 @@ export {
79361
79414
  app
79362
79415
  };
79363
79416
 
79364
- //# debugId=7FB23B69C15CC85964756E2164756E21
79417
+ //# debugId=4BA0B709D98D009364756E2164756E21
79365
79418
  //# sourceMappingURL=mcp-server.js.map