MCPcopy Create free account
hub / github.com/Noumena-Network/code / baseState

Function baseState

src/session/replFocusedInputDialog.test.ts:9–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7} from './replFocusedInputDialog.js'
8
9function baseState(): Parameters<typeof resolveReplFocusedInputDialog>[0] {
10 return {
11 isExiting: false,
12 exitFlow: null,
13 isMessageSelectorVisible: false,
14 isPromptInputActive: false,
15 sandboxPermissionRequest: null,
16 toolJSX: null,
17 toolJSXShouldContinueAnimation: undefined,
18 toolUseConfirmRequest: null,
19 promptRequest: null,
20 workerSandboxPermissionRequest: null,
21 elicitationRequest: null,
22 showingCostDialog: false,
23 idleReturnPending: null,
24 ultraplanEnabled: false,
25 isLoading: true,
26 ultraplanPendingChoice: null,
27 ultraplanLaunchPending: null,
28 showIdeOnboarding: false,
29 isAntUser: false,
30 showModelSwitchCallout: false,
31 showUndercoverCallout: false,
32 showEffortCallout: false,
33 showRemoteCallout: false,
34 lspRecommendation: null,
35 hintRecommendation: null,
36 showDesktopUpsellStartup: false,
37 }
38}
39
40describe('resolveReplFocusedInputDialog', () => {
41 test('preserves exit and message-selector precedence', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected