feat: add note mode and workflow config
This commit is contained in:
@@ -14,6 +14,10 @@ function readStdin() {
|
||||
});
|
||||
}
|
||||
|
||||
function sleep(ms) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
(async function main() {
|
||||
const args = process.argv.slice(2);
|
||||
// cc-web can place `resume` after other `codex exec` options (e.g. --json, -s).
|
||||
@@ -83,6 +87,10 @@ function readStdin() {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
if (input === 'slow cross-session prompt') {
|
||||
await sleep(800);
|
||||
}
|
||||
|
||||
const responseText = input === '/compact'
|
||||
? 'Codex compact finished.'
|
||||
: isInitPrompt
|
||||
|
||||
Reference in New Issue
Block a user