@togglhq/cli 1.13.88 → 1.13.89

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-DGZii6Lw.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DjsszE-b.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-DGZii6Lw.js";
1
+ import { t as createProgram } from "./program-DjsszE-b.js";
2
2
  export { createProgram };
@@ -14960,6 +14960,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
14960
14960
  json: data
14961
14961
  }).json();
14962
14962
  }
14963
+ async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
14964
+ return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
14965
+ }
14963
14966
  async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
14964
14967
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
14965
14968
  }
@@ -16836,6 +16839,37 @@ const generatedFocusOperations = [
16836
16839
  ]));
16837
16840
  }
16838
16841
  },
16842
+ {
16843
+ id: "focus.ai.next-ai-actions",
16844
+ family: "focus",
16845
+ resource: "ai",
16846
+ action: "next-ai-actions",
16847
+ title: "Next Ai Actions Ai",
16848
+ description: "Next Ai Actions Ai.",
16849
+ safety: "update",
16850
+ destructive: false,
16851
+ cli: {
16852
+ group: ["ai"],
16853
+ command: "next-ai-actions",
16854
+ interactive: "default"
16855
+ },
16856
+ mcp: { entityTool: "ai" },
16857
+ inputSchema: /* @__PURE__ */ looseObject({
16858
+ conversation_id: /* @__PURE__ */ string$1(),
16859
+ message_id: /* @__PURE__ */ number$2()
16860
+ }),
16861
+ execute: (input, { client }) => {
16862
+ const data = input;
16863
+ return client.runGeneratedRequest("nextAiActions", () => callGeneratedRequest(nextAiActions, [
16864
+ client.httpClient,
16865
+ client.organizationId,
16866
+ client.workspaceIdNumber,
16867
+ data.conversation_id,
16868
+ data.message_id,
16869
+ void 0
16870
+ ]));
16871
+ }
16872
+ },
16839
16873
  {
16840
16874
  id: "focus.ai.run-ai-view",
16841
16875
  family: "focus",
@@ -31145,4 +31179,4 @@ Common commands:
31145
31179
  //#endregion
31146
31180
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
31147
31181
 
31148
- //# sourceMappingURL=program-DGZii6Lw.js.map
31182
+ //# sourceMappingURL=program-DjsszE-b.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DGZii6Lw.js";
1
+ import { t as createProgram } from "./program-DjsszE-b.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.88",
3
+ "version": "1.13.89",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",