@togglhq/mcp 1.13.341 → 1.13.342
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-Dgl3tIpH.js → src-DFK7rK4C.js} +70 -3
- 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-DFK7rK4C.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.342";
|
|
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-DFK7rK4C.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -37998,6 +37998,15 @@ async function restoreProject(httpClient, organization_id, workspace_id, project
|
|
|
37998
37998
|
if ([204, 205].includes(response.status)) return null;
|
|
37999
37999
|
return response.json();
|
|
38000
38000
|
}
|
|
38001
|
+
async function getTimeLogMove(httpClient, organization_id, workspace_id, project_id, { rrule } = {}, signal) {
|
|
38002
|
+
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/time-log-move`, {
|
|
38003
|
+
signal,
|
|
38004
|
+
searchParams: buildSearchParams$2({ rrule })
|
|
38005
|
+
})).json();
|
|
38006
|
+
}
|
|
38007
|
+
async function moveTimeLogs(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
38008
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/time-log-move`, { signal })).json();
|
|
38009
|
+
}
|
|
38001
38010
|
async function unarchiveProject(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
38002
38011
|
const response = await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/unarchive`, { signal });
|
|
38003
38012
|
if ([204, 205].includes(response.status)) return null;
|
|
@@ -50718,6 +50727,37 @@ const generatedFocusOperations = [
|
|
|
50718
50727
|
]));
|
|
50719
50728
|
}
|
|
50720
50729
|
},
|
|
50730
|
+
{
|
|
50731
|
+
id: "focus.projects.get-time-log-move",
|
|
50732
|
+
family: "focus",
|
|
50733
|
+
resource: "projects",
|
|
50734
|
+
action: "get-time-log-move",
|
|
50735
|
+
title: "Get Time Log Move Projects",
|
|
50736
|
+
description: "Get Time Log Move Projects.",
|
|
50737
|
+
safety: "read",
|
|
50738
|
+
destructive: false,
|
|
50739
|
+
cli: {
|
|
50740
|
+
group: ["projects"],
|
|
50741
|
+
command: "get-time-log-move",
|
|
50742
|
+
interactive: "hidden"
|
|
50743
|
+
},
|
|
50744
|
+
mcp: { entityTool: "projects" },
|
|
50745
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50746
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
50747
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50748
|
+
}),
|
|
50749
|
+
execute: (input, { client }) => {
|
|
50750
|
+
const data = input;
|
|
50751
|
+
return client.runGeneratedRequest("getTimeLogMove", () => callGeneratedRequest(getTimeLogMove, [
|
|
50752
|
+
client.httpClient,
|
|
50753
|
+
client.organizationId,
|
|
50754
|
+
client.workspaceIdNumber,
|
|
50755
|
+
data.project_id,
|
|
50756
|
+
data,
|
|
50757
|
+
void 0
|
|
50758
|
+
]));
|
|
50759
|
+
}
|
|
50760
|
+
},
|
|
50721
50761
|
{
|
|
50722
50762
|
id: "focus.projects.get-with-children",
|
|
50723
50763
|
family: "focus",
|
|
@@ -51043,6 +51083,33 @@ const generatedFocusOperations = [
|
|
|
51043
51083
|
]));
|
|
51044
51084
|
}
|
|
51045
51085
|
},
|
|
51086
|
+
{
|
|
51087
|
+
id: "focus.projects.move-time-logs",
|
|
51088
|
+
family: "focus",
|
|
51089
|
+
resource: "projects",
|
|
51090
|
+
action: "move-time-logs",
|
|
51091
|
+
title: "Move Time Logs Projects",
|
|
51092
|
+
description: "Move Time Logs Projects.",
|
|
51093
|
+
safety: "update",
|
|
51094
|
+
destructive: false,
|
|
51095
|
+
cli: {
|
|
51096
|
+
group: ["projects"],
|
|
51097
|
+
command: "move-time-logs",
|
|
51098
|
+
interactive: "default"
|
|
51099
|
+
},
|
|
51100
|
+
mcp: { entityTool: "projects" },
|
|
51101
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
51102
|
+
execute: (input, { client }) => {
|
|
51103
|
+
const data = input;
|
|
51104
|
+
return client.runGeneratedRequest("moveTimeLogs", () => callGeneratedRequest(moveTimeLogs, [
|
|
51105
|
+
client.httpClient,
|
|
51106
|
+
client.organizationId,
|
|
51107
|
+
client.workspaceIdNumber,
|
|
51108
|
+
data.project_id,
|
|
51109
|
+
void 0
|
|
51110
|
+
]));
|
|
51111
|
+
}
|
|
51112
|
+
},
|
|
51046
51113
|
{
|
|
51047
51114
|
id: "focus.projects.pin",
|
|
51048
51115
|
family: "focus",
|
|
@@ -62113,7 +62180,7 @@ function registerWorkspaceTools(server) {
|
|
|
62113
62180
|
//#region src/package-version.ts
|
|
62114
62181
|
function mcpPackageVersion() {
|
|
62115
62182
|
try {
|
|
62116
|
-
return "1.13.
|
|
62183
|
+
return "1.13.342";
|
|
62117
62184
|
} catch {
|
|
62118
62185
|
return "unknown";
|
|
62119
62186
|
}
|
|
@@ -62295,7 +62362,7 @@ import_main.default.config({
|
|
|
62295
62362
|
quiet: true,
|
|
62296
62363
|
ignore: ["MISSING_ENV_FILE"]
|
|
62297
62364
|
});
|
|
62298
|
-
const packageVersion = "1.13.
|
|
62365
|
+
const packageVersion = "1.13.342";
|
|
62299
62366
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
62300
62367
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
62301
62368
|
function resolvePublicUrls() {
|
|
@@ -62415,4 +62482,4 @@ function bootstrapServer(options = {}) {
|
|
|
62415
62482
|
//#endregion
|
|
62416
62483
|
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 };
|
|
62417
62484
|
|
|
62418
|
-
//# sourceMappingURL=src-
|
|
62485
|
+
//# sourceMappingURL=src-DFK7rK4C.js.map
|