Repository navigation
benchpod vision: register AI Vision boards - #49
Merged
Merged
Conversation
benchpod vision register <board> is the pod's register flow for an AI Vision board: it reads the board's key on its LAN (GET /api/v1/status), registers it in the signed-in organization (POST /api/aivision/devices), stores the pairing on the board (PUT /api/v1/cloud) and waits for it to connect. list, deregister (--unpair) and unpair round it out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
benchpod visionregisters an AI Vision board (BenchPod AI Vision) the waybenchpod registerdoes a pod:benchpod vision register <board>: reads the board's key on its LAN (GET /api/v1/status), registers it in the signed-in organization (POST /api/aivision/devices), stores the pairing on the board (PUT /api/v1/cloud, serverapi.embeddedci.comfor embeddedci.com) and waits until it connects (--wait 30s, fails with the board's last error otherwise; the registration stands). Default name: the board's host name.benchpod vision list(--json),benchpod vision deregister <name|id>(--unpair <board>),benchpod vision unpair <board>.benchpod loginorBENCHPOD_API_KEY, as for pods.--board-token/AIVISION_TOKENfor a board with an API token.Tested: unit tests (register + pair against fake server and board), and by hand against a local embeddedci-server (podsim stack) with aivision-sim's agent: list, register, re-register keeps the id, the board's pairing, deregister with unpair, error cases. "Connected" is not reachable yet: the agent's own cloud connection is still being built.
🤖 Generated with Claude Code