claude-task-worker 0.51.0 → 0.53.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 +22 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3902,6 +3902,24 @@ async function init(options = {}) {
3902
3902
  console.log("[init] Done.");
3903
3903
  }
3904
3904
 
3905
+ // src/commands/design-md.ts
3906
+ async function loadRunCommand2() {
3907
+ return await Promise.resolve().then(() => (init_run_command(), run_command_exports));
3908
+ }
3909
+ var DESIGN_MD_PACKAGE = "@google/design.md";
3910
+ async function installDesignMdCli(logPrefix) {
3911
+ console.log(`[${logPrefix}] Installing DESIGN.md CLI (npm install -g ${DESIGN_MD_PACKAGE}@latest)...`);
3912
+ try {
3913
+ const { runCommand: runCommand2 } = await loadRunCommand2();
3914
+ await runCommand2("npm", ["install", "-g", `${DESIGN_MD_PACKAGE}@latest`]);
3915
+ console.log(`[${logPrefix}] DESIGN.md CLI installed.`);
3916
+ return true;
3917
+ } catch (err) {
3918
+ console.error(`[${logPrefix}] Failed to install DESIGN.md CLI: ${err.message}`);
3919
+ return false;
3920
+ }
3921
+ }
3922
+
3905
3923
  // src/commands/install.ts
3906
3924
  init_run_command();
3907
3925
  var PLUGIN_NAME = "claude-task-worker";
@@ -3946,7 +3964,8 @@ async function install() {
3946
3964
  const pluginOk = await installPlugin();
3947
3965
  const cliOk = await installCli();
3948
3966
  const codegraphOk = await installCodegraphCli("install");
3949
- if (!pluginOk || !cliOk || !codegraphOk) {
3967
+ const designMdOk = await installDesignMdCli("install");
3968
+ if (!pluginOk || !cliOk || !codegraphOk || !designMdOk) {
3950
3969
  process.exitCode = 1;
3951
3970
  }
3952
3971
  console.log("[install] Done.");
@@ -3995,7 +4014,8 @@ async function update() {
3995
4014
  const pluginOk = await updatePlugin();
3996
4015
  const cliOk = await updateCli();
3997
4016
  const codegraphOk = await upgradeCodegraphCli("update");
3998
- if (!marketplaceOk || !pluginOk || !cliOk || !codegraphOk) {
4017
+ const designMdOk = await installDesignMdCli("update");
4018
+ if (!marketplaceOk || !pluginOk || !cliOk || !codegraphOk || !designMdOk) {
3999
4019
  process.exitCode = 1;
4000
4020
  }
4001
4021
  console.log("[update] Done.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.51.0",
3
+ "version": "0.53.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",