Plugin: add autonomous Codex worker tools#102
Draft
Yehonal wants to merge 10 commits into
Draft
Conversation
165eb0c to
e2d966d
Compare
Author
|
Superseded by integration/yehonal-cas-stack reconciliation; closing this PR to avoid duplicate history. |
e2d966d to
edf5a9b
Compare
edf5a9b to
7712fbe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add experimental agent-callable worker tools on top of the Codex app-server plugin so OpenClaw can orchestrate a configured Codex worker without relying on manual
/cas_*interaction.What this adds
codex_workers_describe_endpointscodex_workers_list_threadscodex_workers_run_taskcodex_workers_read_thread_contextWhy
The current
/cas_*flow is still useful for humans, but OpenClaw also benefits from a tool-callable surface for autonomous orchestration.This PR keeps the manual CAS UX intact while exposing a separate agent-oriented interface.
Scope
This version is intentionally standalone against
main:Notes
/cas_*commands are unchanged and remain the human-facing/manual fallback.docs/autonomous-worker-tools.md.Validation
npx tsc -p tsconfig.jsonnpx vitest run index.test.ts src/client.test.ts src/format.test.ts