Skip to content

feat(browser): add verified fill command#1222

Open
hanzili wants to merge 1 commit intojackwener:mainfrom
hanzili:feat/browser-fill-safe-write
Open

feat(browser): add verified fill command#1222
hanzili wants to merge 1 commit intojackwener:mainfrom
hanzili:feat/browser-fill-safe-write

Conversation

@hanzili
Copy link
Copy Markdown
Contributor

@hanzili hanzili commented Apr 29, 2026

Adds a general-purpose browser fill command for reliable text insertion into input, textarea, and contenteditable fields.\n\nWhy:\n- AI/browser automation often needs to fill composers and forms without brittle keyboard typing.\n- Some generated/social messages include escaped newlines or slash artifacts; the default normalization avoids publishing literal \n or / / text.\n- The command verifies the DOM value after filling and returns structured JSON with normalized/truncated flags and hasLiteralSlashN.\n\nExample:\nbash\nopencli browser fill '#message' 'line1\nline2 / / done'\n\n\nValidation run locally:\n- npm run typecheck\n- npm run build\n- manual browser fill smoke test against textarea on localhost\n

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.

1 participant