Skip to content

中文 | English

Video Tutorial Series Scripts ​

An early deliverable for ROADMAP M8.2 "Video Tutorials": six-episode storyboard scripts plus verbatim narration (meant to be read as-is). Actual filming requires operating the GUI and a browser in a real Windows environment and is done by a human; this document guarantees that the recorder can hit "record" without needing to understand the product any further.

Series Conventions ​

  • Audience: users encountering Wingman for the first time (no assumption of Go/C++ development skills).
  • Each episode is ≤ 8 minutes and covers one main thread only; botched operations are cut directly, never re-recorded from a rollback.
  • Narration uses short declarative sentences with no marketing speak; terminology matches docs/guide (Runtime / GUI / orchestrator / Agent / trigger / macro).
  • Recording spec: 1920×1080, 60fps; mouse movement slowed down, dwell ≥1s on click points; 100% zoom throughout.
  • Uniform intro: logo 3s + this episode's title; uniform outro: next-episode teaser 5s + documentation link subtitle.
  • File naming: ep01-install-first-run.mp4 (lowercase hyphens); subtitles are published together with the video as SRT.
  • Demo scripts must always be existing files under examples/lua_scripts/ (hello.lua, color_detect.lua, etc.); do not hand-type new scripts while recording.

Episode Overview ​

EpisodeFileMain topicRelated docsTarget duration
1ep01-install-first-runInstall, launch, run the first script end to enddocs/guide/getting-started.md6 min
2ep02-runtime-gui-tourFeatures of each Runtime GUI pagedocs/guide/runtime-gui.md7 min
3ep03-connect-orchestratorAgent registers outbound to the orchestratordocs/guide/getting-started.md ("Run Modes")5 min
4ep04-first-scriptPixel detection with an example scriptdocs/guide/script-development.md6 min
5ep05-triggers-macrosTrigger configuration and macro record/playbackdocs/guide/runtime-gui.md, docs/guides/triggers.md7 min
6ep06-dashboard-remoteDashboard script dispatch and remote takeoverdocs/guide/dashboard.md7 min

EP01 Install and First Launch ​

Prerequisites: a clean Windows 10/11 VM, with the Release artifacts downloaded (one installer package and one portable ZIP).

#VisualOperationNarration (verbatim)
1DesktopOpen the Releases page"Wingman ships in two distribution forms: an installer and a portable version."
2Downloads folderDouble-click the InnoSetup installer, click through with the defaults"The installer installs into Program Files; the portable version is ready to run after extraction."
3Start menuLaunch Runtime"Runtime is the local executor; on first launch it generates a default agent.toml."
4Runtime logsPoint out the outbound connection attempt logs"Runtime only connects outward to the orchestrator; it opens no control port locally."
5Command linewingman-agent.exe script examples\lua_scripts\hello.lua"The command line can run Lua scripts directly, no orchestrator needed."
6Output windowShow the screen resolution output"hello.lua calls the built-in screen module and prints the current screen resolution."
7Portable ZIPExtract to drive D: and run the same script"The portable version behaves identically to the installer and suits carrying on a USB drive."

EP02 Runtime GUI Overview ​

Prerequisites: the EP01 environment; the GUI ships with the release package as a Tauri frontend.

#VisualOperationNarration (verbatim)
1GUI launchLaunch the GUI, wait for the IPC connection badge to turn green"The GUI controls Runtime through local IPC; it does not go over the network."
2Dashboard pagePoint out the connection status and runtime statistics"The dashboard shows the connection state between Runtime and the orchestrator."
3Scripts pageStart and stop a script"Script states come in three kinds: running, stopped, and error."
4Scripts pagePoint out the script editing entry"For editing, VS Code with EmmyLua is recommended; the GUI only starts and monitors."
5Triggers pageOpen the creation panel, without saving"Triggers are demonstrated in detail in Episode 5."
6Macros pageRecord 3 seconds of mouse operations and play back"Macro playback replays the recorded sequence; the speed and repeat count are adjustable."
7Screen pageFull-screen capture"The screen tools support full-screen capture, region selection, and color picking."

EP03 Connecting to the Remote Orchestrator ​

Prerequisites: the orchestrator is deployed (Server + Dashboard), and an account has been created.

#VisualOperationNarration (verbatim)
1agent.tomlEdit the server address and token"agent.toml points at the orchestrator address; the registration token is generated in the orchestrator backend."
2Runtime restartAfter launch, look for the registration-success logs"Once registration succeeds, this machine shows up in the orchestrator's Agent list."
3DashboardRefresh the Agent list, check the tags"Results of operations dispatched by the orchestrator come back over this outbound connection."
4Network panelDisconnect the network, watch the state change, then restore it"If the connection drops, Runtime reconnects automatically; local scripts are unaffected."

EP04 Pixel Detection with an Example Script ​

Prerequisites: the EP02 environment; the example scripts ship with the repository.

#VisualOperationNarration (verbatim)
1File managerOpen examples/lua_scripts/color_detect.lua"The example scripts all live in the lua_scripts directory; this episode uses color detection."
2EditorPoint out the targetColor and region parameters"The script looks for red pixels inside a region; the region can be specified with screen coordinates."
3GUI ScriptsPut the script in the scripts directory, select it on the Scripts page to start"Once the script is in the scripts directory, the Scripts page can start it directly."
4Output windowShow the findColor result and the number of matches"This demo uses the full screen for simplicity; in practice smaller is faster, so don't use the full screen as the region."
5Scripts pageStop the script, point out the state returning to gray"After stopping, the state returns to stopped, and the logs are kept."

EP05 Triggers and Macros ​

Prerequisites: the EP04 environment.

#VisualOperationNarration (verbatim)
1Triggers pageCreate a new trigger, choose time_elapsed as the condition"The time trigger fires at intervals, used to execute operations periodically."
2Triggers pageChoose run_script as the action, specify the script"Actions can be running a script, clicking, key presses, delays, or log output."
3Triggers pageFill in the cooldown and save"The cooldown prevents repeated execution when the condition keeps hitting."
4Triggers pageCreate a color_found trigger"A color trigger only takes effect when the target color is detected within the specified region."
5Triggers pageDisable a trigger, then look at the trigger records"Disabling does not delete the configuration; the trigger history remains queryable in the records."
6Macros pageRecord a mouse-and-keyboard flow and save it"Macros suit one-off flows; scripts suit automation that needs long-term maintenance."
7Macros pagePlay back, change the speed from 100% to 300%, play back again"Playback speed is adjustable between 10% and 500%; the repeat count from 1 to 100."

EP06 Dashboard and Remote Takeover ​

Prerequisites: the EP03 orchestrator plus two machines (A = operator side, B = controlled side).

#VisualOperationNarration (verbatim)
1DashboardDispatch scripts in batches to B from the orchestrator"The orchestrator can execute scripts in batches by tag."
2Remote desktopRequest a ticket to take over B"Takeover requires the desktop:control permission; view-only needs just view."
3Remote desktopOperate B inside the takeover window"The pixel stream is translated by guacd; watch it directly in the browser, no client install needed."
4File transferUpload a file within the takeover session"File transfer goes through virtual drive mapping, and operations are audited."
5Audit reportsOpen the session-records page"Every takeover produces a session record that can be reviewed later."

Recording and Release Checklist ​

  • [ ] After each episode, self-check first: whether narration and visuals are in sync, whether there are misstatements, and whether sensitive information (tokens, internal addresses) is masked.
  • [ ] SRT subtitles share the video's filename, authored and verified per srt-template.md; terminology spelling matches docs/guide.
  • [ ] After uploading, add the link next to the File column in the episode overview table.
  • [ ] Once all episodes are recorded and published, check off ROADMAP M8.2 "Video Tutorials".