MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / clearJobContext

Method clearJobContext

src/runtime/adapters/scheduler.ts:334–341  ·  view source on GitHub ↗
(channelId: string)

Source from the content-addressed store, hash-verified

332 job.notifyFailed = notifyFailed;
333 }
334
335 return { text: fullText, notifyFailed };
336 }
337
338 private async clearJobContext(channelId: string): Promise<void> {
339 console.log(`[Scheduler] Clearing context for ${channelId}`);
340 const result = await this.agent.handleCommand("clear", channelId);
341 if (!result.success) {
342 throw new Error(result.message || `Failed to clear context for ${channelId}`);
343 }
344 console.log(`[Scheduler] Context cleared for ${channelId}`);

Callers 1

runJobMethod · 0.95

Calls 1

handleCommandMethod · 0.65

Tested by

no test coverage detected