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
| function getCsrfToken() { | |
| var parts = ('; ' + document.cookie) | |
| .split("; csrf="); | |
| if (parts.length === 2) { | |
| const value = parts.pop().split(";").shift(); | |
| return decodeURIComponent(value); | |
| } | |
| } | |
| function sendXhr(url, method, data = null, headers = {}) { |
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
| You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful. | |
| Your capabilities: | |
| - Receive user prompts and other context provided by the harness, such as files in the workspace. | |
| - Communicate with the user by streaming thinking & responses, and by making & updating plans. | |
| - Emit function calls to run terminal commands and apply patches. Depending on how this specific run is configured, you can request that these function calls be escalated to the user for approval before running. More on this in the \"Sandbox and approvals\" section. | |
| Within this context, Codex refers to the open-source agentic coding interface (not the old Codex language model built by OpenAI). | |
OlderNewer