MCPcopy
hub / github.com/codeaashu/claude-code / setPlanSlug

Function setPlanSlug

src/utils/plans.ts:54–56  ·  view source on GitHub ↗
(sessionId: SessionId, slug: string)

Source from the content-addressed store, hash-verified

52 * Set a specific plan slug for a session (used when resuming a session)
53 */
54export function setPlanSlug(sessionId: SessionId, slug: string): void {
55 getPlanSlugCache().set(sessionId, slug)
56}
57
58/**
59 * Clear the plan slug for the current session.

Callers 2

copyPlanForResumeFunction · 0.85
processInitialMessageFunction · 0.85

Calls 2

getPlanSlugCacheFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected