@taiga-ai/mcp-server 0.37.0-dev.1121 → 0.37.0-dev.1122
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.
- package/dist/index.js +70 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28475,6 +28475,22 @@ const CUSTOM_DOCUMENT_STATUSES = [
|
|
|
28475
28475
|
"failed"
|
|
28476
28476
|
];
|
|
28477
28477
|
//#endregion
|
|
28478
|
+
//#region ../../packages/types/dist/ui-artifacts.js
|
|
28479
|
+
/**
|
|
28480
|
+
* UI Sparring shared constants (PRO-730).
|
|
28481
|
+
*
|
|
28482
|
+
* Lives here rather than in @taiga/db because the web app enforces the same
|
|
28483
|
+
* bound client-side (the feedback textarea's maxLength) and cannot import the
|
|
28484
|
+
* schema package — one constant, read by both sides, so the caps cannot drift.
|
|
28485
|
+
*/
|
|
28486
|
+
/**
|
|
28487
|
+
* Bound on one piece of concept feedback. Feedback, not a document — and the
|
|
28488
|
+
* comment is what gets replayed into an iteration prompt, so its cap is part
|
|
28489
|
+
* of that prompt budget. Enforced by the API's Zod schemas, by the DB's
|
|
28490
|
+
* byte-length CHECK (see @taiga/db ui-artifacts), and by the web textarea.
|
|
28491
|
+
*/
|
|
28492
|
+
const MAX_UI_ARTIFACT_COMMENT_CHARS = 2e3;
|
|
28493
|
+
//#endregion
|
|
28478
28494
|
//#region ../../packages/types/dist/design-tokens.js
|
|
28479
28495
|
/**
|
|
28480
28496
|
* The brand grounding contract (PRO-929).
|
|
@@ -29146,7 +29162,60 @@ object({
|
|
|
29146
29162
|
available: array(string$2()),
|
|
29147
29163
|
withLayer: array(string$2()),
|
|
29148
29164
|
notOfferedAtHome: boolean()
|
|
29149
|
-
})
|
|
29165
|
+
});
|
|
29166
|
+
/** Where a UI concept's pick points, by its line and column in the concept's code (PRO-3677). */
|
|
29167
|
+
const uiConceptPick = strictObject({
|
|
29168
|
+
line: number$1().int().min(1).max(1e5),
|
|
29169
|
+
column: number$1().int().min(0).max(1e4)
|
|
29170
|
+
});
|
|
29171
|
+
object({ jobId: string$2() });
|
|
29172
|
+
discriminatedUnion("ok", [object({
|
|
29173
|
+
ok: literal(true),
|
|
29174
|
+
code: string$2()
|
|
29175
|
+
}), object({
|
|
29176
|
+
ok: literal(false),
|
|
29177
|
+
errors: array(object({
|
|
29178
|
+
message: string$2(),
|
|
29179
|
+
line: number$1().int().nullable(),
|
|
29180
|
+
column: number$1().int().nullable()
|
|
29181
|
+
})).min(1)
|
|
29182
|
+
})]);
|
|
29183
|
+
strictObject({
|
|
29184
|
+
body: string$2().min(1).max(MAX_UI_ARTIFACT_COMMENT_CHARS),
|
|
29185
|
+
target: uiConceptPick.extend({
|
|
29186
|
+
tag: string$2().regex(/^[a-zA-Z][a-zA-Z0-9-]{0,59}$/).optional(),
|
|
29187
|
+
text: string$2().max(200).optional()
|
|
29188
|
+
}).optional()
|
|
29189
|
+
}), strictObject({
|
|
29190
|
+
feedback: string$2().min(1).max(MAX_UI_ARTIFACT_COMMENT_CHARS),
|
|
29191
|
+
fidelity: _enum([
|
|
29192
|
+
"structure",
|
|
29193
|
+
"brand",
|
|
29194
|
+
"brand_structure"
|
|
29195
|
+
]).optional(),
|
|
29196
|
+
target: uiConceptPick.optional()
|
|
29197
|
+
}), strictObject({
|
|
29198
|
+
name: string$2().min(2).max(50),
|
|
29199
|
+
description: string$2().max(2e3).optional(),
|
|
29200
|
+
target: uiConceptPick.optional()
|
|
29201
|
+
});
|
|
29202
|
+
strictObject({
|
|
29203
|
+
screen: string$2().min(1).max(2e3),
|
|
29204
|
+
variantCount: number$1().int().min(1).max(3),
|
|
29205
|
+
fidelity: _enum([
|
|
29206
|
+
"structure",
|
|
29207
|
+
"brand",
|
|
29208
|
+
"brand_structure"
|
|
29209
|
+
]),
|
|
29210
|
+
flowDocumentId: uuid.nullish(),
|
|
29211
|
+
flowStepKey: string$2().min(1).max(120).nullish(),
|
|
29212
|
+
surfaceKey: _enum([
|
|
29213
|
+
"navigation",
|
|
29214
|
+
"overall_look",
|
|
29215
|
+
"empty_states",
|
|
29216
|
+
"forms"
|
|
29217
|
+
]).nullish()
|
|
29218
|
+
}), strictObject({ source: string$2().min(1).max(102400) }), strictObject({ type: productDocumentType }), object({
|
|
29150
29219
|
version: number$1().int().min(1),
|
|
29151
29220
|
unknownCitations: object({
|
|
29152
29221
|
shown: array(string$2()),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.37.0-dev.
|
|
3
|
+
"version": "0.37.0-dev.1122",
|
|
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",
|