claude-task-worker 0.52.0 → 0.54.0

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 +56 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3796,22 +3796,42 @@ async function ensureCodegraphGitIgnore(logPrefix) {
3796
3796
 
3797
3797
  // src/commands/init.ts
3798
3798
  var LABELS = [
3799
- { name: "cc-update-issue", color: "e4e669" },
3800
- { name: "cc-answer-issue-questions", color: "5319e7" },
3801
- { name: "cc-exec-issue", color: "7057ff" },
3802
- { name: "cc-fix-onetime", color: "d93f0b" },
3803
- { name: "cc-in-progress", color: "0e8a16" },
3799
+ // 警告・修正系(暖色)
3804
3800
  { name: "cc-need-human-check", color: "b60205" },
3805
- { name: "cc-issue-created", color: "f9a825" },
3801
+ // dark red
3802
+ { name: "cc-fix-onetime", color: "e8590c" },
3803
+ // orange
3804
+ { name: "cc-resolve-conflict", color: "ffc53d" },
3805
+ // amber
3806
+ { name: "cc-update-issue", color: "cddc39" },
3807
+ // lime
3808
+ // 進行・完了系(緑〜青緑)
3809
+ { name: "cc-in-progress", color: "0e8a16" },
3810
+ // dark green
3811
+ { name: "cc-release-ready", color: "4ade80" },
3812
+ // bright green
3806
3813
  { name: "cc-pr-created", color: "006b75" },
3807
- { name: "cc-triage-scope", color: "c5def5" },
3808
- { name: "cc-resolve-conflict", color: "fbca04" },
3809
- { name: "cc-epic-issue", color: "8b5cf6" },
3810
- { name: "cc-release-ready", color: "2da44e" },
3811
- { name: "cc-create-ui-design", color: "ff8ad8" },
3812
- { name: "cc-ui-design-pr-created", color: "d4a5e8" },
3813
- { name: "cc-ui-design-ready", color: "bfd4f2" },
3814
- { name: "cc-ui-design", color: "ec4899" }
3814
+ // dark teal
3815
+ // Issueライフサイクル(シアン〜紫)
3816
+ { name: "cc-issue-created", color: "67e8f9" },
3817
+ // cyan
3818
+ { name: "cc-triage-scope", color: "1f6feb" },
3819
+ // blue
3820
+ { name: "cc-answer-issue-questions", color: "3730a3" },
3821
+ // indigo
3822
+ { name: "cc-exec-issue", color: "7c3aed" },
3823
+ // violet
3824
+ { name: "cc-epic-issue", color: "c4b5fd" },
3825
+ // light lavender
3826
+ // UIデザイン系(フクシア〜ピンク〜コーラル)
3827
+ { name: "cc-create-ui-design", color: "a21caf" },
3828
+ // dark fuchsia
3829
+ { name: "cc-ui-design", color: "db2777" },
3830
+ // magenta
3831
+ { name: "cc-ui-design-pr-created", color: "f9a8d4" },
3832
+ // light pink
3833
+ { name: "cc-ui-design-ready", color: "ff8a80" }
3834
+ // coral
3815
3835
  ];
3816
3836
  var ISSUE_TEMPLATE = `name: "[claude-task-worker] Issue\u4F5C\u6210\u4F9D\u983C"
3817
3837
  description: claude-task-worker\u3067GitHub Issue\u3092\u4F5C\u6210\u3059\u308B
@@ -3902,6 +3922,24 @@ async function init(options = {}) {
3902
3922
  console.log("[init] Done.");
3903
3923
  }
3904
3924
 
3925
+ // src/commands/design-md.ts
3926
+ async function loadRunCommand2() {
3927
+ return await Promise.resolve().then(() => (init_run_command(), run_command_exports));
3928
+ }
3929
+ var DESIGN_MD_PACKAGE = "@google/design.md";
3930
+ async function installDesignMdCli(logPrefix) {
3931
+ console.log(`[${logPrefix}] Installing DESIGN.md CLI (npm install -g ${DESIGN_MD_PACKAGE}@latest)...`);
3932
+ try {
3933
+ const { runCommand: runCommand2 } = await loadRunCommand2();
3934
+ await runCommand2("npm", ["install", "-g", `${DESIGN_MD_PACKAGE}@latest`]);
3935
+ console.log(`[${logPrefix}] DESIGN.md CLI installed.`);
3936
+ return true;
3937
+ } catch (err) {
3938
+ console.error(`[${logPrefix}] Failed to install DESIGN.md CLI: ${err.message}`);
3939
+ return false;
3940
+ }
3941
+ }
3942
+
3905
3943
  // src/commands/install.ts
3906
3944
  init_run_command();
3907
3945
  var PLUGIN_NAME = "claude-task-worker";
@@ -3946,7 +3984,8 @@ async function install() {
3946
3984
  const pluginOk = await installPlugin();
3947
3985
  const cliOk = await installCli();
3948
3986
  const codegraphOk = await installCodegraphCli("install");
3949
- if (!pluginOk || !cliOk || !codegraphOk) {
3987
+ const designMdOk = await installDesignMdCli("install");
3988
+ if (!pluginOk || !cliOk || !codegraphOk || !designMdOk) {
3950
3989
  process.exitCode = 1;
3951
3990
  }
3952
3991
  console.log("[install] Done.");
@@ -3995,7 +4034,8 @@ async function update() {
3995
4034
  const pluginOk = await updatePlugin();
3996
4035
  const cliOk = await updateCli();
3997
4036
  const codegraphOk = await upgradeCodegraphCli("update");
3998
- if (!marketplaceOk || !pluginOk || !cliOk || !codegraphOk) {
4037
+ const designMdOk = await installDesignMdCli("update");
4038
+ if (!marketplaceOk || !pluginOk || !cliOk || !codegraphOk || !designMdOk) {
3999
4039
  process.exitCode = 1;
4000
4040
  }
4001
4041
  console.log("[update] Done.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.52.0",
3
+ "version": "0.54.0",
4
4
  "description": "CLI tool that polls GitHub Issues/PRs and delegates work to Claude CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",