@fragola-ai/agent 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { maybePromise } from "../types";
2
- import { Agent } from "../agent";
2
+ import { type AgentAny } from "../agent";
3
3
  /**
4
4
  * Cleanup function returned by a hook.
5
5
  *
@@ -13,7 +13,7 @@ export type FragolaHookDispose = () => maybePromise<void>;
13
13
  * A hook receives the agent during initialization and may optionally return a
14
14
  * disposer for later cleanup.
15
15
  */
16
- export type FragolaHook = (agent: Agent) => maybePromise<void | FragolaHookDispose>;
16
+ export type FragolaHook = (agent: AgentAny) => maybePromise<void | FragolaHookDispose>;
17
17
  /**
18
18
  * Identity helper for : Reusable agent extension function.
19
19
  *