fix(agentic): workspace root is ~/Code/.core/ not ~/Code/host-uk/core/.core/
The hardcoded host-uk/core path doesn't exist on the homelab, causing countRunningByAgent to always return 0 (no concurrency limiting) and agentic_status to miss workspaces. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
907d62a545
commit
90bb784e79
2 changed files with 2 additions and 2 deletions
|
|
@ -312,7 +312,7 @@ func (s *PrepSubsystem) planList(_ context.Context, _ *mcp.CallToolRequest, inpu
|
|||
// --- Helpers ---
|
||||
|
||||
func (s *PrepSubsystem) plansDir() string {
|
||||
return filepath.Join(s.codePath, "host-uk", "core", ".core", "plans")
|
||||
return filepath.Join(s.codePath, ".core", "plans")
|
||||
}
|
||||
|
||||
func planPath(dir, id string) string {
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ func (s *PrepSubsystem) Shutdown(_ context.Context) error { return nil }
|
|||
|
||||
// workspaceRoot returns the base directory for agent workspaces.
|
||||
func (s *PrepSubsystem) workspaceRoot() string {
|
||||
return filepath.Join(s.codePath, "host-uk", "core", ".core", "workspace")
|
||||
return filepath.Join(s.codePath, ".core", "workspace")
|
||||
}
|
||||
|
||||
// --- Input/Output types ---
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue