Loading...
Loading...
Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams
npx skill4agent add yeachan-heo/oh-my-codex worker$teamOMX_TEAM_WORKER<team-name>/worker-<n>alpha/worker-2${CODEX_HOME:-~/.codex}/skills/worker/SKILL.md~/.codex/skills/worker/SKILL.md<leader_cwd>/.codex/skills/worker/SKILL.md<leader_cwd>/skills/worker/SKILL.mdOMX_TEAM_WORKERteamName/workerName/worker-<n>leader-fixedACK: <workerName> initialized<team_state_root>/team/<teamName>/mailbox/leader-fixed.jsonomx team api send-message --input <json> --json{team_name, from_worker, to_worker:"leader-fixed", body}omx team api send-message --input "{\"team_name\":\"<teamName>\",\"from_worker\":\"<workerName>\",\"to_worker\":\"leader-fixed\",\"body\":\"ACK: <workerName> initialized\"}" --jsonOMX_TEAM_STATE_ROOTteam_state_rootteam_state_root.omx/state<team_state_root>/team/<teamName>/workers/<workerName>/inbox.md<team_state_root>/team/<teamName>/tasks/task-<id>.jsontask-1.json"1""task-1"tasks/{id}.jsonomx team api claim-task --jsonomx team api transition-task-status --jsonin_progresscompletedfailedstatusownerresulterroromx team api release-task-claim --jsonpending<team_state_root>/team/<teamName>/workers/<workerName>/status.json{"state":"idle", ...}<team_state_root>/team/<teamName>/mailbox/<workerName>.json<team_state_root>/team/<teamName>/dispatch/requests.jsonomx team api mailbox-list --jsonomx team api mailbox-mark-delivered --jsonomx team api mailbox-list --input "{\"team_name\":\"<teamName>\",\"worker\":\"<workerName>\"}" --json
omx team api mailbox-mark-delivered --input "{\"team_name\":\"<teamName>\",\"worker\":\"<workerName>\",\"message_id\":\"<MESSAGE_ID>\"}" --jsonomx team api ... --jsontmux send-keys