MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / showConfirm

Function showConfirm

app/src/modules/confirm.js:8–14  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

6let confirmResolve = null;
7
8export function showConfirm(text) {
9 return new Promise(resolve => {
10 $('confirm-text').textContent = text;
11 $('confirm-overlay').classList.add('visible');
12 confirmResolve = resolve;
13 });
14}
15
16export function initConfirm() {
17 $('confirm-ok').addEventListener('click', () => {

Callers 5

confirmSwitchSessionFunction · 0.90
initSessionsFunction · 0.90
confirmChangeCwdFunction · 0.90
deleteServerFromDialogFunction · 0.90
initSettingsFunction · 0.90

Calls 1

$Function · 0.90

Tested by

no test coverage detected