server.status is allowed. All other tools are blocked.', 'aicom' ); } elseif ( $lock_state['effective_lock'] === 'soft_locked' ) { $badge_label = __( 'Soft Lock Active', 'aicom' ); $badge_class = 'aicom-badge-warning'; $lock_desc = __( 'Write, destructive, and admin-sensitive tools are blocked. Read and discovery tools are permitted.', 'aicom' ); } else { $badge_label = __( 'Unlocked', 'aicom' ); $badge_class = 'aicom-badge-success'; $lock_desc = __( 'All tools permitted (subject to scope and allowlist checks).', 'aicom' ); } ?>

[], 'strong' => [], 'em' => [] ] ); ?>

time(); $in_hours = $sched_lock === 'unlocked'; ?>

🔓 🕐 🔒

public, discovery, read tools only. Blocks write, destructive, admin_sensitive.', 'aicom' ), [ 'em' => [] ] ); ?>

public tools only (server.status). Hard Lock overrides Soft Lock.', 'aicom' ), [ 'em' => [], 'code' => [], 'strong' => [] ] ); ?>

Hard Lock is active. Soft Lock is disabled and ignored.', 'aicom' ), [ 'strong' => [] ] ); ?>

'Sun', 1 => 'Mon', 2 => 'Tue', 3 => 'Wed', 4 => 'Thu', 5 => 'Fri', 6 => 'Sat' ]; ?>

$d_label ) : ?>

get_results( "SELECT hub_id, hub_url, paired_at, last_seen FROM {$wpdb->prefix}aicom_hub_pairings ORDER BY paired_at DESC", ARRAY_A ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery ?>