Skip to content

Session run via the SDK can't be seen in the Codex CLI/App #10

Description

@rwjdk

When running

using CodexClient codexClient = new();

using CodexThread thread = codexClient.StartThread(new ThreadOptions()
{
    Model = CodexModels.Gpt54,
    ModelReasoningEffort = ModelReasoningEffort.Medium,
    WorkingDirectory = "C:\\git\\CodexSandbox",
    SkipGitRepoCheck = true,
    Ephemeral = false,
});
RunResult result = await thread.RunAsync("Give me a random number");
string? threadId = thread.Id; //Have a value

The result is correct, but the thread/session does not seem to be available in CLI/App after the run (despite setting Ephemeral = false)

Image

Am I missing something?

Activity

  1. rwjdk commented on Mar 23, 2026

    @rwjdk
    Author

    .. note: I can resume a thread fine, ask a follow-up question and see that follow-up question fine in CLI/App

  2. rwjdk commented on Apr 9, 2026

    @rwjdk
    Author

    Any update @KSemenenko ?

  3. KSemenenko commented on Apr 9, 2026

    @KSemenenko
    Member

    Hi @rwjdk just saw your message, let me check

  4. KSemenenko commented on Apr 9, 2026

    @KSemenenko
    Member

    @rwjdk pleasecheck now

  5. rwjdk commented on Apr 9, 2026

    @rwjdk
    Author

    @KSemenenko Still not seeing the sessions :-(

  6. KSemenenko commented on Apr 9, 2026

    @KSemenenko
    Member
  7. rwjdk commented on Apr 10, 2026

    @rwjdk
    Author

    @KSemenenko : I've tried 1.1.3 now, but I've yet to see the sessions in the /resume list... I don't know if I'm doing something wrong here so I need to do some more investigation on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions