Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
---
source: crates/codex_cloud_agents/tests/fold.rs
expression: messages
---
[
{
"turn": 0,
"author": {
"kind": "user",
"userId": null
},
"requestId": null,
"parts": [
{
"kind": "text",
"text": "Inspect repository"
}
],
"stop": null,
"pending": false,
"postedAt": null
},
{
"turn": 0,
"author": {
"kind": "agent"
},
"requestId": null,
"parts": [
{
"kind": "text",
"text": "Answer for turn-1"
},
{
"kind": "tool_use",
"id": "codex-pr:turn-1:https://github.com/org/repo/pull/42",
"name": {
"kind": "native",
"name": "Found pull request"
},
"status": "completed",
"detail": {
"kind": "other",
"acpKind": "other",
"output": "[View pull request](https://github.com/org/repo/pull/42)",
"input": {
"url": "https://github.com/org/repo/pull/42"
},
"result": {
"url": "https://github.com/org/repo/pull/42",
"assistantTurnId": "turn-1",
"source": "codex_cloud_metadata"
},
"error": null
}
}
],
"stop": {
"kind": "end_turn"
},
"pending": false,
"postedAt": null
}
]