MCPcopy Create free account
hub / github.com/continuedev/continue / getCompleteStateSnapshot

Function getCompleteStateSnapshot

extensions/cli/src/session.ts:247–259  ·  view source on GitHub ↗
(
  session: Session,
  isProcessing: boolean = false,
  messageQueueLength: number = 0,
  pendingPermission: any = null,
)

Source from the content-addressed store, hash-verified

245}
246
247export function getCompleteStateSnapshot(
248 session: Session,
249 isProcessing: boolean = false,
250 messageQueueLength: number = 0,
251 pendingPermission: any = null,
252): StateSnapshot {
253 return {
254 session: getSessionPersistenceSnapshot(session),
255 isProcessing,
256 messageQueueLength,
257 pendingPermission,
258 };
259}
260
261/**
262 * Check if a session has meaningful content for saving

Callers 1

serveFunction · 0.85

Calls 1

Tested by

no test coverage detected