@noresponse/mcp 0.10.2 → 0.10.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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.10.3
4
+
5
+ * `SDK.accounts.search()`:
6
+ * `request.needs_action` **Added**
7
+ * `response.items[].waiting_for` **Added**
8
+ * `SDK.reviews.list()`:
9
+ * `request.account_id` **Added**
10
+ * `SDK.reviews.listViews()`: `response.items[].filter.account_id` **Added**
11
+ * `SDK.reviews.createView()`:
12
+ * `request.body.filter.account_id` **Added**
13
+ * `response.filter.account_id` **Added**
14
+ * `SDK.reviews.updateView()`:
15
+ * `request.body.filter.account_id` **Added**
16
+ * `response.filter.account_id` **Added**
17
+
3
18
  ## 0.10.2
4
19
 
5
20
  * `SDK.assessments.create()`: `response.account.risk.reasons[].code.enum(no_email_matches)` **Added** (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.10.2",
48139
+ sdkVersion: "0.10.3",
48140
48140
  genVersion: "internal",
48141
- userAgent: "noresponse-sdk/mcp-typescript 0.10.2 internal 1 @noresponse/mcp"
48141
+ userAgent: "noresponse-sdk/mcp-typescript 0.10.3 internal 1 @noresponse/mcp"
48142
48142
  };
48143
48143
  });
48144
48144
 
@@ -54856,7 +54856,8 @@ var init_accountdirectorysearchrequest = __esm(() => {
54856
54856
  account_id: string2().optional().describe("Your own opaque identifier for the account being checked, scoped to your workspace. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id."),
54857
54857
  cursor: string2().optional().describe("Opaque, expiring cursor bound to this environment, operation and every filter. Keep the filters unchanged."),
54858
54858
  email: string2().optional().describe("Assessments of every account that one of its retained admitted assessments sent this mailbox as identifiers.email, matched as lists match an email entry: case-insensitive, a +tag removed and, at gmail.com and googlemail.com, the dots of the local part ignored. Only assessments stored since email list matching began carry the mailbox. An address that is not a valid mailbox is refused with 400."),
54859
- limit: int().default(25)
54859
+ limit: int().default(25),
54860
+ needs_action: boolean2().default(false).describe("Select accounts with a retained open or in-progress review, or a current review/block account decision with no retained effective account outcome. The server applies this filter before counting and pagination. Requires reviews.read as well as history.read for console members; API keys additionally require management.")
54860
54861
  }).describe("Bounded distinct-account search for a single authenticated workspace/environment. Email matches any retained admitted assessment of an account, using assessment search's canonical mailbox rules. No assessment history download is required.");
54861
54862
  });
54862
54863
 
@@ -54953,7 +54954,7 @@ var init_accountsSearch2 = __esm(() => {
54953
54954
  name: "search_accounts",
54954
54955
  description: `Search distinct accounts by email or account ID
54955
54956
 
54956
- Search distinct accounts observed in retained assessments in this environment. Match an exact account_id or canonical email; an email matches any retained assessment belonging to the account. The response contains one row per account with its newest retained assessment, current decision when available, per-account assessment count, and total distinct-account count. Send next_cursor with unchanged filters to continue. Totals are exact below 10000 and capped at 10000. Results are live across pages. Requires history access and identifier access for email. Read-only and safe to retry.`,
54957
+ Search distinct accounts observed in retained assessments in this environment. Match an exact account_id or canonical email; an email matches any retained assessment belonging to the account. Set needs_action to select accounts with an open or in-progress retained review, or a current review/block decision without an effective retained outcome. This filter applies before pagination and counting, adds waiting_for reasons to each row and requires management scope as well as history or investigate access. The response contains one row per account with its newest retained assessment, current decision when available, per-account assessment count, and total distinct-account count. Send next_cursor with unchanged filters to continue. Totals are exact below 10000 and capped at 10000. Results are live across pages. Requires history access and identifier access for email. Read-only and safe to retry.`,
54957
54958
  annotations: {
54958
54959
  title: "Search retained accounts by identifier",
54959
54960
  destructiveHint: false,
@@ -64828,6 +64829,7 @@ var init_filter = __esm(() => {
64828
64829
  init_priority();
64829
64830
  init_reviewstatus();
64830
64831
  Filter$zodSchema = object({
64832
+ account_id: string2().optional().describe("Only reviews of this exact account in the authenticated workspace and environment. Applied before pagination."),
64831
64833
  assignee: string2().optional(),
64832
64834
  assignee_principal_id: string2().optional(),
64833
64835
  priority: Priority$zodSchema.optional(),
@@ -65764,6 +65766,7 @@ var init_listreviewsop = __esm(() => {
65764
65766
  init_reviewlist();
65765
65767
  init_reviewstatus();
65766
65768
  ListReviewsRequest$zodSchema = object({
65769
+ account_id: string2().describe("Only reviews of this exact account in the authenticated workspace and environment. Applied before pagination and bound into the cursor.").optional(),
65767
65770
  assignee: string2().optional(),
65768
65771
  assignee_principal_id: string2().describe("Filter by immutable member ID. Mutually exclusive with assignee and unassigned=true.").optional(),
65769
65772
  cursor: string2().optional(),
@@ -65820,6 +65823,7 @@ async function $do73(client$, request, options) {
65820
65823
  };
65821
65824
  const path$ = pathToFunc("/v1/workspaces/{workspace_id}/reviews/{environment}")(pathParams$);
65822
65825
  const query$ = encodeFormQuery({
65826
+ account_id: payload$.account_id,
65823
65827
  assignee: payload$.assignee,
65824
65828
  assignee_principal_id: payload$.assignee_principal_id,
65825
65829
  cursor: payload$.cursor,
@@ -65909,7 +65913,7 @@ var init_reviewsList2 = __esm(() => {
65909
65913
  name: "list_reviews",
65910
65914
  description: `List retained account reviews.
65911
65915
 
65912
- List retained investigation reviews using filters and an authenticated cursor.`,
65916
+ List retained investigation reviews using filters and an authenticated cursor. Optional account_id selects one exact account in this environment before pagination. All filters are bound into the cursor.`,
65913
65917
  annotations: {
65914
65918
  title: "List retained account investigations",
65915
65919
  destructiveHint: false,
@@ -69690,7 +69694,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
69690
69694
  function createMCPServer(deps) {
69691
69695
  const server = new McpServer({
69692
69696
  name: "NoResponse",
69693
- version: "0.10.2"
69697
+ version: "0.10.3"
69694
69698
  });
69695
69699
  const getClient = deps.getSDK || (() => new NoResponseCore({
69696
69700
  security: deps.security,
@@ -70058,7 +70062,7 @@ List retained immutable risk decisions for one account with an authenticated cur
70058
70062
  name: "search_accounts",
70059
70063
  description: `Search distinct accounts by email or account ID
70060
70064
 
70061
- Search distinct accounts observed in retained assessments in this environment. Match an exact account_id or canonical email; an email matches any retained assessment belonging to the account. The response contains one row per account with its newest retained assessment, current decision when available, per-account assessment count, and total distinct-account count. Send next_cursor with unchanged filters to continue. Totals are exact below 10000 and capped at 10000. Results are live across pages. Requires history access and identifier access for email. Read-only and safe to retry.`
70065
+ Search distinct accounts observed in retained assessments in this environment. Match an exact account_id or canonical email; an email matches any retained assessment belonging to the account. Set needs_action to select accounts with an open or in-progress retained review, or a current review/block decision without an effective retained outcome. This filter applies before pagination and counting, adds waiting_for reasons to each row and requires management scope as well as history or investigate access. The response contains one row per account with its newest retained assessment, current decision when available, per-account assessment count, and total distinct-account count. Send next_cursor with unchanged filters to continue. Totals are exact below 10000 and capped at 10000. Results are live across pages. Requires history access and identifier access for email. Read-only and safe to retry.`
70062
70066
  },
70063
70067
  {
70064
70068
  name: "list_keys",
@@ -70304,7 +70308,7 @@ Read retained propagation progress for a list change with settings or management
70304
70308
  name: "list_reviews",
70305
70309
  description: `List retained account reviews.
70306
70310
 
70307
- List retained investigation reviews using filters and an authenticated cursor.`
70311
+ List retained investigation reviews using filters and an authenticated cursor. Optional account_id selects one exact account in this environment before pagination. All filters are bound into the cursor.`
70308
70312
  },
70309
70313
  {
70310
70314
  name: "create_review",
@@ -78979,7 +78983,7 @@ var routes = buildRouteMap({
78979
78983
  var app = buildApplication(routes, {
78980
78984
  name: "mcp",
78981
78985
  versionInfo: {
78982
- currentVersion: "0.10.2"
78986
+ currentVersion: "0.10.3"
78983
78987
  }
78984
78988
  });
78985
78989
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -78987,5 +78991,5 @@ export {
78987
78991
  app
78988
78992
  };
78989
78993
 
78990
- //# debugId=A517FA6F5FBFC1C564756E2164756E21
78994
+ //# debugId=16531E01D8A2C65564756E2164756E21
78991
78995
  //# sourceMappingURL=mcp-server.js.map