Wang1rrr opened a new issue, #6979:
URL: https://github.com/apache/rocketmq-dashboard/issues/6979

   ### Describe the bug
   
   Setting `STUDIO_AI_CONVERSATION_WORKSPACE_DIR` to a relative directory, for 
example `./agent-workspaces`, produces relative `--mcp-config`, rmqctl 
`--config`, and `HOME` values. The hosted agent starts with its working 
directory changed to that conversation directory. It consequently resolves 
those paths relative to a different directory and cannot read the files that 
Studio just wrote.
   
   ### Reproduction
   
   1. Configure a relative workspace directory and a bound instance with valid 
test credentials.
   2. Call `RmqctlWorkspace.prepare` with an available rmqctl probe.
   3. Resolve the returned MCP file path from the returned child working 
directory. The file is missing at that location, although it exists relative to 
the server working directory.
   
   ### Expected behavior
   
   Resolve the configured root to an absolute path before deriving child paths, 
so the CLI and its MCP subprocess receive paths that remain valid after 
changing the working directory. Absolute configurations should keep their 
current behavior.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to