MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createInitialState

Function createInitialState

cli/src/state/publish-store.ts:52–62  ·  view source on GitHub ↗
(publishMode = false)

Source from the content-addressed store, hash-verified

50type PublishStore = PublishState & PublishActions
51
52const createInitialState = (publishMode = false): PublishState => ({
53 publishMode,
54 selectedAgentIds: new Set(),
55 searchQuery: '',
56 currentStep: 'selection',
57 focusedIndex: 0,
58 isPublishing: false,
59 successResult: null,
60 errorResult: null,
61 includeDependents: false,
62})
63
64const initialState: PublishState = createInitialState()
65

Callers 1

publish-store.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected