MCPcopy Index your code
hub / github.com/deepnote/deepnote / createRunExecutionState

Function createRunExecutionState

packages/cli/src/commands/run.ts:952–966  ·  view source on GitHub ↗
(options: RunOptions, isMachineOutput: boolean)

Source from the content-addressed store, hash-verified

950}
951
952function createRunExecutionState(options: RunOptions, isMachineOutput: boolean): RunExecutionState {
953 return {
954 blockResults: [],
955 blockLabels: new Map<string, string>(),
956 blocksWithStreamedOutput: new Set<string>(),
957 agentStreamed: false,
958 agentTextBuffer: '',
959 reasoningActive: false,
960 activeBlockId: null,
961 showProfile: Boolean(options.profile) && !isMachineOutput,
962 showTop: Boolean(options.top) && !isMachineOutput,
963 blockProfiles: [],
964 memoryBefore: new Map<string, number>(),
965 }
966}
967
968function suppressMachineOutputDebugNoise(isMachineOutput: boolean): () => void {
969 const originalConsoleDebug = console.debug

Callers 1

runDeepnoteProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected