feat: sync codex thread goals
This commit is contained in:
20
tests/fixtures/codex-app-server-runtime.mjs
vendored
20
tests/fixtures/codex-app-server-runtime.mjs
vendored
@@ -671,6 +671,26 @@ rl.on("line", (line) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.method === "thread/goal/set") {
|
||||
send({
|
||||
id: message.id,
|
||||
result: {},
|
||||
});
|
||||
send({
|
||||
method: "thread/goal/updated",
|
||||
params: {
|
||||
threadId: message.params?.threadId,
|
||||
goal: {
|
||||
objective: message.params?.objective,
|
||||
status: message.params?.status,
|
||||
tokenBudget: message.params?.tokenBudget,
|
||||
internalGoalSecret: "thread-goal-secret-should-not-leak",
|
||||
},
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (message.method === "thread/read") {
|
||||
send({
|
||||
id: message.id,
|
||||
|
||||
Reference in New Issue
Block a user