MCPcopy Create free account
hub / github.com/Facets-cloud/flow / lookupBoundTaskSlug

Function lookupBoundTaskSlug

internal/app/hook.go:147–152  ·  view source on GitHub ↗

lookupBoundTaskSlug returns the slug of the bound task, or "" if the session is unbound. Thin wrapper over lookupBoundTask.

()

Source from the content-addressed store, hash-verified

145// lookupBoundTaskSlug returns the slug of the bound task, or "" if the
146// session is unbound. Thin wrapper over lookupBoundTask.
147func lookupBoundTaskSlug() string {
148 if t := lookupBoundTask(); t != nil {
149 return t.Slug
150 }
151 return ""
152}
153
154// emitAmbientSkillHint is the unbound-session branch of the
155// SessionStart hook. The user has installed flow — a personal task/

Callers 1

cmdHookSessionStartFunction · 0.85

Calls 1

lookupBoundTaskFunction · 0.85

Tested by

no test coverage detected