Lens.help() ->
"HAPPY PATH CHEAT SHEET
======================
Navigation:
state() Desktop overview
files() List saved files
open('path') Open in Studio
Reading (token-efficient):
code(1, 20) Lines 1-20 with numbers
line(42) Just line 42
grep('pat') Find matches
Editing (surgical):
setLine(42, 'x') Replace line
insertLine(5, 'x') Insert at line
deleteLine(10) Delete line
replace('a', 'b') Find/replace all
Execution:
save() Save to disk
run() Execute as app
Example workflow:
grep('bug') -> code(40,5) -> setLine(42,'fix') -> run()
"
Simple function that returns the cheat sheet string.
Feature Request
Add
Lens.help()that returns a concise cheat sheet for the Happy Path.Proposed Output
Benefits
Lens.help()first thingImplementation
Simple function that returns the cheat sheet string.