@togglhq/mcp 1.13.151 → 1.13.153
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-BomVTai3.js → src-BUaZsg4H.js} +13 -12
- 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-BUaZsg4H.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.153";
|
|
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-BUaZsg4H.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38538,7 +38538,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38538
38538
|
]))
|
|
38539
38539
|
});
|
|
38540
38540
|
//#endregion
|
|
38541
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38541
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38542
38542
|
async function getInvitations(httpClient, signal) {
|
|
38543
38543
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38544
38544
|
}
|
|
@@ -38555,7 +38555,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38555
38555
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38556
38556
|
}
|
|
38557
38557
|
//#endregion
|
|
38558
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38558
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38559
38559
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38560
38560
|
const searchParams = new URLSearchParams();
|
|
38561
38561
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38567,7 +38567,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38567
38567
|
return searchParams;
|
|
38568
38568
|
}
|
|
38569
38569
|
//#endregion
|
|
38570
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38570
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38571
38571
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38572
38572
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38573
38573
|
}
|
|
@@ -38582,7 +38582,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38582
38582
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38583
38583
|
}
|
|
38584
38584
|
//#endregion
|
|
38585
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38585
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38586
38586
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38587
38587
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38588
38588
|
}
|
|
@@ -38602,7 +38602,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38602
38602
|
});
|
|
38603
38603
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38604
38604
|
//#endregion
|
|
38605
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38605
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38606
38606
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38607
38607
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38608
38608
|
signal,
|
|
@@ -38613,12 +38613,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38613
38613
|
})).json();
|
|
38614
38614
|
}
|
|
38615
38615
|
//#endregion
|
|
38616
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38616
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38617
38617
|
async function getStatus(httpClient, signal) {
|
|
38618
38618
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38619
38619
|
}
|
|
38620
38620
|
//#endregion
|
|
38621
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38621
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38622
38622
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38623
38623
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38624
38624
|
signal,
|
|
@@ -38646,7 +38646,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38646
38646
|
return response.json();
|
|
38647
38647
|
}
|
|
38648
38648
|
//#endregion
|
|
38649
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38649
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.302_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d6cb74b1d339f6f0588fa434cbbadb4c/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38650
38650
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38651
38651
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38652
38652
|
}
|
|
@@ -43929,7 +43929,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
43929
43929
|
}
|
|
43930
43930
|
//#endregion
|
|
43931
43931
|
//#region ../focus-queries/dist/search/requests.ts
|
|
43932
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me, occurrence_window_date }, signal) {
|
|
43932
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, exclude_project_completed, group_by_tags, only_me, occurrence_window_date }, signal) {
|
|
43933
43933
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
43934
43934
|
signal,
|
|
43935
43935
|
searchParams: buildSearchParams$2({
|
|
@@ -43942,6 +43942,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
43942
43942
|
task_id,
|
|
43943
43943
|
include_drafts,
|
|
43944
43944
|
exclude_calendar_events,
|
|
43945
|
+
exclude_project_completed,
|
|
43945
43946
|
group_by_tags,
|
|
43946
43947
|
only_me,
|
|
43947
43948
|
occurrence_window_date
|
|
@@ -59304,7 +59305,7 @@ function registerWorkspaceTools(server) {
|
|
|
59304
59305
|
//#region src/package-version.ts
|
|
59305
59306
|
function mcpPackageVersion() {
|
|
59306
59307
|
try {
|
|
59307
|
-
return "1.13.
|
|
59308
|
+
return "1.13.153";
|
|
59308
59309
|
} catch {
|
|
59309
59310
|
return "unknown";
|
|
59310
59311
|
}
|
|
@@ -59485,7 +59486,7 @@ import_main.default.config({
|
|
|
59485
59486
|
quiet: true,
|
|
59486
59487
|
ignore: ["MISSING_ENV_FILE"]
|
|
59487
59488
|
});
|
|
59488
|
-
const packageVersion = "1.13.
|
|
59489
|
+
const packageVersion = "1.13.153";
|
|
59489
59490
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
59490
59491
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
59491
59492
|
function resolvePublicUrls() {
|
|
@@ -59605,4 +59606,4 @@ function bootstrapServer(options = {}) {
|
|
|
59605
59606
|
//#endregion
|
|
59606
59607
|
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 };
|
|
59607
59608
|
|
|
59608
|
-
//# sourceMappingURL=src-
|
|
59609
|
+
//# sourceMappingURL=src-BUaZsg4H.js.map
|