Kind: Class
Source: atloria-monorepo/libs/agent-core/src/session/session-manager.ts
Methods
| Method | Signature | Returns |
|---|---|---|
createId | createId() | string |
save | save(id: string, ctx: SessionSaveContext) | string |
resume | resume(id: string) | `ResumedSession |
list | list() | SessionMeta[] |
delete | delete(id: string) | boolean |
latest | latest() | `SessionMeta |
getMeta | getMeta(id: string) | `SessionMeta |
loadSnapshot | loadSnapshot(id: string) | `SessionSnapshot |
Where it refuses work
SessionManagerstops the work with an early return when!resolvedId.SessionManagerstops the work with an early return when!snapshot.SessionManagerstops the work with an early return whenexistingTitle.SessionManagerstops the work with an early return when!firstUser.
Was this page helpful?