MCPcopy Create free account
hub / github.com/apache/maka / createSession

Method createSession

packages/runtime/src/session-manager.ts:948–954  ·  view source on GitHub ↗
(
    input: CreateSessionInput,
    options: { initialBoundary?: ExecutionBoundary } = {},
  )

Source from the content-addressed store, hash-verified

946 // --------------------------------------------------------------------------
947
948 async createSession(
949 input: CreateSessionInput,
950 options: { initialBoundary?: ExecutionBoundary } = {},
951 ): Promise<SessionSummary> {
952 const header = await this.deps.store.create(input, options.initialBoundary);
953 return headerToSummary(header);
954 }
955
956 /**
957 * Sessions plus the turn each one is running right now. The persisted status

Callers 6

runCrashChildFunction · 0.95
makeHarnessFunction · 0.95
runPhase7ToolScenarioFunction · 0.95

Calls 2

headerToSummaryFunction · 0.85
createMethod · 0.65

Tested by 3

runCrashChildFunction · 0.76
makeHarnessFunction · 0.76