Skip to content

agent: resolve runtime assets from binary directory#241

Open
dbader wants to merge 1 commit into
antirez:mainfrom
dbader:agent-runtime-root
Open

agent: resolve runtime assets from binary directory#241
dbader wants to merge 1 commit into
antirez:mainfrom
dbader:agent-runtime-root

Conversation

@dbader
Copy link
Copy Markdown

@dbader dbader commented May 24, 2026

Adds ds4-agent runtime-root detection while keeping the launch cwd as the agent workspace, fixing #240

Details:

  • ds4-agent now detects its executable directory as the default runtime root.
  • --runtime-root remains available as an override.
  • DS4_RUNTIME_ROOT is passed through for Metal source lookup.
  • Metal kernels can resolve from the runtime root without per-kernel env vars.
  • README documents the new launcher behavior.

Follow-up to #221/#232: --chdir changes the workspace cwd, but the agent use case needs asset lookup separate from cwd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant