@noresponse/mcp 0.11.2 → 0.11.4

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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.4
4
+
5
+ * `SDK.assessments.create()`: `response.detail.risk.details.accounts` **Added**
6
+ * `SDK.assessments.get()`: `response.detail.risk.details.accounts` **Added**
7
+ * `SDK.assessments.query()`: `response.items[].risk.details.accounts` **Added**
8
+ * `SDK.assessments.search()`: `response.items[].detail.risk.details.accounts` **Added**
9
+ * `SDK.assessments.retrieveVersion()`: `response.detail.risk.details.accounts` **Added**
10
+ * `SDK.accounts.listAssessments()`: `response.items[].risk.details.accounts` **Added**
11
+ * `SDK.accounts.export()`: `response.assessments[].detail.risk.details.accounts` **Added**
12
+ * `SDK.accounts.search()`: `response.items[].latest.detail.risk.details.accounts` **Added**
13
+
14
+ ## 0.11.3
15
+
16
+ * `SDK.settings.get()`: `response.refused_sources[]` **Changed** (Breaking ⚠️)
17
+ * `SDK.settings.update()`:
18
+ * `request.body.refused_sources[]` **Changed**
19
+ * `response.refused_sources[]` **Changed** (Breaking ⚠️)
20
+ * `SDK.settings.listHistory()`: `response.items[].settings.refused_sources[]` **Changed** (Breaking ⚠️)
21
+ * `SDK.settings.restore()`: `response.refused_sources[]` **Changed** (Breaking ⚠️)
22
+ * `SDK.evaluations.publish()`: `response.refused_sources[]` **Changed** (Breaking ⚠️)
23
+
3
24
  ## 0.11.2
4
25
 
5
26
  * `SDK.accounts.listLinked()`: **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.11.2",
48139
+ sdkVersion: "0.11.4",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.11.2 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.11.4 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -50659,6 +50659,86 @@ var init_breach = __esm(() => {
50659
50659
  }).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
50660
  });
50661
50661
 
50662
+ // src/models/accounttype.ts
50663
+ var AccountType$zodSchema;
50664
+ var init_accounttype = __esm(() => {
50665
+ init_zod();
50666
+ AccountType$zodSchema = _enum([
50667
+ "personal",
50668
+ "business"
50669
+ ]).describe("personal, or business: an account a company or school manages.");
50670
+ });
50671
+
50672
+ // src/models/failurereason.ts
50673
+ var FailureReason$zodSchema;
50674
+ var init_failurereason = __esm(() => {
50675
+ init_zod();
50676
+ FailureReason$zodSchema = _enum([
50677
+ "timed_out",
50678
+ "rate_limited",
50679
+ "blocked",
50680
+ "source_error",
50681
+ "unavailable",
50682
+ "deferred",
50683
+ "insufficient_evidence"
50684
+ ]).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.");
50685
+ });
50686
+
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
+ // src/models/signaloutcome.ts
50698
+ var SignalOutcome$zodSchema;
50699
+ var init_signaloutcome = __esm(() => {
50700
+ init_zod();
50701
+ SignalOutcome$zodSchema = _enum([
50702
+ "found",
50703
+ "not_found",
50704
+ "inconclusive",
50705
+ "blocked",
50706
+ "unavailable"
50707
+ ]).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.");
50708
+ });
50709
+
50710
+ // src/models/onlineaccount.ts
50711
+ var SignIn$zodSchema, OnlineAccount$zodSchema;
50712
+ var init_onlineaccount = __esm(() => {
50713
+ init_zod();
50714
+ init_accounttype();
50715
+ init_failurereason();
50716
+ init_identifier();
50717
+ init_signaloutcome();
50718
+ SignIn$zodSchema = _enum([
50719
+ "password",
50720
+ "google",
50721
+ "facebook",
50722
+ "apple",
50723
+ "microsoft",
50724
+ "sso",
50725
+ "other"
50726
+ ]);
50727
+ OnlineAccount$zodSchema = object({
50728
+ account_type: AccountType$zodSchema.optional().describe("personal, or business: an account a company or school manages."),
50729
+ blocked: boolean2().optional().describe("Whether the platform says the account is blocked or suspended."),
50730
+ domain: string2().describe("The platform's domain, lower case: the host its logo is fetched for."),
50731
+ email_verified: boolean2().optional().describe("Whether the platform says the account's email is verified."),
50732
+ 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."),
50733
+ has_avatar: boolean2().optional().describe("Whether the account has its own profile picture rather than the platform's default. The picture is not returned."),
50734
+ identifier: Identifier$zodSchema,
50735
+ name: string2().describe("The platform's name, such as Adobe or GitHub."),
50736
+ 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."),
50737
+ 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."),
50738
+ 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.")
50739
+ }).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.");
50740
+ });
50741
+
50662
50742
  // src/models/riskdetailsbreachname.ts
50663
50743
  var RiskDetailsBreachName$zodSchema;
50664
50744
  var init_riskdetailsbreachname = __esm(() => {
@@ -50684,16 +50764,6 @@ var init_footprintfamily = __esm(() => {
50684
50764
  ]).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
50765
  });
50686
50766
 
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
50767
  // src/models/riskdetailseventkind.ts
50698
50768
  var RiskDetailsEventKind$zodSchema;
50699
50769
  var init_riskdetailseventkind = __esm(() => {
@@ -50738,10 +50808,12 @@ var RiskDetails$zodSchema;
50738
50808
  var init_riskdetails = __esm(() => {
50739
50809
  init_zod();
50740
50810
  init_breach();
50811
+ init_onlineaccount();
50741
50812
  init_riskdetailsbreachname();
50742
50813
  init_riskdetailsevent();
50743
50814
  init_riskdetailsphonename();
50744
50815
  RiskDetails$zodSchema = object({
50816
+ 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
50817
  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
50818
  breaches: array(Breach$zodSchema).optional().describe("The matching breach tables, newest first, at most 100."),
50747
50819
  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 +51101,6 @@ var init_sentidentifiers = __esm(() => {
51029
51101
  }).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
51102
  });
51031
51103
 
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
51104
  // src/models/freshness.ts
51048
51105
  var Freshness$zodSchema;
51049
51106
  var init_freshness = __esm(() => {
@@ -51217,19 +51274,6 @@ var init_phoneenrichment = __esm(() => {
51217
51274
  }).describe("Facts about the number only: line type, carrier and country. The upstream provider, its scores and its verdicts stay internal.");
51218
51275
  });
51219
51276
 
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
51277
  // src/models/signal.ts
51234
51278
  var Signal$zodSchema;
51235
51279
  var init_signal = __esm(() => {
@@ -59617,8 +59661,13 @@ var init_sourceid = __esm(() => {
59617
59661
  "breach",
59618
59662
  "rdap",
59619
59663
  "mx",
59620
- "ipintel"
59621
- ]).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) or ipintel (IP intelligence).");
59664
+ "ipintel",
59665
+ "adobe",
59666
+ "nvidia",
59667
+ "wix",
59668
+ "life360",
59669
+ "zapier"
59670
+ ]).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).");
59622
59671
  });
59623
59672
 
59624
59673
  // src/models/settings.ts
@@ -70051,7 +70100,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
70051
70100
  function createMCPServer(deps) {
70052
70101
  const server = new McpServer({
70053
70102
  name: "NoResponse",
70054
- version: "0.11.2"
70103
+ version: "0.11.4"
70055
70104
  });
70056
70105
  const getClient = deps.getSDK || (() => new NoResponseCore({
70057
70106
  security: deps.security,
@@ -79348,7 +79397,7 @@ var routes = buildRouteMap({
79348
79397
  var app = buildApplication(routes, {
79349
79398
  name: "mcp",
79350
79399
  versionInfo: {
79351
- currentVersion: "0.11.2"
79400
+ currentVersion: "0.11.4"
79352
79401
  }
79353
79402
  });
79354
79403
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -79356,5 +79405,5 @@ export {
79356
79405
  app
79357
79406
  };
79358
79407
 
79359
- //# debugId=7F586B117ABE262564756E2164756E21
79408
+ //# debugId=A35E21D7C16572DA64756E2164756E21
79360
79409
  //# sourceMappingURL=mcp-server.js.map