You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d6f2913
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(server): surface ACP stderr when cursor-agent exits at session start (#12625)
it("redacts home paths, pairing URLs, and tokens from stderr excerpts",()=>{
16
+
constexcerpt=sanitizeAcpStderrExcerpt(
17
+
[
18
+
"Invalid project config at /Users/ada/.cursor/cli.json",
19
+
"Authorization: Bearer secret-token-value",
20
+
"Visit http://localhost:5733/pair#token=ABCDEF for pairing",
21
+
"key=sk-abcdefghijklmnopqrstuv",
22
+
].join("\n"),
23
+
{HOME: "/Users/ada"},
24
+
);
25
+
26
+
expect(excerpt).toContain("Invalid project config at ~/.cursor/cli.json");
0 commit comments