ework-daemon 0.4.51 → 0.4.52

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/package.json +1 -1
  2. package/src/opencode.ts +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-daemon",
3
- "version": "0.4.51",
3
+ "version": "0.4.52",
4
4
  "description": "Issue-driven AI development daemon. Spawns opencode subprocesses to resolve Gitea issues.",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
package/src/opencode.ts CHANGED
@@ -1148,6 +1148,17 @@ export class Engine {
1148
1148
  // Update session state
1149
1149
  await this.store.updateSession(session.id, { state: "running" });
1150
1150
 
1151
+ // Every execution path funnels through here (opened, commented, new-session
1152
+ // on comment, preempt re-run, retry) — the badge must flip for all of them,
1153
+ // not only for the initial issue-opened ack.
1154
+ const tracker = this.trackers.get(issue.trackerType);
1155
+ if (tracker) {
1156
+ void tracker.updateStatus(
1157
+ { trackerType: issue.trackerType, scope: issue.trackerScope, issueId: issue.trackerIssueId },
1158
+ "processing",
1159
+ );
1160
+ }
1161
+
1151
1162
  void this.execProcess(k, session, issue, msg);
1152
1163
  }
1153
1164