@taiga-ai/mcp-server 0.31.0-dev.667 → 0.31.0-dev.669

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 +4 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23784,6 +23784,7 @@ discriminatedUnion("kind", [
23784
23784
  kind: literal("attention"),
23785
23785
  what: string$2().min(1).max(2e3),
23786
23786
  currently_handling: string$2().min(1).max(2e3),
23787
+ hosts: array(string$2().min(1).max(253)).max(20).optional(),
23787
23788
  stepId: optionalUuid
23788
23789
  }),
23789
23790
  object({
@@ -25206,8 +25207,7 @@ const ORIGIN_MEANING = {
25206
25207
  * same settings key the API reads, so the two cannot disagree.
25207
25208
  */
25208
25209
  function isImportedProduct(product) {
25209
- const settings = product?.settings;
25210
- return typeof settings === "object" && settings !== null && settings.projectType === "brownfield";
25210
+ return product?.settings?.projectType === "brownfield";
25211
25211
  }
25212
25212
  /**
25213
25213
  * The document types no derivation ever writes: a person records or writes
@@ -25229,9 +25229,7 @@ function defaultOriginFor(product, type) {
25229
25229
  * read as "not known", never as a promise.
25230
25230
  */
25231
25231
  function importStatusOf(product) {
25232
- const settings = product?.settings;
25233
- if (typeof settings !== "object" || settings === null) return null;
25234
- const status = settings.importStatus;
25232
+ const status = product?.settings?.importStatus;
25235
25233
  return typeof status === "string" ? status : null;
25236
25234
  }
25237
25235
  /** Why a side of the timeline is empty, for a list or a miss that shows one. */
@@ -26707,7 +26705,7 @@ function productView(product) {
26707
26705
  return {
26708
26706
  ...row,
26709
26707
  projectType: isImportedProduct(product) ? "brownfield" : "greenfield",
26710
- ...typeof settings["importStatus"] === "string" ? { importStatus: settings["importStatus"] } : {},
26708
+ ...typeof settings.importStatus === "string" ? { importStatus: settings.importStatus } : {},
26711
26709
  linePaused: stoppedAt ? { since: stoppedAt } : false,
26712
26710
  unsetMeans: UNSET_MEANS
26713
26711
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.31.0-dev.667",
3
+ "version": "0.31.0-dev.669",
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",