MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / createManagedAutonomyFlowKey

Function createManagedAutonomyFlowKey

src/utils/autonomyFlows.ts:458–467  ·  view source on GitHub ↗
(params: {
  trigger: AutonomyTriggerKind
  sourceId?: string
  sourceLabel?: string
  goal: string
})

Source from the content-addressed store, hash-verified

456}
457
458export function createManagedAutonomyFlowKey(params: {
459 trigger: AutonomyTriggerKind
460 sourceId?: string
461 sourceLabel?: string
462 goal: string
463}): string {
464 const source = defaultFlowSource(params)
465 const discriminator = source.sourceId ?? source.sourceLabel ?? params.goal
466 return `managed:${params.trigger}:${discriminator}`
467}
468
469export async function startManagedAutonomyFlow(params: {
470 trigger: AutonomyTriggerKind

Callers 2

startManagedAutonomyFlowFunction · 0.85

Calls 1

defaultFlowSourceFunction · 0.85

Tested by

no test coverage detected