UNPKG

@phren/cli

Version:

Knowledge layer for AI agents - CLI, MCP server, and data layer

11 lines (10 loc) • 455 B
/** The identity shared by independently materialized rows in the open Inbox. */ export function ownerInboxKey(item, computer) { if (item.kind === "manual") return undefined; const target = item.target; if (target) { return JSON.stringify([computer.toLowerCase(), target.server, target.workspace, target.tab, target.pane, target.source, target.session ?? target.startingToken, item.actionId ?? "waiting"]); } }