@taiga-ai/mcp-server 0.26.0-dev.485 → 0.26.0-dev.486

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 +9 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -913,8 +913,9 @@ const INITIATIVE_STATES = [
913
913
  * for every reader that means "on the line": the flag the API clears when an
914
914
  * initiative leaves it, the remediation settle on the same departure, and the
915
915
  * MCP's account of where an initiative stands (PRO-2840). Everything else
916
- * (backlog, todo, done, canceled) is off it. The lifecycle derivation does not
917
- * read it: it derives the stage from the run alone (PRO-2828).
916
+ * (backlog, todo, done, canceled) is off it. The lifecycle derivation draws a
917
+ * narrower line (PRO-2828): a run that ended is the initiative's state only at
918
+ * a station, Plan or Build; in Queue it is history, as it is off the line.
918
919
  */
919
920
  const LINE_STATES = [
920
921
  "queue",
@@ -4602,31 +4603,27 @@ const outcomeOf = (item) => withSituation(item, {
4602
4603
  criteria: criteriaCounts(item)
4603
4604
  });
4604
4605
  const outcome = (item) => toolResult(outcomeOf(item));
4605
- /** The statuses an initiative in each board column can have: the API keeps in_progress after a first run. */
4606
+ /** The statuses an initiative in each board column can have: the column decides it (statusForState, PRO-2828). */
4606
4607
  const COLUMN_STATUSES = {
4607
4608
  backlog: [
4608
4609
  "all",
4609
4610
  "open",
4610
- "backlog",
4611
- "in_progress"
4611
+ "backlog"
4612
4612
  ],
4613
4613
  todo: [
4614
4614
  "all",
4615
4615
  "open",
4616
- "backlog",
4617
- "in_progress"
4616
+ "backlog"
4618
4617
  ],
4619
4618
  queue: [
4620
4619
  "all",
4621
4620
  "open",
4622
- "backlog",
4623
- "in_progress"
4621
+ "backlog"
4624
4622
  ],
4625
4623
  plan: [
4626
4624
  "all",
4627
4625
  "open",
4628
- "backlog",
4629
- "in_progress"
4626
+ "backlog"
4630
4627
  ],
4631
4628
  build: [
4632
4629
  "all",
@@ -4679,7 +4676,7 @@ function registerBacklogReads(server, client) {
4679
4676
  "in_progress",
4680
4677
  "done",
4681
4678
  "canceled"
4682
- ]).optional().describe("open (default without state): not done or canceled; all: every one; in_progress covers everything between backlog and done"),
4679
+ ]).optional().describe("open (default without state): not done or canceled; all: every one; in_progress is the Build column, backlog every other open one"),
4683
4680
  planningStatus: z.enum([
4684
4681
  "unplanned",
4685
4682
  "planning",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.26.0-dev.485",
3
+ "version": "0.26.0-dev.486",
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
  "type": "module",