thepopebot 1.2.76-beta.30 → 1.2.76-beta.31
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.
package/lib/ai/line-mappers.js
CHANGED
|
@@ -108,8 +108,11 @@ export function mapClaudeCodeLine(parsed) {
|
|
|
108
108
|
}
|
|
109
109
|
// User messages without tool_result (e.g. subagent prompts) — skip
|
|
110
110
|
if (events.length === 0) return [{ type: 'skip' }];
|
|
111
|
-
} else if (type === 'result'
|
|
112
|
-
|
|
111
|
+
} else if (type === 'result') {
|
|
112
|
+
// Claude Code's `result` message echoes the final assistant text verbatim
|
|
113
|
+
// (already emitted via the assistant content block above). Skip to avoid
|
|
114
|
+
// duplicating the final response in chat persistence and cluster logs.
|
|
115
|
+
return [{ type: 'skip' }];
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
return events;
|
|
@@ -104,20 +104,7 @@ function AppSidebar({ user }) {
|
|
|
104
104
|
) }),
|
|
105
105
|
collapsed && /* @__PURE__ */ jsx(TooltipContent, { side: "right", children: "Chats" })
|
|
106
106
|
] }) }),
|
|
107
|
-
|
|
108
|
-
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
109
|
-
SidebarMenuButton,
|
|
110
|
-
{
|
|
111
|
-
href: "/clusters",
|
|
112
|
-
className: collapsed ? "justify-center" : "",
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsx(ClusterIcon, { size: 16 }),
|
|
115
|
-
!collapsed && /* @__PURE__ */ jsx("span", { children: "Clusters" })
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
) }),
|
|
119
|
-
collapsed && /* @__PURE__ */ jsx(TooltipContent, { side: "right", children: "Clusters" })
|
|
120
|
-
] }) }),
|
|
107
|
+
false,
|
|
121
108
|
/* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
122
109
|
/* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
123
110
|
SidebarMenuButton,
|
|
@@ -122,23 +122,25 @@ export function AppSidebar({ user }) {
|
|
|
122
122
|
</Tooltip>
|
|
123
123
|
</SidebarMenuItem>
|
|
124
124
|
|
|
125
|
-
{/* Clusters */}
|
|
126
|
-
|
|
127
|
-
<
|
|
128
|
-
<
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
125
|
+
{/* Clusters — hidden for now */}
|
|
126
|
+
{false && (
|
|
127
|
+
<SidebarMenuItem>
|
|
128
|
+
<Tooltip>
|
|
129
|
+
<TooltipTrigger asChild>
|
|
130
|
+
<SidebarMenuButton
|
|
131
|
+
href="/clusters"
|
|
132
|
+
className={collapsed ? 'justify-center' : ''}
|
|
133
|
+
>
|
|
134
|
+
<ClusterIcon size={16} />
|
|
135
|
+
{!collapsed && <span>Clusters</span>}
|
|
136
|
+
</SidebarMenuButton>
|
|
137
|
+
</TooltipTrigger>
|
|
138
|
+
{collapsed && (
|
|
139
|
+
<TooltipContent side="right">Clusters</TooltipContent>
|
|
140
|
+
)}
|
|
141
|
+
</Tooltip>
|
|
142
|
+
</SidebarMenuItem>
|
|
143
|
+
)}
|
|
142
144
|
|
|
143
145
|
{/* Containers */}
|
|
144
146
|
<SidebarMenuItem>
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@ jobs:
|
|
|
54
54
|
# Commit any template changes from init
|
|
55
55
|
git -C /project add -A
|
|
56
56
|
if ! git -C /project diff --cached --quiet; then
|
|
57
|
-
git -C /project commit -m "chore: apply thepopebot init after upgrade"
|
|
57
|
+
git -C /project commit -m "chore: apply thepopebot init after upgrade [skip ci]"
|
|
58
58
|
git -C /project push origin main
|
|
59
59
|
fi
|
|
60
60
|
|