Simplify codebase per audit of 0139564
This commit is contained in:
1 parent
013956440d
commit
68ccff3f03
24 files changed
+122
-190
No files matched your search
@@ -210,7 +210,7 @@ func (m *Manager) steerMidTurn(ctx context.Context, l *live, s *codex.Session) {
|
||||
|
||||
func (m *Manager) codexAfterTool(l *live) hookcmd.Func {
|
||||
return func(ctx context.Context, input json.RawMessage) (map[string]any, error) {
|
||||
if m.holdWhilePaused(ctx, l, "") && ctx.Err() == nil {
|
||||
if m.resumedFromPause(ctx, l, "") {
|
||||
m.steerMidTurn(context.WithoutCancel(ctx), l, l.sess.(codexProcess).Session)
|
||||
}
|
||||
return map[string]any{}, nil
|
||||
|
||||
Reference in new issue
Block a user