claude-task-worker 0.33.0 → 0.33.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1414,8 +1414,12 @@ var SYSTEM_PROMPT = `\u3053\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306F \`claude-t
1414
1414
  - \u63A2\u7D22\u3092\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3078\u59D4\u8B72\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u306E\u65B9\u91DD\u3082\u59D4\u8B72\u30D7\u30ED\u30F3\u30D7\u30C8\u306B\u660E\u8A18\u3057\u3066\u4F1D\u3048\u308B`;
1415
1415
  var CLAUDE_COMMAND = "claude";
1416
1416
  var HEADROOM_COMMAND = "headroom";
1417
- var HEADROOM_WRAP_OPTIONS = ["--1m", "--memory", "--code-graph"];
1418
- function buildClaudeArgs({ mode, prompt, model, effort }) {
1417
+ var HEADROOM_WRAP_OPTIONS = ["--1m", "--memory", "--no-tokensave", "--no-serena"];
1418
+ var CONTEXT_1M_SUFFIX = "[1m]";
1419
+ function withContext1mSuffix(model) {
1420
+ return model.endsWith(CONTEXT_1M_SUFFIX) ? model : `${model}${CONTEXT_1M_SUFFIX}`;
1421
+ }
1422
+ function buildClaudeArgs({ mode, prompt, model, effort, headroom }) {
1419
1423
  return [
1420
1424
  ...mode === "herdr" ? [] : ["-p"],
1421
1425
  prompt,
@@ -1426,7 +1430,7 @@ function buildClaudeArgs({ mode, prompt, model, effort }) {
1426
1430
  "--append-system-prompt",
1427
1431
  SYSTEM_PROMPT,
1428
1432
  "--model",
1429
- model,
1433
+ headroom ? withContext1mSuffix(model) : model,
1430
1434
  "--effort",
1431
1435
  effort
1432
1436
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-task-worker",
3
- "version": "0.33.0",
3
+ "version": "0.33.1",
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",