@taiga-ai/mcp-server 0.37.0-dev.1136 → 0.37.0-dev.1137
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 +56 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27531,6 +27531,10 @@ discriminatedUnion("kind", [
|
|
|
27531
27531
|
url: string$2().max(2e3).nullable()
|
|
27532
27532
|
})).max(20),
|
|
27533
27533
|
moreFailed: number$1().int().min(0).optional(),
|
|
27534
|
+
passing: array(object({
|
|
27535
|
+
name: string$2().min(1).max(200),
|
|
27536
|
+
url: string$2().max(2e3).nullable()
|
|
27537
|
+
})).max(50).optional(),
|
|
27534
27538
|
observedAt: optionalMoment,
|
|
27535
27539
|
repository: string$2().min(1).max(255).optional(),
|
|
27536
27540
|
stepId: optionalUuid
|
|
@@ -28057,13 +28061,59 @@ object({
|
|
|
28057
28061
|
}),
|
|
28058
28062
|
diff: runDiffStatSchema.nullable(),
|
|
28059
28063
|
/** People whose newest review approves it; null where the forge's reviews could not be read. */
|
|
28060
|
-
approvals: number$1().int().nonnegative().nullable()
|
|
28064
|
+
approvals: number$1().int().nonnegative().nullable(),
|
|
28065
|
+
/** The head its forge assessed, so a CI result read for another head is not taken for this one's (PRO-4679). */
|
|
28066
|
+
headSha: string$2().nullable().optional()
|
|
28061
28067
|
});
|
|
28062
28068
|
object({
|
|
28063
28069
|
merged: boolean(),
|
|
28064
28070
|
reason: _enum(blockedReasons).nullable(),
|
|
28065
28071
|
detail: string$2().nullable()
|
|
28066
28072
|
});
|
|
28073
|
+
//#endregion
|
|
28074
|
+
//#region ../../packages/types/dist/run-evidence.js
|
|
28075
|
+
/**
|
|
28076
|
+
* What a Factory run checked on the change it hands over (PRO-4679, PRO-4680),
|
|
28077
|
+
* as the run page reads it: the handover's `evidence.json` (`run-evidence`
|
|
28078
|
+
* 0.1.0), held to its schema when the run files worker reads the ZIP, then
|
|
28079
|
+
* read into this shape. Its two vocabularies are open, so a value this reader
|
|
28080
|
+
* does not know is `unknown`, never taken for one it does.
|
|
28081
|
+
*/
|
|
28082
|
+
/** How a check ended. */
|
|
28083
|
+
const RUN_EVIDENCE_RESULTS = [
|
|
28084
|
+
"passed",
|
|
28085
|
+
"failed",
|
|
28086
|
+
"warning",
|
|
28087
|
+
"timed_out",
|
|
28088
|
+
"not_run",
|
|
28089
|
+
"skipped"
|
|
28090
|
+
];
|
|
28091
|
+
/** Who ran a check and recorded how it ended: the factory itself, or an agent that reports it. */
|
|
28092
|
+
const RUN_EVIDENCE_RUNNERS = ["factory", "agent"];
|
|
28093
|
+
const runGivenCriteriaSchema = array(object({
|
|
28094
|
+
number: number$1().int(),
|
|
28095
|
+
text: string$2(),
|
|
28096
|
+
endToEnd: boolean()
|
|
28097
|
+
}));
|
|
28098
|
+
/** The evidence in a run page's answer: what {@link readRunEvidence} reads, no more. */
|
|
28099
|
+
const runEvidenceSchema = object({
|
|
28100
|
+
checks: array(object({
|
|
28101
|
+
name: string$2(),
|
|
28102
|
+
ranBy: _enum([...RUN_EVIDENCE_RUNNERS, "unknown"]),
|
|
28103
|
+
result: _enum([...RUN_EVIDENCE_RESULTS, "unknown"]),
|
|
28104
|
+
reason: string$2().nullable(),
|
|
28105
|
+
command: string$2().nullable(),
|
|
28106
|
+
seconds: number$1().nullable(),
|
|
28107
|
+
logTail: string$2().nullable(),
|
|
28108
|
+
fixed: boolean()
|
|
28109
|
+
})),
|
|
28110
|
+
criteria: array(object({
|
|
28111
|
+
number: number$1().int(),
|
|
28112
|
+
met: boolean(),
|
|
28113
|
+
evidence: string$2(),
|
|
28114
|
+
checks: array(string$2())
|
|
28115
|
+
}))
|
|
28116
|
+
});
|
|
28067
28117
|
[...BUILD_RUN_ACTIVE_STATUSES.filter((s) => s !== "reviewing")];
|
|
28068
28118
|
//#endregion
|
|
28069
28119
|
//#region ../../packages/types/dist/agents.js
|
|
@@ -29947,7 +29997,11 @@ object({
|
|
|
29947
29997
|
})),
|
|
29948
29998
|
problems: array(string$2()),
|
|
29949
29999
|
imagesExpired: boolean(),
|
|
29950
|
-
deliveredAt: string$2()
|
|
30000
|
+
deliveredAt: string$2(),
|
|
30001
|
+
/** What the run checked, from its handover's `evidence.json` (PRO-4679). */
|
|
30002
|
+
evidence: runEvidenceSchema.nullable().optional(),
|
|
30003
|
+
/** The acceptance criteria the run was given, which its evidence judges by number (PRO-4680). */
|
|
30004
|
+
criteria: runGivenCriteriaSchema.nullable().optional()
|
|
29951
30005
|
}), strictObject({
|
|
29952
30006
|
notes: string$2().trim().min(1).max(CHANGE_REQUEST_MAX_CHARS),
|
|
29953
30007
|
/** Show the revised plan before the run continues (PRO-3164). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.37.0-dev.
|
|
3
|
+
"version": "0.37.0-dev.1137",
|
|
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",
|