@grepr/cli 1.14.9-3f95281 → 1.14.9-d631b05

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.
@@ -244,7 +244,7 @@ export interface paths {
244
244
  put?: never;
245
245
  /**
246
246
  * Apply a pending agent suggestion
247
- * @description Re-verifies the suggestion's template-inputs patch against the pipeline's current version and applies it as a new job version, marking the suggestion APPLIED. The resolution is compare-and-set on the pending status: a reviewer who loses a race to another gets 409 rather than overwriting it. Findings mean the pipeline changed since the suggestion was recorded; nothing is applied and the suggestion stays PENDING. Applying restarts the pipeline from a savepoint.
247
+ * @description Re-verifies the suggestion's template-inputs patch against the pipeline's current version and applies it as a new job version, marking the suggestion APPLIED. The resolution is compare-and-set on the pending status: a reviewer who loses a race to another gets 409 rather than overwriting it. Findings mean the pipeline changed since the suggestion was recorded; nothing is applied and the suggestion stays PENDING. A change to signal masks and drop rules only applies live, without a restart; any other change may restart the pipeline from a savepoint.
248
248
  */
249
249
  post: operations["apply"];
250
250
  delete?: never;
@@ -5453,7 +5453,7 @@ export interface components {
5453
5453
  AgentSuggestionApplyResult: {
5454
5454
  /**
5455
5455
  * Format: int64
5456
- * @description The new job version the suggestion was applied as, or absent when it was rejected by verification. Applying restarts the pipeline from a savepoint, so the new version reaches its desired state asynchronously.
5456
+ * @description The new job version the suggestion was applied as, or absent when it was rejected by verification. A signal mask or drop rule change applies live without a restart; any other change may restart the pipeline from a savepoint, so the new version reaches its desired state asynchronously.
5457
5457
  */
5458
5458
  appliedJobVersion?: number;
5459
5459
  /**
@@ -9922,6 +9922,18 @@ export interface components {
9922
9922
  */
9923
9923
  repeatCountInSummaryMessageEnabled?: boolean;
9924
9924
  samplingConfig?: components["schemas"]["SamplingConfig"];
9925
+ /**
9926
+ * Signal drop rules
9927
+ * @description Named predicates that stop matching patterns from being signalled while the rule is enabled. Removing or disabling a rule affects only variants first seen and subscribers who join afterwards: a line that keeps occurring is offered again only after it goes quiet long enough for the reducer to forget it. The reducer's own output is not affected.
9928
+ * @default []
9929
+ */
9930
+ signalDropRules?: components["schemas"]["SignalDropRule"][];
9931
+ /**
9932
+ * Signal masks
9933
+ * @description Capture-group regexes applied only to the message the signal matcher compares. Each non-empty group span is replaced with <name>. The reducer's own masks and output are not affected.
9934
+ * @default []
9935
+ */
9936
+ signalMasks?: components["schemas"]["SignalMask"][];
9925
9937
  /**
9926
9938
  * Similarity threshold
9927
9939
  * Format: double
@@ -11757,6 +11769,10 @@ export interface components {
11757
11769
  * @default []
11758
11770
  */
11759
11771
  findings?: components["schemas"]["ChangeFinding"][];
11772
+ /** @description With rejectedSuggestionId: what was rejected, and what to do. */
11773
+ message?: string;
11774
+ /** @description Not an error: this agent's signal change proposes again an entry of the signal change a person rejected as this suggestion, so nothing was recorded or applied. */
11775
+ rejectedSuggestionId?: string;
11760
11776
  /** @description The agent suggestion the change was recorded as. The pipeline is NOT updated and will not restart, so there is nothing to wait for and the change must not be resubmitted; a human reviews and applies it from the pipeline page. */
11761
11777
  suggestionId?: string;
11762
11778
  };
@@ -13415,6 +13431,41 @@ export interface components {
13415
13431
  */
13416
13432
  predicate: string;
13417
13433
  };
13434
+ SignalDropRule: {
13435
+ /**
13436
+ * Enabled
13437
+ * @description Whether the rule is applied.
13438
+ * @default true
13439
+ */
13440
+ enabled?: boolean;
13441
+ /**
13442
+ * Name
13443
+ * @description Unique name of the rule. Template patches merge entries by name.
13444
+ * @example ignore-health-checks
13445
+ */
13446
+ name: string;
13447
+ predicate: components["schemas"]["EventPredicate"];
13448
+ };
13449
+ SignalMask: {
13450
+ /**
13451
+ * Enabled
13452
+ * @description Whether the mask is applied.
13453
+ * @default true
13454
+ */
13455
+ enabled?: boolean;
13456
+ /**
13457
+ * Name
13458
+ * @description Unique name of the mask. Matched spans are replaced with <name>. Template patches merge entries by name.
13459
+ * @example ship_addr
13460
+ */
13461
+ name: string;
13462
+ /**
13463
+ * Regex
13464
+ * @description An RE2 regex (no lookarounds or backreferences) with at least one capture group; it must also compile under Hyperscan. Each non-empty group span of a match is replaced with <name>.
13465
+ * @example Shipping to (.+?) order=
13466
+ */
13467
+ regex: string;
13468
+ };
13418
13469
  SignupRequest: {
13419
13470
  orgName: string;
13420
13471
  reCaptchaToken: string;
@@ -17178,6 +17229,8 @@ export type SchemaSetIssueLocksRequest = components["schemas"]["SetIssueLocksReq
17178
17229
  export type SchemaSeverityNode = components["schemas"]["SeverityNode"];
17179
17230
  export type SchemaShardingConfig = components["schemas"]["ShardingConfig"];
17180
17231
  export type SchemaSiblingMergeRule = components["schemas"]["SiblingMergeRule"];
17232
+ export type SchemaSignalDropRule = components["schemas"]["SignalDropRule"];
17233
+ export type SchemaSignalMask = components["schemas"]["SignalMask"];
17181
17234
  export type SchemaSignupRequest = components["schemas"]["SignupRequest"];
17182
17235
  export type SchemaSkillFile = components["schemas"]["SkillFile"];
17183
17236
  export type SchemaSkillView = components["schemas"]["SkillView"];
@@ -30296,6 +30349,7 @@ export declare enum ChangeFindingCode {
30296
30349
  HELPER_RULE_DELETED = "HELPER_RULE_DELETED",
30297
30350
  RESOLUTION_FAILED = "RESOLUTION_FAILED",
30298
30351
  DISALLOWED_INPUT_CHANGE = "DISALLOWED_INPUT_CHANGE",
30352
+ INVALID_SIGNAL_CONFIG = "INVALID_SIGNAL_CONFIG",
30299
30353
  UNVERIFIABLE_CHANGE = "UNVERIFIABLE_CHANGE",
30300
30354
  NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE"
30301
30355
  }