@aion0/forge 0.5.19 → 0.5.20

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.
package/RELEASE_NOTES.md CHANGED
@@ -1,11 +1,12 @@
1
- # Forge v0.5.19
1
+ # Forge v0.5.20
2
2
 
3
3
  Released: 2026-04-01
4
4
 
5
- ## Changes since v0.5.18
5
+ ## Changes since v0.5.19
6
6
 
7
7
  ### Bug Fixes
8
- - fix: session monitor also reads fixedSession from file, not dynamic import
8
+ - fix: hook done always sets done, no state check
9
+ - fix: hook done accepts idle→done, not just running→done
9
10
 
10
11
 
11
- **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.18...v0.5.19
12
+ **Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.19...v0.5.20
@@ -1111,13 +1111,7 @@ export class WorkspaceOrchestrator extends EventEmitter {
1111
1111
  if (!entry) return;
1112
1112
  if (!this.daemonActive) return;
1113
1113
 
1114
- // Only transition running → done (ignore if already idle/done)
1115
- if (entry.state.taskStatus !== 'running') {
1116
- console.log(`[hook] ${entry.config.label}: Stop hook fired but task=${entry.state.taskStatus}, ignoring`);
1117
- return;
1118
- }
1119
-
1120
- console.log(`[hook] ${entry.config.label}: Stop hook → done`);
1114
+ console.log(`[hook] ${entry.config.label}: Stop hook → done (was ${entry.state.taskStatus})`);
1121
1115
  entry.state.taskStatus = 'done';
1122
1116
  entry.state.completedAt = Date.now();
1123
1117
  this.emit('event', { type: 'task_status', agentId, taskStatus: 'done' } as any);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aion0/forge",
3
- "version": "0.5.19",
3
+ "version": "0.5.20",
4
4
  "description": "Unified AI workflow platform — multi-model task orchestration, persistent sessions, web terminal, remote access",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -0,0 +1,6 @@
1
+ {
2
+ "workspaceId": "656c9e65-9d73-4cb6-a065-60d966e1fc78",
3
+ "agentId": "qa-1774920510930",
4
+ "agentLabel": "QA",
5
+ "forgePort": 8403
6
+ }