@aexol/spectral 0.9.123 → 0.9.124

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.
@@ -98,7 +98,7 @@ export async function ensureMachineRegistered(deps) {
98
98
  // endpoint so the backend can transfer ownership (upsert ownerId).
99
99
  // Team-API-key auth (no userJwt) keeps the existing reuse behavior.
100
100
  let shouldReuse = true;
101
- if (deps.userJwt && existing.ownerId) {
101
+ if (deps.userJwt) {
102
102
  const currentUser = decodeJwtSub(deps.userJwt);
103
103
  if (currentUser && currentUser !== existing.ownerId) {
104
104
  console.log("Machine registered under a different account, re-registering to transfer ownership...");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aexol/spectral",
3
- "version": "0.9.123",
3
+ "version": "0.9.124",
4
4
  "description": "AI coding agent for Aexol with relay-based browser access.",
5
5
  "type": "module",
6
6
  "private": false,