@taiga-ai/mcp-server 0.44.0-dev.1250 → 0.46.0-dev.1252

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 (3) hide show
  1. package/README.md +10 -10
  2. package/dist/index.js +81 -18
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ You need an access key, made in Taiga under **Settings > Account > MCP**, where
14
14
 
15
15
  Create the key first, and choose when it expires: in 30 days, 90 days, a year, or never. Taiga copies it to your clipboard, shows it once, and keeps it on the page until you say you have saved it, so copying the setup next does not lose it.
16
16
 
17
- The same page shows the setup for your client and environment, with the key already filled in where a config file needs it, and a one-click install for Cursor. The examples here pin a release (`@taiga-ai/mcp-server@0.44.0`), so an install runs the version you chose rather than whatever `latest` is at the next start.
17
+ The same page shows the setup for your client and environment, with the key already filled in where a config file needs it, and a one-click install for Cursor. The examples here pin a release (`@taiga-ai/mcp-server@0.46.0`), so an install runs the version you chose rather than whatever `latest` is at the next start.
18
18
 
19
19
  ## Install
20
20
 
@@ -23,29 +23,29 @@ The same page shows the setup for your client and environment, with the key alre
23
23
  Run the command. When it asks for your access key, paste it once and press Enter. Nothing appears as you paste (PowerShell shows asterisks), and the key stays out of your shell history:
24
24
 
25
25
  ```sh
26
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && claude mcp add taiga --scope user -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.44.0
26
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && claude mcp add taiga --scope user -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
27
27
  ```
28
28
 
29
29
  ```sh
30
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && codex mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.44.0
30
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && codex mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
31
31
  ```
32
32
 
33
33
  ```sh
34
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && copilot mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.44.0
34
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && copilot mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
35
35
  ```
36
36
 
37
37
  On Windows, in PowerShell (Claude Code and Copilot start `npx` through `cmd /c`; the quoted `'--'` survives npm's PowerShell shims):
38
38
 
39
39
  ```powershell
40
- $k = Read-Host 'Taiga access key' -AsSecureString; claude mcp add taiga --scope user -e "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.44.0
40
+ $k = Read-Host 'Taiga access key' -AsSecureString; claude mcp add taiga --scope user -e "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.46.0
41
41
  ```
42
42
 
43
43
  ```powershell
44
- $k = Read-Host 'Taiga access key' -AsSecureString; codex mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' npx -y @taiga-ai/mcp-server@0.44.0
44
+ $k = Read-Host 'Taiga access key' -AsSecureString; codex mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' npx -y @taiga-ai/mcp-server@0.46.0
45
45
  ```
46
46
 
47
47
  ```powershell
48
- $k = Read-Host 'Taiga access key' -AsSecureString; copilot mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.44.0
48
+ $k = Read-Host 'Taiga access key' -AsSecureString; copilot mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.46.0
49
49
  ```
50
50
 
51
51
  The Copilot command also sets up the GitHub Copilot app. If you have the app but no `copilot` command, add the server to `~/.copilot/mcp-config.json` instead, beside any servers already there. It holds your key, so keep it out of repositories:
@@ -56,7 +56,7 @@ The Copilot command also sets up the GitHub Copilot app. If you have the app but
56
56
  "taiga": {
57
57
  "type": "local",
58
58
  "command": "npx",
59
- "args": ["-y", "@taiga-ai/mcp-server@0.44.0"],
59
+ "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
60
60
  "env": { "TAIGA_API_KEY": "YOUR_ACCESS_KEY" },
61
61
  "tools": ["*"]
62
62
  }
@@ -73,7 +73,7 @@ Most clients read the same `mcpServers` block. Add it with your key in place of
73
73
  "mcpServers": {
74
74
  "taiga": {
75
75
  "command": "npx",
76
- "args": ["-y", "@taiga-ai/mcp-server@0.44.0"],
76
+ "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
77
77
  "env": { "TAIGA_API_KEY": "YOUR_ACCESS_KEY" }
78
78
  }
79
79
  }
@@ -101,7 +101,7 @@ In `.vscode/mcp.json`. VS Code reads `servers`, and prompts for the key once and
101
101
  "taiga": {
102
102
  "type": "stdio",
103
103
  "command": "npx",
104
- "args": ["-y", "@taiga-ai/mcp-server@0.44.0"],
104
+ "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
105
105
  "env": { "TAIGA_API_KEY": "${input:taiga-api-key}" }
106
106
  }
107
107
  }
package/dist/index.js CHANGED
@@ -40530,6 +40530,18 @@ function controlCoveragePart(controls) {
40530
40530
  }
40531
40531
  const findingId = idInput("finding", "taiga_list_findings gives it");
40532
40532
  /** Open findings by severity and kind, and the latest sweeps, as the first page of findings carries them. */
40533
+ /**
40534
+ * The opened and resolved totals without the daily series behind them (PRO-5098): thirty rows, mostly zeros, on
40535
+ * every first page, where the totals answer the question. overDays says the window the totals cover.
40536
+ */
40537
+ function activityTotals(activity) {
40538
+ if (!activity || typeof activity !== "object") return {};
40539
+ const { days, ...totals } = activity;
40540
+ return { activity: Array.isArray(days) ? {
40541
+ ...totals,
40542
+ overDays: days.length
40543
+ } : totals };
40544
+ }
40533
40545
  async function sweepOverview(client, productId) {
40534
40546
  const [summary, sweeps] = await Promise.all([client.getMaintenanceSummary(productId), client.listMaintenanceSweeps(productId, { limit: 3 })]);
40535
40547
  const latest = sweeps.data.map((sweep) => ({
@@ -40540,6 +40552,7 @@ async function sweepOverview(client, productId) {
40540
40552
  const { lastRun: _lastRun, lastRuns: _lastRuns, topFindings: _top, violatedControls: _controls, ...counts } = summary.data;
40541
40553
  return {
40542
40554
  ...counts,
40555
+ ...activityTotals(counts["activity"]),
40543
40556
  latestSweeps: latest,
40544
40557
  ...latest.length === 0 ? { note: "This product has never been swept: no findings is not an all-clear." } : {}
40545
40558
  };
@@ -41615,7 +41628,7 @@ function describeMiss(type, wanted, timelines, product) {
41615
41628
  const parts = [`No published ${wanted} ${name} (${type}) for this product.`];
41616
41629
  const rows = (side) => timelines[side] ?? [];
41617
41630
  if (rows(other).some((row) => row.type === type && isPublished(row))) parts.push(`It is published on the ${other} side: call again with origin '${other}'.`);
41618
- else for (const side of [wanted, other]) if (rows(side).some((row) => row.type === type && !isPublished(row))) parts.push(`A draft of it exists on the ${side} side, unpublished.`);
41631
+ else for (const side of [wanted, other]) if (rows(side).some((row) => row.type === type && !isPublished(row))) parts.push(side === "plan" ? "A draft of it exists on the plan side, unpublished: draft: true reads it." : `A draft of it exists on the ${side} side, unpublished.`);
41619
41632
  for (const o of PRODUCT_DOCUMENT_ORIGINS) {
41620
41633
  const side = timelines[o];
41621
41634
  const label = `${o[0].toUpperCase()}${o.slice(1)} documents`;
@@ -41795,23 +41808,33 @@ function registerProductTools(server, client) {
41795
41808
  }));
41796
41809
  server.registerTool("taiga_get_product_document", {
41797
41810
  title: "Get product document",
41798
- description: "Read a product's documents. The plan timeline (specification, architecture, threat model and more) says what to build; the reality timeline says what the code does: read it before changing code. Without type, the list. sections: [] gives the outline, then name the sections you need. versions: true lists the published versions; version reads one. A specification not yet published reads as its draft and its seven sections.",
41811
+ description: "Read a product's documents. The plan timeline (specification, architecture, threat model and more) says what to build; the reality timeline says what the code does: read it before changing code. Without type, the list. sections: [] gives the outline, then name the sections you need. versions: true lists the published versions; version reads one. draft: true reads the unpublished draft a write left, with sections as on a published read. A specification not yet published, of a product started from scratch, reads as its draft and its seven sections.",
41799
41812
  inputSchema: object({
41800
41813
  productId,
41801
41814
  type: _enum(PRODUCT_DOCUMENT_TYPES).optional().describe("Document type; omit to list what the product has on both timelines"),
41802
41815
  origin: originInput,
41803
41816
  sections: sectionsInput,
41804
41817
  versions: boolean().optional().describe("true: list the published versions, newest first, without content"),
41805
- version: number$1().int().positive().optional().describe("Read this published version instead of the latest (versions: true lists them)")
41818
+ version: number$1().int().positive().optional().describe("Read this published version instead of the latest (versions: true lists them)"),
41819
+ draft: boolean().optional().describe("true: read the unpublished draft (plan timeline) instead of the published version")
41806
41820
  }),
41807
41821
  annotations: READ_ONLY
41808
41822
  }, (params) => runTool(async () => {
41809
41823
  if (params.type === void 0) {
41810
- if (params.sections || params.origin || params.versions || params.version !== void 0) return toolError("VALIDATION_ERROR", "Name the document (type) to read one timeline or its sections.");
41824
+ if (params.sections || params.origin || params.versions || params.version !== void 0 || params.draft) return toolError("VALIDATION_ERROR", "Name the document (type) to read one timeline or its sections.");
41811
41825
  const { unlistable: _unlistable, ...timelines } = await documentTimelines(client, params.productId);
41812
41826
  return toolResult(timelines);
41813
41827
  }
41814
41828
  const type = params.type;
41829
+ if (params.draft) {
41830
+ if (params.versions || params.version !== void 0) return toolError("VALIDATION_ERROR", "draft reads the unpublished draft; versions and version read published ones.");
41831
+ if (params.origin === "reality") return toolError("VALIDATION_ERROR", "Drafts are written on the plan timeline; leave origin out or use plan.");
41832
+ const draft = (await client.getProductDocumentDraft(params.productId, type)).data;
41833
+ if (!draft) return toolError("NOT_FOUND", `There is no draft of ${productDocumentName(type)} (${type}). taiga_update_product_document writes one; without draft, this reads the published version.`);
41834
+ const doc = stripProvenance(draft);
41835
+ if (!params.sections) return toolResult(doc);
41836
+ return sectionReadResult(doc, params.sections, `plan ${type} draft`);
41837
+ }
41815
41838
  let product;
41816
41839
  if (!params.origin) product = (await client.getProduct(params.productId)).data;
41817
41840
  const origin = params.origin ?? defaultOriginFor(product, type);
@@ -41844,13 +41867,14 @@ function registerProductTools(server, client) {
41844
41867
  return sectionReadResult(doc, params.sections, `${origin} ${type}`);
41845
41868
  } catch (error) {
41846
41869
  if (!(error instanceof TaigaApiError) || error.status !== 404) throw error;
41847
- if (type === "specification" && origin === "plan") {
41870
+ if (type === "specification" && origin === "plan") product ??= (await client.getProduct(params.productId)).data;
41871
+ if (type === "specification" && origin === "plan" && !isImportedProduct(product)) {
41848
41872
  const draft = (await client.getProductDocumentDraft(params.productId, type)).data;
41849
41873
  return toolResult({
41850
41874
  type,
41851
41875
  origin,
41852
41876
  published: false,
41853
- draft: draft ? draftRead(stripProvenance(draft), params.sections) : null,
41877
+ draft: draft ? draftRead(stripProvenance(draft), params.sections, "plan specification draft") : null,
41854
41878
  sections: SPECIFICATION_SECTIONS.map((section) => ({
41855
41879
  id: section.id,
41856
41880
  heading: specificationHeading(section),
@@ -41866,9 +41890,9 @@ function registerProductTools(server, client) {
41866
41890
  }
41867
41891
  }
41868
41892
  /** A draft as `sections` asks for it, as sectionReadResult answers a published read; the whole draft without. */
41869
- function draftRead(doc, sections) {
41893
+ function draftRead(doc, sections, label) {
41870
41894
  if (!sections) return doc;
41871
- const first = sectionReadResult(doc, sections, "plan specification draft").content[0];
41895
+ const first = sectionReadResult(doc, sections, label).content[0];
41872
41896
  return first?.type === "text" ? JSON.parse(first.text) : doc;
41873
41897
  }
41874
41898
  //#endregion
@@ -41912,6 +41936,8 @@ function sectionIdFrom(readTool) {
41912
41936
  return string$2().min(1).describe(`Section id -- the keys of \`data.sections\` in ${readTool}, e.g. summary, scope, apiDesign. An id that does not exist yet adds a section.`);
41913
41937
  }
41914
41938
  const sectionContentInput = string$2().describe("The full new Markdown text of the section; it replaces the old text");
41939
+ /** Reads the unpublished draft a write left, so a model can review a document it wrote before anyone publishes it. */
41940
+ const draftInput = boolean().optional().describe("true: read the unpublished draft instead of the published version");
41915
41941
  const tenantDocumentType = _enum(TENANT_DOCUMENT_TYPES).describe("Document type: the policy_* ones are policies");
41916
41942
  /** Everything the model needs back from a write, without the content it already holds. */
41917
41943
  function documentSummary(doc) {
@@ -42162,10 +42188,11 @@ function policiesNamed(sections) {
42162
42188
  function registerDocumentTools(server, client) {
42163
42189
  if (client.hasCapability("tenant:documents:read")) server.registerTool("taiga_get_organization_document", {
42164
42190
  title: "Get an organization document",
42165
- description: "Read the organization's policies and other documents, which apply to every product. Without type, the list. Policies are long: sections: [] gives the outline, then name the sections, or a control id such as SEC-5.1 (which names its policy, so type can be left out).",
42191
+ description: "Read the organization's policies and other documents, which apply to every product. Without type, the list. Policies are long: sections: [] gives the outline, then name the sections, or a control id such as SEC-5.1 (which names its policy, so type can be left out). draft: true reads the unpublished draft a write left.",
42166
42192
  inputSchema: object({
42167
42193
  type: tenantDocumentType.optional(),
42168
42194
  sections: policySectionsInput,
42195
+ draft: draftInput,
42169
42196
  ...pagination
42170
42197
  }),
42171
42198
  annotations: READ_ONLY
@@ -42177,6 +42204,7 @@ function registerDocumentTools(server, client) {
42177
42204
  sections: params.sections?.map((id) => id.toUpperCase())
42178
42205
  } : params;
42179
42206
  if (args.type === void 0) {
42207
+ if (args.draft) return toolError("VALIDATION_ERROR", "Name the document (type) whose draft to read.");
42180
42208
  if (args.sections) return toolError("VALIDATION_ERROR", named.length > 1 ? `Those control ids are in different policies (${named.join(", ")}): read one type at a time.` : notControls(args.sections).length > 0 && notControls(args.sections).length < args.sections.length ? `Not a control id: ${notControls(args.sections).join(", ")}. A control id such as SEC-5.1 names its policy; any other section id needs type.` : "Name the document (type) to read its sections; a control id such as SEC-5.1 names its policy itself, but one of a family that spans policies (GDPR, NIS2) does not.");
42181
42209
  const result = await client.listTenantDocuments({
42182
42210
  limit: args.limit,
@@ -42186,8 +42214,12 @@ function registerDocumentTools(server, client) {
42186
42214
  }
42187
42215
  const type = args.type;
42188
42216
  if (args.limit !== void 0 || args.cursor !== void 0) return toolError("VALIDATION_ERROR", params.type === void 0 ? "limit and cursor page the list, which takes no sections; drop them to read the control." : "limit and cursor page the list; omit type to list, or drop them to read.");
42217
+ const draft = args.draft ? (await client.getTenantDocumentDraft(type)).data : null;
42218
+ if (args.draft) {
42219
+ if (!draft) return toolError("NOT_FOUND", `There is no draft of ${type}. taiga_update_organization_document writes one; without draft, this reads the published version.`);
42220
+ }
42189
42221
  try {
42190
- const doc = stripProvenance((await client.getTenantDocument(type)).data);
42222
+ const doc = stripProvenance((draft ? { data: draft } : await client.getTenantDocument(type)).data);
42191
42223
  const read = args.sections ? sectionReadResult(doc, args.sections, type, { controlIds: POLICY_TYPES.includes(type) }) : toolResult(doc);
42192
42224
  if (type !== DESIGN_STANDARDS) return read;
42193
42225
  const tokens = isRecord$1(doc.data) ? doc.data.tokens : void 0;
@@ -42201,14 +42233,14 @@ function registerDocumentTools(server, client) {
42201
42233
  ...shown,
42202
42234
  tokens
42203
42235
  } },
42204
- tokenAlignment: await alignmentOf(client, "published")
42236
+ tokenAlignment: await alignmentOf(client, args.draft ? "draft" : "published")
42205
42237
  });
42206
42238
  } catch (error) {
42207
42239
  if (!(error instanceof TaigaApiError) || error.status !== 404) throw error;
42208
42240
  const [draft, all] = await Promise.allSettled([client.getTenantDocumentDraft(type), client.listTenantDocuments({ limit: 100 })]);
42209
42241
  const parts = [`No published ${type}.`];
42210
42242
  if (draft.status === "fulfilled") {
42211
- parts.push(draft.value.data ? "A draft exists; taiga_publish_organization_document publishes it once the person asks." : "There is no draft either.");
42243
+ parts.push(draft.value.data ? "A draft exists (draft: true reads it); taiga_publish_organization_document publishes it once the person asks." : "There is no draft either.");
42212
42244
  if (draft.value.data && type === DESIGN_STANDARDS) {
42213
42245
  const draftAlignment = await alignmentOf(client, "draft");
42214
42246
  parts.push(`Draft tokens (${draftAlignment.status}): ${draftAlignment.message}`);
@@ -42256,19 +42288,25 @@ function registerDocumentTools(server, client) {
42256
42288
  }
42257
42289
  if (client.hasCapability("factories:read")) server.registerTool("taiga_get_factory_document", {
42258
42290
  title: "Get factory instructions",
42259
- description: "Read a factory's instructions: the domain, tech preferences and conventions its products follow.",
42291
+ description: "Read a factory's instructions: the domain, tech preferences and conventions its products follow. draft: true reads the unpublished draft a write left.",
42260
42292
  inputSchema: object({
42261
42293
  factoryId: idInput("factory", "taiga_list_factories (query finds one by name) gives it"),
42262
- type: _enum(FACTORY_DOCUMENT_TYPES).default("factory_instructions").describe("Document type")
42294
+ type: _enum(FACTORY_DOCUMENT_TYPES).default("factory_instructions").describe("Document type"),
42295
+ draft: draftInput
42263
42296
  }),
42264
42297
  annotations: READ_ONLY
42265
42298
  }, (params) => runTool(async () => {
42299
+ if (params.draft) {
42300
+ const draft = (await client.getFactoryDocumentDraft(params.factoryId, params.type)).data;
42301
+ if (draft) return toolResult(stripProvenance(draft));
42302
+ return toolError("NOT_FOUND", `There is no draft of ${params.type}. taiga_update_factory_document writes one; without draft, this reads the published version.`);
42303
+ }
42266
42304
  try {
42267
42305
  return toolResult(stripProvenance((await client.getFactoryDocument(params.factoryId, params.type)).data));
42268
42306
  } catch (error) {
42269
42307
  if (!(error instanceof TaigaApiError) || error.status !== 404) throw error;
42270
42308
  await client.getFactory(params.factoryId);
42271
- const detail = await client.getFactoryDocumentDraft(params.factoryId, params.type).then((draft) => draft.data ? "A draft exists; taiga_publish_factory_document publishes it once the person asks." : "There is no draft either: write one with taiga_update_factory_document, then publish it when the person asks.").catch((reason) => {
42309
+ const detail = await client.getFactoryDocumentDraft(params.factoryId, params.type).then((draft) => draft.data ? "A draft exists (draft: true reads it); taiga_publish_factory_document publishes it once the person asks." : "There is no draft either: write one with taiga_update_factory_document, then publish it when the person asks.").catch((reason) => {
42272
42310
  if (reason instanceof TaigaApiError && reason.status === 404) throw reason;
42273
42311
  return failedLookup("The draft", reason);
42274
42312
  });
@@ -42743,13 +42781,38 @@ function readableRun(run, opts = {}) {
42743
42781
  */
42744
42782
  function withoutPlumbing(run) {
42745
42783
  const { createdBy: _createdBy, autoMergeSha: _autoMergeSha, metrics, ...rest } = run;
42746
- if (!metrics || typeof metrics !== "object") return rest;
42784
+ const said = withoutUnset(rest);
42785
+ if (!metrics || typeof metrics !== "object") return said;
42747
42786
  const { containerImageTag: _image, ...kept } = metrics;
42748
42787
  return {
42749
- ...rest,
42788
+ ...said,
42750
42789
  metrics: kept
42751
42790
  };
42752
42791
  }
42792
+ /**
42793
+ * A null that says something: initiativeClosed null is an initiative still live (PRO-2808), and mergeReadiness null
42794
+ * is a forge read that did not answer, which mergeReadinessNote explains.
42795
+ */
42796
+ const NULL_SAYS = /* @__PURE__ */ new Set(["initiativeClosed", "mergeReadiness"]);
42797
+ /** Flags whose false is the ordinary case, which only true tells anything about. */
42798
+ const FALSE_IS_ORDINARY = /* @__PURE__ */ new Set([
42799
+ "autoRemediated",
42800
+ "hasRetryableFailedStep",
42801
+ "reviewEscalated",
42802
+ "prDraft"
42803
+ ]);
42804
+ /**
42805
+ * The default read without what is not set (PRO-5098): a merged run carried about fifteen null timestamps,
42806
+ * counters and failure fields, 6.7k characters that said nothing about it. full: true keeps every field.
42807
+ */
42808
+ function withoutUnset(run) {
42809
+ const unfixed = run["ciFixAttempts"] === 0;
42810
+ return Object.fromEntries(Object.entries(run).filter(([key, value]) => {
42811
+ if (value === null) return NULL_SAYS.has(key);
42812
+ if (value === false) return !FALSE_IS_ORDINARY.has(key);
42813
+ return !(key === "ciFixMaxAttempts" && unfixed);
42814
+ }));
42815
+ }
42753
42816
  /** Distinct initiatives a run list reads to say which moved on; past this a waiting row says it was not checked. */
42754
42817
  const INITIATIVE_CHECKS = 10;
42755
42818
  /**
@@ -43071,7 +43134,7 @@ function registerBuildTools(server, client) {
43071
43134
  }));
43072
43135
  server.registerTool("taiga_get_run", {
43073
43136
  title: "Get run",
43074
- description: "Read one coding agent run, and why it failed when it did: its outcome, pull request, security pass (scanCoverage names scanners that did not run) and each step with its commit, files and checks. A failed run says where it stopped (stoppedIn) and the line of the error that says why (cause). full: true adds every step's instructions and report. lastReplan says what a request for changes did to the plan the run builds now: the steps it added, edited and dropped. A failed or stopped run's nextStep says how to carry it on (taiga_resume_initiative on its initiative). hostsReached lists the public hosts the run reached through the egress gateway, first reached first, with the bytes it sent and received there. signals is what a person should know before merging, from the run's report as Taiga reads it now: each with its light (red is a failure Taiga sees, such as failing CI, amber needs a person, green is proven, unchecked is not known yet, with what settles it), the verdict they add up to, and the work the run would do next. No signal holds a merge. A run waiting for review carries mergeReadiness: whether its forge lets its pull request merge now (state ready, or the state and reason that keep it), its approvals and its size.",
43137
+ description: "Read one coding agent run, and why it failed when it did: its outcome, pull request, security pass (scanCoverage names scanners that did not run) and each step with its commit, files and checks. A failed run says where it stopped (stoppedIn) and the line of the error that says why (cause). A field not set is left out; full: true keeps every field and adds every step's instructions and report. lastReplan says what a request for changes did to the plan the run builds now: the steps it added, edited and dropped. A failed or stopped run's nextStep says how to carry it on (taiga_resume_initiative on its initiative). hostsReached lists the public hosts the run reached through the egress gateway, first reached first, with the bytes it sent and received there. signals is what a person should know before merging, from the run's report as Taiga reads it now: each with its light (red is a failure Taiga sees, such as failing CI, amber needs a person, green is proven, unchecked is not known yet, with what settles it), the verdict they add up to, and the work the run would do next. No signal holds a merge. A run waiting for review carries mergeReadiness: whether its forge lets its pull request merge now (state ready, or the state and reason that keep it), its approvals and its size.",
43075
43138
  inputSchema: object({
43076
43139
  runId,
43077
43140
  full: boolean().optional().describe("Carry each step's complete instructions and report (default false: a summary)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.44.0-dev.1250",
3
+ "version": "0.46.0-dev.1252",
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",