API - CODEX AGENTS: setup packet for local Codex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user