@xenosystem/agent-cli 0.5.185 → 0.5.186

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.
@@ -963,10 +963,11 @@ var timestamp2 = z3.string().datetime({
963
963
  var workspaceSchema = z3.object({
964
964
  id: id2,
965
965
  owner_user_id: id2,
966
- workspace_type: z3.enum([
967
- "personal",
968
- "team"
969
- ]),
966
+ // What the server SAYS a workspace is, read as given. It was an enum of personal and team; the server added
967
+ // company workspaces on 2026-10-16 and one of them made the whole list an INVALID_RESPONSE, so an account in
968
+ // a company could list and link nothing (owner's account: 2 company workspaces, 2026-11-12). A caller decides
969
+ // which types it knows. Creating one keeps its own strict list (see `mutateAccount`).
970
+ workspace_type: z3.string().min(1).max(64),
970
971
  name: z3.string().min(1),
971
972
  slug: z3.string().min(1),
972
973
  status: z3.string().min(1),