Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions LLM_USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@ JSON output:
2. Ask them to open it in their browser and authorize
3. The command waits automatically and stores the session when authorized (up to 6 minutes)

#### Background Execution

The `session auth` command blocks for up to 6 minutes while waiting for the user to authorize in the browser. To avoid blocking your main thread, run it as a background process:

1. Start `session auth` in the background
2. Capture and display the `short_url` to the user immediately (fall back to `authorization_url` if unavailable)
3. Poll the process for completion
4. Once it exits successfully, verify with `controller session status --json`

This keeps the agent responsive to other user requests while waiting for authorization.

### 3. Execute Transaction

**Single call (positional args: contract, entrypoint, calldata):**
Expand Down