@togglhq/cli 1.13.70 → 1.13.71
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-CWPPfjpx.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-CWPPfjpx.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -14935,34 +14935,34 @@ function formatValibotError(issues, maxLength = MAX_ERROR_LENGTH) {
|
|
|
14935
14935
|
//#endregion
|
|
14936
14936
|
//#region ../focus-queries/dist/ai/requests.ts
|
|
14937
14937
|
async function getAiMessages(httpClient, organization_id, workspace_id, conversation_id, { limit } = {}, signal) {
|
|
14938
|
-
return await httpClient.get(`
|
|
14938
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
14939
14939
|
signal,
|
|
14940
14940
|
searchParams: buildSearchParams$2({ limit })
|
|
14941
14941
|
}).json();
|
|
14942
14942
|
}
|
|
14943
14943
|
async function sendAiMessage(httpClient, organization_id, workspace_id, conversation_id, data, signal) {
|
|
14944
|
-
return await httpClient.post(`
|
|
14944
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages`, {
|
|
14945
14945
|
signal,
|
|
14946
14946
|
json: data
|
|
14947
14947
|
}).json();
|
|
14948
14948
|
}
|
|
14949
14949
|
async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
14950
|
-
return await httpClient.post(`
|
|
14950
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
|
|
14951
14951
|
}
|
|
14952
14952
|
async function discardAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
14953
|
-
return await httpClient.post(`
|
|
14953
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/discard`, { signal }).json();
|
|
14954
14954
|
}
|
|
14955
14955
|
async function undoAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
|
|
14956
|
-
return await httpClient.post(`
|
|
14956
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/undo`, { signal }).json();
|
|
14957
14957
|
}
|
|
14958
14958
|
async function searchAi(httpClient, organization_id, workspace_id, { q }, signal) {
|
|
14959
|
-
return await httpClient.get(`
|
|
14959
|
+
return await httpClient.get(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
14960
14960
|
signal,
|
|
14961
14961
|
searchParams: buildSearchParams$2({ q })
|
|
14962
14962
|
}).json();
|
|
14963
14963
|
}
|
|
14964
14964
|
async function runAiView(httpClient, organization_id, workspace_id, data, signal) {
|
|
14965
|
-
return await httpClient.post(`
|
|
14965
|
+
return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/views/run`, {
|
|
14966
14966
|
signal,
|
|
14967
14967
|
json: data
|
|
14968
14968
|
}).json();
|
|
@@ -30863,4 +30863,4 @@ Common commands:
|
|
|
30863
30863
|
//#endregion
|
|
30864
30864
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30865
30865
|
|
|
30866
|
-
//# sourceMappingURL=program-
|
|
30866
|
+
//# sourceMappingURL=program-CWPPfjpx.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-CWPPfjpx.js";
|
|
2
2
|
export { createProgram };
|