@krodak/clickup-cli 1.19.1 → 1.19.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "clickup-cli",
3
3
  "description": "ClickUp CLI skills for managing tasks, sprints, comments, checklists, custom fields, tags, and time tracking via the cup command",
4
- "version": "1.19.1",
4
+ "version": "1.19.2",
5
5
  "author": {
6
6
  "name": "Krzysztof Rodak"
7
7
  },
@@ -675,7 +675,7 @@ var ClickUpClient = class {
675
675
  }
676
676
  async getDocPageListing(workspaceId, docId) {
677
677
  const data = await this.requestV3(
678
- `/workspaces/${workspaceId}/docs/${docId}/pagelisting`
678
+ `/workspaces/${workspaceId}/docs/${docId}/pages`
679
679
  );
680
680
  return readCollectionField(
681
681
  data,
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ import {
49
49
  showDetailsAndOpen,
50
50
  summarize,
51
51
  writeConfig
52
- } from "./chunk-3VDSLYDJ.js";
52
+ } from "./chunk-NIDL2AXQ.js";
53
53
 
54
54
  // src/index.ts
55
55
  import { realpathSync as realpathSync2 } from "fs";
@@ -1062,7 +1062,8 @@ async function fetchTimeInStatus(config, taskId) {
1062
1062
  } catch (err) {
1063
1063
  if (err instanceof Error && /No data for TIS/i.test(err.message)) {
1064
1064
  throw new Error(
1065
- 'The "Time in Status" ClickApp is not enabled for this workspace.\nEnable it in ClickUp: Space Settings \u2192 ClickApps \u2192 Time in Status'
1065
+ 'The "Time in Status" ClickApp is not enabled for this workspace.\nEnable it in ClickUp: Space Settings \u2192 ClickApps \u2192 Time in Status',
1066
+ { cause: err }
1066
1067
  );
1067
1068
  }
1068
1069
  throw err;
@@ -3049,7 +3050,6 @@ async function installSkillInteractive() {
3049
3050
  const installed = [];
3050
3051
  if (isTTY()) {
3051
3052
  const { checkbox } = await import("@inquirer/prompts");
3052
- const preselected = targets.filter((t) => t.detected).map((t) => t.name);
3053
3053
  const selected = await checkbox({
3054
3054
  message: "Install skill for which agents?",
3055
3055
  choices: targets.map((t) => ({
@@ -4619,7 +4619,7 @@ function buildProgram(programName = basename(process.argv[1] ?? "cup")) {
4619
4619
  wrapAction(async (opts) => {
4620
4620
  const config = loadConfig(getProfileName());
4621
4621
  if (opts.list === "sprint:current") {
4622
- const { resolveActiveSprintListId } = await import("./sprint-5VYRQK6Z.js");
4622
+ const { resolveActiveSprintListId } = await import("./sprint-HVK63FZI.js");
4623
4623
  opts.list = await resolveActiveSprintListId(config);
4624
4624
  }
4625
4625
  if (opts.assignee === "me") {
@@ -4940,7 +4940,7 @@ function buildProgram(programName = basename(process.argv[1] ?? "cup")) {
4940
4940
  wrapAction(async (taskId, opts) => {
4941
4941
  const config = loadConfig(getProfileName());
4942
4942
  if (opts.to === "sprint:current") {
4943
- const { resolveActiveSprintListId } = await import("./sprint-5VYRQK6Z.js");
4943
+ const { resolveActiveSprintListId } = await import("./sprint-HVK63FZI.js");
4944
4944
  opts.to = await resolveActiveSprintListId(config);
4945
4945
  }
4946
4946
  const message = await moveTask(config, taskId, opts);
@@ -7,7 +7,7 @@ import {
7
7
  parseSprintDates,
8
8
  resolveActiveSprintListId,
9
9
  runSprintCommand
10
- } from "./chunk-3VDSLYDJ.js";
10
+ } from "./chunk-NIDL2AXQ.js";
11
11
  export {
12
12
  SPRINT_KEYWORDS,
13
13
  extractSpaceKeywords,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krodak/clickup-cli",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "description": "ClickUp CLI for AI agents and humans",
5
5
  "type": "module",
6
6
  "license": "MIT",