@taiga-ai/mcp-server 0.37.0-dev.1062 → 0.37.0-dev.1064

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 +72 -49
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28114,6 +28114,74 @@ object({
28114
28114
  })).catch([])
28115
28115
  });
28116
28116
  //#endregion
28117
+ //#region ../../packages/types/dist/scope-triggers.js
28118
+ /**
28119
+ * What a product has to be, or do, for a piece of the organization's policy
28120
+ * content to bind it (PRO-4369): the scope triggers, one plain question per
28121
+ * trigger, and which content rests on which trigger.
28122
+ *
28123
+ * An organization's policies carry every regulation its country, regions,
28124
+ * markets and industries bring. One product is bound by only some of them: a
28125
+ * telecom group's HR tool provides no public communications service, and a
28126
+ * healthcare company's marketing site processes no health data. The content
28127
+ * already says why it applies: its layer's industry, its `basis`, and the
28128
+ * stand-down rules between layers. This module turns that into questions a
28129
+ * product is asked once, so an exclusion on the product's Regulations tab
28130
+ * traces to a recorded answer instead of a guess from the product's text.
28131
+ *
28132
+ * Questions are written per TRIGGER, never per regulation: every section that
28133
+ * rests on the same trigger is answered by the same question. The API derives
28134
+ * `SCOPE_CONTENT` from its overlay registry (`scopeContent()` in
28135
+ * `overlays/scope.ts`), and `scope.test.ts` there fails when this copy drifts
28136
+ * from it. It is here so the synced graph scopes a product's policies as REST
28137
+ * does, the way `MARKET_CONTENT_COUNTRIES` serves the market step.
28138
+ *
28139
+ * Nothing here changes any tenant's documents or any product's conformance:
28140
+ * what reads the answers lands behind the `productScope` flag.
28141
+ */
28142
+ /**
28143
+ * The closed vocabulary. A trigger names a fact about the product, not an act:
28144
+ * one act can rest on several, and one trigger carries many acts.
28145
+ */
28146
+ const SCOPE_TRIGGERS = [
28147
+ "telecom_service",
28148
+ "health_data",
28149
+ "medical_device",
28150
+ "financial_service",
28151
+ "public_body",
28152
+ "energy_operator",
28153
+ "manufactured_product",
28154
+ "defense",
28155
+ "ai_system",
28156
+ "ai_high_risk",
28157
+ "consumer_facing"
28158
+ ];
28159
+ /**
28160
+ * Every trigger an industry's content rests on (PRO-4424): its default, and
28161
+ * the ones its layers declare of their own. A product is of the industry
28162
+ * while any of them holds; it is out of it only when every one is confirmed
28163
+ * `no`. The healthcare layer's medical-device sections rest on
28164
+ * `medical_device`, so a device maker that processes no health data is still
28165
+ * a healthcare product. `technology` and `other` carry no industry content.
28166
+ */
28167
+ const INDUSTRY_SCOPE_TRIGGERS = {
28168
+ telecom: ["telecom_service"],
28169
+ healthcare: ["health_data", "medical_device"],
28170
+ fintech: ["financial_service"],
28171
+ public_sector: ["public_body"],
28172
+ energy: ["energy_operator"],
28173
+ manufacturing: ["manufactured_product"],
28174
+ defense: ["defense"],
28175
+ technology: [],
28176
+ other: []
28177
+ };
28178
+ //#endregion
28179
+ //#region ../../packages/types/dist/product-scope.js
28180
+ const SCOPE_ANSWER_VALUES = ["yes", "no"];
28181
+ /** The longest note a person may leave beside a confirmed answer. */
28182
+ const SCOPE_ANSWER_NOTE_MAX_LENGTH = 1e3;
28183
+ new Map(Object.entries(INDUSTRY_SCOPE_TRIGGERS).flatMap(([industry, triggers]) => triggers.map((trigger) => [trigger, industry])));
28184
+ //#endregion
28117
28185
  //#region ../../packages/types/dist/finding-controls.js
28118
28186
  /**
28119
28187
  * A committed credential.
@@ -28274,54 +28342,6 @@ const IAC_PHRASES = [
28274
28342
  new RegExp(`^\\|\\s*(${CONTROL_ID_SOURCE})\\s*\\|\\s*(.*?)\\s*(?:\\||$)`);
28275
28343
  REALITY_DERIVED_DOCUMENT_TYPES.filter((t) => t !== "codebase_snapshot");
28276
28344
  //#endregion
28277
- //#region ../../packages/types/dist/scope-triggers.js
28278
- /**
28279
- * What a product has to be, or do, for a piece of the organization's policy
28280
- * content to bind it (PRO-4369): the scope triggers, one plain question per
28281
- * trigger, and which content rests on which trigger.
28282
- *
28283
- * An organization's policies carry every regulation its country, regions,
28284
- * markets and industries bring. One product is bound by only some of them: a
28285
- * telecom group's HR tool provides no public communications service, and a
28286
- * healthcare company's marketing site processes no health data. The content
28287
- * already says why it applies: its layer's industry, its `basis`, and the
28288
- * stand-down rules between layers. This module turns that into questions a
28289
- * product is asked once, so an exclusion on the product's Regulations tab
28290
- * traces to a recorded answer instead of a guess from the product's text.
28291
- *
28292
- * Questions are written per TRIGGER, never per regulation: every section that
28293
- * rests on the same trigger is answered by the same question. The API derives
28294
- * `SCOPE_CONTENT` from its overlay registry (`scopeContent()` in
28295
- * `overlays/scope.ts`), and `scope.test.ts` there fails when this copy drifts
28296
- * from it. It is here so the synced graph scopes a product's policies as REST
28297
- * does, the way `MARKET_CONTENT_COUNTRIES` serves the market step.
28298
- *
28299
- * Nothing here changes any tenant's documents or any product's conformance:
28300
- * what reads the answers lands behind the `productScope` flag.
28301
- */
28302
- /**
28303
- * The closed vocabulary. A trigger names a fact about the product, not an act:
28304
- * one act can rest on several, and one trigger carries many acts.
28305
- */
28306
- const SCOPE_TRIGGERS = [
28307
- "telecom_service",
28308
- "health_data",
28309
- "medical_device",
28310
- "financial_service",
28311
- "public_body",
28312
- "energy_operator",
28313
- "manufactured_product",
28314
- "defense",
28315
- "ai_system",
28316
- "ai_high_risk",
28317
- "consumer_facing"
28318
- ];
28319
- //#endregion
28320
- //#region ../../packages/types/dist/product-scope.js
28321
- const SCOPE_ANSWER_VALUES = ["yes", "no"];
28322
- /** The longest note a person may leave beside a confirmed answer. */
28323
- const SCOPE_ANSWER_NOTE_MAX_LENGTH = 1e3;
28324
- //#endregion
28325
28345
  //#region ../../packages/types/dist/custom-documents.js
28326
28346
  /**
28327
28347
  * Shared types for the custom-documents feature: customer-uploaded reference
@@ -40609,7 +40629,9 @@ const REPOSITORY_SUMMARY_FIELDS = [
40609
40629
  "repositoryName",
40610
40630
  "repositoryUrl",
40611
40631
  "effectiveBranch",
40612
- "isManaged"
40632
+ "isManaged",
40633
+ "buildable",
40634
+ "writable"
40613
40635
  ];
40614
40636
  /** How many of the latest runs to carry; taiga_list_runs pages the rest. */
40615
40637
  const BUILDS_IN_CONTEXT = 5;
@@ -56246,6 +56268,7 @@ const LINK_FIELDS = [
56246
56268
  "baseBranch",
56247
56269
  "effectiveBranch",
56248
56270
  "buildable",
56271
+ "writable",
56249
56272
  "isManaged"
56250
56273
  ];
56251
56274
  const INSTALLATION_FIELDS = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1062",
3
+ "version": "0.37.0-dev.1064",
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",