Skip to content

feat: Codex sender prefix on Codex→Grok messages; sort/filter/search codex threads - #130

Merged
ScriptedAlchemy merged 5 commits into
mainfrom
feat/codex-sender-prefix-thread-search
Oct 4, 2026
Merged

ScriptedAlchemy merged 5 commits into
mainfrom
feat/codex-sender-prefix-thread-search

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

What

  1. Codex → Grok Bot sender prefix. Messages a Codex thread sends to Grok Bot now start with
    [from Codex thread <id> @ <machine>, cwd <cwd>; reply: codex_send({threadId:"<id>", message:"..."}) via MCP on <machine> (or CLI: gbot codex send <id> "...")].
    Applied on the managed relay (grok-request), its returned answers (grok-return), plain gbot_send with a known Codex thread, and gbot send inside a Codex terminal ($CODEX_THREAD_ID). Machine is the real hostname; unknown fields drop out, the thread id never does when known.
  2. codex_threads / gbot codex list-threads: newest activity first by default (sort updated|created|recency, order), query (name/title, preview, id prefix; scans every page), activeWithin / since, cwd, modelProvider, sourceKind, archived. Client-side filters page through the daemon with a resumable gbot1: cursor, no first-page cap.

Tests

New/updated unit + route tests; npm run check only has the 3 known pre-existing codexStatus failures (28, 84, 87).
Minor changeset added; artifact rebuilt last.

@changeset-bot

changeset-bot Bot commented Oct 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 67075b9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
grok-bot-cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit c11781b into main Oct 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant