MCPcopy Create free account
hub / github.com/MemTensor/MemOS / saveAuthState

Method saveAuthState

packages/memos-core/src/hub/server.ts:196–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 }
195
196 private saveAuthState(): void {
197 fs.mkdirSync(path.dirname(this.authStatePath), { recursive: true });
198 fs.writeFileSync(this.authStatePath, JSON.stringify(this.authState, null, 2), "utf8");
199 }
200
201 private embedChunksAsync(chunkIds: string[], chunks: Array<{ id: string; summary?: string; content?: string }>): void {
202 const embedder = this.opts.embedder;

Callers 2

startMethod · 0.95
handleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected