@taiga-ai/mcp-server 0.37.0-dev.1169 → 0.37.0-dev.1171

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -27625,6 +27625,16 @@ const INBOX_TASK_PHASES = [
27625
27625
  */
27626
27626
  /** How long one answer of a `run_summary` may be. */
27627
27627
  const RUN_SUMMARY_ANSWER_MAX = 1e3;
27628
+ /**
27629
+ * How a failed check of a `ci_result` ended on its base branch's head (P-PRO-224): `failed`
27630
+ * there too, so not this change's doing; `passed` there, so this change's; `not_run` there,
27631
+ * as a check that runs only on pull requests is not.
27632
+ */
27633
+ const CI_BASE_RESULTS = [
27634
+ "failed",
27635
+ "passed",
27636
+ "not_run"
27637
+ ];
27628
27638
  /** A moment as factory-vm records it: ISO 8601, with its offset. */
27629
27639
  const moment = datetime({ offset: true });
27630
27640
  const optionalMoment = moment.optional();
@@ -27686,9 +27696,15 @@ discriminatedUnion("kind", [
27686
27696
  passed: number$1().int().min(0),
27687
27697
  failed: array(object({
27688
27698
  name: string$2().min(1).max(200),
27689
- url: string$2().max(2e3).nullable()
27699
+ url: string$2().max(2e3).nullable(),
27700
+ onBase: _enum(CI_BASE_RESULTS).optional()
27690
27701
  })).max(20),
27691
27702
  moreFailed: number$1().int().min(0).optional(),
27703
+ moreFailedSameOnBase: number$1().int().min(0).optional(),
27704
+ base: object({
27705
+ branch: string$2().min(1).max(255),
27706
+ headSha: string$2().regex(/^[0-9a-f]{7,40}$/)
27707
+ }).optional(),
27692
27708
  passing: array(object({
27693
27709
  name: string$2().min(1).max(200),
27694
27710
  url: string$2().max(2e3).nullable()
@@ -28986,7 +29002,7 @@ const REQUEST_EXITS = [
28986
29002
  /** The most ids an answer's `seen` carries; a longer list is not sent, and the review is not checked. */
28987
29003
  const REVIEW_SEEN_MAX = 1e4;
28988
29004
  //#endregion
28989
- //#region ../../packages/types/dist/maintenance.js
29005
+ //#region ../../packages/types/dist/findings.js
28990
29006
  /**
28991
29007
  * Maintenance taxonomy + API DTOs.
28992
29008
  *
@@ -29012,7 +29028,7 @@ const REVIEW_SEEN_MAX = 1e4;
29012
29028
  * package" reads "CKV_AWS_20 x4"; file, line, snippet and rule URL live in
29013
29029
  * `sourcePaths` + `data`.
29014
29030
  *
29015
- * Canonical copy; the DB schema (maintenance-findings.ts) self-defines the
29031
+ * Canonical copy; the DB schema (findings.ts) self-defines the
29016
29032
  * same values for its CHECK constraint and the agent (maintenance/models.py)
29017
29033
  * for its Literal -- keep the three in sync.
29018
29034
  */
@@ -29176,7 +29192,7 @@ const MAINTENANCE_FINDING_STATUSES = [
29176
29192
  * - accepted_risk: understood and tolerated (usually time-boxed via expiry)
29177
29193
  * - wont_fix: won't address (e.g. no fix available, or out of scope)
29178
29194
  *
29179
- * Canonical copy; the DB schema (maintenance-findings.ts) self-defines the same
29195
+ * Canonical copy; the DB schema (findings.ts) self-defines the same
29180
29196
  * values for its CHECK constraint -- keep the two in sync.
29181
29197
  */
29182
29198
  const MAINTENANCE_IGNORE_REASONS = [
@@ -29474,11 +29490,11 @@ function isAttestationLink(value) {
29474
29490
  }
29475
29491
  }
29476
29492
  //#endregion
29477
- //#region ../../packages/types/dist/maintenance-advisory.js
29493
+ //#region ../../packages/types/dist/finding-advisory.js
29478
29494
  /**
29479
29495
  * Pull the renderable advisory fields out of a finding's raw OSV `data` object.
29480
29496
  *
29481
- * `data` is the scanner's raw OSV vulnerability payload (MaintenanceFindingData,
29497
+ * `data` is the scanner's raw OSV vulnerability payload (FindingData,
29482
29498
  * shape varies), so every field is read leniently: a missing or malformed key
29483
29499
  * yields an empty value rather than throwing. Shared by the web app's finding
29484
29500
  * detail and the Taiga Audit preview and report (PRO-3791), so both show the
@@ -37909,7 +37925,7 @@ const SEARCH_WITH_CURSOR = "A search answers one page; narrow the query instead
37909
37925
  /** What a search says when it stopped before reading every row. */
37910
37926
  const SEARCH_NOTE = "A search answers one page, so nextCursor is null; there may be more matches than the limit carries: narrow the query or raise the limit.";
37911
37927
  //#endregion
37912
- //#region src/tools/maintenance.ts
37928
+ //#region src/tools/findings.ts
37913
37929
  /**
37914
37930
  * Maintaining (docs.tai.ga, Operate): what the sweeps found in a product's
37915
37931
  * repository and where it stands against the organization's own policies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1169",
3
+ "version": "0.37.0-dev.1171",
4
4
  "description": "Taiga for AI coding assistants: read products, policies, initiatives and runs, and operate the line, over MCP",
5
5
  "mcpName": "ga.tai/mcp-server",
6
6
  "license": "UNLICENSED",