app: hard-cut workspace routing to workspace-only URLs
This commit is contained in:
@@ -79,7 +79,7 @@ describe("resolveSelectedAgentForNewAgent", () => {
|
||||
it("prefers the agent in the current route", () => {
|
||||
expect(
|
||||
resolveSelectedAgentForNewAgent({
|
||||
pathname: "/h/srv-1/workspace/%2Frepo/tab/agent_agent-2",
|
||||
pathname: "/h/srv-1/workspace/L3JlcG8?open=agent%3Aagent-2",
|
||||
selectedAgentId: "srv-9:agent-9",
|
||||
})
|
||||
).toEqual({
|
||||
|
||||
Reference in New Issue
Block a user