@taiga-ai/mcp-server 0.37.0-dev.1133 → 0.37.0-dev.1135

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 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28854,6 +28854,22 @@ const CUSTOM_DOCUMENT_STATUSES = [
28854
28854
  */
28855
28855
  const MAX_UI_ARTIFACT_COMMENT_CHARS = 2e3;
28856
28856
  //#endregion
28857
+ //#region ../../packages/types/dist/design-assets.js
28858
+ /**
28859
+ * The design standards' brand assets (PRO-3773): each a file in storage that
28860
+ * the document names by reference, where it once held the image inline as a
28861
+ * data URI. A REST read answers the image inline as before; the sync engine
28862
+ * carries the reference, and a signed link shows the image.
28863
+ */
28864
+ /** The assets a design standards document holds, by its `data.assets` key. */
28865
+ const DESIGN_ASSET_SLOTS = ["logo", "logoDark"];
28866
+ /** The largest asset file taken, as the Studio has always capped a logo. */
28867
+ const MAX_DESIGN_ASSET_BYTES = 204800;
28868
+ /** An image type an asset may have. */
28869
+ const DESIGN_ASSET_MIME_RE = /^image\/[a-z0-9.+-]{1,100}$/;
28870
+ /** A stored asset's key: `design-assets/<tenant id>/<sha256 of its bytes>`. */
28871
+ const DESIGN_ASSET_KEY_RE = /^design-assets\/[0-9a-f-]{36}\/[0-9a-f]{64}$/;
28872
+ //#endregion
28857
28873
  //#region ../../packages/types/dist/design-tokens.js
28858
28874
  /**
28859
28875
  * The brand grounding contract (PRO-929).
@@ -30216,6 +30232,13 @@ strictObject({
30216
30232
  atCap: array(string$2()),
30217
30233
  blockedByDraft: boolean()
30218
30234
  }), strictObject({
30235
+ mime: string$2().regex(DESIGN_ASSET_MIME_RE, "A brand asset must be an image"),
30236
+ sizeBytes: number$1().int().positive().max(MAX_DESIGN_ASSET_BYTES),
30237
+ sha256
30238
+ }), object({ upload: uploadGrant }), strictObject({
30239
+ slot: _enum(DESIGN_ASSET_SLOTS),
30240
+ sha256: sha256.nullable()
30241
+ }), strictObject({ key: string$2().regex(DESIGN_ASSET_KEY_RE) }), strictObject({
30219
30242
  fileName: string$2().trim().min(1).max(200),
30220
30243
  mimeType: _enum(DERIVE_SOURCE_MIME_TYPES),
30221
30244
  sizeBytes: number$1().int().positive(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1133",
3
+ "version": "0.37.0-dev.1135",
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",