/** * Humanise a tool invocation into a user-facing status string. * Used by GraphNodeService to emit `assistant:status` socket events before each * tool call. Falls back to `Running ` for tools we haven't explicitly * labelled — the UI still gets a progress hint, and the assistant turn * continues regardless. * * The id-taking tools (read_entity, traverse) receive only a uuid in their * input, which is meaningless on screen. `labels` carries id → human label * pairs harvested by collectEntityLabels() from the results of the tool calls * made earlier in the same turn — resolve_entity almost always runs first, so * by the time a record is read its name is known. When it isn't, the status * omits the identifier rather than showing a raw uuid. */ export declare function humanizeTool(tool: string, input: Record, labels?: ReadonlyMap): string; /** * Harvest id → human label pairs out of a graph tool result so later status * lines in the same turn can name the records they touch. Accepts the raw tool * return value, which the graph tools serialise to a JSON string. First label * seen for an id wins — resolve_entity/search_entities summaries come from the * descriptor's own `summary()` and are the most deliberate labels available. */ export declare function collectEntityLabels(result: unknown, into: Map): void; //# sourceMappingURL=humanize-tool.d.ts.map