@rallycry/conveyor-mcp 5.0.11 → 5.0.13
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/{chunk-UOLE5JY2.js → chunk-CRHA7PSA.js} +15 -2
- package/dist/cli.js +1361 -1205
- package/dist/{connection-FbRjUB2k.d.ts → connection-jgxgPQDm.d.ts} +28 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/tunnel-cli.js +1 -1
- package/dist/tunnel.d.ts +1 -1
- package/dist/wait-cli.js +1 -1
- package/dist/wait-runner.d.ts +1 -1
- package/dist/wait.d.ts +1 -1
- package/package.json +8 -8
|
@@ -253,7 +253,7 @@ var ConveyorConnection = class {
|
|
|
253
253
|
async updateTask(params) {
|
|
254
254
|
const { projectId, addTags, removeTags, ...rest } = params;
|
|
255
255
|
const resolvedProjectId = this.resolveProjectId(projectId);
|
|
256
|
-
const hasCoreUpdate = rest.title !== void 0 || rest.description !== void 0 || rest.plan !== void 0 || rest.status !== void 0 || rest.risk !== void 0 || rest.storyPointValue !== void 0 || rest.assignedUserId !== void 0 || rest.subProjectId !== void 0 || rest.githubBranch !== void 0 || rest.onHold !== void 0;
|
|
256
|
+
const hasCoreUpdate = rest.title !== void 0 || rest.description !== void 0 || rest.plan !== void 0 || rest.status !== void 0 || rest.risk !== void 0 || rest.storyPointValue !== void 0 || rest.priorityValue !== void 0 || rest.assignedUserId !== void 0 || rest.subProjectId !== void 0 || rest.githubBranch !== void 0 || rest.onHold !== void 0;
|
|
257
257
|
const removedTags = removeTags ?? [];
|
|
258
258
|
const addedTags = addTags ?? [];
|
|
259
259
|
const removeIds = await this.resolveTagIds(resolvedProjectId, removedTags);
|
|
@@ -269,6 +269,7 @@ var ConveyorConnection = class {
|
|
|
269
269
|
status: null,
|
|
270
270
|
risk: null,
|
|
271
271
|
storyPointValue: null,
|
|
272
|
+
priorityValue: null,
|
|
272
273
|
assignedUserId: null,
|
|
273
274
|
addedTags,
|
|
274
275
|
removedTags
|
|
@@ -791,7 +792,8 @@ var ConveyorConnection = class {
|
|
|
791
792
|
...rest
|
|
792
793
|
});
|
|
793
794
|
}
|
|
794
|
-
confirmFileUpload(
|
|
795
|
+
confirmFileUpload(params) {
|
|
796
|
+
const { taskId, fileId, comment, projectId, tags, showcase, supersedes } = params;
|
|
795
797
|
const payload = {
|
|
796
798
|
projectId: this.resolveProjectId(projectId),
|
|
797
799
|
taskId,
|
|
@@ -799,6 +801,8 @@ var ConveyorConnection = class {
|
|
|
799
801
|
};
|
|
800
802
|
if (comment !== void 0) payload.comment = comment;
|
|
801
803
|
if (tags?.length) payload.tags = tags;
|
|
804
|
+
if (showcase) payload.showcase = true;
|
|
805
|
+
if (supersedes) payload.supersedes = supersedes;
|
|
802
806
|
return this.call("confirmProjectFileUpload", payload, 3e4);
|
|
803
807
|
}
|
|
804
808
|
deleteAttachment(taskId, fileId, projectId) {
|
|
@@ -808,6 +812,15 @@ var ConveyorConnection = class {
|
|
|
808
812
|
fileId
|
|
809
813
|
});
|
|
810
814
|
}
|
|
815
|
+
/** Flip a task file to or from showcase — the card's star. */
|
|
816
|
+
setShowcase(params) {
|
|
817
|
+
return this.call("setProjectTaskFileShowcase", {
|
|
818
|
+
projectId: this.resolveProjectId(params.projectId),
|
|
819
|
+
taskId: params.taskId,
|
|
820
|
+
fileId: params.fileId,
|
|
821
|
+
showcase: params.showcase
|
|
822
|
+
});
|
|
823
|
+
}
|
|
811
824
|
// ── Releases ────────────────────────────────────────────────────────
|
|
812
825
|
createRelease(taskIds, projectId) {
|
|
813
826
|
return this.call(
|