@taiga-ai/mcp-server 0.31.0-dev.661 → 0.31.0-dev.663
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 +6 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22305,10 +22305,6 @@ var TaigaClient = class {
|
|
|
22305
22305
|
getIntrospection() {
|
|
22306
22306
|
return this.introspection;
|
|
22307
22307
|
}
|
|
22308
|
-
/** Whether a release toggle an MCP tool depends on is on where the key's API runs (PRO-3037). */
|
|
22309
|
-
hasFeature(feature) {
|
|
22310
|
-
return this.introspection?.mcpFeatures?.includes(feature) ?? false;
|
|
22311
|
-
}
|
|
22312
22308
|
hasCapability(capability) {
|
|
22313
22309
|
if (!this.introspection) return false;
|
|
22314
22310
|
return this.introspection.capabilities.includes(capability);
|
|
@@ -27911,19 +27907,17 @@ function registerBuildTools(server, client) {
|
|
|
27911
27907
|
});
|
|
27912
27908
|
}));
|
|
27913
27909
|
if (!client.hasCapability("products:write")) return;
|
|
27914
|
-
|
|
27915
|
-
|
|
27916
|
-
|
|
27917
|
-
description: steering ? "Tell Taiga what should change in a run, while it builds or once its pull request waits for review, a draft included, such as one Taiga handed back with CI failing or its tests red. The run stops after the step it is building (at once when it is not building one), the planner revises the steps still to build on top of the committed work (adding, editing, dropping, or reverting committed steps exactly), and the run continues with the revised steps; never a new initiative. A request while the run hardens, checks CI or is already being re-planned waits and joins the next re-plan. reviewPlan holds the run until a person has looked at the revised plan (taiga_review_plan approves it or comments to revise it again). A request the planner will not plan, a policy conflict, hands the run back with the reason, still on its original plan. The answer says what happened to it (steer). For a plan that waits for its build to be approved, comment on the plan with taiga_review_plan instead." : "Tell the coding agent what should change on a run's open pull request, as a person's review would: it splits the request into separate asks, makes the changes on the same pull request, and answers each one there (done, answered, or not done and why). Only for a run whose pull request is waiting for review (the initiative is in review with its pull request open), a draft included, such as one Taiga handed back with CI failing or its tests red; refused otherwise, and where the organization does not have it yet. taiga_wait follows the run until it is back in review.",
|
|
27910
|
+
server.registerTool("taiga_request_changes", {
|
|
27911
|
+
title: "Request changes on a run",
|
|
27912
|
+
description: "Tell Taiga what should change in a run, while it builds or once its pull request waits for review, a draft included, such as one Taiga handed back with CI failing or its tests red. The run stops after the step it is building (at once when it is not building one), the planner revises the steps still to build on top of the committed work (adding, editing, dropping, or reverting committed steps exactly), and the run continues with the revised steps; never a new initiative. A request while the run hardens, checks CI or is already being re-planned waits and joins the next re-plan. reviewPlan holds the run until a person has looked at the revised plan (taiga_review_plan approves it or comments to revise it again). A request the planner will not plan, a policy conflict, hands the run back with the reason, still on its original plan. The answer says what happened to it (steer). For a plan that waits for its build to be approved, comment on the plan with taiga_review_plan instead.",
|
|
27918
27913
|
inputSchema: object({
|
|
27919
27914
|
runId,
|
|
27920
27915
|
notes: string$2().trim().min(1).max(CHANGE_REQUEST_MAX_CHARS).describe("What should change, in markdown: a list of changes, questions, or both"),
|
|
27921
|
-
|
|
27916
|
+
reviewPlan: boolean().optional().describe("Hold the run until a person has reviewed the revised plan (default false)")
|
|
27922
27917
|
}),
|
|
27923
27918
|
annotations: OPERATE
|
|
27924
27919
|
}, (params) => runTool(async () => {
|
|
27925
|
-
const
|
|
27926
|
-
const result = await client.requestBuildRunChanges(params.runId, params.notes, { reviewPlan });
|
|
27920
|
+
const result = await client.requestBuildRunChanges(params.runId, params.notes, { reviewPlan: params.reviewPlan });
|
|
27927
27921
|
const row = pickFields([result.data], RUN_OUTCOME_FIELDS)[0];
|
|
27928
27922
|
return toolResult({
|
|
27929
27923
|
...readableRow(row),
|
|
@@ -28811,7 +28805,7 @@ function registerResume(server, client) {
|
|
|
28811
28805
|
function registerPlanReview(server, client) {
|
|
28812
28806
|
server.registerTool("taiga_review_plan", {
|
|
28813
28807
|
title: "Approve or reject a plan",
|
|
28814
|
-
description: "Give an initiative's plan its verdict. approve starts the run that builds it; reject sends it back with a comment and the planner revises it from the comment, keeping what the comment does not object to. Read the plan first (taiga_get_plan) and pass its ID; refused if the plan was replaced since, a new one is being written, or a run is already going.
|
|
28808
|
+
description: "Give an initiative's plan its verdict. approve starts the run that builds it; reject sends it back with a comment and the planner revises it from the comment, keeping what the comment does not object to. Read the plan first (taiga_get_plan) and pass its ID; refused if the plan was replaced since, a new one is being written, or a run is already going. A plan a request for changes revised while its run waits for this review (taiga_request_changes with reviewPlan): approve continues that run on its branch, and reject comments to revise it again.",
|
|
28815
28809
|
inputSchema: object({
|
|
28816
28810
|
planId,
|
|
28817
28811
|
verdict: _enum(["approve", "reject"]).describe("approve builds the plan; reject sends it back"),
|
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.663",
|
|
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",
|