@togglhq/mcp 1.11.199 → 1.11.201
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/build/cli.js +2 -2
- package/build/index.js +1 -1
- package/build/{src-CPr7qjL1.js → src-E4ov9x0n.js} +14 -6
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-
|
|
2
|
+
import { a as getProductAnalyticsDistinctId, c as resolvePublicSentryDsn, i as captureToolInvocation, l as shutdownProductAnalytics, n as runMcpCli, o as initProductAnalytics, r as PUBLIC_SENTRY_PRIVACY_OPTIONS, s as resolveProductAnalyticsDistinctId } from "./src-E4ov9x0n.js";
|
|
3
3
|
import * as Sentry from "@sentry/node";
|
|
4
4
|
//#region src/analytics-tool-metadata.ts
|
|
5
5
|
/**
|
|
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
|
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
164
|
//#region src/cli.ts
|
|
165
|
-
const packageVersion = "1.11.
|
|
165
|
+
const packageVersion = "1.11.201";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -34912,6 +34912,7 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
|
|
|
34912
34912
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34913
34913
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34914
34914
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34915
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ picklist(["manual", "tasks"]))),
|
|
34915
34916
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
34916
34917
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeePayloadSchema),
|
|
34917
34918
|
is_template: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -34927,6 +34928,7 @@ const ProjectPayloadSchema = /* @__PURE__ */ object({
|
|
|
34927
34928
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34928
34929
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number())))
|
|
34929
34930
|
});
|
|
34931
|
+
const ProjectEstimateSourceSchema = /* @__PURE__ */ picklist(["manual", "tasks"]);
|
|
34930
34932
|
const ProjectFixedFeeSchema = /* @__PURE__ */ object({
|
|
34931
34933
|
amount: /* @__PURE__ */ number(),
|
|
34932
34934
|
currency: /* @__PURE__ */ string()
|
|
@@ -34938,6 +34940,7 @@ const ProjectSchema = /* @__PURE__ */ object({
|
|
|
34938
34940
|
completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
|
|
34939
34941
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
34940
34942
|
draft: /* @__PURE__ */ boolean(),
|
|
34943
|
+
estimate_source: ProjectEstimateSourceSchema,
|
|
34941
34944
|
id: /* @__PURE__ */ number(),
|
|
34942
34945
|
is_template: /* @__PURE__ */ boolean(),
|
|
34943
34946
|
name: /* @__PURE__ */ string(),
|
|
@@ -35043,6 +35046,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35043
35046
|
completion_mode: /* @__PURE__ */ picklist(["manual", "automatic"]),
|
|
35044
35047
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
35045
35048
|
draft: /* @__PURE__ */ boolean(),
|
|
35049
|
+
estimate_source: ProjectEstimateSourceSchema,
|
|
35046
35050
|
id: /* @__PURE__ */ number(),
|
|
35047
35051
|
is_template: /* @__PURE__ */ boolean(),
|
|
35048
35052
|
name: /* @__PURE__ */ string(),
|
|
@@ -35245,7 +35249,7 @@ const ProjectBulkUserEntrySchema = /* @__PURE__ */ object({
|
|
|
35245
35249
|
user_id: /* @__PURE__ */ number()
|
|
35246
35250
|
});
|
|
35247
35251
|
const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
35248
|
-
auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35252
|
+
auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35249
35253
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35250
35254
|
client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35251
35255
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
@@ -35254,6 +35258,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35254
35258
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35255
35259
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35256
35260
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35261
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
|
|
35257
35262
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35258
35263
|
fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
|
|
35259
35264
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -35271,7 +35276,7 @@ const ProjectPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35271
35276
|
});
|
|
35272
35277
|
const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
35273
35278
|
id: /* @__PURE__ */ number(),
|
|
35274
|
-
auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35279
|
+
auto_compute_estimates: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
35275
35280
|
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35276
35281
|
client_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35277
35282
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
@@ -35280,6 +35285,7 @@ const ProjectPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35280
35285
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35281
35286
|
draft: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35282
35287
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
35288
|
+
estimate_source: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["manual", "tasks"])),
|
|
35283
35289
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0)))),
|
|
35284
35290
|
fixed_fee: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(ProjectFixedFeePayloadSchema)),
|
|
35285
35291
|
groups: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(ProjectBulkGroupEntrySchema))),
|
|
@@ -45988,6 +45994,7 @@ const generatedFocusOperations = [
|
|
|
45988
45994
|
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45989
45995
|
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45990
45996
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45997
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
|
|
45991
45998
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45992
45999
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45993
46000
|
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -46030,8 +46037,8 @@ const generatedFocusOperations = [
|
|
|
46030
46037
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46031
46038
|
date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
46032
46039
|
payload: /* @__PURE__ */ looseObject({
|
|
46033
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46034
46040
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46041
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
|
|
46035
46042
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
46036
46043
|
}),
|
|
46037
46044
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46067,6 +46074,7 @@ const generatedFocusOperations = [
|
|
|
46067
46074
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46068
46075
|
payload: /* @__PURE__ */ looseObject({
|
|
46069
46076
|
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46077
|
+
estimate_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "tasks"])),
|
|
46070
46078
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
46071
46079
|
fixed_fee: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
46072
46080
|
amount: /* @__PURE__ */ number$2(),
|
|
@@ -56116,7 +56124,7 @@ function registerWorkspaceTools(server) {
|
|
|
56116
56124
|
//#region src/package-version.ts
|
|
56117
56125
|
function mcpPackageVersion() {
|
|
56118
56126
|
try {
|
|
56119
|
-
return "1.11.
|
|
56127
|
+
return "1.11.201";
|
|
56120
56128
|
} catch {
|
|
56121
56129
|
return "unknown";
|
|
56122
56130
|
}
|
|
@@ -56291,7 +56299,7 @@ import_main.default.config({
|
|
|
56291
56299
|
quiet: true,
|
|
56292
56300
|
ignore: ["MISSING_ENV_FILE"]
|
|
56293
56301
|
});
|
|
56294
|
-
const packageVersion = "1.11.
|
|
56302
|
+
const packageVersion = "1.11.201";
|
|
56295
56303
|
function resolvePublicUrls() {
|
|
56296
56304
|
return {
|
|
56297
56305
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -56356,4 +56364,4 @@ function bootstrapServer(options = {}) {
|
|
|
56356
56364
|
//#endregion
|
|
56357
56365
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
56358
56366
|
|
|
56359
|
-
//# sourceMappingURL=src-
|
|
56367
|
+
//# sourceMappingURL=src-E4ov9x0n.js.map
|