Commit Graph

3005 Commits

Author SHA1 Message Date
Michael Bolin
18711d4cfd Merge 00139a1afc into sapling-pr-archive-bolinfest 2025-08-17 15:43:25 -07:00
Michael Bolin
00139a1afc fix: introduce EventMsg::TurnAborted 2025-08-17 15:43:10 -07:00
Michael Bolin
22fc98224b Merge 1cd51fe1b8 into sapling-pr-archive-bolinfest 2025-08-17 15:34:37 -07:00
Michael Bolin
1cd51fe1b8 fix: remove shutdown_flag param to run_login_server() 2025-08-17 15:34:28 -07:00
Michael Bolin
cfcbac1591 Merge 437caeffa6 into sapling-pr-archive-bolinfest 2025-08-17 15:27:04 -07:00
Michael Bolin
437caeffa6 fix: reduce references to Server in codex-login crate 2025-08-17 15:26:58 -07:00
Michael Bolin
88cdde4df0 Merge 3aff1f62ef into sapling-pr-archive-bolinfest 2025-08-17 14:54:03 -07:00
Michael Bolin
3aff1f62ef fix: make ShutdownHandle a private field of LoginServer 2025-08-17 14:53:55 -07:00
Michael Bolin
a7bd7e458a merge commit for archive created by Sapling 2025-08-17 14:39:36 -07:00
Michael Bolin
4dc441bca6 fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:39:30 -07:00
Michael Bolin
e634182ac8 merge commit for archive created by Sapling 2025-08-17 14:35:46 -07:00
Michael Bolin
3544a84d50 fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:35:40 -07:00
Michael Bolin
b52dc59f26 merge commit for archive created by Sapling 2025-08-17 14:32:26 -07:00
Michael Bolin
16766382a3 fix: change shutdown_flag from Arc<AtomicBool> to tokio::sync::Notify 2025-08-17 14:32:17 -07:00
Michael Bolin
cfca8371f6 fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:32:17 -07:00
Michael Bolin
67c58ee62d Merge 173fa5fab4 into sapling-pr-archive-bolinfest 2025-08-17 14:26:44 -07:00
Michael Bolin
173fa5fab4 fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:26:24 -07:00
Michael Bolin
d699a3af75 fix: change shutdown_flag from Arc<AtomicBool> to tokio::sync::Notify 2025-08-17 14:26:24 -07:00
Michael Bolin
29f0e27fcc Merge 4361cc6c90 into sapling-pr-archive-bolinfest 2025-08-17 14:19:29 -07:00
Michael Bolin
4361cc6c90 fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:19:24 -07:00
Michael Bolin
6ca4d72c98 Merge ca6ded7d2a into sapling-pr-archive-bolinfest 2025-08-17 14:17:56 -07:00
Michael Bolin
ca6ded7d2a fix: eliminate ServerOptions.login_timeout and have caller use tokio::time::timeout() instead 2025-08-17 14:17:45 -07:00
Michael Bolin
d107e27d59 fix: change shutdown_flag from Arc<AtomicBool> to tokio::sync::Notify 2025-08-17 14:12:18 -07:00
Michael Bolin
a868d626bb Merge a72581ec8f into sapling-pr-archive-bolinfest 2025-08-17 13:58:40 -07:00
Michael Bolin
a72581ec8f fix: async-ify login flow 2025-08-17 13:54:55 -07:00
Michael Bolin
4b8d0fda61 Merge 21816438b8 into sapling-pr-archive-bolinfest 2025-08-17 13:17:27 -07:00
Michael Bolin
21816438b8 chore: prefer returning Err to expect() 2025-08-17 13:17:21 -07:00
Michael Bolin
71cae06e66 fix: refactor login/src/server.rs so process_request() is a separate function (#2388) 2025-08-17 12:32:56 -07:00
Michael Bolin
a57eb9d8fb Merge 53f893ce8c into sapling-pr-archive-bolinfest 2025-08-17 11:35:10 -07:00
Michael Bolin
53f893ce8c chore: prefer returning Err to expect() 2025-08-17 11:35:03 -07:00
Michael Bolin
19168d74fe merge commit for archive created by Sapling 2025-08-17 11:19:34 -07:00
Michael Bolin
374c1aa922 fix: refactor login/src/server.rs so process_request() is a separate function 2025-08-17 11:19:29 -07:00
Michael Bolin
5f94238199 merge commit for archive created by Sapling 2025-08-17 11:16:49 -07:00
Michael Bolin
72aacd9a9b fix: refactor login/src/server.rs so process_request() is a separate function 2025-08-17 11:14:49 -07:00
Eric Traut
350b00d54b Added MCP server command to enable authentication using ChatGPT (#2373)
This PR adds two new APIs for the MCP server: 1) loginChatGpt, and 2)
cancelLoginChatGpt. The first starts a login server and returns a local
URL that allows for browser-based authentication, and the second
provides a way to cancel the login attempt. If the login attempt
succeeds, a notification (in the form of an event) is sent to a
subscriber.

I also added a timeout mechanism for the existing login server. The
loginChatGpt code path uses a 10-minute timeout by default, so if the
user fails to complete the login flow in that timeframe, the login
server automatically shuts down. I tested the timeout code by manually
setting the timeout to a much lower number and confirming that it works
as expected when used e2e.
2025-08-17 10:03:52 -07:00
Eric Traut
1930ee720a Added launch profile for attaching to a running codex CLI process (#2372) 2025-08-15 23:35:01 -07:00
Jeremy Rose
7a80d3c96c replace /prompts with a rotating placeholder (#2314) 2025-08-15 19:37:10 -07:00
Michael Bolin
5d101561d8 Merge 8268edb987 into sapling-pr-archive-bolinfest 2025-08-15 17:41:00 -07:00
Michael Bolin
8268edb987 fix: introduce EventMsg::TurnAborted 2025-08-15 17:40:54 -07:00
Michael Bolin
4ed282c563 Merge 8fef3ae952 into sapling-pr-archive-bolinfest 2025-08-15 17:32:20 -07:00
Michael Bolin
8fef3ae952 fix: introduce EventMsg::TurnAborted 2025-08-15 17:32:14 -07:00
Michael Bolin
2b3d5d050c merge commit for archive created by Sapling 2025-08-15 17:26:51 -07:00
Michael Bolin
465175a163 fix: introduce EventMsg::TurnAborted 2025-08-15 17:26:24 -07:00
Michael Bolin
11a4eacc37 Merge f1d4640865 into sapling-pr-archive-bolinfest 2025-08-15 16:00:38 -07:00
Michael Bolin
f1d4640865 remove mcp-server/src/mcp_protocol.rs and the code that depends on it 2025-08-15 16:00:32 -07:00
aibrahim-oai
d3078b9adc Show progress indicator for /diff command (#2245)
## Summary
- Show a temporary Working on diff state in the bottom pan 
- Add `DiffResult` app event and dispatch git diff asynchronously

## Testing
- `just fmt`
- `just fix` *(fails: `let` expressions in this position are unstable)*
- `cargo test --all-features` *(fails: `let` expressions in this
position are unstable)*

------
https://chatgpt.com/codex/tasks/task_i_689a839f32b88321840a893551d5fbef
2025-08-15 15:32:41 -07:00
Michael Bolin
379106d3eb fix: include an entry for windows-x86_64 in the generated DotSlash file (#2361)
Now that we are improving our Windows support, we should be including an
entry for it in the DotSlash file.

Though anyone using the DotSlash file with Windows should use the new
Windows shim introduced in https://github.com/facebook/dotslash/pull/46.
For more info, see https://dotslash-cli.com/docs/windows/.
2025-08-15 14:47:36 -07:00
Michael Bolin
ee253c61c2 Merge 01aeaadcfc into sapling-pr-archive-bolinfest 2025-08-15 14:34:23 -07:00
Michael Bolin
01aeaadcfc fix: include an entry for windows-x86_64 in the generated DotSlash file 2025-08-15 14:34:13 -07:00
Michael Bolin
0abd42df53 Merge eb6595ac20 into sapling-pr-archive-bolinfest 2025-08-15 13:59:39 -07:00