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

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 +30 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24892,6 +24892,30 @@ Object.freeze({
24892
24892
  applicationOwnership: true
24893
24893
  });
24894
24894
  //#endregion
24895
+ //#region ../../packages/types/dist/product-network.js
24896
+ /**
24897
+ * Where an engineer build's sandbox may connect to (PRO-2793, part of
24898
+ * PRO-1980).
24899
+ *
24900
+ * The engineer pod's credential gateway is the sandbox's only way out. By
24901
+ * default it lets through a standard list: the public package registries,
24902
+ * toolchain downloads, container registries, GitHub for reading public
24903
+ * dependencies, and the tenant's own registries. A product adds to that:
24904
+ *
24905
+ * - `allowlist` (the default, also what `null` means): the standard list plus
24906
+ * the product's own `networkHosts`.
24907
+ * - `unrestricted`: any public host. For a product whose builds need hosts
24908
+ * nobody can list in advance; the gateway still refuses private and
24909
+ * metadata addresses, and still never hands the sandbox a credential.
24910
+ *
24911
+ * A host is one exact name (`api.example.com`). There are no wildcards: a
24912
+ * wildcard over a multi-label public suffix (`*.co.uk`) or a provider's
24913
+ * namespace would admit every tenant under it, and telling those apart needs
24914
+ * the public suffix list. A build that needs many names under one domain is
24915
+ * what `unrestricted` is for.
24916
+ */
24917
+ const PRODUCT_NETWORK_ACCESS = ["allowlist", "unrestricted"];
24918
+ //#endregion
24895
24919
  //#region src/compat.ts
24896
24920
  /**
24897
24921
  * Why this server should not serve the API it reached, or null when it may
@@ -45348,6 +45372,8 @@ const PRODUCT_FIELDS = [
45348
45372
  "ownsDeployment",
45349
45373
  "deploymentNotes",
45350
45374
  "emitDesignStandards",
45375
+ "networkAccess",
45376
+ "networkHosts",
45351
45377
  "settings"
45352
45378
  ];
45353
45379
  const FACTORY_FIELDS = [
@@ -45552,14 +45578,16 @@ function registerSetupTools(server, client) {
45552
45578
  }));
45553
45579
  server.registerTool("taiga_update_product", {
45554
45580
  title: "Change a product's settings",
45555
- description: "Change a product's name, or what Taiga builds for it (application, infrastructure, pipelines). A new name changes its slug. Later plans follow the change; planned work is not redone.",
45581
+ description: "Change a product's name, what Taiga builds for it (application, infrastructure, pipelines), or where its builds may connect (networkAccess: allowlist, Taiga's standard list plus the product's networkHosts, or unrestricted, any public host; networkHosts replaces the list, each one exact DNS name, no wildcard or domain anyone can host on, 100 at most; changes apply from the next build). A new name changes its slug. Later plans follow the change; planned work is not redone.",
45556
45582
  inputSchema: object({
45557
45583
  productId,
45558
45584
  name: string$2().trim().min(1).max(255).optional().describe("A new name"),
45559
45585
  allowDuplicateName: allowDuplicateRename,
45560
45586
  ...buildScope,
45561
45587
  deploymentNotes: deploymentNotes.nullable().optional(),
45562
- emitDesignStandards: boolean().nullable().optional().describe("Inherit the organization's design standards; null follows the default")
45588
+ emitDesignStandards: boolean().nullable().optional().describe("Inherit the organization's design standards; null follows the default"),
45589
+ networkAccess: _enum(PRODUCT_NETWORK_ACCESS).nullable().optional().describe("Where a build's sandbox may connect: allowlist (the default; null returns to it) or unrestricted"),
45590
+ networkHosts: array(string$2().trim().toLowerCase().min(1).max(253)).max(100).optional().describe("The product's own hosts beyond the standard list, replacing the current ones: exact DNS names such as api.example.com")
45563
45591
  }),
45564
45592
  annotations: OPERATE_SETTING
45565
45593
  }, (params) => runTool(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.31.0-dev.666",
3
+ "version": "0.31.0-dev.667",
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",