MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / createInitialState

Function createInitialState

apps/cli/src/agent/state-store.ts:67–75  ·  view source on GitHub ↗

* Create the initial store state.

()

Source from the content-addressed store, hash-verified

65 * Create the initial store state.
66 */
67function createInitialState(): StoreState {
68 return {
69 messages: [],
70 agentState: detectAgentState([]),
71 isInitialized: false,
72 lastUpdatedAt: Date.now(),
73 currentMode: undefined,
74 }
75}
76
77// =============================================================================
78// State Store Class

Callers 2

constructorMethod · 0.85
resetMethod · 0.85

Calls 1

detectAgentStateFunction · 0.85

Tested by

no test coverage detected