MCPcopy Index your code
hub / github.com/codeaashu/claude-code / launchSnapshotUpdateDialog

Function launchSnapshotUpdateDialog

src/dialogLaunchers.tsx:29–38  ·  view source on GitHub ↗
(root: Root, props: {
  agentType: string;
  scope: AgentMemoryScope;
  snapshotTimestamp: string;
})

Source from the content-addressed store, hash-verified

27 * Original callback wiring: onComplete={done}, onCancel={() => done('keep')}.
28 */
29export async function launchSnapshotUpdateDialog(root: Root, props: {
30 agentType: string;
31 scope: AgentMemoryScope;
32 snapshotTimestamp: string;
33}): Promise<'merge' | 'keep' | 'replace'> {
34 const {
35 SnapshotUpdateDialog
36 } = await import('./components/agents/SnapshotUpdateDialog.js');
37 return showSetupDialog<'merge' | 'keep' | 'replace'>(root, done => <SnapshotUpdateDialog agentType={props.agentType} scope={props.scope} snapshotTimestamp={props.snapshotTimestamp} onComplete={done} onCancel={() => done('keep')} />);
38}
39
40/**
41 * Site ~3250: InvalidSettingsDialog (settings validation errors).

Callers 1

runFunction · 0.85

Calls 2

showSetupDialogFunction · 0.85
doneFunction · 0.50

Tested by

no test coverage detected