Upgrade & compatibility
Update the CLI, packages and scripts, and check device and data compatibility.
Upgrade & compatibility
CLI 1.1.0 data fields
The pose and IMU commands remain device get/sub pose and device get/sub imu. Update scripts to read these paths:
| Previous field | 1.1.0 field |
|---|---|
payload.fingertip_local | payload.hand.fingertips |
payload.root_pose, payload.fingertip_world | Read the wrist from payload.wrist; hand.coordinate_frame identifies the fingertip frame |
payload.valid/gyroscope_raw/accelerometer_raw | Select a sensor by payload.imus[].id/location, then read valid/values |
The outer JSON, schema_version and exit codes are unchanged. Handle nullable components and distinguish raw counts from physical values using values.units; see Resource reads.
Generate a complete key for a data batch with calibration run --output. Existing calibration info --output continues to export query JSON.
Upgrade from 0.2.0 to 1.0.0
The 0.2.0 installer checks only SHA-256. The 1.0.0 installer also verifies the candidate executable’s version before replacing the installed binary.
CLI 0.2.0 has no self-update command. Run the official installer again or replace the executable for your platform, then check the version:
qnbot --version
qnbot --json algorithm listBefore upgrading, record installed packages' native IDs, versions, and states, and keep the configuration and original archives. Updating the CLI does not automatically update or remove algorithm packages.
Update the CLI and packages separately
qnbot update --check
qnbot update
qnbot algorithm update --check
qnbot algorithm updateqnbot update updates the executable to a newer stable release for the host platform. algorithm update updates locally installed packages. Append package IDs to limit its scope; omit them to check all installed packages.
Interactive terminals check for CLI update notices at most once every 24 hours, waiting no longer than one second. JSON output and non-interactive terminals skip this check. Set QNBOT_NO_UPDATE_CHECK=1 to disable notices; explicit update commands remain available.
The CLI stores update state under the SDK data root (~/.qnbot/cli/update-state.json, or under QNBOT_HOME when set). Interactive device get temporarily isolates the SDK data home for its device session; the CLI resolves the update cache before that isolation, so device get shares the same 24-hour cache and does not start an extra check.
Reinstall and restore packages
For same-version reinstallation, downgrade, or corrupted-package recovery, choose either online or offline installation:
qnbot algorithm list --available
qnbot algorithm install APP_ID@VERSIONqnbot algorithm install ./compatible-package.zipRun qnbot --json algorithm list afterward and confirm the native package_id, target version, and state=ready. Restart Studio or recreate the SDK instance after installing, updating, or removing packages.
Migrate scripts and output
| Area | Change in 1.0.0 | Upgrade action |
|---|---|---|
| Algorithm JSON | app_id/app_name become package_id/name, with installed_version | Update field reads; keep native local IDs in SDK configuration |
| Human tables | Local lists show name/version and state for abnormal packages; online lists group packages and show platforms | Use --json for automation instead of parsing table columns |
| Online version selection | Install and download select the highest visible stable SemVer for the host | Use APP_ID@VERSION for fixed versions or prereleases |
| Install results | Each package shows its actual version, platform, and result | Migrate summary parsers to JSON |
| Local installation state | installed_state distinguishes installed, not_installed, and unknown | Read installed_state to determine installation state |
| Update outcomes | Failure reports retain package outcomes, counts, and abnormal-package diagnostics | Check exit status and ok before optional data; inspect local state before retrying |
| Output failures | A completed action can still return IoError / 18 if writing or flushing fails | Check complete JSON and exit status; inspect actual installation state before retrying |
| Download collisions | Filesystem-equivalent destinations fail before transfers with ReleaseConflict / 12 | Split batches or output directories; --overwrite cannot bypass an intra-batch collision |
Sub uses JSONL. Partial download failure exits 28 with its report in error.details; cancellation exits 130. See Package management and Device management for full fields.
Handle authentication using error.code or exit status instead of complete messages.
Device and system requirements
- Set Receiver
decode_mode=2(glove_pose_json) using the Receiver configuration tool. - Direct Glove startup completes after control acknowledgements. Then
get/subwait for the first sample and returnFirstFrameTimeoutif the wait expires. Supported pose reads remain available when optional IMU support is degraded. - Linux requires libudev, with a manylinux 2.34 build baseline. macOS ARM64 requires macOS 14 or later.
Finite sampling supports --count with --idle-timeout-s; after admitting the requested count, pending output completes without a false receive-idle timeout. See Finite sampling and idle timeouts for older-build guidance.
Algorithm queries and downloads support six desktop targets, while native CLI executables ship for four platforms; see platform support.
Roll back
Keep the earlier executable, configuration, and package archives before rolling back. Restore the CLI and packages separately; replacing the CLI does not restore earlier package versions.
Returning to 0.2.0 removes device and self-update commands and restores the 0.2.0 algorithm JSON fields. Restore matching script fields as well. Choose a version retaining necessary security fixes and keep certificate verification enabled.