Repository navigation
Conversation
Grok Bot 1.1 keeps cloud bots' profiles and groups (rooms) on the backend, and the box mirrors them. - bots update: save the edited fields with GrokBotService/UpdateGrokBotAgent (partialUpdate) first, then call the box's updateAgent with editedFields, serverHeldFields and serverSavedAtMs, as the app does. A box-only write reported success but was undone by the next sync. - groups create: create the room with GrokBotService/CreateGrokBotRoom (agentId = client nonce, name, description, memberAgentIds, humanMemberUserIds), wait for the box to mirror it, then apply title/avatar. The gateway's createGroup answers 502 "A Sand box session is not permitted on this endpoint" for box credentials. Both calls go only to the allowlisted backend with the app account's credentials; sessions without them (GROK_BOT_GATEWAY_URL) keep the gateway path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 14aeecc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Grok Bot 1.1 keeps cloud bots' profiles and groups ("rooms") on the backend, and the box mirrors them. Two commands broke because of this:
bots updatereported success, but the next sync undid the change, so descriptions never actually changed. It now does what the app does: it saves the edited fields withGrokBotService/UpdateGrokBotAgent(partialUpdate: true), then calls the box'supdateAgentwitheditedFields,serverHeldFieldsandserverSavedAtMs.groups createfailed with502 A Sand box session is not permitted on this endpoint, the same class of error as sendPrompt failed: 502 A Sand box session is not permitted on this endpoint. #165 / Send prompts through the Cursor backend (fixes #165) #166. It now creates the room withGrokBotService/CreateGrokBotRoom. The fields come from the app bundle'sCreateGrokBotRoomRequest:agent_idset to a client nonce,name,description,member_agent_idsandhuman_member_user_ids. The command then waits for the box to mirror the room and applies the title and avatar.Both calls go only to the allowlisted backend, using the app account's credentials (the same ones
EnsureSandBoxuses). Sessions without those credentials (GROK_BOT_GATEWAY_URL) keep the existing gateway path.test/gateway-update.test.js, with the call order, request bodies, room id confirmation and no gatewaycreateGroupwhen the backend succeeds.npm testpasses (513).gbot groups createcreated a 5-member group, and its avatar was applied with thebots updatepath.This PR is independent of the port-token PR, although live use needs both, plus #166.
🤖 Generated with Claude Code