@noresponse/mcp 0.13.1 → 0.13.3

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.3
4
+
5
+ * `SDK.groups.getPerson()`: `response.profiles[].record.fields[]` **Changed** (Breaking ⚠️)
6
+
7
+ ## 0.13.2
8
+
9
+ * `SDK.groups.getPerson()`: `response.lookup.remaining` **Added**
10
+
3
11
  ## 0.13.1
4
12
 
5
13
  * `SDK.groups.getPerson()`: `response` **Changed**
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.13.1",
48139
+ sdkVersion: "0.13.3",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.13.1 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.13.3 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -62359,16 +62359,149 @@ var init_screeningfinding = __esm(() => {
62359
62359
  }).describe("Something the analyser flagged. band is capped by the strongest match among the profiles of its evidence: possible at most moderate, probable at most high. capped_from is the band the analyser gave when the cap lowered it.");
62360
62360
  });
62361
62361
 
62362
+ // src/models/recordkind.ts
62363
+ var RecordKind$zodSchema;
62364
+ var init_recordkind = __esm(() => {
62365
+ init_zod();
62366
+ RecordKind$zodSchema = _enum([
62367
+ "email",
62368
+ "phone",
62369
+ "username",
62370
+ "account_id",
62371
+ "url",
62372
+ "domain",
62373
+ "image",
62374
+ "person_name",
62375
+ "gender",
62376
+ "age",
62377
+ "language",
62378
+ "organisation",
62379
+ "job_title",
62380
+ "country",
62381
+ "region",
62382
+ "city",
62383
+ "address",
62384
+ "postcode",
62385
+ "coordinates",
62386
+ "timezone",
62387
+ "date",
62388
+ "date_time",
62389
+ "duration",
62390
+ "ip",
62391
+ "mac_address",
62392
+ "device_id",
62393
+ "user_agent",
62394
+ "password",
62395
+ "hash",
62396
+ "salt",
62397
+ "token",
62398
+ "security_answer",
62399
+ "card_number",
62400
+ "bank_account",
62401
+ "crypto_address",
62402
+ "amount",
62403
+ "id_number",
62404
+ "vehicle",
62405
+ "label",
62406
+ "long_text",
62407
+ "count",
62408
+ "score",
62409
+ "flag",
62410
+ "structured",
62411
+ "text"
62412
+ ]).describe("What sort of value a field holds, which decides how it is cleaned, compared and searched again. It comes from the value itself where its shape is certain (an email, an IP, a URL, an international phone number), else from the answer stored for the source's column, else text. A value of any kind is returned.");
62413
+ });
62414
+
62415
+ // src/models/recordrole.ts
62416
+ var RecordRole$zodSchema;
62417
+ var init_recordrole = __esm(() => {
62418
+ init_zod();
62419
+ RecordRole$zodSchema = _enum([
62420
+ "account_id",
62421
+ "account_status",
62422
+ "account_type",
62423
+ "alternate_phone",
62424
+ "balance",
62425
+ "banned",
62426
+ "bio",
62427
+ "born",
62428
+ "bot",
62429
+ "caller_category",
62430
+ "cover_picture",
62431
+ "deleted",
62432
+ "deleted_on",
62433
+ "department",
62434
+ "display_name",
62435
+ "email_verified",
62436
+ "expires",
62437
+ "first_name",
62438
+ "followers",
62439
+ "following",
62440
+ "friends",
62441
+ "full_address",
62442
+ "full_name",
62443
+ "handle",
62444
+ "headline",
62445
+ "interests",
62446
+ "job_title",
62447
+ "joined",
62448
+ "last_active",
62449
+ "last_ip",
62450
+ "last_name",
62451
+ "last_post",
62452
+ "last_updated",
62453
+ "level",
62454
+ "likes_given",
62455
+ "likes_received",
62456
+ "line_type",
62457
+ "linked_account",
62458
+ "location",
62459
+ "marked_spam",
62460
+ "middle_name",
62461
+ "nationality",
62462
+ "organisation",
62463
+ "other_ip",
62464
+ "paid",
62465
+ "password_changed",
62466
+ "picture",
62467
+ "points",
62468
+ "posts",
62469
+ "private",
62470
+ "profile_link",
62471
+ "profile_views",
62472
+ "rating",
62473
+ "referrals",
62474
+ "referrer",
62475
+ "report_count",
62476
+ "reputation",
62477
+ "reputation_label",
62478
+ "residence",
62479
+ "salutation",
62480
+ "school",
62481
+ "signature",
62482
+ "signup_ip",
62483
+ "site_role",
62484
+ "spam_score",
62485
+ "street",
62486
+ "verified",
62487
+ "warnings",
62488
+ "website"
62489
+ ]).describe("Which common field a value is, where many sources share it: a join date and a birth date are both dates, with the roles joined and born. A platform account's field and a breach row's column with the same meaning carry the same kind and role. A linked_account field is named by its network. Absent for a field only its source returns.");
62490
+ });
62491
+
62362
62492
  // src/models/recordfield.ts
62363
62493
  var RecordField$zodSchema;
62364
62494
  var init_recordfield = __esm(() => {
62365
62495
  init_zod();
62496
+ init_recordkind();
62497
+ init_recordrole();
62366
62498
  RecordField$zodSchema = object({
62499
+ detail: string2().optional().describe("What the value shows of itself beyond its kind: the likely algorithm of a hash, the likely coin of a crypto address or the currency of an amount."),
62367
62500
  field: string2().describe("The source's own name for the field. A nested value's name is dotted, and a list element's carries its index."),
62368
- kind: string2().optional().describe("What sort of value the field holds. Absent until the field's kind is known."),
62369
- original: string2().describe("The value as the source wrote it. A count is written in decimal and a time in RFC 3339."),
62370
- role: string2().optional().describe("Which common field it is, where many sources share it, such as handle, display_name, account_id, profile_link, picture, bio, website, linked_account (named by its network), account_status, joined, last_updated, organisation, location, followers, following or posts. Absent for a field only this source returns."),
62371
- value: string2().optional().describe("The cleaned value. Absent when it cannot be cleaned, or until the field's kind is known.")
62501
+ kind: RecordKind$zodSchema.optional().describe("What sort of value a field holds, which decides how it is cleaned, compared and searched again. It comes from the value itself where its shape is certain (an email, an IP, a URL, an international phone number), else from the answer stored for the source's column, else text. A value of any kind is returned."),
62502
+ original: string2().describe("The value as the source wrote it. A count is written in decimal and a time in RFC 3339; a breach column's value is as the leak holds it."),
62503
+ role: RecordRole$zodSchema.optional().describe("Which common field a value is, where many sources share it: a join date and a birth date are both dates, with the roles joined and born. A platform account's field and a breach row's column with the same meaning carry the same kind and role. A linked_account field is named by its network. Absent for a field only its source returns."),
62504
+ value: string2().optional().describe("The value cleaned to its kind's one form: an email in lower case, a phone number in international form when its country is known, a date in ISO form, a country as its two-letter code, a flag as true or false. Absent when the value cannot be cleaned as its kind; original still holds it.")
62372
62505
  }).describe("One value a source returned.");
62373
62506
  });
62374
62507
 
@@ -62377,7 +62510,7 @@ var RecordMatch$zodSchema;
62377
62510
  var init_recordmatch = __esm(() => {
62378
62511
  init_zod();
62379
62512
  RecordMatch$zodSchema = object({
62380
- by: string2().describe("The kind of searched value: email, phone, username, name, or handle for a profile read of a handle."),
62513
+ by: string2().describe("The kind of searched value: email, phone, username, ip, name, or handle for a profile read of a handle."),
62381
62514
  field: string2().optional().describe("The field the searched value hit, when the record holds it.")
62382
62515
  }).describe("One searched value that found the record.");
62383
62516
  });
@@ -62387,9 +62520,9 @@ var RecordSource$zodSchema;
62387
62520
  var init_recordsource = __esm(() => {
62388
62521
  init_zod();
62389
62522
  RecordSource$zodSchema = object({
62390
- connector: string2().describe("The id of the connector that read the record."),
62391
- date: string2().optional().describe("When the source's data dates from, at the precision it is known."),
62392
- kind: string2().describe("The kind of source: platform for an account read off a live platform."),
62523
+ connector: string2().describe("The id of the connector that read the record: breach for a breach row."),
62524
+ date: string2().optional().describe("When the source's data dates from, at the precision it is known: YYYY or YYYY-MM for a breach table."),
62525
+ kind: string2().describe("The kind of source: platform for an account read off a live platform; for a breach row, the kind of leak its table is: site_breach, credential_list, stealer_log, scrape, hacking_forum, abuse_service or darkweb_site."),
62393
62526
  site: string2().optional().describe("The host a person knows the source's site by."),
62394
62527
  table: string2().optional().describe("The table a leaked row came from.")
62395
62528
  }).describe("Where a record came from.");
@@ -62403,7 +62536,7 @@ var init_record = __esm(() => {
62403
62536
  init_recordmatch();
62404
62537
  init_recordsource();
62405
62538
  RecordT$zodSchema = object({
62406
- fields: array(RecordField$zodSchema).describe("Every field the source returned, in the order the source's connector lists them."),
62539
+ fields: array(RecordField$zodSchema).describe("Every field the source returned, in the order the source's connector lists them; a breach row's columns in name order. Nothing is withheld: a breach row's passwords, hashes and salts are fields like any other."),
62407
62540
  id: string2().describe("Made from the source and the fields' names and original values, so the same answer found twice is one record with the same id."),
62408
62541
  matched: array(RecordMatch$zodSchema).describe("Each kind of searched value that found the record."),
62409
62542
  observed_at: string2().describe("When the source last gave this answer."),
@@ -62411,6 +62544,18 @@ var init_record = __esm(() => {
62411
62544
  }).describe("One answer from one source: where it came from, what found it and every field it holds.");
62412
62545
  });
62413
62546
 
62547
+ // src/models/recordremaining.ts
62548
+ var RecordRemaining$zodSchema;
62549
+ var init_recordremaining = __esm(() => {
62550
+ init_zod();
62551
+ init_recordsource();
62552
+ RecordRemaining$zodSchema = object({
62553
+ by: string2().describe("The kind of searched value whose search matched the rows, as a record's matched names it."),
62554
+ rows: int().describe("How many rows of the source that search matched beyond the records the lookup carries."),
62555
+ source: RecordSource$zodSchema.describe("Where a record came from.")
62556
+ }).describe("Rows one search matched in one source that the lookup's records leave out, so no answer is cut short in silence.");
62557
+ });
62558
+
62414
62559
  // src/models/screeninglookupcheckstatus.ts
62415
62560
  var ScreeningLookupCheckStatus$zodSchema;
62416
62561
  var init_screeninglookupcheckstatus = __esm(() => {
@@ -62447,6 +62592,7 @@ var ScreeningLookup$zodSchema;
62447
62592
  var init_screeninglookup = __esm(() => {
62448
62593
  init_zod();
62449
62594
  init_record();
62595
+ init_recordremaining();
62450
62596
  init_riskdetails();
62451
62597
  init_risksummary();
62452
62598
  init_screeninglookupcheck();
@@ -62454,7 +62600,8 @@ var init_screeninglookup = __esm(() => {
62454
62600
  checks: array(ScreeningLookupCheck$zodSchema).describe("Each lane each identifier was looked up in, identifiers in the order email, phone, username and lanes in the order accounts, phone, breach, domain. Every lane the person's identifiers are looked up in is listed: one that no source answered, or that no source could be asked in, is not_covered. Empty when the person has no email, phone or handle to look up."),
62455
62601
  details: RiskDetails$zodSchema.optional().describe("Merged observations behind the summary, served only to a caller who may read evidence: no provider, source, origin, raw breach record or score."),
62456
62602
  looked_at: string2().describe("When the lookups ran."),
62457
- records: array(RecordT$zodSchema).optional().describe("What each source that found an account answered, whole: every field under the source's own names, each answer once. Served only to a caller who may read evidence, as details are."),
62603
+ records: array(RecordT$zodSchema).optional().describe("What each source answered, whole, each answer once: every field of each account a connector found, and every column of each breach row the person's email or usernames matched, under the source's own names. Anyone who may read the person reads them: no extra permission applies, breach passwords and hashes included."),
62604
+ remaining: array(RecordRemaining$zodSchema).optional().describe("For each search and source whose matched rows records leave out, how many: a breach search returns at most 20 rows of a table and 100 in all, from its first 64 tables by name. Absent when records hold every matched row."),
62458
62605
  summary: RiskSummary$zodSchema.optional().describe("A few typed facts per identifier: an assessment's risk.summary, and a screened person's lookup summary. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer.")
62459
62606
  }).describe("What the signup check's lookups found for a person: account presence for the email, phone and usernames (the person's handles), the phone lookup, the email domain's registration and the breach search. Context and coverage for the reviewer, not a finding: nothing here sets a band or a match state.");
62460
62607
  });
@@ -73471,7 +73618,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
73471
73618
  function createMCPServer(deps) {
73472
73619
  const server = new McpServer({
73473
73620
  name: "NoResponse",
73474
- version: "0.13.1"
73621
+ version: "0.13.3"
73475
73622
  });
73476
73623
  const getClient = deps.getSDK || (() => new NoResponseCore({
73477
73624
  security: deps.security,
@@ -82880,7 +83027,7 @@ var routes = buildRouteMap({
82880
83027
  var app = buildApplication(routes, {
82881
83028
  name: "mcp",
82882
83029
  versionInfo: {
82883
- currentVersion: "0.13.1"
83030
+ currentVersion: "0.13.3"
82884
83031
  }
82885
83032
  });
82886
83033
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -82888,5 +83035,5 @@ export {
82888
83035
  app
82889
83036
  };
82890
83037
 
82891
- //# debugId=4B22B4C2BCB237F064756E2164756E21
83038
+ //# debugId=14A275DF97B3DC1D64756E2164756E21
82892
83039
  //# sourceMappingURL=mcp-server.js.map