mirror of
https://github.com/voideditor/void.git
synced 2025-03-15 17:30:09 +00:00
header update
This commit is contained in:
src/vs
platform/void
browser
common
llmMessageService.tsllmMessageTypes.tsmetricsService.tsrefreshModelService.tsvoidSettingsService.tsvoidSettingsTypes.ts
electron-main
workbench/contrib/void/browser
autocompleteService.ts
helperServices
helpers
inlineDiffsService.tsmedia
prompt
quickEditActions.tsquickEditStateService.tsreact
build.js
sidebarActions.tssidebarPane.tssidebarStateService.tsthreadHistoryService.tsvoid.contribution.tsvoidSettingsPane.tssrc
tailwind.config.jstsconfig.jsontsup.config.js@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
// ---------- common ----------
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { EventLLMMessageOnTextParams, EventLLMMessageOnErrorParams, EventLLMMessageOnFinalMessageParams, ServiceSendLLMMessageParams, MainLLMMessageParams, MainLLMMessageAbortParams, ServiceModelListParams, EventModelListOnSuccessParams, EventModelListOnErrorParams, MainModelListParams, OllamaModelResponse, OpenaiCompatibleModelResponse, } from './llmMessageTypes.js';
|
||||
import { IChannel } from '../../../base/parts/ipc/common/ipc.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { IRange } from '../../../editor/common/core/range'
|
||||
import { ProviderName, SettingsOfProvider } from './voidSettingsTypes.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { createDecorator } from '../../instantiation/common/instantiation.js';
|
||||
import { ProxyChannel } from '../../../base/parts/ipc/common/ipc.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { createDecorator } from '../../instantiation/common/instantiation.js';
|
||||
import { InstantiationType, registerSingleton } from '../../instantiation/common/extensions.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Emitter, Event } from '../../../base/common/event.js';
|
||||
import { Disposable } from '../../../base/common/lifecycle.js';
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import Anthropic from '@anthropic-ai/sdk';
|
||||
import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Content, GoogleGenerativeAI, GoogleGenerativeAIFetchError } from '@google/generative-ai';
|
||||
import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
// // Greptile
|
||||
// // https://docs.greptile.com/api-reference/query
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import Groq from 'groq-sdk';
|
||||
import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Ollama } from 'ollama';
|
||||
import { _InternalModelListFnType, _InternalSendLLMMessageFnType, OllamaModelResponse } from '../../common/llmMessageTypes.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import OpenAI from 'openai';
|
||||
import { _InternalModelListFnType, _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { LLMMMessageParams, OnText, OnFinalMessage, OnError } from '../../common/llmMessageTypes.js';
|
||||
import { IMetricsService } from '../../common/metricsService.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
// registered in app.ts
|
||||
// code convention is to make a service responsible for this stuff, and not a channel, but having fewer files is simpler...
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable } from '../../../base/common/lifecycle.js';
|
||||
import { ITelemetryService } from '../../telemetry/common/telemetry.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
import { ILanguageFeaturesService } from '../../../../editor/common/services/languageFeatures.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable } from '../../../../../base/common/lifecycle.js';
|
||||
import { URI } from '../../../../../base/common/uri.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
export const extractCodeFromResult = (result: string) => {
|
||||
// Match either:
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { diffLines } from '../react/out/diff/index.js'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { isMacintosh } from '../../../../../base/common/platform.js';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
.monaco-editor .void-sweepIdxBG {
|
||||
background-color: var(--vscode-void-sweepIdxBG);
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
import { CodeSelection } from '../threadHistoryService.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { KeyCode, KeyMod } from '../../../../base/common/keyCodes.js';
|
||||
import { Action2, registerAction2 } from '../../../../platform/actions/common/actions.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Emitter, Event } from '../../../../base/common/event.js';
|
||||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { spawn, execSync } from 'child_process';
|
||||
// Added lines below
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { useEffect, useState } from 'react'
|
||||
import { useIsDark, useSidebarState } from '../util/services.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { FormEvent, useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { useSettingsState, useSidebarState, useThreadsState, useQuickEditState, useAccessor } from '../util/services.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { CtrlK } from './CtrlK.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { diffLines, Change } from 'diff';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ReactNode } from "react"
|
||||
import { VoidCodeEditor } from '../util/inputs.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { JSX, useCallback, useEffect, useState } from 'react'
|
||||
import { marked, MarkedToken, Token } from 'marked'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { Component, ErrorInfo, ReactNode } from 'react';
|
||||
import { ErrorDisplay } from './ErrorDisplay.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { useState } from 'react';
|
||||
import { AlertCircle, ChevronDown, ChevronUp, X } from 'lucide-react';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { ButtonHTMLAttributes, FormEvent, FormHTMLAttributes, Fragment, useCallback, useEffect, useRef, useState } from 'react';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React from "react";
|
||||
import { useAccessor, useThreadsState } from '../util/services.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { Sidebar } from './Sidebar.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { useCallback, useEffect, useRef } from 'react';
|
||||
import { IInputBoxStyles, InputBox } from '../../../../../../../base/browser/ui/inputbox/inputBox.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import * as ReactDOM from 'react-dom/client'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { useState, useEffect } from 'react'
|
||||
import { ThreadsState } from '../../../threadHistoryService.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { FeatureName, featureNames, ModelSelection, modelSelectionsEqual, ProviderName, providerNames } from '../../../../../../../platform/void/common/voidSettingsTypes.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { InputBox } from '../../../../../../../base/browser/ui/inputbox/inputBox.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator.js'
|
||||
import { Settings } from './Settings.js'
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
{
|
||||
"compilerOptions": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { defineConfig } from 'tsup'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { KeyCode, KeyMod } from '../../../../base/common/keyCodes.js';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Registry } from '../../../../platform/registry/common/platform.js';
|
||||
import {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Emitter, Event } from '../../../../base/common/event.js';
|
||||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Disposable } from '../../../../base/common/lifecycle.js';
|
||||
import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js';
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
// register inline diffs
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*------------------------------------------------------------------------------------------
|
||||
* Copyright (c) 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the MIT License. See LICENSE.txt in the project root for more information.
|
||||
*-----------------------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------------------
|
||||
* Copyright 2025 Glass Devtools, Inc. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0. See LICENSE.txt for more information.
|
||||
*--------------------------------------------------------------------------------------*/
|
||||
|
||||
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
||||
import { EditorInput } from '../../../common/editor/editorInput.js';
|
||||
|
Reference in New Issue
Block a user