API - CODEX AGENTS: setup packet for local Codex

This commit is contained in:
DCCONSTRUCTIONS
2026-05-14 20:15:42 +03:00
parent 2c1e83dd37
commit fd43f503dd
6 changed files with 155 additions and 9 deletions
+13
View File
@@ -336,6 +336,19 @@ tasker_raw_api_request
`tasker_get_agent_instructions` should include the effective card guide. The local Codex setup file should instruct the agent to call this tool before planning Tasker changes.
Agent Gateway also exposes:
```text
GET /api/v1/agent-session/setup
```
This endpoint is authenticated by the same bearer token and returns:
- MCP server config template with `<agent-token>` placeholder;
- tools available to the current agent grants;
- generated AGENTS.md content with NODE.DC Tasker operating rules;
- no raw token echo.
Minimum instruction:
```text