u-foo 3.0.26 → 3.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "u-foo",
3
- "version": "3.0.26",
3
+ "version": "3.0.28",
4
4
  "description": "Multi-Agent Workspace Protocol. Just add u. claude → uclaude, codex → ucodex.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://ufoo.dev",
@@ -835,7 +835,9 @@ function buildMergedToolExpandedLines(entries = []) {
835
835
  : [];
836
836
  const maxLength = 120;
837
837
  return list.map((item) => {
838
- const base = item.summary;
838
+ const base = `${formatToolDisplayName(item.tool)}${item.detail ? ` ${item.detail}` : ""}`
839
+ .replace(/\s+/g, " ")
840
+ .trim();
839
841
  let line;
840
842
  if (!item.isError) {
841
843
  line = base;
@@ -43,9 +43,13 @@ function createToolMergePublisher(publish) {
43
43
  if (merge && merge.id) mergeId = Math.max(mergeId, Number(merge.id) + 1);
44
44
  // Live collapsed summary while group grows.
45
45
  if (merge) {
46
+ const detail = fmt.buildMergedToolExpandedLines(merge.entries).join("\n");
46
47
  publish("tool.start", {
47
48
  id: `tool-merge-${merge.id}`,
48
49
  summary: fmt.buildUcodeToolRowText(merge.entries),
50
+ detail,
51
+ expanded_text: detail,
52
+ count: merge.entries.length,
49
53
  });
50
54
  }
51
55
  }