@togglhq/cli 1.13.67 → 1.13.68
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 CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-CdVVE8GA.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-CdVVE8GA.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -14941,6 +14941,22 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
|
|
|
14941
14941
|
}).json();
|
|
14942
14942
|
}
|
|
14943
14943
|
//#endregion
|
|
14944
|
+
//#region ../focus-queries/dist/archived-projects/requests.ts
|
|
14945
|
+
async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
|
|
14946
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects`, {
|
|
14947
|
+
signal,
|
|
14948
|
+
searchParams: buildSearchParams$2({
|
|
14949
|
+
page,
|
|
14950
|
+
per_page,
|
|
14951
|
+
name,
|
|
14952
|
+
client_id
|
|
14953
|
+
})
|
|
14954
|
+
}).json();
|
|
14955
|
+
}
|
|
14956
|
+
async function getArchivedProject(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
14957
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
|
|
14958
|
+
}
|
|
14959
|
+
//#endregion
|
|
14944
14960
|
//#region ../focus-queries/dist/attachments/requests.ts
|
|
14945
14961
|
async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
|
|
14946
14962
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
|
|
@@ -16860,6 +16876,65 @@ const generatedFocusOperations = [
|
|
|
16860
16876
|
return client.partialUpdateAlert(data.alert_id, data.payload ?? data.data ?? data);
|
|
16861
16877
|
}
|
|
16862
16878
|
},
|
|
16879
|
+
{
|
|
16880
|
+
id: "focus.archived-projects.get",
|
|
16881
|
+
family: "focus",
|
|
16882
|
+
resource: "archived-projects",
|
|
16883
|
+
action: "get",
|
|
16884
|
+
title: "Get Archived Projects",
|
|
16885
|
+
description: "Get Archived Projects.",
|
|
16886
|
+
safety: "read",
|
|
16887
|
+
destructive: false,
|
|
16888
|
+
cli: {
|
|
16889
|
+
group: ["archived-projects"],
|
|
16890
|
+
command: "get",
|
|
16891
|
+
interactive: "available"
|
|
16892
|
+
},
|
|
16893
|
+
mcp: { entityTool: "archived-projects" },
|
|
16894
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
16895
|
+
execute: (input, { client }) => {
|
|
16896
|
+
const data = input;
|
|
16897
|
+
return client.runGeneratedRequest("getArchivedProject", () => callGeneratedRequest(getArchivedProject, [
|
|
16898
|
+
client.httpClient,
|
|
16899
|
+
client.organizationId,
|
|
16900
|
+
client.workspaceIdNumber,
|
|
16901
|
+
data.project_id,
|
|
16902
|
+
void 0
|
|
16903
|
+
]));
|
|
16904
|
+
}
|
|
16905
|
+
},
|
|
16906
|
+
{
|
|
16907
|
+
id: "focus.archived-projects.get-classic",
|
|
16908
|
+
family: "focus",
|
|
16909
|
+
resource: "archived-projects",
|
|
16910
|
+
action: "get-classic",
|
|
16911
|
+
title: "Get Classic Archived Projects",
|
|
16912
|
+
description: "Get Classic Archived Projects.",
|
|
16913
|
+
safety: "read",
|
|
16914
|
+
destructive: false,
|
|
16915
|
+
cli: {
|
|
16916
|
+
group: ["archived-projects"],
|
|
16917
|
+
command: "get-classic",
|
|
16918
|
+
interactive: "hidden"
|
|
16919
|
+
},
|
|
16920
|
+
mcp: { entityTool: "archived-projects" },
|
|
16921
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16922
|
+
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16923
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16924
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16925
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16926
|
+
}),
|
|
16927
|
+
execute: (input, { client }) => {
|
|
16928
|
+
const data = input;
|
|
16929
|
+
return client.runGeneratedRequest("getArchivedProjectsClassic", () => callGeneratedRequest(getArchivedProjectsClassic, [
|
|
16930
|
+
client.httpClient,
|
|
16931
|
+
client.organizationId,
|
|
16932
|
+
client.workspaceIdNumber,
|
|
16933
|
+
data,
|
|
16934
|
+
void 0
|
|
16935
|
+
]));
|
|
16936
|
+
}
|
|
16937
|
+
},
|
|
16863
16938
|
{
|
|
16864
16939
|
id: "focus.attachments.get-workspace-attachment-storage",
|
|
16865
16940
|
family: "focus",
|
|
@@ -30551,4 +30626,4 @@ Common commands:
|
|
|
30551
30626
|
//#endregion
|
|
30552
30627
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30553
30628
|
|
|
30554
|
-
//# sourceMappingURL=program-
|
|
30629
|
+
//# sourceMappingURL=program-CdVVE8GA.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-CdVVE8GA.js";
|
|
2
2
|
export { createProgram };
|