Skip to content

Claude/add wallet transfers 74 phc#588

Merged
asim merged 2 commits into
mainfrom
claude/add-wallet-transfers-74PHC
May 12, 2026
Merged

Claude/add wallet transfers 74 phc#588
asim merged 2 commits into
mainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented May 12, 2026

No description provided.

claude added 2 commits May 12, 2026 15:27
The console was broken: posting to /stream with @micro prefix, then
polling for agent events — race conditions, wrong responses, overlay
state getting lost. All gone.

Now the console is just an input that calls POST /agent/run directly
and displays the response inline. Same endpoint the MCP agent tool
uses. Same endpoint the chat page uses. One code path.

- Removed the full-screen overlay entirely
- Removed stream posting / polling from the console
- Input stays at the top of the home page after the date
- Response appears in a rounded box below the input
- Each new question replaces the previous answer
- Markdown rendered in the response
- No state management, no overlay, no polling races
Enter key wasn't sending because the inline onkeydown dispatched
a new Event('submit') which didn't trigger the JS listener (it
only fires on trusted events in some browsers). Moved both the
auto-grow and enter-to-submit handlers into the JS block where
they call form.dispatchEvent properly.

Fixed width:100%%%% → 100%% and top:50%%%% → 50%% (the Python
script double-escaped the percent signs).

Kept /agent/run as the console endpoint — /agent POST uses SSE
streaming which doesn't return JSON. /agent/run returns plain
JSON which is what the console needs.
@asim asim merged commit 85d6a5a into main May 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants