@togglhq/cli 1.13.85 → 1.13.87
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-YV9YM_Ju.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-YV9YM_Ju.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -14938,6 +14938,16 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
14938
14938
|
}
|
|
14939
14939
|
//#endregion
|
|
14940
14940
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
14941
|
+
async function getAiConversations(httpClient, organization_id, workspace_id, { search, before, limit } = {}, signal) {
|
|
14942
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations`, {
|
|
14943
|
+
signal,
|
|
14944
|
+
searchParams: buildSearchParams$2({
|
|
14945
|
+
search,
|
|
14946
|
+
before,
|
|
14947
|
+
limit
|
|
14948
|
+
})
|
|
14949
|
+
}).json();
|
|
14950
|
+
}
|
|
14941
14951
|
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
|
|
14942
14952
|
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
14943
14953
|
signal,
|
|
@@ -16764,6 +16774,37 @@ const generatedFocusOperations = [
|
|
|
16764
16774
|
]));
|
|
16765
16775
|
}
|
|
16766
16776
|
},
|
|
16777
|
+
{
|
|
16778
|
+
id: "focus.ai.get-conversations",
|
|
16779
|
+
family: "focus",
|
|
16780
|
+
resource: "ai",
|
|
16781
|
+
action: "get-conversations",
|
|
16782
|
+
title: "Get Conversations Ai",
|
|
16783
|
+
description: "Get Conversations Ai.",
|
|
16784
|
+
safety: "read",
|
|
16785
|
+
destructive: false,
|
|
16786
|
+
cli: {
|
|
16787
|
+
group: ["ai"],
|
|
16788
|
+
command: "get-conversations",
|
|
16789
|
+
interactive: "hidden"
|
|
16790
|
+
},
|
|
16791
|
+
mcp: { entityTool: "ai" },
|
|
16792
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16793
|
+
before: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16794
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16795
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
16796
|
+
}),
|
|
16797
|
+
execute: (input, { client }) => {
|
|
16798
|
+
const data = input;
|
|
16799
|
+
return client.runGeneratedRequest("getAiConversations", () => callGeneratedRequest(getAiConversations, [
|
|
16800
|
+
client.httpClient,
|
|
16801
|
+
client.organizationId,
|
|
16802
|
+
client.workspaceIdNumber,
|
|
16803
|
+
data,
|
|
16804
|
+
void 0
|
|
16805
|
+
]));
|
|
16806
|
+
}
|
|
16807
|
+
},
|
|
16767
16808
|
{
|
|
16768
16809
|
id: "focus.ai.get-messages",
|
|
16769
16810
|
family: "focus",
|
|
@@ -31104,4 +31145,4 @@ Common commands:
|
|
|
31104
31145
|
//#endregion
|
|
31105
31146
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
31106
31147
|
|
|
31107
|
-
//# sourceMappingURL=program-
|
|
31148
|
+
//# sourceMappingURL=program-YV9YM_Ju.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-YV9YM_Ju.js";
|
|
2
2
|
export { createProgram };
|