MCPcopy
hub / github.com/stravu/crystal / create

Method create

frontend/src/utils/api.ts:63–66  ·  view source on GitHub ↗
(request: CreateSessionRequest)

Source from the content-addressed store, hash-verified

61 },
62
63 async create(request: CreateSessionRequest) {
64 if (!isElectron()) throw new Error('Electron API not available');
65 return window.electronAPI.sessions.create(request);
66 },
67
68 async delete(sessionId: string) {
69 if (!isElectron()) throw new Error('Electron API not available');

Callers 9

handleQuickAddSessionFunction · 0.80
handleCreateProjectFunction · 0.80
handleCreateFolderFunction · 0.80
handleQuickAddFunction · 0.80
handleCreateProjectFunction · 0.80
handleSubmitFunction · 0.80
handleCreateProjectFunction · 0.80
sessionStore.tsFile · 0.80
generateSessionNameMethod · 0.80

Calls 1

isElectronFunction · 0.85

Tested by

no test coverage detected