@commonlyai/cli 0.1.224 → 0.1.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.224",
3
+ "version": "0.1.225",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -440,12 +440,15 @@ export const bootstrapClawdbotRuntime = async ({
440
440
  throw new Error('Runtime token was not returned by the runtime-tokens route');
441
441
  }
442
442
 
443
+ // Rotated like the runtime token above: an existing user token is stored
444
+ // only as a hash, so asking without force returns none to write here.
443
445
  const userIssued = await client.post(
444
446
  `/api/registry/pods/${pod.podId}/agents/${CLAWDBOT_AGENT_NAME}/user-token`,
445
447
  {
446
448
  instanceId,
447
449
  displayName,
448
450
  scopes: CLAWDBOT_USER_TOKEN_SCOPES,
451
+ force: true,
449
452
  },
450
453
  );
451
454
  const userToken = userIssued.token;