π OpenHands: AI-Driven Development
chore: update automation entrypoint to openhands.automation namespace (#191)
Rohit Malhotra7ebb11647594
diff --git a/__tests__/scripts/dev-with-automation.test.ts b/__tests__/scripts/dev-with-automation.test.tsindex ca5fbfc42b..ea29b78b0f 100644--- a/__tests__/scripts/dev-with-automation.test.ts+++ b/__tests__/scripts/dev-with-automation.test.ts@@ -29,7 +29,7 @@ describe("buildAutomationCommand", () => {`git+${DEFAULT_AUTOMATION_REPO}@${DEFAULT_AUTOMATION_GIT_REF}`,);expect(cmd.args).toContain("uvicorn");- expect(cmd.args).toContain("automation.app:app");+ expect(cmd.args).toContain("openhands.automation.app:app");expect(cmd.source).toBe(`git (${DEFAULT_AUTOMATION_GIT_REF})`);});diff --git a/scripts/dev-with-automation.mjs b/scripts/dev-with-automation.mjsindex 19dffe1149..934f3dbbda 100644--- a/scripts/dev-with-automation.mjs+++ b/scripts/dev-with-automation.mjs@@ -181,7 +181,7 @@ function buildAutomationCommand(env = process.env) {const gitUrl = `git+${repoUrl}@${gitRef}`;// Use --refresh to ensure latest commit is fetched for git refs- const args = ["--refresh", "--from", gitUrl, "uvicorn", "automation.app:app"];+ const args = ["--refresh", "--from", gitUrl, "uvicorn", "openhands.automation.app:app"];return {command: "uvx",