nexus/packages/adapters/opencode-local/src/server
Devin Foley d671a59306 fix: set AGENT_HOME env var for agent processes
The $AGENT_HOME environment variable was referenced by skills (e.g.
para-memory-files) but never actually set, causing runtime errors like
"/HEARTBEAT.md: No such file or directory" when agents tried to resolve
paths relative to their home directory.

Add agentHome to the paperclipWorkspace context in the heartbeat service
and propagate it as the AGENT_HOME env var in all local adapters.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-14 00:36:53 -07:00
..
execute.ts fix: set AGENT_HOME env var for agent processes 2026-03-14 00:36:53 -07:00
index.ts Merge PR #62: Full OpenCode adapter integration 2026-03-06 15:23:55 +00:00
models.test.ts Add OpenCode provider integration and strict model selection 2026-03-05 15:24:20 +01:00
models.ts fix(heartbeat): prevent false process_lost failures on queued and non-child-process runs 2026-03-12 17:24:50 -04:00
parse.test.ts Fix opencode-local adapter: parser, UI, CLI, and environment tests 2026-03-07 19:01:04 +00:00
parse.ts Fix opencode-local adapter: parser, UI, CLI, and environment tests 2026-03-07 19:01:04 +00:00
test.ts Address PR feedback: keep testEnvironment non-destructive, warn on swallowed errors 2026-03-07 19:15:10 +00:00