@aion0/forge 0.5.2 → 0.5.4
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,11 @@
|
|
|
1
|
-
# Forge v0.5.
|
|
1
|
+
# Forge v0.5.4
|
|
2
2
|
|
|
3
3
|
Released: 2026-03-28
|
|
4
4
|
|
|
5
|
-
## Changes since v0.5.
|
|
5
|
+
## Changes since v0.5.3
|
|
6
6
|
|
|
7
7
|
### Bug Fixes
|
|
8
|
-
- fix:
|
|
8
|
+
- fix: remove static ApiBackend import to fix standalone daemon crash
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.
|
|
11
|
+
**Full Changelog**: https://github.com/aiwatching/forge/compare/v0.5.3...v0.5.4
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { spawn, type ChildProcess } from 'node:child_process';
|
|
10
10
|
import { createRequire } from 'node:module';
|
|
11
|
-
import { getAgent } from '
|
|
11
|
+
import { getAgent } from '../../agents';
|
|
12
12
|
import type { AgentBackend, AgentStep, StepExecutionParams, StepExecutionResult, Artifact } from '../types';
|
|
13
13
|
import type { TaskLogEntry } from '../../../src/types';
|
|
14
14
|
|
|
@@ -28,7 +28,9 @@ import type {
|
|
|
28
28
|
import { AgentWorker } from './agent-worker';
|
|
29
29
|
import { AgentBus } from './agent-bus';
|
|
30
30
|
import { WatchManager } from './watch-manager';
|
|
31
|
-
|
|
31
|
+
// ApiBackend loaded dynamically — its dependency chain uses @/src path aliases
|
|
32
|
+
// that only work in Next.js context, not in standalone tsx process
|
|
33
|
+
// import { ApiBackend } from './backends/api-backend';
|
|
32
34
|
import { CliBackend } from './backends/cli-backend';
|
|
33
35
|
import { appendAgentLog, saveWorkspace, saveWorkspaceSync, startAutoSave, stopAutoSave } from './persistence';
|
|
34
36
|
import { hasForgeSkills, installForgeSkills } from './skill-installer';
|
|
@@ -1351,7 +1353,9 @@ export class WorkspaceOrchestrator extends EventEmitter {
|
|
|
1351
1353
|
private createBackend(config: WorkspaceAgentConfig, agentId?: string) {
|
|
1352
1354
|
switch (config.backend) {
|
|
1353
1355
|
case 'api':
|
|
1354
|
-
|
|
1356
|
+
// TODO: ApiBackend uses @/src path aliases that don't work in standalone tsx.
|
|
1357
|
+
// Need to refactor api-backend imports before enabling.
|
|
1358
|
+
throw new Error('API backend not yet supported in workspace daemon. Use CLI backend instead.');
|
|
1355
1359
|
case 'cli':
|
|
1356
1360
|
default: {
|
|
1357
1361
|
// Resume existing claude session if available
|