@hasna/todos 0.2.0 → 0.2.1
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/dist/cli/index.js +49 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -7602,6 +7602,29 @@ function TaskDetail({ task }) {
|
|
|
7602
7602
|
}, undefined, false, undefined, this)
|
|
7603
7603
|
]
|
|
7604
7604
|
}, undefined, true, undefined, this),
|
|
7605
|
+
task.agent_id && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7606
|
+
children: [
|
|
7607
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7608
|
+
dimColor: true,
|
|
7609
|
+
children: "Agent: "
|
|
7610
|
+
}, undefined, false, undefined, this),
|
|
7611
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7612
|
+
color: "cyan",
|
|
7613
|
+
children: task.agent_id
|
|
7614
|
+
}, undefined, false, undefined, this)
|
|
7615
|
+
]
|
|
7616
|
+
}, undefined, true, undefined, this),
|
|
7617
|
+
task.session_id && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7618
|
+
children: [
|
|
7619
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7620
|
+
dimColor: true,
|
|
7621
|
+
children: "Session: "
|
|
7622
|
+
}, undefined, false, undefined, this),
|
|
7623
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7624
|
+
children: task.session_id
|
|
7625
|
+
}, undefined, false, undefined, this)
|
|
7626
|
+
]
|
|
7627
|
+
}, undefined, true, undefined, this),
|
|
7605
7628
|
task.assigned_to && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7606
7629
|
children: [
|
|
7607
7630
|
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
@@ -7614,6 +7637,28 @@ function TaskDetail({ task }) {
|
|
|
7614
7637
|
}, undefined, false, undefined, this)
|
|
7615
7638
|
]
|
|
7616
7639
|
}, undefined, true, undefined, this),
|
|
7640
|
+
task.project_id && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7641
|
+
children: [
|
|
7642
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7643
|
+
dimColor: true,
|
|
7644
|
+
children: "Project: "
|
|
7645
|
+
}, undefined, false, undefined, this),
|
|
7646
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7647
|
+
children: task.project_id
|
|
7648
|
+
}, undefined, false, undefined, this)
|
|
7649
|
+
]
|
|
7650
|
+
}, undefined, true, undefined, this),
|
|
7651
|
+
task.working_dir && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7652
|
+
children: [
|
|
7653
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7654
|
+
dimColor: true,
|
|
7655
|
+
children: "Work Dir: "
|
|
7656
|
+
}, undefined, false, undefined, this),
|
|
7657
|
+
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
7658
|
+
children: task.working_dir
|
|
7659
|
+
}, undefined, false, undefined, this)
|
|
7660
|
+
]
|
|
7661
|
+
}, undefined, true, undefined, this),
|
|
7617
7662
|
task.locked_by && /* @__PURE__ */ jsxDEV3(Box3, {
|
|
7618
7663
|
children: [
|
|
7619
7664
|
/* @__PURE__ */ jsxDEV3(Text3, {
|
|
@@ -8540,10 +8585,14 @@ program2.command("show <id>").description("Show full task details").action((id)
|
|
|
8540
8585
|
console.log(` ${chalk.dim("Assigned:")} ${task.assigned_to}`);
|
|
8541
8586
|
if (task.agent_id)
|
|
8542
8587
|
console.log(` ${chalk.dim("Agent:")} ${task.agent_id}`);
|
|
8588
|
+
if (task.session_id)
|
|
8589
|
+
console.log(` ${chalk.dim("Session:")} ${task.session_id}`);
|
|
8543
8590
|
if (task.locked_by)
|
|
8544
8591
|
console.log(` ${chalk.dim("Locked:")} ${task.locked_by} (at ${task.locked_at})`);
|
|
8545
8592
|
if (task.project_id)
|
|
8546
8593
|
console.log(` ${chalk.dim("Project:")} ${task.project_id}`);
|
|
8594
|
+
if (task.working_dir)
|
|
8595
|
+
console.log(` ${chalk.dim("WorkDir:")} ${task.working_dir}`);
|
|
8547
8596
|
if (task.parent)
|
|
8548
8597
|
console.log(` ${chalk.dim("Parent:")} ${task.parent.id.slice(0, 8)} | ${task.parent.title}`);
|
|
8549
8598
|
if (task.tags.length > 0)
|