docs: add smooth typing with typo injection to computer controls#321
docs: add smooth typing with typo injection to computer controls#321ulziibay-kernel wants to merge 2 commits intomainfrom
Conversation
Adds documentation for the new smooth and typo_chance parameters on the type_text endpoint, with code examples in TS, Python, and CLI. Includes demo GIF and MP4 showing instant vs smooth vs smooth+typos. Made-with: Cursor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
masnwilliams
left a comment
There was a problem hiding this comment.
Looks good — clean docs-only change, well-structured examples across all three language blocks, parameter table is consistent with the existing moveMouse/dragMouse sections.
Two minor comments below. Neither is blocking.
| | `smooth` | boolean | `false` | Use human-like variable keystroke timing with word-boundary pauses | | ||
| | `typo_chance` | number | `0` | Probability (0.0–0.10) of a typo per character, corrected with backspace. Requires `smooth: true`. Typical human range is 0.02–0.05 | | ||
|
|
||
| <CodeGroup> |
There was a problem hiding this comment.
optional/minor: typo_chance is silently ignored when passed without smooth: true (no error, just no effect). Might be worth a brief parenthetical in the description — e.g. "Requires smooth: true (silently ignored otherwise)" — so users don't pass it standalone and wonder why nothing happens.
|
nit: |
- Note that typo_chance is silently ignored without smooth: true - Remove smooth-typing-demo.mp4 since only the GIF is embedded Made-with: Cursor
|
@masnwilliams Addressed both:
See 9a66a40. |
There was a problem hiding this comment.
Risk Assessment: Very Low
I assessed risk from the actual diff and file changes only.
- Files changed are
browsers/computer-controls.mdxandimages/smooth-typing-demo.gif. - The diff adds documentation content: parameter table updates and usage examples for typing options (
smooth,typo_chance) plus an illustrative GIF embed. - No application/runtime logic, infrastructure config, auth/permission paths, or shared production codepaths were modified.
.git-blame-ignore-revsis not present, so there are no ignore-revs adjustments to this assessment.
Given the narrow docs/media scope and no production behavior changes, this PR is Very Low risk.
Sent by Cursor Automation: Assign PR reviewers


Summary
smoothandtypo_chanceparametersDepends on: kernel/kernel-images#201 (implementation PR)
Test plan
Made with Cursor
Note
Low Risk
Low risk doc-only update; main risk is inaccurate parameter/CLI flag naming or missing referenced media asset (
/images/smooth-typing-demo.gif).Overview
Updates the
Type textdocs inbrowsers/computer-controls.mdxto describe new human-like typing options, addingsmoothandtypo_chanceparameters alongside a clarifieddelaybehavior.Adds expanded TypeScript, Python, and CLI examples for instant typing, fixed-delay typing, smooth typing, and smooth typing with typo injection, plus a new “Smooth vs instant typing” demo section referencing
/images/smooth-typing-demo.gif.Reviewed by Cursor Bugbot for commit 9a66a40. Bugbot is set up for automated code reviews on this repo. Configure here.