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

Function createContext

src/utils/processUserInput/processUserInput.test.ts:19–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17})
18
19function createContext() {
20 return {
21 options: {
22 commands: [],
23 isNonInteractiveSession: false,
24 },
25 abortController: new AbortController(),
26 getAppState: () => ({
27 toolPermissionContext: { mode: 'default' },
28 sessionHooks: new Map(),
29 ultraplanSessionUrl: undefined,
30 ultraplanLaunching: false,
31 }),
32 setAppState: () => {},
33 updateAttributionState: () => {},
34 requestPrompt: undefined,
35 messages: [],
36 }
37}
38
39function registerUserPromptSubmitHook(
40 output:

Callers 15

createVmExecutionContextFunction · 0.50
Tabs.tsxFile · 0.50
ThemeProvider.tsxFile · 0.50
WizardProvider.tsxFile · 0.50
OrderedList.tsxFile · 0.50
StdinContext.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected