team-toon-tack 2.3.2 → 2.3.3
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/scripts/init.js +14 -6
- package/dist/scripts/show.js +4 -2
- package/package.json +1 -1
package/dist/scripts/init.js
CHANGED
|
@@ -611,8 +611,6 @@ async function init() {
|
|
|
611
611
|
console.log(` ✓ ${paths.localPath}`);
|
|
612
612
|
// Update .gitignore (always use relative path .ttt)
|
|
613
613
|
await updateGitignore(".ttt", options.interactive ?? true);
|
|
614
|
-
// Show Claude Code plugin installation instructions
|
|
615
|
-
showPluginInstallInstructions();
|
|
616
614
|
// Summary
|
|
617
615
|
console.log("\n✅ Initialization complete!\n");
|
|
618
616
|
console.log("Configuration summary:");
|
|
@@ -642,9 +640,19 @@ async function init() {
|
|
|
642
640
|
console.log(` Blocked: ${statusTransitions.blocked}`);
|
|
643
641
|
}
|
|
644
642
|
console.log("\nNext steps:");
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
643
|
+
if (!process.env.LINEAR_API_KEY) {
|
|
644
|
+
// Show partial key for confirmation (first 12 chars + masked)
|
|
645
|
+
const maskedKey = `${apiKey.slice(0, 12)}...${"*".repeat(8)}`;
|
|
646
|
+
console.log(" 1. Set LINEAR_API_KEY in your shell profile:");
|
|
647
|
+
console.log(` export LINEAR_API_KEY="${maskedKey}"`);
|
|
648
|
+
console.log(" 2. Run sync: ttt sync");
|
|
649
|
+
console.log(" 3. Start working: ttt work-on");
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
console.log(" 1. Run sync: ttt sync");
|
|
653
|
+
console.log(" 2. Start working: ttt work-on");
|
|
654
|
+
}
|
|
655
|
+
// Show Claude Code plugin installation instructions at the end
|
|
656
|
+
showPluginInstallInstructions();
|
|
649
657
|
}
|
|
650
658
|
init().catch(console.error);
|
package/dist/scripts/show.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { displayTaskFull, PRIORITY_LABELS,
|
|
1
|
+
import { displayTaskFull, getStatusIcon, PRIORITY_LABELS, } from "./lib/display.js";
|
|
2
2
|
import { fetchIssueDetail } from "./lib/sync.js";
|
|
3
3
|
import { getLinearClient, getTeamId, loadConfig, loadCycleData, loadLocalConfig, } from "./utils.js";
|
|
4
4
|
function taskToMarkdown(task) {
|
|
@@ -110,7 +110,9 @@ async function searchIssuesFromLinear(filters) {
|
|
|
110
110
|
issueFilter.assignee = { null: true };
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
113
|
-
issueFilter.assignee = {
|
|
113
|
+
issueFilter.assignee = {
|
|
114
|
+
email: { containsIgnoreCase: filters.assignee },
|
|
115
|
+
};
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
if (filters.priority !== undefined) {
|