@togglhq/cli 1.13.115 → 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-BX4WbtSj.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-BX4WbtSj.js";
1
+ import { t as createProgram } from "./program-D7hdqg8n.js";
2
2
  export { createProgram };
@@ -7719,6 +7719,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
7719
7719
  end_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7720
7720
  foreground_color: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7721
7721
  meeting_link: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7722
+ series_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
7722
7723
  start_time: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
7723
7724
  title: /* @__PURE__ */ optional(/* @__PURE__ */ string())
7724
7725
  }))),
@@ -15002,6 +15003,9 @@ async function sendAiMessage(httpClient, organization_id, workspace_id, conversa
15002
15003
  async function nextAiActions(httpClient, organization_id, workspace_id, conversation_id, message_id, signal) {
15003
15004
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/next`, { signal }).json();
15004
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
+ }
15005
15009
  async function applyAiChange(httpClient, organization_id, workspace_id, conversation_id, message_id, view_id, signal) {
15006
15010
  return await httpClient.post(`intelligence/organizations/${organization_id}/workspaces/${workspace_id}/conversations/${conversation_id}/messages/${message_id}/views/${view_id}/apply`, { signal }).json();
15007
15011
  }
@@ -16752,6 +16756,39 @@ function callGeneratedRequest(request, args) {
16752
16756
  return request(...args);
16753
16757
  }
16754
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
+ },
16755
16792
  {
16756
16793
  id: "focus.ai.apply-ai-change",
16757
16794
  family: "focus",
@@ -31338,4 +31375,4 @@ Common commands:
31338
31375
  //#endregion
31339
31376
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
31340
31377
 
31341
- //# sourceMappingURL=program-BX4WbtSj.js.map
31378
+ //# sourceMappingURL=program-D7hdqg8n.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BX4WbtSj.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.115",
3
+ "version": "1.13.117",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",