@taiga-ai/mcp-server 0.28.0-dev.573 → 0.28.0-dev.575

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 +25 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23661,6 +23661,22 @@ const INBOX_TASK_PHASES = [
23661
23661
  "wiring",
23662
23662
  "followup"
23663
23663
  ];
23664
+ //#endregion
23665
+ //#region ../../packages/types/dist/build-narrative.js
23666
+ /**
23667
+ * The build narrative: the project-owner-facing timeline a coding agent posts
23668
+ * while it builds (decisions, tradeoffs, setup it needs, quality findings).
23669
+ *
23670
+ * The agent posts each entry to `POST /v1/builds/:id/progress` as a
23671
+ * `narrative` callback; the API validates it with {@link buildNarrativeBody},
23672
+ * stores it as a `stream_events` row and publishes it over SSE. The run page
23673
+ * reads the timeline either live (SSE) or on page load
23674
+ * (`GET /v1/builds/:id/narrative`, which queries the same rows), so this one
23675
+ * schema is the source of the callback contract, the stored payload type and
23676
+ * the list of kinds every reader accepts.
23677
+ */
23678
+ /** How long one answer of a `run_summary` may be. */
23679
+ const RUN_SUMMARY_ANSWER_MAX = 1e3;
23664
23680
  /** A moment as factory-vm records it: ISO 8601, with its offset. */
23665
23681
  const moment = datetime({ offset: true });
23666
23682
  const optionalMoment = moment.optional();
@@ -23726,6 +23742,15 @@ discriminatedUnion("kind", [
23726
23742
  observedAt: optionalMoment,
23727
23743
  stepId: optionalUuid
23728
23744
  }),
23745
+ object({
23746
+ type: literal("narrative"),
23747
+ kind: literal("run_summary"),
23748
+ changed: string$2().max(RUN_SUMMARY_ANSWER_MAX),
23749
+ checked: string$2().max(RUN_SUMMARY_ANSWER_MAX),
23750
+ decided: string$2().max(RUN_SUMMARY_ANSWER_MAX),
23751
+ unsure: string$2().max(RUN_SUMMARY_ANSWER_MAX),
23752
+ stepId: optionalUuid
23753
+ }),
23729
23754
  object({
23730
23755
  type: literal("narrative"),
23731
23756
  kind: literal("agent_update"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.28.0-dev.573",
3
+ "version": "0.28.0-dev.575",
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",