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