Remove non-merge-ready workspace and terminal agent hooks

This commit is contained in:
pewdiepie-archdaemon
2026-06-09 09:48:59 +09:00
parent fa8c93ec0a
commit e6b1009b89
11 changed files with 5 additions and 336 deletions
+1 -1
View File
@@ -5048,7 +5048,7 @@ async function initUnifiedIntegrations() {
});
formEl.querySelectorAll('.uf-codex-revoke').forEach(btn => {
btn.addEventListener('click', async () => {
if (!await window.styledConfirm(`Revoke this ${cfg.word} token? Terminal agents using it will lose access.`, { confirmText: 'Revoke', danger: true })) return;
if (!await window.styledConfirm(`Revoke this ${cfg.word} token? Integrations using it will lose access.`, { confirmText: 'Revoke', danger: true })) return;
await fetch(`/api/tokens/${btn.dataset.tokenId}`, { method: 'DELETE', credentials: 'same-origin' });
formEl.style.display = 'none';
await renderList();