nexus/server/src
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
..
__tests__ Merge pull request #790 from paperclipai/paperclip-token-optimization 2026-03-13 15:01:45 -05:00
adapters feat(adapters): add Gemini CLI local adapter support 2026-03-10 16:46:04 +00:00
auth fix: disable secure cookies for HTTP deployments 2026-03-08 22:00:51 -05:00
middleware fix(server): keep pretty logger metadata on one line 2026-03-10 16:42:36 -05:00
realtime update typing to node v24 from v20 2026-03-05 14:36:00 -03:00
routes fix: tighten token optimization edge cases 2026-03-13 10:18:00 -05:00
secrets refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
services fix: set AGENT_HOME env var for agent processes 2026-03-14 00:36:53 -07:00
storage refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
types feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
agent-auth-jwt.ts Implement local agent JWT authentication for adapters 2026-02-18 16:46:45 -06:00
app.ts Add worktree-specific favicon branding 2026-03-10 16:15:11 -05:00
attachment-types.ts fix: address review feedback — stale error message and * wildcard 2026-03-10 20:01:08 +05:30
board-claim.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
config-file.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
config.ts fix: correct env var priority for authDisableSignUp 2026-03-08 10:18:27 +08:00
errors.ts Add server routes for companies, approvals, costs, and dashboard 2026-02-17 09:07:27 -06:00
home-paths.ts Add configurable automatic database backup scheduling 2026-03-04 18:03:23 -06:00
index.ts fix: resolve type errors in process-lost-reaper PR 2026-03-13 06:56:31 -05:00
log-redaction.ts Redact current user in comments and token checks 2026-03-11 22:17:21 -05:00
paths.ts feat(cli): add client commands and home-based local runtime defaults 2026-02-20 07:10:58 -06:00
redaction.ts Implement secrets service with local encryption, redaction, and runtime resolution 2026-02-19 15:43:52 -06:00
startup-banner.ts Add configurable automatic database backup scheduling 2026-03-04 18:03:23 -06:00
ui-branding.ts Add worktree UI branding 2026-03-13 11:12:43 -05:00