@triedotdev/mcp 1.0.145 → 1.0.146
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.
|
@@ -5537,13 +5537,6 @@ var CursorCloudAgentClient = class {
|
|
|
5537
5537
|
source: {
|
|
5538
5538
|
repository: repoUrl,
|
|
5539
5539
|
ref: branch
|
|
5540
|
-
},
|
|
5541
|
-
metadata: {
|
|
5542
|
-
issueId: issue.id,
|
|
5543
|
-
file: issue.file,
|
|
5544
|
-
line: issue.line,
|
|
5545
|
-
severity: issue.severity,
|
|
5546
|
-
agent: issue.agent
|
|
5547
5540
|
}
|
|
5548
5541
|
};
|
|
5549
5542
|
const res = await this.request("POST", "/agents", body);
|
|
@@ -5656,16 +5649,17 @@ var CursorCloudAgentClient = class {
|
|
|
5656
5649
|
}
|
|
5657
5650
|
};
|
|
5658
5651
|
function mapStatus(raw) {
|
|
5659
|
-
switch (raw) {
|
|
5660
|
-
case "
|
|
5661
|
-
case "
|
|
5652
|
+
switch (raw?.toUpperCase()) {
|
|
5653
|
+
case "PENDING":
|
|
5654
|
+
case "QUEUED":
|
|
5655
|
+
case "CREATING":
|
|
5662
5656
|
return "pending";
|
|
5663
|
-
case "
|
|
5664
|
-
case "
|
|
5657
|
+
case "RUNNING":
|
|
5658
|
+
case "IN_PROGRESS":
|
|
5665
5659
|
return "running";
|
|
5666
|
-
case "
|
|
5667
|
-
case "
|
|
5668
|
-
case "
|
|
5660
|
+
case "COMPLETED":
|
|
5661
|
+
case "SUCCEEDED":
|
|
5662
|
+
case "VERIFIED":
|
|
5669
5663
|
return "completed";
|
|
5670
5664
|
default:
|
|
5671
5665
|
return "failed";
|
|
@@ -9666,4 +9660,4 @@ export {
|
|
|
9666
9660
|
GitHubBranchesTool,
|
|
9667
9661
|
InteractiveDashboard
|
|
9668
9662
|
};
|
|
9669
|
-
//# sourceMappingURL=chunk-
|
|
9663
|
+
//# sourceMappingURL=chunk-US4P265N.js.map
|