mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-23 13:02:23 +02:00
[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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user