feat: sync codex thread names
This commit is contained in:
16
tests/fixtures/codex-app-server-runtime.mjs
vendored
16
tests/fixtures/codex-app-server-runtime.mjs
vendored
@@ -655,6 +655,22 @@ rl.on("line", (line) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.method === "thread/name/set") {
|
||||
send({
|
||||
id: message.id,
|
||||
result: {},
|
||||
});
|
||||
send({
|
||||
method: "thread/name/updated",
|
||||
params: {
|
||||
threadId: message.params?.threadId,
|
||||
threadName: message.params?.name,
|
||||
internalNameMutationSecret: "thread-name-secret-should-not-leak",
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.method === "thread/read") {
|
||||
send({
|
||||
id: message.id,
|
||||
|
||||
Reference in New Issue
Block a user