@firfi/huly-mcp 0.3.1 → 0.4.0

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 CHANGED
@@ -171196,7 +171196,7 @@ var PostHog = class extends PostHogBackendClient {
171196
171196
  };
171197
171197
 
171198
171198
  // src/version.ts
171199
- var VERSION = true ? "0.3.0" : "0.0.0-dev";
171199
+ var VERSION = true ? "0.3.2" : "0.0.0-dev";
171200
171200
 
171201
171201
  // src/telemetry/posthog.ts
171202
171202
  var POSTHOG_API_KEY = "phc_TGfFqCGdnF0p68wuFzd5WSw1IsBvOJW0YgoMJDyZPjm";
@@ -174151,6 +174151,14 @@ var CreateIssueParamsSchema = Schema_exports.Struct({
174151
174151
  })),
174152
174152
  parentIssue: Schema_exports.optional(IssueIdentifier.annotations({
174153
174153
  description: "Parent issue identifier (e.g., 'HULY-42') to create as sub-issue"
174154
+ })),
174155
+ dueDate: Schema_exports.optional(
174156
+ Schema_exports.NullOr(Timestamp).annotations({
174157
+ description: "Due date as Unix timestamp in milliseconds (e.g., 1719792000000 for 2024-07-01), or null to clear"
174158
+ })
174159
+ ),
174160
+ estimation: Schema_exports.optional(PositiveNumber.annotations({
174161
+ description: "Time estimation in minutes"
174154
174162
  }))
174155
174163
  }).annotations({
174156
174164
  title: "CreateIssueParams",
@@ -174179,7 +174187,17 @@ var UpdateIssueParamsSchema = Schema_exports.Struct({
174179
174187
  ),
174180
174188
  status: Schema_exports.optional(StatusName.annotations({
174181
174189
  description: "New status"
174182
- }))
174190
+ })),
174191
+ dueDate: Schema_exports.optional(
174192
+ Schema_exports.NullOr(Timestamp).annotations({
174193
+ description: "Due date as Unix timestamp in milliseconds (e.g., 1719792000000 for 2024-07-01), or null to clear"
174194
+ })
174195
+ ),
174196
+ estimation: Schema_exports.optional(
174197
+ Schema_exports.NullOr(PositiveNumber).annotations({
174198
+ description: "Time estimation in minutes, or null to clear"
174199
+ })
174200
+ )
174183
174201
  }).annotations({
174184
174202
  title: "UpdateIssueParams",
174185
174203
  description: "Parameters for updating an issue"
@@ -178840,14 +178858,14 @@ var createIssue = (params) => Effect_exports.gen(function* () {
178840
178858
  priority,
178841
178859
  assignee: assigneeRef,
178842
178860
  component: null,
178843
- estimation: 0,
178861
+ estimation: params.estimation ?? 0,
178844
178862
  remainingTime: 0,
178845
178863
  reportedTime: 0,
178846
178864
  reports: 0,
178847
178865
  subIssues: 0,
178848
178866
  parents,
178849
178867
  childInfo: [],
178850
- dueDate: null,
178868
+ dueDate: params.dueDate ?? null,
178851
178869
  rank
178852
178870
  };
178853
178871
  yield* client.addCollection(
@@ -178906,6 +178924,12 @@ var updateIssue = (params) => Effect_exports.gen(function* () {
178906
178924
  updateOps.assignee = person._id;
178907
178925
  }
178908
178926
  }
178927
+ if (params.dueDate !== void 0) {
178928
+ updateOps.dueDate = params.dueDate;
178929
+ }
178930
+ if (params.estimation !== void 0) {
178931
+ updateOps.estimation = params.estimation ?? 0;
178932
+ }
178909
178933
  if (Object.keys(updateOps).length === 0 && !descriptionUpdatedInPlace) {
178910
178934
  return { identifier: IssueIdentifier.make(issue2.identifier), updated: false };
178911
178935
  }