@togglhq/mcp 1.13.180 → 1.13.181
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
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-Qm3xLpXD.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.181";
|
|
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-Qm3xLpXD.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,
|
|
@@ -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.181";
|
|
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.181";
|
|
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-Qm3xLpXD.js.map
|