| @@ -4,13 +4,15 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * Agents carry user-attributable data on their synthetic `wp_users` |
| 6 | 6 | * row (display name, login, role) and in the definition meta |
| 7 | 7 | * (description, instructions, abilities, triggers, model, rate limit, |
| 8 | - * invocation log). One exporter + one eraser, both keyed off the | |
| 9 | - * target email: if it matches an agent's synthetic address, the whole | |
| 10 | - * agent is returned / removed. Human users who created agents are NOT | |
| 11 | - * considered owners for export/erasure purposes — agents are | |
| 12 | - * admin-managed assets that survive a human-user erasure. | |
| 8 | + * voice, face). One exporter + one eraser, both keyed off the target | |
| 9 | + * email: if it matches an agent's synthetic address, the exporter | |
| 10 | + * returns that definition and the eraser deletes the whole agent. The | |
| 11 | + * invocation log (`_desktop_mode_agent_runs`) is not exported; it goes | |
| 12 | + * with the agent's user row when the eraser deletes it. Human users who | |
| 13 | + * created agents are NOT considered owners for export/erasure purposes — | |
| 14 | + * agents are admin-managed assets that survive a human-user erasure. | |
| 13 | 15 | * |
| 14 | 16 | * @package OpenStation |
| 15 | 17 | */ |
| 16 | 18 | |
| @@ -103,8 +105,24 @@ | ||
| 103 | 105 | if ( $rate_limit > 0 ) { |
| 104 | 106 | $rows[] = array( |
| 105 | 107 | 'name' => __( 'Rate limit (per hour)', 'desktop-mode' ), |
| 106 | 108 | 'value' => (string) $rate_limit, |
| 109 | + ); | |
| 110 | + } | |
| 111 | + | |
| 112 | + $vibes = openstation_agent_get_vibes( (int) $user->ID ); | |
| 113 | + if ( '' !== $vibes ) { | |
| 114 | + $rows[] = array( | |
| 115 | + 'name' => __( 'Voice', 'desktop-mode' ), | |
| 116 | + 'value' => $vibes, | |
| 117 | + ); | |
| 118 | + } | |
| 119 | + | |
| 120 | + $face = (string) get_user_meta( (int) $user->ID, OPENSTATION_AGENT_FACE_META, true ); | |
| 121 | + if ( '' !== $face ) { | |
| 122 | + $rows[] = array( | |
| 123 | + 'name' => __( 'Face (JSON)', 'desktop-mode' ), | |
| 124 | + 'value' => $face, | |
| 107 | 125 | ); |
| 108 | 126 | } |
| 109 | 127 | |
| 110 | 128 | return array( |