Skip to content

v0.2.0

Choose a tag to compare

@Microck Microck released this 19 Oct 10:39

select an exact camera lens and control still-camera settings from MCP or the cli.

  • camera_list now returns lens IDs, labels and control capabilities. use camera_switch or ambivalence switch '<id>' to select one.
  • camera_configure and ambivalence configure JSON set manual focus, shutter time and ISO, exposure bias, and white balance where the selected camera supports them. omitted groups keep their settings; auto resets replace the selected group.
  • status and capture metadata include the camera ID and settings. unsupported controls return explicit errors.
ambivalence cameras
ambivalence configure '{"focusMode":"manual","focusPosition":0}'
ambivalence configure '{"exposureMode":"manual","exposureTime":0.008,"iso":100}'
ambivalence capture -o shot.jpg

see camera controls for ranges, platform differences and examples. Android accepts RGB white-balance gains; iOS also accepts Kelvin. browser controls depend on the browser and camera.

install with npm install -g ambivalence@0.2.0, or download a binary below and check it against checksums.txt. the APK is debug-signed. sign the unsigned iOS IPA with your own team before installing it.

full changelog: v0.1.0...v0.2.0