@togglhq/mcp 1.13.180 → 1.13.182
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-vN-q1TpK.js → src-DzXHDCKs.js} +14 -15
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-
|
|
2
|
+
import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-DzXHDCKs.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.13.
|
|
165
|
+
const packageVersion = "1.13.182";
|
|
166
166
|
let sentryEnabled = false;
|
|
167
167
|
let productAnalyticsEnabled = false;
|
|
168
168
|
runMcpCli({
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-
|
|
2
|
+
import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DzXHDCKs.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -35348,7 +35348,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35348
35348
|
name: /* @__PURE__ */ string(),
|
|
35349
35349
|
organization_id: /* @__PURE__ */ number(),
|
|
35350
35350
|
owner: /* @__PURE__ */ boolean(),
|
|
35351
|
-
rate: /* @__PURE__ */ object({
|
|
35351
|
+
rate: /* @__PURE__ */ pipe(/* @__PURE__ */ object({
|
|
35352
35352
|
currency: /* @__PURE__ */ string(),
|
|
35353
35353
|
hourly_rate: /* @__PURE__ */ number(),
|
|
35354
35354
|
start_at: /* @__PURE__ */ string(),
|
|
@@ -35356,7 +35356,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
35356
35356
|
end_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35357
35357
|
workspace_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35358
35358
|
workspace_user_rate_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35359
|
-
}),
|
|
35359
|
+
}), /* @__PURE__ */ description("Deprecated: always the empty rate; this endpoint no longer returns rates. Read member rates from GET /organizations/{organization_id}/workspaces/{workspace_id}/billable-rates/users/rates.")),
|
|
35360
35360
|
tags: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
35361
35361
|
color: /* @__PURE__ */ string(),
|
|
35362
35362
|
id: /* @__PURE__ */ number(),
|
|
@@ -37535,7 +37535,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37535
37535
|
})
|
|
37536
37536
|
})).json();
|
|
37537
37537
|
}
|
|
37538
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours,
|
|
37538
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
|
|
37539
37539
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37540
37540
|
signal,
|
|
37541
37541
|
searchParams: buildSearchParams$2({
|
|
@@ -37553,7 +37553,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37553
37553
|
per_page,
|
|
37554
37554
|
tag_ids,
|
|
37555
37555
|
include_working_hours,
|
|
37556
|
-
include_rates,
|
|
37557
37556
|
pinned_ids,
|
|
37558
37557
|
has_group,
|
|
37559
37558
|
track_without_focus,
|
|
@@ -38668,7 +38667,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38668
38667
|
]))
|
|
38669
38668
|
});
|
|
38670
38669
|
//#endregion
|
|
38671
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38670
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38672
38671
|
async function getInvitations(httpClient, signal) {
|
|
38673
38672
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38674
38673
|
}
|
|
@@ -38685,7 +38684,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38685
38684
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38686
38685
|
}
|
|
38687
38686
|
//#endregion
|
|
38688
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38687
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38689
38688
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38690
38689
|
const searchParams = new URLSearchParams();
|
|
38691
38690
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38697,7 +38696,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38697
38696
|
return searchParams;
|
|
38698
38697
|
}
|
|
38699
38698
|
//#endregion
|
|
38700
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38699
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38701
38700
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38702
38701
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38703
38702
|
}
|
|
@@ -38712,7 +38711,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38712
38711
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38713
38712
|
}
|
|
38714
38713
|
//#endregion
|
|
38715
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38714
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38716
38715
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38717
38716
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38718
38717
|
}
|
|
@@ -38732,7 +38731,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38732
38731
|
});
|
|
38733
38732
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38734
38733
|
//#endregion
|
|
38735
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38734
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38736
38735
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38737
38736
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38738
38737
|
signal,
|
|
@@ -38743,12 +38742,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38743
38742
|
})).json();
|
|
38744
38743
|
}
|
|
38745
38744
|
//#endregion
|
|
38746
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38745
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38747
38746
|
async function getStatus(httpClient, signal) {
|
|
38748
38747
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38749
38748
|
}
|
|
38750
38749
|
//#endregion
|
|
38751
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38750
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38752
38751
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38753
38752
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38754
38753
|
signal,
|
|
@@ -38776,7 +38775,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38776
38775
|
return response.json();
|
|
38777
38776
|
}
|
|
38778
38777
|
//#endregion
|
|
38779
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38778
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.316_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6d0fbe9eb784243d16dd0b20882b0a02/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38780
38779
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38781
38780
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38782
38781
|
}
|
|
@@ -59671,7 +59670,7 @@ function registerWorkspaceTools(server) {
|
|
|
59671
59670
|
//#region src/package-version.ts
|
|
59672
59671
|
function mcpPackageVersion() {
|
|
59673
59672
|
try {
|
|
59674
|
-
return "1.13.
|
|
59673
|
+
return "1.13.182";
|
|
59675
59674
|
} catch {
|
|
59676
59675
|
return "unknown";
|
|
59677
59676
|
}
|
|
@@ -59852,7 +59851,7 @@ import_main.default.config({
|
|
|
59852
59851
|
quiet: true,
|
|
59853
59852
|
ignore: ["MISSING_ENV_FILE"]
|
|
59854
59853
|
});
|
|
59855
|
-
const packageVersion = "1.13.
|
|
59854
|
+
const packageVersion = "1.13.182";
|
|
59856
59855
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59857
59856
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59858
59857
|
function resolvePublicUrls() {
|
|
@@ -59972,4 +59971,4 @@ function bootstrapServer(options = {}) {
|
|
|
59972
59971
|
//#endregion
|
|
59973
59972
|
export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
|
|
59974
59973
|
|
|
59975
|
-
//# sourceMappingURL=src-
|
|
59974
|
+
//# sourceMappingURL=src-DzXHDCKs.js.map
|