Skip to content

createRehydrationHook

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/context/rehydration.ts

Create a PostCompactionHook that reads files from disk. This is the "hard rehydration" implementation — actually reads files rather than nudging the agent to re-read them.

Signature

ts
function createRehydrationHook(config: RehydrationConfig): PostCompactionHook

Parameters

NameType
configRehydrationConfig

Returns: PostCompactionHook

Was this page helpful?

Download as PDF