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 4 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.
Stale 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
- Type text section: smooth defaults true like moveMouse/dragMouse; clarify delay and typo_chance only apply when smooth is on/off respectively. - Reorder TS/Python/CLI examples: smooth + typos first; instant/fixed delay use smooth false. Made-with: Cursor
There was a problem hiding this comment.
Stale comment
Risk Assessment: Very Low
Re-evaluated from the actual current diff only.
- Changed files are
browsers/computer-controls.mdxandimages/smooth-typing-demo.gif.- The updates are documentation content (typing behavior explanation, parameter table, usage examples) plus a demo image asset.
- No production/runtime logic, infrastructure, auth/permissions, or shared service codepaths were modified.
- Blast radius is limited to docs presentation and developer guidance.
Risk classification: Very Low.
Approval action: PR is already approved, so no additional approval was added.
Sent by Cursor Automation: Assign PR reviewers
OpenAPI carries bounds; docs explain 0–0.10 and ~10% per character. Made-with: Cursor
There was a problem hiding this comment.
Risk Assessment: Very Low
Assessed from the actual diff only.
- Changed files:
browsers/computer-controls.mdx,images/smooth-typing-demo.gif - Changes are documentation content and a demo image asset
- No application/runtime logic, infrastructure, auth/permissions, or shared service codepaths were modified
- Blast radius is limited to docs presentation and developer guidance
Risk classification: Very Low.
Approval action: no new approval was added because the PR is already approved, and current changes do not increase 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 documentation-only change; main risk is mismatched parameter naming/behavior or a broken image link leading to confusing docs.
Overview
Adds detailed documentation for
computer.typeText/type_textto cover the new default smooth typing behavior and optionaltypo_chance, including a parameter table and updated TS/Python/CLI examples for smooth, typo-injected, instant (smooth=false), and fixed-delay modes.Introduces a new “Smooth vs instant typing” section with an embedded demo GIF (
/images/smooth-typing-demo.gif).Reviewed by Cursor Bugbot for commit 1706736. Bugbot is set up for automated code reviews on this repo. Configure here.