From cdbdf3c5c70d4bfe46df19e588fecc28f7749dbf Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 2 Jan 2025 22:58:05 -0800 Subject: [PATCH] License update (#199) --- CONTRIBUTING.md | 4 +- LICENSE => LICENSE-VS-Code.txt | 7 +++- LICENSE.txt | 2 +- README.md | 6 ++- SECURITY.md | 41 ------------------- .../void/browser/void.contribution.ts | 8 ++-- .../platform/void/common/llmMessageService.ts | 8 ++-- .../platform/void/common/llmMessageTypes.ts | 8 ++-- src/vs/platform/void/common/metricsService.ts | 8 ++-- .../void/common/refreshModelService.ts | 8 ++-- .../void/common/voidSettingsService.ts | 8 ++-- .../platform/void/common/voidSettingsTypes.ts | 8 ++-- .../electron-main/llmMessage/anthropic.ts | 8 ++-- .../void/electron-main/llmMessage/gemini.ts | 8 ++-- .../void/electron-main/llmMessage/greptile.ts | 8 ++-- .../void/electron-main/llmMessage/groq.ts | 8 ++-- .../void/electron-main/llmMessage/ollama.ts | 8 ++-- .../void/electron-main/llmMessage/openai.ts | 8 ++-- .../llmMessage/sendLLMMessage.ts | 8 ++-- .../void/electron-main/llmMessageChannel.ts | 8 ++-- .../void/electron-main/metricsMainService.ts | 8 ++-- .../void/browser/autocompleteService.ts | 8 ++-- .../helperServices/consistentItemService.ts | 8 ++-- .../browser/helpers/extractCodeFromResult.ts | 8 ++-- .../contrib/void/browser/helpers/findDiffs.ts | 8 ++-- .../contrib/void/browser/helpers/getCmdKey.ts | 8 ++-- .../void/browser/inlineDiffsService.ts | 9 ++-- .../contrib/void/browser/media/void.css | 8 ++-- .../contrib/void/browser/prompt/prompts.ts | 8 ++-- .../contrib/void/browser/quickEditActions.ts | 8 ++-- .../void/browser/quickEditStateService.ts | 8 ++-- .../contrib/void/browser/react/build.js | 8 ++-- .../browser/react/src/ctrl-k-tsx/CtrlK.tsx | 8 ++-- .../react/src/ctrl-k-tsx/CtrlKChat.tsx | 8 ++-- .../browser/react/src/ctrl-k-tsx/index.tsx | 8 ++-- .../void/browser/react/src/diff/index.tsx | 8 ++-- .../browser/react/src/markdown/BlockCode.tsx | 8 ++-- .../react/src/markdown/ChatMarkdownRender.tsx | 8 ++-- .../react/src/sidebar-tsx/ErrorBoundary.tsx | 8 ++-- .../react/src/sidebar-tsx/ErrorDisplay.tsx | 8 ++-- .../browser/react/src/sidebar-tsx/Sidebar.tsx | 8 ++-- .../react/src/sidebar-tsx/SidebarChat.tsx | 8 ++-- .../src/sidebar-tsx/SidebarThreadSelector.tsx | 8 ++-- .../browser/react/src/sidebar-tsx/index.tsx | 8 ++-- .../contrib/void/browser/react/src/styles.css | 8 ++-- .../void/browser/react/src/util/inputs.tsx | 8 ++-- .../react/src/util/mountFnGenerator.tsx | 8 ++-- .../void/browser/react/src/util/services.tsx | 8 ++-- .../src/void-settings-tsx/ModelDropdown.tsx | 8 ++-- .../react/src/void-settings-tsx/Settings.tsx | 10 ++--- .../react/src/void-settings-tsx/index.tsx | 8 ++-- .../void/browser/react/tailwind.config.js | 8 ++-- .../contrib/void/browser/react/tsconfig.json | 8 ++-- .../contrib/void/browser/react/tsup.config.js | 8 ++-- .../contrib/void/browser/sidebarActions.ts | 8 ++-- .../contrib/void/browser/sidebarPane.ts | 8 ++-- .../void/browser/sidebarStateService.ts | 8 ++-- .../void/browser/threadHistoryService.ts | 8 ++-- .../contrib/void/browser/void.contribution.ts | 8 ++-- .../contrib/void/browser/voidSettingsPane.ts | 8 ++-- 60 files changed, 234 insertions(+), 269 deletions(-) rename LICENSE => LICENSE-VS-Code.txt (80%) delete mode 100644 SECURITY.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f41b0348..9dece303 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ There are a few ways to contribute: - 💡 Make suggestions in our [Discord](https://discord.gg/RSNjgaugJs). - ⭐️ If you want to build your AI tool into Void, feel free to get in touch! It's very easy to extend Void, and the UX you create will be much more natural than a VSCode Extension. -Most of Void's code lives in `src/vs/workbench/contrib/void/browser/` and `src/vs/platform/void/`. +Void's code lives in `src/vs/workbench/contrib/void/browser/` and `src/vs/platform/void/`. @@ -55,7 +55,7 @@ To build Void, open `void/` inside VSCode. Then open your terminal and run: - Run `./scripts/code.sh` (Mac/Linux). - Run `./scripts/code.bat` (Windows). - This command should open up the built IDE. You can always press Ctrl+R (Cmd+R) inside the new window to see changes without re-building, or press or Ctrl+Shift+P in the new window and run "Reload Window". - - If you would like to reset Void back to its default settings, you can run `./scripts/code.sh --user-data-dir ./.tmp/user-data --extensions-dir ./.tmp/extensions` (mac). This will save all data and extensions to the `.tmp` folder. You can delete this folder to reset your settings. + - If you are actively developing Void, we strongly recommend adding the flags `--user-data-dir ./.tmp/user-data --extensions-dir ./.tmp/extensions` to the above run command (just append them at the end of the string). This will save all data and extensions to the `.tmp` folder. You can delete this folder to reset any IDE changes you made when testing. #### Building Void from Terminal diff --git a/LICENSE b/LICENSE-VS-Code.txt similarity index 80% rename from LICENSE rename to LICENSE-VS-Code.txt index 432d2c90..69f18d78 100644 --- a/LICENSE +++ b/LICENSE-VS-Code.txt @@ -1,6 +1,11 @@ +Void is a fork of VS Code, which is licensed under the MIT License (below). +Void's additions and modifications are also licensed under the MIT License (see LICENSE.txt). + +-------------------- + MIT License -Copyright (c) 2025 Glass Devtools, Inc. +Copyright (c) 2015 - present Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/LICENSE.txt b/LICENSE.txt index 0ac28ee2..432d2c90 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2015 - present Microsoft Corporation +Copyright (c) 2025 Glass Devtools, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index c0a6ae93..5670845f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ To build and run Void, follow the steps in [`CONTRIBUTING.md`](https://github.co ## Reference -Void is a fork of the of [vscode](https://github.com/microsoft/vscode) repository. For some useful links on VSCode, see [`VOID_USEFUL_LINKS.md`](https://github.com/voideditor/void/blob/main/VOID_USEFUL_LINKS.md). +Void is a fork of the of [vscode](https://github.com/microsoft/vscode) repository. + +For some useful links on VSCode, see [`VOID_USEFUL_LINKS.md`](https://github.com/voideditor/void/blob/main/VOID_USEFUL_LINKS.md). ## Support -Feel free to reach out in our [Discord](https://discord.gg/RSNjgaugJs) or contact us via email. +Feel free to reach out in our [Discord](https://discord.gg/RSNjgaugJs) server or contact us via email. diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index 82db58aa..00000000 --- a/SECURITY.md +++ /dev/null @@ -1,41 +0,0 @@ - - -## Security - -Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin). - -If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below. - -## Reporting Security Issues - -**Please do not report security vulnerabilities through public GitHub issues.** - -Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report). - -If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp). - -You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). - -Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: - - * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) - * Full paths of source file(s) related to the manifestation of the issue - * The location of the affected source code (tag/branch/commit or direct URL) - * Any special configuration required to reproduce the issue - * Step-by-step instructions to reproduce the issue - * Proof-of-concept or exploit code (if possible) - * Impact of the issue, including how an attacker might exploit the issue - -This information will help us triage your report more quickly. - -If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs. - -## Preferred Languages - -We prefer all communications to be in English. - -## Policy - -Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd). - - diff --git a/src/vs/platform/void/browser/void.contribution.ts b/src/vs/platform/void/browser/void.contribution.ts index 08b78651..90f09fec 100644 --- a/src/vs/platform/void/browser/void.contribution.ts +++ b/src/vs/platform/void/browser/void.contribution.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ // ---------- common ---------- diff --git a/src/vs/platform/void/common/llmMessageService.ts b/src/vs/platform/void/common/llmMessageService.ts index 606f4487..c33c90cd 100644 --- a/src/vs/platform/void/common/llmMessageService.ts +++ b/src/vs/platform/void/common/llmMessageService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root 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'; diff --git a/src/vs/platform/void/common/llmMessageTypes.ts b/src/vs/platform/void/common/llmMessageTypes.ts index c1e46671..7544630b 100644 --- a/src/vs/platform/void/common/llmMessageTypes.ts +++ b/src/vs/platform/void/common/llmMessageTypes.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { IRange } from '../../../editor/common/core/range' import { ProviderName, SettingsOfProvider } from './voidSettingsTypes.js' diff --git a/src/vs/platform/void/common/metricsService.ts b/src/vs/platform/void/common/metricsService.ts index 039697a0..c922db56 100644 --- a/src/vs/platform/void/common/metricsService.ts +++ b/src/vs/platform/void/common/metricsService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { createDecorator } from '../../instantiation/common/instantiation.js'; import { ProxyChannel } from '../../../base/parts/ipc/common/ipc.js'; diff --git a/src/vs/platform/void/common/refreshModelService.ts b/src/vs/platform/void/common/refreshModelService.ts index 8804013c..8c170e8d 100644 --- a/src/vs/platform/void/common/refreshModelService.ts +++ b/src/vs/platform/void/common/refreshModelService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { createDecorator } from '../../instantiation/common/instantiation.js'; import { InstantiationType, registerSingleton } from '../../instantiation/common/extensions.js'; diff --git a/src/vs/platform/void/common/voidSettingsService.ts b/src/vs/platform/void/common/voidSettingsService.ts index 895d3f6b..fa92c587 100644 --- a/src/vs/platform/void/common/voidSettingsService.ts +++ b/src/vs/platform/void/common/voidSettingsService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Emitter, Event } from '../../../base/common/event.js'; import { Disposable } from '../../../base/common/lifecycle.js'; diff --git a/src/vs/platform/void/common/voidSettingsTypes.ts b/src/vs/platform/void/common/voidSettingsTypes.ts index 64c74477..6814c8e7 100644 --- a/src/vs/platform/void/common/voidSettingsTypes.ts +++ b/src/vs/platform/void/common/voidSettingsTypes.ts @@ -1,8 +1,8 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ diff --git a/src/vs/platform/void/electron-main/llmMessage/anthropic.ts b/src/vs/platform/void/electron-main/llmMessage/anthropic.ts index 19a4ddef..7ae164c0 100644 --- a/src/vs/platform/void/electron-main/llmMessage/anthropic.ts +++ b/src/vs/platform/void/electron-main/llmMessage/anthropic.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import Anthropic from '@anthropic-ai/sdk'; import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js'; diff --git a/src/vs/platform/void/electron-main/llmMessage/gemini.ts b/src/vs/platform/void/electron-main/llmMessage/gemini.ts index 59e0c1c3..2eda09cb 100644 --- a/src/vs/platform/void/electron-main/llmMessage/gemini.ts +++ b/src/vs/platform/void/electron-main/llmMessage/gemini.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Content, GoogleGenerativeAI, GoogleGenerativeAIFetchError } from '@google/generative-ai'; import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js'; diff --git a/src/vs/platform/void/electron-main/llmMessage/greptile.ts b/src/vs/platform/void/electron-main/llmMessage/greptile.ts index 21ac3f71..f3c27632 100644 --- a/src/vs/platform/void/electron-main/llmMessage/greptile.ts +++ b/src/vs/platform/void/electron-main/llmMessage/greptile.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ // // Greptile // // https://docs.greptile.com/api-reference/query diff --git a/src/vs/platform/void/electron-main/llmMessage/groq.ts b/src/vs/platform/void/electron-main/llmMessage/groq.ts index 1b5918a7..6a62e643 100644 --- a/src/vs/platform/void/electron-main/llmMessage/groq.ts +++ b/src/vs/platform/void/electron-main/llmMessage/groq.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import Groq from 'groq-sdk'; import { _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js'; diff --git a/src/vs/platform/void/electron-main/llmMessage/ollama.ts b/src/vs/platform/void/electron-main/llmMessage/ollama.ts index 48b5fd25..d48c0dca 100644 --- a/src/vs/platform/void/electron-main/llmMessage/ollama.ts +++ b/src/vs/platform/void/electron-main/llmMessage/ollama.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Ollama } from 'ollama'; import { _InternalModelListFnType, _InternalSendLLMMessageFnType, OllamaModelResponse } from '../../common/llmMessageTypes.js'; diff --git a/src/vs/platform/void/electron-main/llmMessage/openai.ts b/src/vs/platform/void/electron-main/llmMessage/openai.ts index fa6ac5f3..90f9bf97 100644 --- a/src/vs/platform/void/electron-main/llmMessage/openai.ts +++ b/src/vs/platform/void/electron-main/llmMessage/openai.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import OpenAI from 'openai'; import { _InternalModelListFnType, _InternalSendLLMMessageFnType } from '../../common/llmMessageTypes.js'; diff --git a/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts b/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts index 9e106f97..918271e6 100644 --- a/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts +++ b/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { LLMMMessageParams, OnText, OnFinalMessage, OnError } from '../../common/llmMessageTypes.js'; import { IMetricsService } from '../../common/metricsService.js'; diff --git a/src/vs/platform/void/electron-main/llmMessageChannel.ts b/src/vs/platform/void/electron-main/llmMessageChannel.ts index bf08934e..0ad52534 100644 --- a/src/vs/platform/void/electron-main/llmMessageChannel.ts +++ b/src/vs/platform/void/electron-main/llmMessageChannel.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root 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... diff --git a/src/vs/platform/void/electron-main/metricsMainService.ts b/src/vs/platform/void/electron-main/metricsMainService.ts index aaaf8119..f638d6cc 100644 --- a/src/vs/platform/void/electron-main/metricsMainService.ts +++ b/src/vs/platform/void/electron-main/metricsMainService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Disposable } from '../../../base/common/lifecycle.js'; import { ITelemetryService } from '../../telemetry/common/telemetry.js'; diff --git a/src/vs/workbench/contrib/void/browser/autocompleteService.ts b/src/vs/workbench/contrib/void/browser/autocompleteService.ts index 3bd4d955..e3defc0b 100644 --- a/src/vs/workbench/contrib/void/browser/autocompleteService.ts +++ b/src/vs/workbench/contrib/void/browser/autocompleteService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Disposable } from '../../../../base/common/lifecycle.js'; import { ILanguageFeaturesService } from '../../../../editor/common/services/languageFeatures.js'; diff --git a/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts b/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts index 4243303d..bcaf12d7 100644 --- a/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts +++ b/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Disposable } from '../../../../../base/common/lifecycle.js'; import { URI } from '../../../../../base/common/uri.js'; diff --git a/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts b/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts index 048ebbfc..90003524 100644 --- a/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts +++ b/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ export const extractCodeFromResult = (result: string) => { // Match either: diff --git a/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts b/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts index 8586a3ca..f89e04ed 100644 --- a/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts +++ b/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { diffLines } from '../react/out/diff/index.js' diff --git a/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts b/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts index fe520e42..b17f9bbf 100644 --- a/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts +++ b/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { isMacintosh } from '../../../../../base/common/platform.js'; diff --git a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts index 5ccb08ec..013c6bb7 100644 --- a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts +++ b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Disposable } from '../../../../base/common/lifecycle.js'; import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js'; @@ -822,7 +822,6 @@ class InlineDiffsService extends Disposable implements IInlineDiffsService { const lastDiff = computedDiffs.pop() if (!lastDiff) { - console.log('!lastDiff') // if the writing is identical so far, display no changes originalCodeStartLine = 1 newCodeEndLine = 1 diff --git a/src/vs/workbench/contrib/void/browser/media/void.css b/src/vs/workbench/contrib/void/browser/media/void.css index c6358adc..225925ad 100644 --- a/src/vs/workbench/contrib/void/browser/media/void.css +++ b/src/vs/workbench/contrib/void/browser/media/void.css @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ .monaco-editor .void-sweepIdxBG { background-color: var(--vscode-void-sweepIdxBG); diff --git a/src/vs/workbench/contrib/void/browser/prompt/prompts.ts b/src/vs/workbench/contrib/void/browser/prompt/prompts.ts index 8570fb1b..cb278cc1 100644 --- a/src/vs/workbench/contrib/void/browser/prompt/prompts.ts +++ b/src/vs/workbench/contrib/void/browser/prompt/prompts.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { CodeSelection } from '../threadHistoryService.js'; diff --git a/src/vs/workbench/contrib/void/browser/quickEditActions.ts b/src/vs/workbench/contrib/void/browser/quickEditActions.ts index 39461b18..754b939f 100644 --- a/src/vs/workbench/contrib/void/browser/quickEditActions.ts +++ b/src/vs/workbench/contrib/void/browser/quickEditActions.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { KeyCode, KeyMod } from '../../../../base/common/keyCodes.js'; import { Action2, registerAction2 } from '../../../../platform/actions/common/actions.js'; diff --git a/src/vs/workbench/contrib/void/browser/quickEditStateService.ts b/src/vs/workbench/contrib/void/browser/quickEditStateService.ts index 4b4265a5..227e7e40 100644 --- a/src/vs/workbench/contrib/void/browser/quickEditStateService.ts +++ b/src/vs/workbench/contrib/void/browser/quickEditStateService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Emitter, Event } from '../../../../base/common/event.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/build.js b/src/vs/workbench/contrib/void/browser/react/build.js index 56ace25e..0bf84bfc 100755 --- a/src/vs/workbench/contrib/void/browser/react/build.js +++ b/src/vs/workbench/contrib/void/browser/react/build.js @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { spawn, execSync } from 'child_process'; // Added lines below diff --git a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlK.tsx b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlK.tsx index f10557fe..f575e6cf 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlK.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlK.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { useEffect, useState } from 'react' import { useIsDark, useSidebarState } from '../util/services.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlKChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlKChat.tsx index 6f4ff7c0..8724312a 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlKChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/CtrlKChat.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { FormEvent, useCallback, useEffect, useRef, useState } from 'react'; import { useSettingsState, useSidebarState, useThreadsState, useQuickEditState, useAccessor } from '../util/services.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/index.tsx b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/index.tsx index 4d59dbca..1b526325 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/index.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/ctrl-k-tsx/index.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { mountFnGenerator } from '../util/mountFnGenerator.js' import { CtrlK } from './CtrlK.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/diff/index.tsx b/src/vs/workbench/contrib/void/browser/react/src/diff/index.tsx index 18584d7b..b308f819 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/diff/index.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/diff/index.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { diffLines, Change } from 'diff'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/markdown/BlockCode.tsx b/src/vs/workbench/contrib/void/browser/react/src/markdown/BlockCode.tsx index e64c43c3..50237589 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/markdown/BlockCode.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/markdown/BlockCode.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { ReactNode } from "react" import { VoidCodeEditor } from '../util/inputs.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx b/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx index ef5221f7..54f78df3 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/markdown/ChatMarkdownRender.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { JSX, useCallback, useEffect, useState } from 'react' import { marked, MarkedToken, Token } from 'marked' diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorBoundary.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorBoundary.tsx index a095f6fd..b1985de9 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorBoundary.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorBoundary.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { Component, ErrorInfo, ReactNode } from 'react'; import { ErrorDisplay } from './ErrorDisplay.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorDisplay.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorDisplay.tsx index 714fbf26..6af510cd 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorDisplay.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/ErrorDisplay.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useState } from 'react'; import { AlertCircle, ChevronDown, ChevronUp, X } from 'lucide-react'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/Sidebar.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/Sidebar.tsx index 92ecf82e..61a85bd4 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/Sidebar.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/Sidebar.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useEffect, useState } from 'react' import { mountFnGenerator } from '../util/mountFnGenerator.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index 0ac769f3..e7b8fe88 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { ButtonHTMLAttributes, FormEvent, FormHTMLAttributes, Fragment, useCallback, useEffect, useRef, useState } from 'react'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx index e6adb5f2..f49d8264 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarThreadSelector.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React from "react"; import { useAccessor, useThreadsState } from '../util/services.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/index.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/index.tsx index 90a678af..b3737b65 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/index.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/index.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { mountFnGenerator } from '../util/mountFnGenerator.js' import { Sidebar } from './Sidebar.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/styles.css b/src/vs/workbench/contrib/void/browser/react/src/styles.css index 31742153..67eb27c1 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/styles.css +++ b/src/vs/workbench/contrib/void/browser/react/src/styles.css @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ @tailwind base; @tailwind components; diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index 402ab1a8..4b99253b 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useCallback, useEffect, useRef } from 'react'; import { IInputBoxStyles, InputBox } from '../../../../../../../base/browser/ui/inputbox/inputBox.js'; diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/mountFnGenerator.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/mountFnGenerator.tsx index 78df4a21..23db7814 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/mountFnGenerator.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/mountFnGenerator.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useEffect, useState } from 'react'; import * as ReactDOM from 'react-dom/client' diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/services.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/services.tsx index 88eb4cef..fb6b8632 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/services.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/services.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useState, useEffect } from 'react' import { ThreadsState } from '../../../threadHistoryService.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/ModelDropdown.tsx b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/ModelDropdown.tsx index 65d107ce..a72c6747 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/ModelDropdown.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/ModelDropdown.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { FeatureName, featureNames, ModelSelection, modelSelectionsEqual, ProviderName, providerNames } from '../../../../../../../platform/void/common/voidSettingsTypes.js' diff --git a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx index a4835e99..5f720994 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { InputBox } from '../../../../../../../base/browser/ui/inputbox/inputBox.js' @@ -420,7 +420,7 @@ export const Settings = () => {

Local Providers

{/*

{`Keep your data private by hosting AI locally on your computer.`}

*/} {/*

{`Instructions:`}

*/} -

{`Void can access any model that you host locally. By default, we automatically detect your local models.`}

+

{`Void can access any model that you host locally. We automatically detect your local models by default.`}

diff --git a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/index.tsx b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/index.tsx index 8e4a0fa5..f61b903a 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/index.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/index.tsx @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { mountFnGenerator } from '../util/mountFnGenerator.js' import { Settings } from './Settings.js' diff --git a/src/vs/workbench/contrib/void/browser/react/tailwind.config.js b/src/vs/workbench/contrib/void/browser/react/tailwind.config.js index d310f0e8..2a2aef36 100644 --- a/src/vs/workbench/contrib/void/browser/react/tailwind.config.js +++ b/src/vs/workbench/contrib/void/browser/react/tailwind.config.js @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ /** @type {import('tailwindcss').Config} */ module.exports = { diff --git a/src/vs/workbench/contrib/void/browser/react/tsconfig.json b/src/vs/workbench/contrib/void/browser/react/tsconfig.json index 26ca0a77..4f1de42a 100644 --- a/src/vs/workbench/contrib/void/browser/react/tsconfig.json +++ b/src/vs/workbench/contrib/void/browser/react/tsconfig.json @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ { "compilerOptions": { diff --git a/src/vs/workbench/contrib/void/browser/react/tsup.config.js b/src/vs/workbench/contrib/void/browser/react/tsup.config.js index 2a7547a0..221fa0d7 100644 --- a/src/vs/workbench/contrib/void/browser/react/tsup.config.js +++ b/src/vs/workbench/contrib/void/browser/react/tsup.config.js @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { defineConfig } from 'tsup' diff --git a/src/vs/workbench/contrib/void/browser/sidebarActions.ts b/src/vs/workbench/contrib/void/browser/sidebarActions.ts index be76d2aa..fa8f72a3 100644 --- a/src/vs/workbench/contrib/void/browser/sidebarActions.ts +++ b/src/vs/workbench/contrib/void/browser/sidebarActions.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { KeyCode, KeyMod } from '../../../../base/common/keyCodes.js'; diff --git a/src/vs/workbench/contrib/void/browser/sidebarPane.ts b/src/vs/workbench/contrib/void/browser/sidebarPane.ts index e6da184f..146e713b 100644 --- a/src/vs/workbench/contrib/void/browser/sidebarPane.ts +++ b/src/vs/workbench/contrib/void/browser/sidebarPane.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Registry } from '../../../../platform/registry/common/platform.js'; import { diff --git a/src/vs/workbench/contrib/void/browser/sidebarStateService.ts b/src/vs/workbench/contrib/void/browser/sidebarStateService.ts index b79dd2ab..94935f8f 100644 --- a/src/vs/workbench/contrib/void/browser/sidebarStateService.ts +++ b/src/vs/workbench/contrib/void/browser/sidebarStateService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Emitter, Event } from '../../../../base/common/event.js'; import { Disposable } from '../../../../base/common/lifecycle.js'; diff --git a/src/vs/workbench/contrib/void/browser/threadHistoryService.ts b/src/vs/workbench/contrib/void/browser/threadHistoryService.ts index 9d704c65..47c8c836 100644 --- a/src/vs/workbench/contrib/void/browser/threadHistoryService.ts +++ b/src/vs/workbench/contrib/void/browser/threadHistoryService.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { Disposable } from '../../../../base/common/lifecycle.js'; import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js'; diff --git a/src/vs/workbench/contrib/void/browser/void.contribution.ts b/src/vs/workbench/contrib/void/browser/void.contribution.ts index c8dd051a..6e1615ec 100644 --- a/src/vs/workbench/contrib/void/browser/void.contribution.ts +++ b/src/vs/workbench/contrib/void/browser/void.contribution.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ // register inline diffs diff --git a/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts b/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts index 51803ce2..a18c4a15 100644 --- a/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts +++ b/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts @@ -1,7 +1,7 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Glass Devtools, Inc. All rights reserved. - * Void Editor additions licensed under the AGPL 3.0 License. - *--------------------------------------------------------------------------------------------*/ +/*------------------------------------------------------------------------------------------ + * Copyright (c) 2025 Glass Devtools, Inc. All rights reserved. + * Licensed under the MIT License. See LICENSE.txt in the project root for more information. + *-----------------------------------------------------------------------------------------*/ import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js'; import { EditorInput } from '../../../common/editor/editorInput.js';