@standardagents/spec 0.41.16 → 0.41.17

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/dist/index.d.ts CHANGED
@@ -1174,6 +1174,9 @@ interface ThreadUser {
1174
1174
  username: string;
1175
1175
  /** 'admin' | 'user' | 'api' in the reference runtime. */
1176
1176
  role: string;
1177
+ /** Application-defined roles supplied by the identity authority. Opaque strings;
1178
+ * runtimes do not infer permissions or expand wildcards. Missing means no roles. */
1179
+ roles?: string[];
1177
1180
  /** Explicit permission grants (runtime-defined strings), if any. */
1178
1181
  permissions?: string[] | null;
1179
1182
  email?: string | null;