@togglhq/mcp 1.13.96 → 1.13.97
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-_eA_grA_.js → src-BJiUR-Zb.js} +14 -7
- 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-BJiUR-Zb.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.97";
|
|
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-BJiUR-Zb.js";
|
|
3
3
|
export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
|
|
@@ -38407,8 +38407,11 @@ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, worksp
|
|
|
38407
38407
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38408
38408
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/archive`, { signal }).json();
|
|
38409
38409
|
}
|
|
38410
|
-
async function logPlannedTimeWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38411
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/log`, {
|
|
38410
|
+
async function logPlannedTimeWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38411
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/log`, {
|
|
38412
|
+
signal,
|
|
38413
|
+
json: data
|
|
38414
|
+
}).json();
|
|
38412
38415
|
}
|
|
38413
38416
|
async function restoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38414
38417
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/restore`, { signal }).json();
|
|
@@ -54495,10 +54498,13 @@ const generatedFocusOperations = [
|
|
|
54495
54498
|
cli: {
|
|
54496
54499
|
group: ["time-entries"],
|
|
54497
54500
|
command: "log-planned-time",
|
|
54498
|
-
interactive: "
|
|
54501
|
+
interactive: "hidden"
|
|
54499
54502
|
},
|
|
54500
54503
|
mcp: { entityTool: "time-entries" },
|
|
54501
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
54504
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
54505
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
54506
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
54507
|
+
}),
|
|
54502
54508
|
execute: (input, { client }) => {
|
|
54503
54509
|
const data = input;
|
|
54504
54510
|
return client.runGeneratedRequest("logPlannedTimeWithOrg", () => callGeneratedRequest(logPlannedTimeWithOrg, [
|
|
@@ -54506,6 +54512,7 @@ const generatedFocusOperations = [
|
|
|
54506
54512
|
client.organizationId,
|
|
54507
54513
|
client.workspaceIdNumber,
|
|
54508
54514
|
data.time_entry_id,
|
|
54515
|
+
data.payload ?? data.data ?? data,
|
|
54509
54516
|
void 0
|
|
54510
54517
|
]));
|
|
54511
54518
|
}
|
|
@@ -58395,7 +58402,7 @@ function registerWorkspaceTools(server) {
|
|
|
58395
58402
|
//#region src/package-version.ts
|
|
58396
58403
|
function mcpPackageVersion() {
|
|
58397
58404
|
try {
|
|
58398
|
-
return "1.13.
|
|
58405
|
+
return "1.13.97";
|
|
58399
58406
|
} catch {
|
|
58400
58407
|
return "unknown";
|
|
58401
58408
|
}
|
|
@@ -58576,7 +58583,7 @@ import_main.default.config({
|
|
|
58576
58583
|
quiet: true,
|
|
58577
58584
|
ignore: ["MISSING_ENV_FILE"]
|
|
58578
58585
|
});
|
|
58579
|
-
const packageVersion = "1.13.
|
|
58586
|
+
const packageVersion = "1.13.97";
|
|
58580
58587
|
const MCP_CACHE_TTL_MS = 300 * 1e3;
|
|
58581
58588
|
const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
|
|
58582
58589
|
function resolvePublicUrls() {
|
|
@@ -58696,4 +58703,4 @@ function bootstrapServer(options = {}) {
|
|
|
58696
58703
|
//#endregion
|
|
58697
58704
|
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 };
|
|
58698
58705
|
|
|
58699
|
-
//# sourceMappingURL=src-
|
|
58706
|
+
//# sourceMappingURL=src-BJiUR-Zb.js.map
|