[eric] windows 1.1.50 diag: render logs on every ChatInputView child (ChatInputToolbar, AttachmentChips, ChatInputOverlays, SendBlockBanner) so the next 0xC0000005 crash trace shows which sibling commits after EditorSurface — spellCheck=false on the contentEditable did not stop the crash so the trigger is either later in ChatInputView's child render order or in the JSX after EditorSurface's render log; bump for Squirrel fresh-fetch

This commit is contained in:
Eric
2026-05-25 21:04:46 -07:00
parent 664faa1033
commit 06e7c54f57
5 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "openswarm",
"version": "1.1.49",
"version": "1.1.50",
"description": "OpenSwarm — AI Agent Orchestrator",
"author": "openswarm-ai",
"main": "main.js",
@@ -51,6 +51,8 @@ interface Props {
}
export const ChatInputToolbar: React.FC<Props> = (p) => {
// eslint-disable-next-line no-console
console.log('[diag][ChatInputToolbar:render]', p.sessionId);
const {
c, modeConf, modesArr, mode, onModeChange, iconMap,
modeAnchor, setModeAnchor, modelAnchor, setModelAnchor, thinkingAnchor, setThinkingAnchor,
@@ -43,6 +43,8 @@ export const AttachmentChips: React.FC<Props> = ({
forcedTools, setForcedTools,
selectedElements, elementSelection, ownerId,
}) => {
// eslint-disable-next-line no-console
console.log('[diag][AttachmentChips:render]', 'images=', images.length, 'paths=', contextPaths.length, 'tools=', forcedTools.length);
return (
<>
{images.length > 0 && (
@@ -25,6 +25,8 @@ export const ChatInputOverlays: React.FC<Props> = ({
c, lightboxSrc, setLightboxSrc, oversizeQueue, summarizingPath, summarizeOversize,
detachOversize, currentModelCtx, summarizeError, setSummarizeError,
}) => {
// eslint-disable-next-line no-console
console.log('[diag][ChatInputOverlays:render]', 'lightbox=', !!lightboxSrc, 'oversize=', oversizeQueue && oversizeQueue.length);
return (
<>
<Modal
@@ -16,6 +16,8 @@ interface Props {
}
export const SendBlockBanner: React.FC<Props> = ({ sendBlock, c, sessionId, setSendBlock, setContextPaths, setModelAnchor }) => {
// eslint-disable-next-line no-console
console.log('[diag][SendBlockBanner:render]', sessionId);
const fmt = (n: number) => n >= 1000 ? `${(n / 1000).toFixed(1)}K` : String(n);
const over = sendBlock.estimate - sendBlock.window;
return (