@togglhq/cli 1.13.116 → 1.13.117

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-CyHqniA8.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-D7hdqg8n.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-CyHqniA8.js";
1
+ import { t as createProgram } from "./program-D7hdqg8n.js";
2
2
  export { createProgram };
@@ -15003,6 +15003,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
15003
15003
  async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
15004
15004
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
15005
15005
  }
15006
+ async function acceptAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
15007
+ return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/accept`, { signal }).json();
15008
+ }
15006
15009
  async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
15007
15010
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
15008
15011
  }
@@ -16753,6 +16756,39 @@ function callGeneratedRequest(request, args) {
16753
16756
  return request(...args);
16754
16757
  }
16755
16758
  const generatedFocusOperations = [
16759
+ {
16760
+ id: "focus.ai.accept-ai-change",
16761
+ family: "focus",
16762
+ resource: "ai",
16763
+ action: "accept-ai-change",
16764
+ title: "Accept Ai Change Ai",
16765
+ description: "Accept Ai Change Ai.",
16766
+ safety: "update",
16767
+ destructive: false,
16768
+ cli: {
16769
+ group: ["ai"],
16770
+ command: "accept-ai-change",
16771
+ interactive: "default"
16772
+ },
16773
+ mcp: { entityTool: "ai" },
16774
+ inputSchema: /* @__PURE__ */ looseObject({
16775
+ conversation_id: /* @__PURE__ */ string$1(),
16776
+ message_id: /* @__PURE__ */ number$2(),
16777
+ view_id: /* @__PURE__ */ string$1()
16778
+ }),
16779
+ execute: (input, { client }) => {
16780
+ const data = input;
16781
+ return client.runGeneratedRequest("acceptAiChange", () => callGeneratedRequest(acceptAiChange, [
16782
+ client.httpClient,
16783
+ client.organizationId,
16784
+ client.workspaceIdNumber,
16785
+ data.conversation_id,
16786
+ data.message_id,
16787
+ data.view_id,
16788
+ void 0
16789
+ ]));
16790
+ }
16791
+ },
16756
16792
  {
16757
16793
  id: "focus.ai.apply-ai-change",
16758
16794
  family: "focus",
@@ -31339,4 +31375,4 @@ Common commands:
31339
31375
  //#endregion
31340
31376
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
31341
31377
 
31342
- //# sourceMappingURL=program-CyHqniA8.js.map
31378
+ //# sourceMappingURL=program-D7hdqg8n.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-CyHqniA8.js";
1
+ import { t as createProgram } from "./program-D7hdqg8n.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.116",
3
+ "version": "1.13.117",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",