From 754ee87dea03a53e8b79a3a232f57104f3e3bc2d Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 30 Nov 2024 18:36:09 -0600 Subject: [PATCH] chore: handle merge conflicts --- extensions/vscode/package-lock.json | 4 ++-- gui/package-lock.json | 24 +------------------ .../components/mainInput/ContinueInputBox.tsx | 5 ++-- .../InputToolbar/ToggleToolsButton.tsx | 16 ++++++------- .../InputToolbar/ToolDropdownItem.tsx | 4 ++-- gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx | 7 ++---- .../gui/ToolCallDiv/ToolCallButtonsDiv.tsx | 2 +- .../redux/selectors/selectCurrentToolCall.ts | 2 +- gui/src/redux/selectors/selectLastToolCall.ts | 2 +- gui/src/redux/slices/configSlice.ts | 1 + gui/src/redux/thunks/callTool.ts | 2 +- gui/src/redux/thunks/cancelTool.ts | 2 +- gui/src/redux/thunks/gatherContext.ts | 15 ++++-------- gui/src/redux/thunks/handleErrors.ts | 2 +- .../redux/thunks/resetStateForNewMessage.ts | 2 +- gui/src/redux/thunks/streamNormalInput.ts | 16 ++++++------- gui/src/redux/thunks/streamResponse.ts | 12 +++++----- .../thunks/streamResponseAfterToolCall.ts | 12 +++++----- gui/src/redux/thunks/streamSlashCommand.ts | 14 +++++------ gui/src/redux/util/index.ts | 2 +- package-lock.json | 16 ------------- 21 files changed, 58 insertions(+), 104 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index ef1df3332..6d59f98ff 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "0.9.237", + "version": "0.9.239", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "0.9.237", + "version": "0.9.239", "license": "Apache-2.0", "dependencies": { "@electron/rebuild": "^3.2.10", diff --git a/gui/package-lock.json b/gui/package-lock.json index 283825d2d..0e6075e35 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -1846,27 +1846,6 @@ } } }, - "node_modules/@reduxjs/toolkit/node_modules/redux": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz", - "integrity": "sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==", - "dependencies": { - "@babel/runtime": "^7.9.2" - } - }, - "node_modules/@reduxjs/toolkit/node_modules/redux-thunk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz", - "integrity": "sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==", - "peerDependencies": { - "redux": "^4" - } - }, - "node_modules/@reduxjs/toolkit/node_modules/reselect": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/reselect/-/reselect-4.1.8.tgz", - "integrity": "sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==" - }, "node_modules/@remirror/core-constants": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@remirror/core-constants/-/core-constants-3.0.0.tgz", @@ -11011,8 +10990,7 @@ "node_modules/redux": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", - "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", - "peer": true + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==" }, "node_modules/redux-persist": { "version": "6.0.0", diff --git a/gui/src/components/mainInput/ContinueInputBox.tsx b/gui/src/components/mainInput/ContinueInputBox.tsx index e4c482d6d..94eed2884 100644 --- a/gui/src/components/mainInput/ContinueInputBox.tsx +++ b/gui/src/components/mainInput/ContinueInputBox.tsx @@ -9,6 +9,7 @@ import ContextItemsPeek from "./ContextItemsPeek"; import TipTapEditor from "./TipTapEditor"; import { useAppSelector } from "../../redux/hooks"; import { newSession, setMessageAtIndex } from "../../redux/slices/sessionSlice"; + interface ContinueInputBoxProps { isLastUserInput: boolean; isMainInput?: boolean; @@ -69,8 +70,8 @@ function ContinueInputBox(props: ContinueInputBoxProps) { const availableContextProviders = useAppSelector( (state) => state.config.config.contextProviders, ); - const useTools = useSelector( - (store: RootState) => store.state.config.experimental?.useTools !== false, + const useTools = useAppSelector( + (state) => state.config.config.experimental?.useTools !== false, ); useWebviewListener( diff --git a/gui/src/components/mainInput/InputToolbar/ToggleToolsButton.tsx b/gui/src/components/mainInput/InputToolbar/ToggleToolsButton.tsx index 1c91aee04..ba2c75024 100644 --- a/gui/src/components/mainInput/InputToolbar/ToggleToolsButton.tsx +++ b/gui/src/components/mainInput/InputToolbar/ToggleToolsButton.tsx @@ -6,16 +6,16 @@ import { } from "@heroicons/react/24/outline"; import { modelSupportsTools } from "core/llm/autodetect"; import { useEffect, useRef, useState } from "react"; -import { useDispatch, useSelector } from "react-redux"; +import { useDispatch } from "react-redux"; import styled from "styled-components"; import { defaultBorderRadius, lightGray, vscForeground } from "../.."; -import { defaultModelSelector } from "../../../redux/selectors/modelSelectors"; -import { toggleUseTools } from "../../../redux/slices/uiStateSlice"; -import { RootState } from "../../../redux/store"; +import { toggleUseTools } from "../../../redux/slices/uiSlice"; import { getFontSize } from "../../../util"; import InfoHover from "../../InfoHover"; import HoverItem from "./HoverItem"; import ToolDropdownItem from "./ToolDropdownItem"; +import { useAppSelector } from "../../../redux/hooks"; +import { selectDefaultModel } from "../../../redux/slices/configSlice"; const BackgroundDiv = styled.div<{ useTools: boolean }>` background-color: ${(props) => @@ -38,11 +38,9 @@ export default function ToolDropdown() { const dispatch = useDispatch(); const [isDropdownOpen, setDropdownOpen] = useState(false); - const useTools = useSelector((store: RootState) => store.uiState.useTools); - const availableTools = useSelector( - (store: RootState) => store.state.config.tools, - ); - const defaultModel = useSelector(defaultModelSelector); + const useTools = useAppSelector((state) => state.ui.useTools); + const availableTools = useAppSelector((state) => state.config.config.tools); + const defaultModel = useAppSelector(selectDefaultModel); const [showAbove, setShowAbove] = useState(false); diff --git a/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx b/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx index 7098733eb..be2162118 100644 --- a/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx +++ b/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx @@ -1,8 +1,8 @@ import { Tool } from "core"; import { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { addTool, toggleToolSetting } from "../../../redux/slices/uiStateSlice"; import { RootState } from "../../../redux/store"; +import { addTool, toggleToolSetting } from "../../../redux/slices/uiSlice"; interface ToolDropdownItemProps { tool: Tool; @@ -11,7 +11,7 @@ interface ToolDropdownItemProps { function ToolDropdownItem(props: ToolDropdownItemProps) { const dispatch = useDispatch(); const settings = useSelector( - (state: RootState) => state.uiState.toolSettings[props.tool.function.name], + (state: RootState) => state.ui.toolSettings[props.tool.function.name], ); useEffect(() => { diff --git a/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx b/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx index e02eaca8f..e54345c5d 100644 --- a/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ThreadDiv.tsx @@ -1,8 +1,7 @@ import { Tool, ToolCall, ToolCallState } from "core"; import Mustache from "mustache"; -import { useSelector } from "react-redux"; import styled from "styled-components"; -import { RootState } from "../../../redux/store"; +import { useAppSelector } from "../../../redux/hooks"; interface ThreadDivProps { children: React.ReactNode; @@ -33,9 +32,7 @@ const HeaderDiv = styled.div` `; export function ThreadDiv(props: ThreadDivProps) { - const availableTools = useSelector( - (state: RootState) => state.state.config.tools, - ); + const availableTools = useAppSelector((state) => state.config.config.tools); function renderWouldLikeToMessage( tool: Tool | undefined, diff --git a/gui/src/pages/gui/ToolCallDiv/ToolCallButtonsDiv.tsx b/gui/src/pages/gui/ToolCallDiv/ToolCallButtonsDiv.tsx index d088091ca..291e15e74 100644 --- a/gui/src/pages/gui/ToolCallDiv/ToolCallButtonsDiv.tsx +++ b/gui/src/pages/gui/ToolCallDiv/ToolCallButtonsDiv.tsx @@ -8,9 +8,9 @@ import { } from "../../../components"; import Spinner from "../../../components/markdown/StepContainerPreToolbar/Spinner"; import { selectCurrentToolCall } from "../../../redux/selectors/selectCurrentToolCall"; -import { useAppDispatch } from "../../../redux/store"; import { callTool } from "../../../redux/thunks/callTool"; import { cancelTool } from "../../../redux/thunks/cancelTool"; +import { useAppDispatch } from "../../../redux/hooks"; const ButtonContainer = styled.div` display: flex; diff --git a/gui/src/redux/selectors/selectCurrentToolCall.ts b/gui/src/redux/selectors/selectCurrentToolCall.ts index cd0b47f50..75471c7d5 100644 --- a/gui/src/redux/selectors/selectCurrentToolCall.ts +++ b/gui/src/redux/selectors/selectCurrentToolCall.ts @@ -3,7 +3,7 @@ import { RootState } from "../store"; import { findCurrentToolCall } from "../util"; export const selectCurrentToolCall = createSelector( - (store: RootState) => store.state.history, + (store: RootState) => store.session.messages, (history) => { return findCurrentToolCall(history); }, diff --git a/gui/src/redux/selectors/selectLastToolCall.ts b/gui/src/redux/selectors/selectLastToolCall.ts index 5509ab476..6f5c9ef36 100644 --- a/gui/src/redux/selectors/selectLastToolCall.ts +++ b/gui/src/redux/selectors/selectLastToolCall.ts @@ -3,7 +3,7 @@ import { ToolCallState } from "core"; import { RootState } from "../store"; export const selectLastToolCall = createSelector( - [(store: RootState) => store.state.history], + [(store: RootState) => store.session.messages], (history): ToolCallState | null => { let lastToolCallHistoryItem = null; for (let i = history.length - 1; i >= 0; i--) { diff --git a/gui/src/redux/slices/configSlice.ts b/gui/src/redux/slices/configSlice.ts index 7b234ec17..23288d1f6 100644 --- a/gui/src/redux/slices/configSlice.ts +++ b/gui/src/redux/slices/configSlice.ts @@ -25,6 +25,7 @@ const initialState: ConfigState = { ], contextProviders: [], models: [], + tools: [], }, }; diff --git a/gui/src/redux/thunks/callTool.ts b/gui/src/redux/thunks/callTool.ts index b022b3497..7b1e3e588 100644 --- a/gui/src/redux/thunks/callTool.ts +++ b/gui/src/redux/thunks/callTool.ts @@ -4,7 +4,7 @@ import { acceptToolCall, setCalling, setToolCallOutput, -} from "../slices/stateSlice"; +} from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; import { streamResponseAfterToolCall } from "./streamResponseAfterToolCall"; diff --git a/gui/src/redux/thunks/cancelTool.ts b/gui/src/redux/thunks/cancelTool.ts index c93c4585c..03b0cc8ef 100644 --- a/gui/src/redux/thunks/cancelTool.ts +++ b/gui/src/redux/thunks/cancelTool.ts @@ -4,7 +4,7 @@ import { cancelToolCall, setCalling, setToolCallOutput, -} from "../slices/stateSlice"; +} from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; import { streamResponseAfterToolCall } from "./streamResponseAfterToolCall"; diff --git a/gui/src/redux/thunks/gatherContext.ts b/gui/src/redux/thunks/gatherContext.ts index 409004e08..41c5e39bc 100644 --- a/gui/src/redux/thunks/gatherContext.ts +++ b/gui/src/redux/thunks/gatherContext.ts @@ -11,9 +11,9 @@ import resolveEditorContent, { hasSlashCommandOrContextProvider, } from "../../components/mainInput/resolveInput"; import { updateFileSymbolsFromContextItems } from "../../util/symbols"; -import { defaultModelSelector } from "../selectors/modelSelectors"; -import { setIsGatheringContext } from "../slices/stateSlice"; import { ThunkApiType } from "../store"; +import { selectDefaultModel } from "../slices/configSlice"; +import { setIsGatheringContext } from "../slices/sessionSlice"; export const gatherContext = createAsyncThunk< { @@ -34,21 +34,16 @@ export const gatherContext = createAsyncThunk< { dispatch, extra, getState }, ) => { const state = getState(); - const defaultModel = defaultModelSelector(state); + const defaultModel = selectDefaultModel(state); const defaultContextProviders = - state.state.config.experimental?.defaultContext ?? []; + state.config.config.experimental?.defaultContext ?? []; // Resolve context providers and construct new history const shouldGatherContext = modifiers.useCodebase || hasSlashCommandOrContextProvider(editorState); if (shouldGatherContext) { - dispatch( - setIsGatheringContext({ - isGathering: true, - gatheringMessage: "Gathering Context", - }), - ); + dispatch(setIsGatheringContext(true)); } let [selectedContextItems, selectedCode, content] = diff --git a/gui/src/redux/thunks/handleErrors.ts b/gui/src/redux/thunks/handleErrors.ts index 6d7afb632..b0beef06f 100644 --- a/gui/src/redux/thunks/handleErrors.ts +++ b/gui/src/redux/thunks/handleErrors.ts @@ -1,5 +1,5 @@ import { createAsyncThunk } from "@reduxjs/toolkit"; -import { setInactive } from "../slices/stateSlice"; +import { setInactive } from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; export const handleErrors = createAsyncThunk< diff --git a/gui/src/redux/thunks/resetStateForNewMessage.ts b/gui/src/redux/thunks/resetStateForNewMessage.ts index e7f534e42..3844e34e4 100644 --- a/gui/src/redux/thunks/resetStateForNewMessage.ts +++ b/gui/src/redux/thunks/resetStateForNewMessage.ts @@ -1,5 +1,5 @@ import { createAsyncThunk } from "@reduxjs/toolkit"; -import { resetNextCodeBlockToApplyIndex } from "../slices/stateSlice"; +import { resetNextCodeBlockToApplyIndex } from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; export const resetStateForNewMessage = createAsyncThunk< diff --git a/gui/src/redux/thunks/streamNormalInput.ts b/gui/src/redux/thunks/streamNormalInput.ts index d17f2d870..3c3c49222 100644 --- a/gui/src/redux/thunks/streamNormalInput.ts +++ b/gui/src/redux/thunks/streamNormalInput.ts @@ -1,6 +1,5 @@ import { createAsyncThunk } from "@reduxjs/toolkit"; import { ChatMessage, PromptLog } from "core"; -import { defaultModelSelector } from "../selectors/modelSelectors"; import { selectCurrentToolCall } from "../selectors/selectCurrentToolCall"; import { abortStream, @@ -8,9 +7,10 @@ import { clearLastEmptyResponse, setToolGenerated, streamUpdate, -} from "../slices/stateSlice"; +} from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; import { callTool } from "./callTool"; +import { selectDefaultModel } from "../slices/configSlice"; export const streamNormalInput = createAsyncThunk< void, @@ -20,10 +20,10 @@ export const streamNormalInput = createAsyncThunk< try { // Gather state const state = getState(); - const defaultModel = defaultModelSelector(state); - const toolSettings = state.uiState.toolSettings; - const streamAborter = state.state.streamAborter; - const useTools = state.uiState.useTools; + const defaultModel = selectDefaultModel(state); + const toolSettings = state.ui.toolSettings; + const streamAborter = state.session.streamAborter; + const useTools = state.ui.useTools; if (!defaultModel) { throw new Error("Default model not defined"); @@ -39,7 +39,7 @@ export const streamNormalInput = createAsyncThunk< ? Object.keys(toolSettings) .filter((tool) => toolSettings[tool] !== "disabled") .map((toolName) => - state.state.config.tools.find( + state.config.config.tools.find( (tool) => tool.function.name === toolName, ), ) @@ -51,7 +51,7 @@ export const streamNormalInput = createAsyncThunk< // Stream response let next = await gen.next(); while (!next.done) { - if (!getState().state.active) { + if (!getState().session.isStreaming) { dispatch(abortStream()); break; } diff --git a/gui/src/redux/thunks/streamResponse.ts b/gui/src/redux/thunks/streamResponse.ts index c1f6ba4d8..96bc0d057 100644 --- a/gui/src/redux/thunks/streamResponse.ts +++ b/gui/src/redux/thunks/streamResponse.ts @@ -10,19 +10,19 @@ import { import { constructMessages } from "core/llm/constructMessages"; import { renderChatMessage } from "core/util/messageContent"; import posthog from "posthog-js"; -import { defaultModelSelector } from "../selectors/modelSelectors"; import { initNewActiveMessage, resubmitAtIndex, setCurCheckpointIndex, setMessageAtIndex, -} from "../slices/stateSlice"; +} from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; import { gatherContext } from "./gatherContext"; import { handleErrors } from "./handleErrors"; import { resetStateForNewMessage } from "./resetStateForNewMessage"; import { streamNormalInput } from "./streamNormalInput"; import { streamSlashCommand } from "./streamSlashCommand"; +import { selectDefaultModel } from "../slices/configSlice"; const getSlashCommandForInput = ( input: MessageContent, @@ -68,9 +68,9 @@ export const streamResponseThunk = createAsyncThunk< await dispatch( handleErrors(async () => { const state = getState(); - const defaultModel = defaultModelSelector(state); - const slashCommands = state.state.config.slashCommands || []; - const inputIndex = index ?? state.state.history.length; + const defaultModel = selectDefaultModel(state); + const slashCommands = state.config.config.slashCommands || []; + const inputIndex = index ?? state.session.messages.length; if (typeof index === "number") { dispatch(resubmitAtIndex({ index, editorState })); @@ -114,7 +114,7 @@ export const streamResponseThunk = createAsyncThunk< ); // Construct messages from updated history - const updatedHistory = getState().state.history; + const updatedHistory = getState().session.messages; const messages = constructMessages(updatedHistory, defaultModel.model); posthog.capture("step run", { diff --git a/gui/src/redux/thunks/streamResponseAfterToolCall.ts b/gui/src/redux/thunks/streamResponseAfterToolCall.ts index 6652f3a0e..be8f3a23b 100644 --- a/gui/src/redux/thunks/streamResponseAfterToolCall.ts +++ b/gui/src/redux/thunks/streamResponseAfterToolCall.ts @@ -2,16 +2,16 @@ import { createAsyncThunk } from "@reduxjs/toolkit"; import { ChatMessage, ContextItem } from "core"; import { constructMessages } from "core/llm/constructMessages"; import { renderContextItems } from "core/util/messageContent"; -import { defaultModelSelector } from "../selectors/modelSelectors"; import { addContextItemsAtIndex, setActive, streamUpdate, -} from "../slices/stateSlice"; +} from "../slices/sessionSlice"; import { ThunkApiType } from "../store"; import { handleErrors } from "./handleErrors"; import { resetStateForNewMessage } from "./resetStateForNewMessage"; import { streamNormalInput } from "./streamNormalInput"; +import { selectDefaultModel } from "../slices/configSlice"; export const streamResponseAfterToolCall = createAsyncThunk< void, @@ -22,12 +22,12 @@ export const streamResponseAfterToolCall = createAsyncThunk< ThunkApiType >( "chat/streamAfterToolCall", - async ({ toolCallId, toolOutput }, { dispatch, getState, extra }) => { + async ({ toolCallId, toolOutput }, { dispatch, getState }) => { await dispatch( handleErrors(async () => { const state = getState(); - const initialHistory = state.state.history; - const defaultModel = defaultModelSelector(state); + const initialHistory = state.session.messages; + const defaultModel = selectDefaultModel(state); resetStateForNewMessage(); @@ -55,7 +55,7 @@ export const streamResponseAfterToolCall = createAsyncThunk< dispatch(setActive()); - const updatedHistory = getState().state.history; + const updatedHistory = getState().session.messages; const messages = constructMessages( [...updatedHistory], defaultModel.model, diff --git a/gui/src/redux/thunks/streamSlashCommand.ts b/gui/src/redux/thunks/streamSlashCommand.ts index 4b6c71791..314b5cc53 100644 --- a/gui/src/redux/thunks/streamSlashCommand.ts +++ b/gui/src/redux/thunks/streamSlashCommand.ts @@ -5,9 +5,9 @@ import { RangeInFile, SlashCommandDescription, } from "core"; -import { defaultModelSelector } from "../selectors/modelSelectors"; -import { abortStream, streamUpdate } from "../slices/stateSlice"; import { ThunkApiType } from "../store"; +import { abortStream, streamUpdate } from "../slices/sessionSlice"; +import { selectDefaultModel } from "../slices/configSlice"; export const streamSlashCommand = createAsyncThunk< void, @@ -27,9 +27,9 @@ export const streamSlashCommand = createAsyncThunk< { dispatch, getState, extra }, ) => { const state = getState(); - const defaultModel = defaultModelSelector(state); - const active = state.state.active; - const streamAborter = state.state.streamAborter; + const defaultModel = selectDefaultModel(state); + const isStreaming = state.session.isStreaming; + const streamAborter = state.session.streamAborter; if (!defaultModel) { throw new Error("Default model not defined"); @@ -38,7 +38,7 @@ export const streamSlashCommand = createAsyncThunk< const modelTitle = defaultModel.title; const checkActiveInterval = setInterval(() => { - if (!active) { + if (!isStreaming) { dispatch(abortStream()); clearInterval(checkActiveInterval); } @@ -58,7 +58,7 @@ export const streamSlashCommand = createAsyncThunk< }, streamAborter.signal, )) { - if (!getState().state.active) { + if (!getState().session.isStreaming) { dispatch(abortStream()); break; } diff --git a/gui/src/redux/util/index.ts b/gui/src/redux/util/index.ts index 06ceebb4a..62fd989a2 100644 --- a/gui/src/redux/util/index.ts +++ b/gui/src/redux/util/index.ts @@ -2,7 +2,7 @@ import { ToolCallState } from "core"; import { RootState } from "../store"; export function findCurrentToolCall( - state: RootState["state"]["history"], + state: RootState["session"]["messages"], ): ToolCallState | undefined { return state[state.length - 1]?.toolCallState; } diff --git a/package-lock.json b/package-lock.json index 42ecd2cd8..c147efa72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "devDependencies": { "@typescript-eslint/parser": "^7.8.0", "eslint-plugin-import": "^2.29.1", - "husky": "^9.1.7", "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.8" } @@ -1646,21 +1645,6 @@ "node": ">= 0.4" } }, - "node_modules/husky": { - "version": "9.1.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", - "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", - "dev": true, - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",