@taiga-ai/mcp-server 0.33.0-dev.708 → 0.33.0-dev.711

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 +13 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23259,18 +23259,22 @@ const LINE_STATES = [
23259
23259
  * The columns a person can drop an initiative into by hand.
23260
23260
  *
23261
23261
  * `plan` is NOT one of them any more. Planning is the first thing the Build
23262
- * station does, not a place you put work, so the only way to start an
23263
- * initiative is to queue it and let its turn come -- which is also what makes
23264
- * "one at a time" true of planning as well as building, since the line holds
23265
- * one active entry per project and nothing else starts work. `build` is not
23266
- * droppable either: you cannot drop work INTO the station, only take it out.
23267
- * `done` and `canceled` ARE (PRO-1325): finishing work by hand, and reopening
23268
- * it, are moves on the board like any other.
23262
+ * station does, not a place you put work. `build` IS one: a drop into Build
23263
+ * from Queue, Todo or Backlog (`START_NOW_DROP_FROM_STATES`) is Start now --
23264
+ * the work is planned against main as it is now and built alongside the
23265
+ * current work. A Queue item starts its existing entry; a Todo or Backlog
23266
+ * item is queued and started in one transaction, so a refusal leaves nothing
23267
+ * queued. Done, Canceled, archived, Plan and Build items are not offered it.
23268
+ * It is not a state-machine edge (`INITIATIVE_TRANSITIONS`), and no path
23269
+ * writes it as a plain state change.
23270
+ * `done` and `canceled` ARE droppable (PRO-1325): finishing work by hand, and
23271
+ * reopening it, are moves on the board like any other.
23269
23272
  */
23270
23273
  const USER_DROP_STATES = [
23271
23274
  "backlog",
23272
23275
  "todo",
23273
23276
  "queue",
23277
+ "build",
23274
23278
  "done",
23275
23279
  "canceled"
23276
23280
  ];
@@ -28772,7 +28776,7 @@ function registerRequest(server, client) {
28772
28776
  function registerMove(server, client) {
28773
28777
  server.registerTool("taiga_move_initiative", {
28774
28778
  title: "Move initiative on the board",
28775
- description: "Move an initiative to another board column, take it off the line, or reorder it. Moving it out of Build stops its plan or run; moving it to backlog, todo or canceled closes the pull request it waits on. Nothing moves into Build by hand (queue it instead). archived: true archives it in place (never from Build): pass its current column as state, or it moves too.",
28779
+ description: "Move an initiative to another board column, take it off the line, or reorder it. Moving it out of Build stops its plan or run; moving it to backlog, todo or canceled closes the pull request it waits on. state build is Start now, from queue, todo or backlog: the initiative is planned at once against main as it is now and built alongside the current work; parallel builds in one repository can conflict, so say that when you ask. It is refused, with the API's message, for done, canceled, archived, plan and build initiatives, and when the line is stopped or there is no buildable repository. archived: true archives it in place (never from Build): pass its current column as state, or it moves too.",
28776
28780
  inputSchema: object({
28777
28781
  initiativeId,
28778
28782
  state: _enum(USER_DROP_STATES).describe("The column to move into"),
@@ -28783,6 +28787,7 @@ function registerMove(server, client) {
28783
28787
  }, (params) => runTool(async () => {
28784
28788
  const { initiativeId: id, ...body } = params;
28785
28789
  if (body.state === "queue" && !client.hasCapability("products:write")) return toolError("FORBIDDEN", "A move into queue starts agent work and needs products:write, which this key lacks.");
28790
+ if (body.state === "build" && !client.hasCapability("products:write")) return toolError("FORBIDDEN", "A move into build starts agent work now (Start now) and needs products:write, which this key lacks.");
28786
28791
  return outcome((await client.transitionInitiative(id, body)).data);
28787
28792
  }));
28788
28793
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.33.0-dev.708",
3
+ "version": "0.33.0-dev.711",
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",