@noresponse/mcp 0.13.2 → 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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.3
4
+
5
+ * `SDK.groups.getPerson()`: `response.profiles[].record.fields[]` **Changed** (Breaking ⚠️)
6
+
3
7
  ## 0.13.2
4
8
 
5
9
  * `SDK.groups.getPerson()`: `response.lookup.remaining` **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.13.2",
48139
+ sdkVersion: "0.13.3",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.13.2 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."),
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."),
62369
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."),
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.")
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
 
@@ -73485,7 +73618,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
73485
73618
  function createMCPServer(deps) {
73486
73619
  const server = new McpServer({
73487
73620
  name: "NoResponse",
73488
- version: "0.13.2"
73621
+ version: "0.13.3"
73489
73622
  });
73490
73623
  const getClient = deps.getSDK || (() => new NoResponseCore({
73491
73624
  security: deps.security,
@@ -82894,7 +83027,7 @@ var routes = buildRouteMap({
82894
83027
  var app = buildApplication(routes, {
82895
83028
  name: "mcp",
82896
83029
  versionInfo: {
82897
- currentVersion: "0.13.2"
83030
+ currentVersion: "0.13.3"
82898
83031
  }
82899
83032
  });
82900
83033
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -82902,5 +83035,5 @@ export {
82902
83035
  app
82903
83036
  };
82904
83037
 
82905
- //# debugId=6CA22CFB68C1D0DE64756E2164756E21
83038
+ //# debugId=14A275DF97B3DC1D64756E2164756E21
82906
83039
  //# sourceMappingURL=mcp-server.js.map