feat: replace launcher panel with direct tab creation, use directory-based workspace IDs, and add backward-compatible schema fields
This commit is contained in:
@@ -10,8 +10,8 @@ import {
|
||||
|
||||
describe("buildNewAgentRoute", () => {
|
||||
it("falls back to server workspace route with dot workspace when no working directory is provided", () => {
|
||||
expect(buildNewAgentRoute("srv-1", undefined)).toBe("/h/srv-1/workspace/Lg");
|
||||
expect(buildNewAgentRoute("srv-1", " ")).toBe("/h/srv-1/workspace/Lg");
|
||||
expect(buildNewAgentRoute("srv-1", undefined)).toBe("/h/srv-1/workspace/.");
|
||||
expect(buildNewAgentRoute("srv-1", " ")).toBe("/h/srv-1/workspace/.");
|
||||
});
|
||||
|
||||
it("encodes the working directory as a workspace path segment", () => {
|
||||
|
||||
Reference in New Issue
Block a user