@taiga-ai/mcp-server 0.38.0-dev.1202 → 0.38.0-dev.1204

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 +46 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30137,6 +30137,16 @@ const TRACKER_PLACE_KINDS = [
30137
30137
  "table",
30138
30138
  "team"
30139
30139
  ];
30140
+ /**
30141
+ * What a refresh of one source answers. `busy` is another refresh of the
30142
+ * same source still running: nothing was read, and its result will arrive.
30143
+ */
30144
+ const TICKET_REFRESH_OUTCOMES = [...[
30145
+ "read",
30146
+ "unreachable",
30147
+ "refused",
30148
+ "rejected"
30149
+ ], "busy"];
30140
30150
  //#endregion
30141
30151
  //#region ../../packages/types/dist/product-network.js
30142
30152
  /**
@@ -30219,6 +30229,19 @@ object({
30219
30229
  verificationError: string$2().nullable()
30220
30230
  });
30221
30231
  const uuid = string$2().uuid();
30232
+ /** A place as a source names it: the tracker's id for it, checked against the tracker before it is stored. */
30233
+ const trackerPlaceId = string$2().trim().min(1).max(255);
30234
+ /** A provider-neutral filter field name, such as `component`. */
30235
+ const trackerFilterField = string$2().trim().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/, "That is not a filter field");
30236
+ /**
30237
+ * The one field a source is held to, by the tracker's ids for its values. A
30238
+ * value's name is read from the tracker where the tracker gives values ids of
30239
+ * their own; a free-text value, such as a label, is its own name.
30240
+ */
30241
+ const ticketSourceFilter = strictObject({
30242
+ field: trackerFilterField,
30243
+ valueIds: array(string$2().trim().min(1).max(255)).min(1).max(50)
30244
+ });
30222
30245
  const sha256 = string$2().regex(/^[0-9a-f]{64}$/, "sha256 must be 64 lowercase hex characters");
30223
30246
  object({ jobId: string$2() });
30224
30247
  /** An upload's grant: a presigned PUT to staging and the headers it signed. */
@@ -30797,6 +30820,10 @@ strictObject({
30797
30820
  answer: _enum(SCOPE_ANSWER_VALUES),
30798
30821
  note: string$2().trim().max(SCOPE_ANSWER_NOTE_MAX_LENGTH).optional()
30799
30822
  }), strictObject({ environments: array(string$2()).default(["development"]) }), object({ id: string$2().uuid() }), strictObject({
30823
+ connectionId: uuid,
30824
+ placeId: trackerPlaceId,
30825
+ filter: ticketSourceFilter.nullable().optional()
30826
+ }), object({ sourceId: uuid }), strictObject({
30800
30827
  connection: newCloudConnection,
30801
30828
  environment: object({
30802
30829
  name: string$2().min(1).max(100),
@@ -30901,10 +30928,29 @@ object({
30901
30928
  detail: string$2().nullable(),
30902
30929
  lastValidatedAt: string$2()
30903
30930
  });
30931
+ strictObject({ filter: ticketSourceFilter.nullable() }), object({
30932
+ outcome: _enum(TICKET_REFRESH_OUTCOMES),
30933
+ tickets: number$1().int().nullable(),
30934
+ truncated: boolean()
30935
+ });
30904
30936
  strictObject({
30905
30937
  displayName: string$2().trim().min(1).max(255).optional(),
30906
30938
  account: trackerAccount.optional(),
30907
30939
  secret: trackerSecret.optional()
30940
+ }), strictObject({ placeId: trackerPlaceId }), object({ fields: array(object({
30941
+ field: string$2(),
30942
+ label: string$2(),
30943
+ freeText: boolean()
30944
+ })).nullable() }), strictObject({
30945
+ placeId: trackerPlaceId,
30946
+ field: trackerFilterField,
30947
+ search: string$2().trim().max(100).optional()
30948
+ }), object({
30949
+ values: array(object({
30950
+ id: string$2(),
30951
+ name: string$2()
30952
+ })).nullable(),
30953
+ truncated: boolean()
30908
30954
  }), strictObject({ search: string$2().trim().max(100).optional() }), object({
30909
30955
  places: array(object({
30910
30956
  id: string$2(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.38.0-dev.1202",
3
+ "version": "0.38.0-dev.1204",
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",