aitasks 1.4.4 → 1.4.5

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.
Files changed (2) hide show
  1. package/dist/index.js +41 -33
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1890,7 +1890,7 @@ var require_commander = __commonJS((exports) => {
1890
1890
  var require_package = __commonJS((exports, module) => {
1891
1891
  module.exports = {
1892
1892
  name: "aitasks",
1893
- version: "1.4.4",
1893
+ version: "1.4.5",
1894
1894
  description: "CLI task management tool built for AI agents",
1895
1895
  type: "module",
1896
1896
  bin: {
@@ -42408,7 +42408,9 @@ var TreeBoardComponent = ({ getTasks }) => {
42408
42408
  return bar;
42409
42409
  })();
42410
42410
  const doneCount = tasks.filter((t) => t.status === "done").length;
42411
- const taskCountLabel = searchQuery ? `${filteredTasks.length} of ${tasks.length}` : `${doneCount}/${tasks.length}`;
42411
+ const pct = tasks.length ? Math.round(doneCount / tasks.length * 100) : 0;
42412
+ const taskCountLabel = searchQuery ? `${filteredTasks.length}/${tasks.length}` : `${doneCount}/${tasks.length} ${pct}%`;
42413
+ const hintGap = leftInner < 56 ? " " : " ";
42412
42414
  const searchMode = mode === "search";
42413
42415
  return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
42414
42416
  flexDirection: "column",
@@ -42425,49 +42427,49 @@ var TreeBoardComponent = ({ getTasks }) => {
42425
42427
  marginRight: 1,
42426
42428
  children: [
42427
42429
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
42428
- paddingLeft: 1,
42430
+ paddingX: 1,
42431
+ justifyContent: "space-between",
42429
42432
  children: [
42430
- /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42431
- bold: true,
42432
- color: "white",
42433
- children: "Tasks "
42434
- }, undefined, false, undefined, this),
42435
- /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42436
- color: "#AAAAAA",
42433
+ /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
42437
42434
  children: [
42438
- "(",
42439
- taskCountLabel,
42440
- ")"
42435
+ /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42436
+ bold: true,
42437
+ color: "white",
42438
+ children: "Tasks "
42439
+ }, undefined, false, undefined, this),
42440
+ /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42441
+ color: "#AAAAAA",
42442
+ children: [
42443
+ "(",
42444
+ taskCountLabel,
42445
+ ")"
42446
+ ]
42447
+ }, undefined, true, undefined, this)
42441
42448
  ]
42442
42449
  }, undefined, true, undefined, this),
42443
- /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42444
- dimColor: true,
42445
- children: " "
42446
- }, undefined, false, undefined, this),
42447
- searchMode ? /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(jsx_dev_runtime3.Fragment, {
42450
+ searchMode ? /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
42448
42451
  children: [
42449
- /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42450
- dimColor: true,
42451
- children: "type to filter \xB7 "
42452
- }, undefined, false, undefined, this),
42453
42452
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42454
42453
  color: "cyan",
42455
- children: "Enter"
42454
+ children: "\u21B5"
42456
42455
  }, undefined, false, undefined, this),
42457
42456
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42458
42457
  dimColor: true,
42459
- children: " done \xB7 "
42460
- }, undefined, false, undefined, this),
42458
+ children: [
42459
+ "done",
42460
+ hintGap
42461
+ ]
42462
+ }, undefined, true, undefined, this),
42461
42463
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42462
42464
  color: "cyan",
42463
- children: "Esc"
42465
+ children: "esc"
42464
42466
  }, undefined, false, undefined, this),
42465
42467
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42466
42468
  dimColor: true,
42467
42469
  children: " clear"
42468
42470
  }, undefined, false, undefined, this)
42469
42471
  ]
42470
- }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(jsx_dev_runtime3.Fragment, {
42472
+ }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Box_default, {
42471
42473
  children: [
42472
42474
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42473
42475
  color: "cyan",
@@ -42475,23 +42477,29 @@ var TreeBoardComponent = ({ getTasks }) => {
42475
42477
  }, undefined, false, undefined, this),
42476
42478
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42477
42479
  dimColor: true,
42478
- children: " search \xB7 "
42479
- }, undefined, false, undefined, this),
42480
+ children: [
42481
+ "earch",
42482
+ hintGap
42483
+ ]
42484
+ }, undefined, true, undefined, this),
42480
42485
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42481
42486
  color: "cyan",
42482
42487
  children: "m"
42483
42488
  }, undefined, false, undefined, this),
42484
42489
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42485
42490
  dimColor: true,
42486
- children: " status \xB7 "
42487
- }, undefined, false, undefined, this),
42491
+ children: [
42492
+ "ove",
42493
+ hintGap
42494
+ ]
42495
+ }, undefined, true, undefined, this),
42488
42496
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42489
42497
  color: "cyan",
42490
42498
  children: "q"
42491
42499
  }, undefined, false, undefined, this),
42492
42500
  /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Text, {
42493
42501
  dimColor: true,
42494
- children: " quit"
42502
+ children: "uit"
42495
42503
  }, undefined, false, undefined, this)
42496
42504
  ]
42497
42505
  }, undefined, true, undefined, this)
@@ -43525,4 +43533,4 @@ program2.parseAsync(process.argv).catch((err) => {
43525
43533
  process.exit(1);
43526
43534
  });
43527
43535
 
43528
- //# debugId=96EAA57A05142DDB64756E2164756E21
43536
+ //# debugId=DD10AE067D1A79CC64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aitasks",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "CLI task management tool built for AI agents",
5
5
  "type": "module",
6
6
  "bin": {