• turbo 2.10.12 • Packages in scope: @bb/app • Running lint, typecheck in 1 packages • Remote caching disabled @bb/app:lint: cache miss, executing 68f00fc3749129c4 @bb/templates:generate:templates: cache hit, replaying logs 4979d28f7ddbd329 @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates /packages/templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 8229f63b9a2dc6dd @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold /packages/templates @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/plugin-build:generate: cache hit, replaying logs 9bdbb52eb39bc4cd @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate /packages/plugin-build @bb/plugin-build:generate: > node ./scripts/generate-plugin-theme.mjs && node ./scripts/generate-runtime-export-manifest.mjs @bb/plugin-build:generate: @bb/plugin-build:generate: wrote packages/plugin-build/src/generated/plugin-theme.generated.ts @bb/plugin-build:generate: wrote /packages/plugin-build/src/generated/runtime-export-manifest.generated.ts (react@19.2.4) @bb/app:typecheck: cache miss, executing b7e6c6bada466800 @bb/app:lint: @bb/app:lint: > @bb/app@0.0.1 lint /apps/app @bb/app:lint: > oxlint src vite.config.ts vite.dev.config.ts vite-bundle-stats.ts vite-font-preload.ts vite-split-prefetch.ts vite-forkable-plugin-paths.ts vite-shared-ui-seam.ts vite-react-compiler.ts @bb/app:lint: @bb/app:typecheck: @bb/app:typecheck: > @bb/app@0.0.1 typecheck /apps/app @bb/app:typecheck: > tsc --noEmit && tsc --noEmit -p tsconfig.node.json @bb/app:typecheck: @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadBackgroundCommandsCard.tsx:217:18] @bb/app:lint: 216 | } @bb/app:lint: 217 | ref={focus.triggerRef} @bb/app:lint: : ^^^^^^^^|^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 218 | onClick={focus.onTriggerClick} @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadBackgroundCommandsCard.tsx:218:22] @bb/app:lint: 217 | ref={focus.triggerRef} @bb/app:lint: 218 | onClick={focus.onTriggerClick} @bb/app:lint: : ^^^^^^^^^^|^^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 219 | className={activityRowClass( @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadBackgroundCommandsCard.tsx:270:24] @bb/app:lint: 269 | collapseLabel={`Collapse ${groupLabel.toLowerCase()}`} @bb/app:lint: 270 | collapseRef={focus.collapseRef} @bb/app:lint: : ^^^^^^^^|^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 271 | onCollapse={focus.onCollapseClick} @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadBackgroundCommandsCard.tsx:271:23] @bb/app:lint: 270 | collapseRef={focus.collapseRef} @bb/app:lint: 271 | onCollapse={focus.onCollapseClick} @bb/app:lint: : ^^^^^^^^^^|^^^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 272 | > @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/hooks/queries/use-environment-diff-patches.ts:168:5] @bb/app:lint: 159 | @bb/app:lint: 160 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 161 | targetIdentityRef.current = targetIdentity; @bb/app:lint: 162 | pendingPathsRef.current = { visible: [], overscan: [] }; @bb/app:lint: 163 | if (debounceTimerRef.current !== null) { @bb/app:lint: 164 | clearTimeout(debounceTimerRef.current); @bb/app:lint: 165 | debounceTimerRef.current = null; @bb/app:lint: 166 | } @bb/app:lint: 167 | abortPatchRequests(abortControllersRef.current); @bb/app:lint: 168 | setInFlight(EMPTY_IN_FLIGHT); @bb/app:lint: : ^^^^^|^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 169 | }, [targetIdentity]); @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(immutability): Cannot reassign variable after render completes @bb/app:lint: ,-[src/components/plugin/plugin-detail-opener.tsx:41:9] @bb/app:lint: 31 | const deferred = useMemo(() => { @bb/app:lint: 32 | let current: PluginDetailOpener | null = null; @bb/app:lint: : ^^^|^^^ @bb/app:lint: : `-- `current` is declared here @bb/app:lint: 33 | const pending: PluginDetailDestination[] = []; @bb/app:lint: 34 | return { @bb/app:lint: 35 | open(destination: PluginDetailDestination) { @bb/app:lint: 36 | if (current !== null) return current(destination); @bb/app:lint: 37 | pending.push(destination); @bb/app:lint: 38 | return true; @bb/app:lint: 39 | }, @bb/app:lint: 40 | register(open: PluginDetailOpener) { @bb/app:lint: 41 | current = open; @bb/app:lint: : ^^^|^^^ @bb/app:lint: : `-- Cannot reassign `current` after render completes @bb/app:lint: 42 | for (const destination of pending.splice(0)) open(destination); @bb/app:lint: `---- @bb/app:lint: help: Reassigning `current` after render has completed can cause inconsistent behavior on subsequent renders. Consider using state instead @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/plugin/PluginPanelRightPanelHost.tsx:278:5] @bb/app:lint: 271 | ); @bb/app:lint: 272 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 273 | if (activePluginDetailId === null) return; @bb/app:lint: 274 | const catalogEntry = activePluginCatalogQuery.data?.entries.find( @bb/app:lint: 275 | (entry) => entry.pluginId === activePluginDetailId, @bb/app:lint: 276 | ); @bb/app:lint: 277 | if (catalogEntry === undefined) return; @bb/app:lint: 278 | setPluginDetailTabMetadata((current) => { @bb/app:lint: : ^^^^^^^^^^^^^|^^^^^^^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 279 | const previous = current[activePluginDetailId]; @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/plugin/PluginPanelRightPanelHost.tsx:604:5] @bb/app:lint: 602 | useState(null); @bb/app:lint: 603 | useLayoutEffect(() => { @bb/app:lint: : ^^^^^^^|^^^^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 604 | setTogglePortalTarget(findPluginRightPanelTogglePortal(panelStateId)); @bb/app:lint: : ^^^^^^^^^^|^^^^^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 605 | }, [panel, panelStateId]); @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/promptbox/banner/QueuedMessagesList.tsx:1348:5] @bb/app:lint: 1346 | @bb/app:lint: 1347 | useLayoutEffect(() => { @bb/app:lint: : ^^^^^^^|^^^^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 1348 | measureInlineEditorMaxHeight(); @bb/app:lint: : ^^^^^^^^^^^^^^|^^^^^^^^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 1349 | if (!inlineEditorActive) return; @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/promptbox/banner/QueuedMessagesList.tsx:1472:7] @bb/app:lint: 1469 | @bb/app:lint: 1470 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 1471 | if (inlineEditor) { @bb/app:lint: 1472 | setWorkspaceOpen(true); @bb/app:lint: : ^^^^^^^^|^^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 1473 | } else if (wasInlineEditingRef.current) { @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/QueuedMessagesList.tsx:1614:16] @bb/app:lint: 1613 | @bb/app:lint: 2016 | } @bb/app:lint: 2017 | /> @bb/app:lint: 2018 | ) : setupRequiredProvider === null ? null : ( @bb/app:lint: 2019 | @bb/app:lint: 2028 | navigate( @bb/app:lint: 2029 | getPluginConfigurationRoutePath({ @bb/app:lint: 2030 | pluginId: setupRequiredProvider.pluginId, @bb/app:lint: 2031 | }), @bb/app:lint: 2032 | ) @bb/app:lint: 2033 | } @bb/app:lint: 2034 | > @bb/app:lint: 2035 | Configure {setupRequiredProvider.displayName} @bb/app:lint: 2036 | @bb/app:lint: 2037 | } @bb/app:lint: 2038 | /> @bb/app:lint: 2039 | )), @bb/app:lint: 2040 | header: options.header, @bb/app:lint: 2041 | }} @bb/app:lint: 2042 | project={{ @bb/app:lint: 2043 | projects: projectOptions, @bb/app:lint: 2044 | value: options.allowNoProject && isProjectless ? null : projectId, @bb/app:lint: 2045 | onChange: handleProjectChange, @bb/app:lint: 2046 | allowNoProject: options.allowNoProject, @bb/app:lint: 2047 | createProject: options.createProject, @bb/app:lint: 2048 | isLoading: !sidebarNavigationSettled, @bb/app:lint: 2049 | disabled: @bb/app:lint: 2050 | locks.project || @bb/app:lint: 2051 | isUploading || @bb/app:lint: 2052 | isCopyingAttachments || @bb/app:lint: 2053 | isSubmitting, @bb/app:lint: 2054 | showChevronWhenDisabled: !locks.project, @bb/app:lint: 2055 | }} @bb/app:lint: 2056 | execution={{ @bb/app:lint: 2057 | providerRouting: executionOptionsRouting, @bb/app:lint: 2058 | provider: { @bb/app:lint: 2059 | options: providerOptions, @bb/app:lint: 2060 | selectedId: selectedProviderId, @bb/app:lint: 2061 | onChange: locks.provider ? undefined : handleProviderChange, @bb/app:lint: 2062 | hasMultiple: hasMultipleProviders, @bb/app:lint: 2063 | }, @bb/app:lint: 2064 | model: { @bb/app:lint: 2065 | active: activeModel, @bb/app:lint: 2066 | selected: selectedModel, @bb/app:lint: 2067 | options: modelOptions, @bb/app:lint: 2068 | moreOptions: moreModelOptions, @bb/app:lint: 2069 | isLoading: isLoadingModels, @bb/app:lint: 2070 | loadFailed: modelLoadFailed, @bb/app:lint: 2071 | loadError: modelLoadError, @bb/app:lint: 2072 | onChange: handleModelChange, @bb/app:lint: 2073 | }, @bb/app:lint: 2074 | serviceTier: { @bb/app:lint: 2075 | value: serviceTier, @bb/app:lint: 2076 | onChange: handleServiceTierChange, @bb/app:lint: 2077 | supported: supportsServiceTier, @bb/app:lint: 2078 | supportByProvider: serviceTierSupportByProvider, @bb/app:lint: 2079 | options: serviceTierOptions, @bb/app:lint: 2080 | }, @bb/app:lint: 2081 | reasoning: { @bb/app:lint: 2082 | value: reasoningLevel, @bb/app:lint: 2083 | options: reasoningOptions, @bb/app:lint: 2084 | onChange: handleReasoningChange, @bb/app:lint: 2085 | }, @bb/app:lint: 2086 | }} @bb/app:lint: 2087 | /> @bb/app:lint: 2088 | ); @bb/app:lint: 2089 | }, @bb/app:lint: 2090 | ,-> [ @bb/app:lint: 2091 | | activeModel, @bb/app:lint: 2092 | | attachmentError, @bb/app:lint: 2093 | | commandSuggestions, @bb/app:lint: 2094 | | defaultMentionLinkResolver, @bb/app:lint: 2095 | | effectiveEnvironmentValue, @bb/app:lint: 2096 | | environmentProviders, @bb/app:lint: 2097 | | environmentProvidersByHostId, @bb/app:lint: 2098 | | executionOptionsRouting, @bb/app:lint: 2099 | | handleAttachFiles, @bb/app:lint: 2100 | | handleEditorFocus, @bb/app:lint: 2101 | | handleModelChange, @bb/app:lint: 2102 | | handlePermissionChange, @bb/app:lint: 2103 | | handleProjectChange, @bb/app:lint: 2104 | | handleProviderChange, @bb/app:lint: 2105 | | handleReasoningChange, @bb/app:lint: 2106 | | handleSelectProvider, @bb/app:lint: 2107 | | handleSelectHost, @bb/app:lint: 2108 | | handleSelectReuse, @bb/app:lint: 2109 | | handleServiceTierChange, @bb/app:lint: 2110 | | handleSubmit, @bb/app:lint: 2111 | | handleWorktreeChange, @bb/app:lint: 2112 | | hasMultipleProviders, @bb/app:lint: 2113 | | isCopyingAttachments, @bb/app:lint: 2114 | | isLoadingModels, @bb/app:lint: 2115 | | isProjectless, @bb/app:lint: 2116 | | isSubmitting, @bb/app:lint: 2117 | | isUploading, @bb/app:lint: 2118 | | pendingUploads, @bb/app:lint: 2119 | | modelLoadError, @bb/app:lint: 2120 | | modelLoadFailed, @bb/app:lint: 2121 | | modelOptions, @bb/app:lint: 2122 | | moreModelOptions, @bb/app:lint: 2123 | | permissionMode, @bb/app:lint: 2124 | | permissionModeOptions, @bb/app:lint: 2125 | | projectId, @bb/app:lint: 2126 | | projectOptions, @bb/app:lint: 2127 | | projectSources, @bb/app:lint: 2128 | | promptActions, @bb/app:lint: 2129 | | promptBoxFocusRequest, @bb/app:lint: 2130 | | promptDraft, @bb/app:lint: 2131 | | promptHistoryDrafts, @bb/app:lint: 2132 | | restoreHistoryDraft, @bb/app:lint: 2133 | | promptMentions, @bb/app:lint: 2134 | | pluginComposerHost, @bb/app:lint: 2135 | | providerOptions, @bb/app:lint: 2136 | | reasoningLevel, @bb/app:lint: 2137 | | reasoningOptions, @bb/app:lint: 2138 | | reuseEnvironmentId, @bb/app:lint: 2139 | | reuseThreadOptions, @bb/app:lint: 2140 | | selectedModel, @bb/app:lint: 2141 | | selectedProviderId, @bb/app:lint: 2142 | | serviceTier, @bb/app:lint: 2143 | | serviceTierSupportByProvider, @bb/app:lint: 2144 | | sidebarNavigationSettled, @bb/app:lint: 2145 | | supportsPermissionModeSelection, @bb/app:lint: 2146 | | supportsServiceTier, @bb/app:lint: 2147 | | submitDisabledReason, @bb/app:lint: 2148 | | machineServerAccessReason, @bb/app:lint: 2149 | | setupRequiredProvider, @bb/app:lint: 2150 | | environmentSetupRequiredReason, @bb/app:lint: 2151 | | navigate, @bb/app:lint: 2152 | | environmentProviderInputsSlot, @bb/app:lint: 2153 | | machineProviderInputs.control, @bb/app:lint: 2154 | | inputsControlProviderIds, @bb/app:lint: 2155 | | providerHostId, @bb/app:lint: 2156 | | textEffects, @bb/app:lint: 2157 | | serviceTierOptions, @bb/app:lint: 2158 | |-> ], @bb/app:lint: : `---- This dependency list does not match the dependencies inferred from the callback @bb/app:lint: 2159 | ); @bb/app:lint: `---- @bb/app:lint: help: React Compiler has skipped optimizing this component because the existing manual memoization could not be preserved. The inferred dependencies did not match the manually specified dependencies, which could cause the value to change more or less frequently than expected. The inferred dependency was `setCommandState`, but the source dependencies were [activeModel, attachmentError, @bb/app:lint: commandSuggestions, defaultMentionLinkResolver, effectiveEnvironmentValue, environmentProviders, environmentProvidersByHostId, executionOptionsRouting, handleAttachFiles, handleEditorFocus, handleModelChange, handlePermissionChange, handleProjectChange, handleProviderChange, handleReasoningChange, handleSelectProvider, handleSelectHost, handleSelectReuse, handleServiceTierChange, @bb/app:lint: handleSubmit, handleWorktreeChange, hasMultipleProviders, isCopyingAttachments, isLoadingModels, isProjectless, isSubmitting, isUploading, pendingUploads, modelLoadError, modelLoadFailed, modelOptions, moreModelOptions, permissionMode, permissionModeOptions, projectId, projectOptions, projectSources, promptActions, promptBoxFocusRequest, promptDraft, promptHistoryDrafts, @bb/app:lint: restoreHistoryDraft, promptMentions, pluginComposerHost, providerOptions, reasoningLevel, reasoningOptions, reuseEnvironmentId, reuseThreadOptions, selectedModel, selectedProviderId, serviceTier, serviceTierSupportByProvider, sidebarNavigationSettled, supportsPermissionModeSelection, supportsServiceTier, submitDisabledReason, machineServerAccessReason, setupRequiredProvider, @bb/app:lint: environmentSetupRequiredReason, navigate, environmentProviderInputsSlot, machineProviderInputs.control, inputsControlProviderIds, providerHostId, textEffects, serviceTierOptions]. Inferred different dependency than source @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization @bb/app:lint: @bb/app:lint: ! react(purity): Cannot call impure function during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadWorkflowCard.stories.tsx:258:20] @bb/app:lint: 257 | description: "Audit the entire repository across forty phases", @bb/app:lint: 258 | startedAt: Date.now() - 1_472_000, @bb/app:lint: : ^^^^^|^^^^ @bb/app:lint: : `-- Cannot call impure function @bb/app:lint: 259 | workflow: buildManyPhasesSnapshot(40, activePhase), @bb/app:lint: `---- @bb/app:lint: help: `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadTodoCard.tsx:172:16] @bb/app:lint: 171 | aria-label={`To-do list: ${summary.aria}`} @bb/app:lint: 172 | ref={focus.triggerRef} @bb/app:lint: : ^^^^^^^^|^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 173 | onClick={focus.onTriggerClick} @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadTodoCard.tsx:173:20] @bb/app:lint: 172 | ref={focus.triggerRef} @bb/app:lint: 173 | onClick={focus.onTriggerClick} @bb/app:lint: : ^^^^^^^^^^|^^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 174 | className={cn( @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadTodoCard.tsx:201:22] @bb/app:lint: 200 | collapseLabel="Collapse to-do list" @bb/app:lint: 201 | collapseRef={focus.collapseRef} @bb/app:lint: : ^^^^^^^^|^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 202 | onCollapse={focus.onCollapseClick} @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadTodoCard.tsx:202:21] @bb/app:lint: 201 | collapseRef={focus.collapseRef} @bb/app:lint: 202 | onCollapse={focus.onCollapseClick} @bb/app:lint: : ^^^^^^^^^^|^^^^^^^^^^ @bb/app:lint: : `-- Cannot access ref value during render @bb/app:lint: 203 | > @bb/app:lint: `---- @bb/app:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/hooks/useAudioInputDevices.ts:129:5] @bb/app:lint: 126 | @bb/app:lint: 127 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 128 | const mediaDevices = getMediaDevices(); @bb/app:lint: 129 | setIsSupported(mediaDevices !== null); @bb/app:lint: : ^^^^^^^|^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 130 | if (mediaDevices === null) { @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/promptbox/AttachmentPreview.tsx:48:5] @bb/app:lint: 44 | const isImage = file.type.startsWith("image/"); @bb/app:lint: 45 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 46 | if (!isImage) return; @bb/app:lint: 47 | const url = URL.createObjectURL(file); @bb/app:lint: 48 | setPreviewUrl(url); @bb/app:lint: : ^^^^^^|^^^^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 49 | return () => URL.revokeObjectURL(url); @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders @bb/app:lint: ,-[src/components/promptbox/MicrophonePreferences.tsx:30:5] @bb/app:lint: 25 | @bb/app:lint: 26 | useEffect(() => { @bb/app:lint: : ^^^^|^^^^ @bb/app:lint: : `-- This is the containing effect @bb/app:lint: 27 | if (!open || !isSupported) return; @bb/app:lint: 28 | let disposed = false; @bb/app:lint: 29 | let acquired: MediaStream | null = null; @bb/app:lint: 30 | setError(null); @bb/app:lint: : ^^^^|^^^ @bb/app:lint: : `-- Avoid calling setState() directly within an effect @bb/app:lint: 31 | setTestStream(null); @bb/app:lint: `---- @bb/app:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. @bb/app:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect @bb/app:lint: @bb/app:lint: ! react(refs): Cannot access refs during render @bb/app:lint: ,-[src/components/promptbox/banner/ThreadPromptContextBanner.tsx:715:16] @bb/app:lint: 714 |