@firfi/huly-mcp 0.1.21 → 0.1.22
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.cjs +14 -14
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -158378,7 +158378,7 @@ var HulyAuthError = class extends Schema_exports.TaggedError()(
|
|
|
158378
158378
|
) {
|
|
158379
158379
|
mcpErrorCode = McpErrorCode.InternalError;
|
|
158380
158380
|
};
|
|
158381
|
-
var
|
|
158381
|
+
var IssueNotFoundError = class extends Schema_exports.TaggedError()(
|
|
158382
158382
|
"IssueNotFoundError",
|
|
158383
158383
|
{
|
|
158384
158384
|
identifier: Schema_exports.String,
|
|
@@ -158464,7 +158464,7 @@ var FileFetchError = class extends Schema_exports.TaggedError()(
|
|
|
158464
158464
|
return `Failed to fetch file from ${this.fileUrl}: ${this.reason}`;
|
|
158465
158465
|
}
|
|
158466
158466
|
};
|
|
158467
|
-
var
|
|
158467
|
+
var TeamspaceNotFoundError = class extends Schema_exports.TaggedError()(
|
|
158468
158468
|
"TeamspaceNotFoundError",
|
|
158469
158469
|
{
|
|
158470
158470
|
identifier: Schema_exports.String
|
|
@@ -158475,7 +158475,7 @@ var TeamspaceNotFoundError2 = class extends Schema_exports.TaggedError()(
|
|
|
158475
158475
|
return `Teamspace '${this.identifier}' not found`;
|
|
158476
158476
|
}
|
|
158477
158477
|
};
|
|
158478
|
-
var
|
|
158478
|
+
var DocumentNotFoundError = class extends Schema_exports.TaggedError()(
|
|
158479
158479
|
"DocumentNotFoundError",
|
|
158480
158480
|
{
|
|
158481
158481
|
identifier: Schema_exports.String,
|
|
@@ -158603,7 +158603,7 @@ var SavedMessageNotFoundError = class extends Schema_exports.TaggedError()(
|
|
|
158603
158603
|
return `Saved message for '${this.messageId}' not found`;
|
|
158604
158604
|
}
|
|
158605
158605
|
};
|
|
158606
|
-
var
|
|
158606
|
+
var AttachmentNotFoundError = class extends Schema_exports.TaggedError()(
|
|
158607
158607
|
"AttachmentNotFoundError",
|
|
158608
158608
|
{
|
|
158609
158609
|
attachmentId: Schema_exports.String
|
|
@@ -158702,7 +158702,7 @@ var HulyDomainError = Schema_exports.Union(
|
|
|
158702
158702
|
HulyError,
|
|
158703
158703
|
HulyConnectionError,
|
|
158704
158704
|
HulyAuthError,
|
|
158705
|
-
|
|
158705
|
+
IssueNotFoundError,
|
|
158706
158706
|
ProjectNotFoundError,
|
|
158707
158707
|
InvalidStatusError,
|
|
158708
158708
|
PersonNotFoundError,
|
|
@@ -158710,8 +158710,8 @@ var HulyDomainError = Schema_exports.Union(
|
|
|
158710
158710
|
InvalidFileDataError,
|
|
158711
158711
|
FileNotFoundError,
|
|
158712
158712
|
FileFetchError,
|
|
158713
|
-
|
|
158714
|
-
|
|
158713
|
+
TeamspaceNotFoundError,
|
|
158714
|
+
DocumentNotFoundError,
|
|
158715
158715
|
CommentNotFoundError,
|
|
158716
158716
|
MilestoneNotFoundError,
|
|
158717
158717
|
ChannelNotFoundError,
|
|
@@ -158722,7 +158722,7 @@ var HulyDomainError = Schema_exports.Union(
|
|
|
158722
158722
|
ActivityMessageNotFoundError,
|
|
158723
158723
|
ReactionNotFoundError,
|
|
158724
158724
|
SavedMessageNotFoundError,
|
|
158725
|
-
|
|
158725
|
+
AttachmentNotFoundError,
|
|
158726
158726
|
ComponentNotFoundError,
|
|
158727
158727
|
IssueTemplateNotFoundError,
|
|
158728
158728
|
NotificationNotFoundError,
|
|
@@ -175628,7 +175628,7 @@ var findProjectAndIssue = (params) => Effect_exports.gen(function* () {
|
|
|
175628
175628
|
);
|
|
175629
175629
|
}
|
|
175630
175630
|
if (issue2 === void 0) {
|
|
175631
|
-
return yield* new
|
|
175631
|
+
return yield* new IssueNotFoundError({
|
|
175632
175632
|
identifier: params.identifier,
|
|
175633
175633
|
project: params.project
|
|
175634
175634
|
});
|
|
@@ -179934,7 +179934,7 @@ var findTeamspace = (identifier2) => Effect_exports.gen(function* () {
|
|
|
179934
179934
|
);
|
|
179935
179935
|
}
|
|
179936
179936
|
if (teamspace === void 0) {
|
|
179937
|
-
return yield* new
|
|
179937
|
+
return yield* new TeamspaceNotFoundError({ identifier: identifier2 });
|
|
179938
179938
|
}
|
|
179939
179939
|
return { client, teamspace };
|
|
179940
179940
|
});
|
|
@@ -179957,7 +179957,7 @@ var findTeamspaceAndDocument = (params) => Effect_exports.gen(function* () {
|
|
|
179957
179957
|
);
|
|
179958
179958
|
}
|
|
179959
179959
|
if (doc === void 0) {
|
|
179960
|
-
return yield* new
|
|
179960
|
+
return yield* new DocumentNotFoundError({
|
|
179961
179961
|
identifier: params.document,
|
|
179962
179962
|
teamspace: params.teamspace
|
|
179963
179963
|
});
|
|
@@ -180400,7 +180400,7 @@ var getIssue = (params) => Effect_exports.gen(function* () {
|
|
|
180400
180400
|
);
|
|
180401
180401
|
}
|
|
180402
180402
|
if (issue2 === void 0) {
|
|
180403
|
-
return yield* new
|
|
180403
|
+
return yield* new IssueNotFoundError({ identifier: params.identifier, project: params.project });
|
|
180404
180404
|
}
|
|
180405
180405
|
const statusDoc = statuses.find((s) => String(s._id) === String(issue2.status));
|
|
180406
180406
|
const statusName = statusDoc?.name ?? "Unknown";
|
|
@@ -180840,7 +180840,7 @@ var setIssueComponent = (params) => Effect_exports.gen(function* () {
|
|
|
180840
180840
|
);
|
|
180841
180841
|
}
|
|
180842
180842
|
if (issue2 === void 0) {
|
|
180843
|
-
return yield* new
|
|
180843
|
+
return yield* new IssueNotFoundError({
|
|
180844
180844
|
identifier: params.identifier,
|
|
180845
180845
|
project: params.project
|
|
180846
180846
|
});
|
|
@@ -181477,7 +181477,7 @@ var setIssueMilestone = (params) => Effect_exports.gen(function* () {
|
|
|
181477
181477
|
);
|
|
181478
181478
|
}
|
|
181479
181479
|
if (issue2 === void 0) {
|
|
181480
|
-
return yield* new
|
|
181480
|
+
return yield* new IssueNotFoundError({
|
|
181481
181481
|
identifier: params.identifier,
|
|
181482
181482
|
project: params.project
|
|
181483
181483
|
});
|