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

Function getLifecycleTrigger

src/runtime/agent.ts:399–402  ·  view source on GitHub ↗
(channelId: string)

Source from the content-addressed store, hash-verified

397
398 return { stopReason, errorMessage, hasText: text.length > 0, toolCalls };
399}
400
401function getLifecycleTrigger(channelId: string): LifecycleTrigger {
402 const platform = detectPlatformFromChannelId(channelId);
403 return platform === "scheduler" ? "web" : platform;
404}
405

Callers 1

handleCommandMethod · 0.85

Calls 1

Tested by

no test coverage detected