@gethmy/agent 1.0.4 → 1.0.6

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.
@@ -183,7 +183,7 @@ export class ReviewWorker {
183
183
  this.progressTracker = new ProgressTracker(this.client, card.id, this.id, subtasks);
184
184
  // Spawn Claude CLI for review with streaming
185
185
  const stdout = await this.spawnClaude(userPrompt, systemPrompt, this.progressTracker);
186
- this.progressTracker.stop();
186
+ this.progressTracker?.stop();
187
187
  this.progressTracker = null;
188
188
  if (this.aborted)
189
189
  return;
@@ -296,7 +296,7 @@ export class ReviewWorker {
296
296
  log.info(this.tag, `Cancelling review on ${this.cardId}`);
297
297
  // Stop progress tracking
298
298
  if (this.progressTracker) {
299
- this.progressTracker.stop();
299
+ this.progressTracker?.stop();
300
300
  this.progressTracker = null;
301
301
  }
302
302
  // Kill dev server first
@@ -335,7 +335,7 @@ export class ReviewWorker {
335
335
  "stream-json",
336
336
  "--verbose",
337
337
  "--model",
338
- this.config.claude.model,
338
+ this.config.claude.reviewModel,
339
339
  "--max-turns",
340
340
  String(this.config.claude.maxTurns),
341
341
  "--allowedTools",
package/dist/types.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface AgentConfig {
13
13
  };
14
14
  claude: {
15
15
  model: string;
16
+ reviewModel: string;
16
17
  maxTurns: number;
17
18
  additionalArgs: string[];
18
19
  };
package/dist/types.js CHANGED
@@ -11,6 +11,7 @@ export const DEFAULT_AGENT_CONFIG = {
11
11
  },
12
12
  claude: {
13
13
  model: "opus",
14
+ reviewModel: "sonnet",
14
15
  maxTurns: 200,
15
16
  additionalArgs: [],
16
17
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethmy/agent",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Push-based agent daemon for Harmony — watches board assignments and spawns Claude CLI workers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -37,6 +37,7 @@
37
37
  },
38
38
  "scripts": {
39
39
  "start": "node dist/index.js",
40
+ "prebuild": "cd ../harmony-shared && bun run build && cd ../memory && bun run build",
40
41
  "build": "tsc",
41
42
  "typecheck": "tsc --noEmit",
42
43
  "prepublishOnly": "npm run build"