feat(npcs): inspect cards, Show overlay, and optional external link
Clicking an NPC tile opens description cards (multi-select accordion); Show puts avatars on screen. Optional URL opens a webview tab. Avatar pan in the editor commits on pointer up. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -52,3 +52,14 @@ void test('session IPC: нет emitSessionState на graph/NPC position hot-path
|
||||
);
|
||||
assert.match(npcsEditor, /await api\.invoke\(ipcChannels\.project\.updateNpcPosition/);
|
||||
});
|
||||
|
||||
void test('video IPC heartbeat does not fan out to every BrowserWindow', () => {
|
||||
const index = fs.readFileSync(path.join(here, 'index.ts'), 'utf8');
|
||||
const emit =
|
||||
/function emitVideoState\(\): void \{([\s\S]*?)\n\}/.exec(index);
|
||||
assert.ok(emit, 'emitVideoState');
|
||||
assert.doesNotMatch(emit[1] ?? '', /getAllWindows/);
|
||||
assert.match(emit[1] ?? '', /sendToAppWindows\(ipcChannels\.video\.stateChanged/);
|
||||
assert.match(emit[1] ?? '', /'control'/);
|
||||
assert.match(emit[1] ?? '', /'presentation'/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user