From d8e9b508906995ff2b1c4435a75edd193912c791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Commaret?= Date: Sat, 7 Dec 2024 14:49:28 +0100 Subject: [PATCH 01/21] Advanced builder section added --- CONTRIBUTING.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6f0214ba..51e98ed2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -150,3 +150,31 @@ We keep track of all the files we've changed with Void so it's easy to rebase: ## References For some useful links we've compiled on VSCode, see [`VOID_USEFUL_LINKS.md`](https://github.com/voideditor/void/blob/main/VOID_USEFUL_LINKS.md). + + +### Advanced Builder shortcuts (if you are here, you RTFM till the end so you deserve it 😉) +1. Install dependencies and build the react components +`npm install && cd ./src/vs/workbench/contrib/void/browser/react/ && node build.js && cd ../../../../../../..` + +2. Develop the things you want then : +`npm run watch` +Wait for the watch task to be done +While the watch task is running open a new terminal then build + +NOTE : It's even possible to combine the 1. and 2. commands : +`npm install && cd ./src/vs/workbench/contrib/void/browser/react/ && node build.js && cd ../../../../../../.. && npm run watch` +But you allready knew it 🤓. This is just useless because the watch task will need to be done again if you are not recloning the repo and building the react components. + +3. Build +### On Mac +`./scripts/code.sh` +Using ⌘ + ⇥ (tab) to get focus to the editor window or by clic on it +⌘ + R is reloading the window to see changes + +### On Windows +`./scripts/code.bat` +- Press Ctrl+Shift+P and run "Reload Window" inside the new window to see changes + +### On Linux +`./scripts/code.sh` +Press Ctrl+Shift+P and run "Reload Window" inside the new window to see changes From 9543bf8eb33c8cb2c916bbc696504532f15b520b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Commaret?= Date: Sat, 28 Dec 2024 22:19:16 +0100 Subject: [PATCH 02/21] Fix : Ajv missing deps at bundle --- package-lock.json | 224 +++++++++++++++++++++++++++++++++------------- package.json | 1 + 2 files changed, 163 insertions(+), 62 deletions(-) diff --git a/package-lock.json b/package-lock.json index 307f13cf..b362a33d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,6 +39,7 @@ "@xterm/addon-webgl": "^0.19.0-beta.64", "@xterm/headless": "^5.6.0-beta.64", "@xterm/xterm": "^5.6.0-beta.64", + "ajv": "^8.17.1", "diff": "^7.0.0", "groq-sdk": "^0.9.0", "http-proxy-agent": "^7.0.0", @@ -1503,6 +1504,30 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/@eslint/js": { "version": "8.36.0", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz", @@ -4480,15 +4505,15 @@ } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -4512,28 +4537,6 @@ } } }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, "node_modules/ajv-keywords": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", @@ -7815,6 +7818,23 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -7827,6 +7847,13 @@ "node": ">=10.13.0" } }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/esniff": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", @@ -8202,8 +8229,7 @@ "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-fifo": { "version": "1.3.2", @@ -8231,7 +8257,8 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", @@ -8242,8 +8269,7 @@ "node_modules/fast-uri": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", - "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==", - "dev": true + "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==" }, "node_modules/fast-xml-parser": { "version": "4.5.1", @@ -8372,6 +8398,23 @@ "webpack": "^4.0.0 || ^5.0.0" } }, + "node_modules/file-loader/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/file-loader/node_modules/ajv-keywords": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", @@ -8381,6 +8424,13 @@ "ajv": "^6.9.1" } }, + "node_modules/file-loader/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/file-loader/node_modules/schema-utils": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", @@ -10446,6 +10496,23 @@ "node": ">=0.4.0" } }, + "node_modules/gulp-eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/gulp-eslint/node_modules/ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", @@ -10719,6 +10786,13 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/gulp-eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/gulp-eslint/node_modules/levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -13840,10 +13914,10 @@ "dev": true }, "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -18671,7 +18745,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -19157,28 +19230,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/schema-utils/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/schema-utils/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, "node_modules/scope-tailwind": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/scope-tailwind/-/scope-tailwind-1.0.5.tgz", @@ -20705,6 +20756,23 @@ "node": ">=6.0.0" } }, + "node_modules/table/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/table/node_modules/ansi-regex": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", @@ -20729,6 +20797,13 @@ "node": ">=4" } }, + "node_modules/table/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/table/node_modules/string-width": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", @@ -22149,6 +22224,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -22721,6 +22797,23 @@ "node": ">= 0.10" } }, + "node_modules/webpack/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/webpack/node_modules/ajv-keywords": { "version": "3.5.2", "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", @@ -22752,6 +22845,13 @@ "node": ">=4.0" } }, + "node_modules/webpack/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, "node_modules/webpack/node_modules/schema-utils": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", diff --git a/package.json b/package.json index ab294d7b..d3d97a89 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,7 @@ "@xterm/addon-webgl": "^0.19.0-beta.64", "@xterm/headless": "^5.6.0-beta.64", "@xterm/xterm": "^5.6.0-beta.64", + "ajv": "^8.17.1", "diff": "^7.0.0", "groq-sdk": "^0.9.0", "http-proxy-agent": "^7.0.0", From 667dc8bd7ef8dfe66de921058f9875cbb4886667 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 2 Jan 2025 16:31:29 -0800 Subject: [PATCH 03/21] merge --- CONTRIBUTING.md | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d55f46d7..a84e550f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -140,31 +140,3 @@ We keep track of all the files we've changed with Void so it's easy to rebase: ## References For some useful links we've compiled on VSCode, see [`VOID_USEFUL_LINKS.md`](https://github.com/voideditor/void/blob/main/VOID_USEFUL_LINKS.md). - - -### Advanced Builder shortcuts (if you are here, you RTFM till the end so you deserve it 😉) -1. Install dependencies and build the react components -`npm install && cd ./src/vs/workbench/contrib/void/browser/react/ && node build.js && cd ../../../../../../..` - -2. Develop the things you want then : -`npm run watch` -Wait for the watch task to be done -While the watch task is running open a new terminal then build - -NOTE : It's even possible to combine the 1. and 2. commands : -`npm install && cd ./src/vs/workbench/contrib/void/browser/react/ && node build.js && cd ../../../../../../.. && npm run watch` -But you allready knew it 🤓. This is just useless because the watch task will need to be done again if you are not recloning the repo and building the react components. - -3. Build -### On Mac -`./scripts/code.sh` -Using ⌘ + ⇥ (tab) to get focus to the editor window or by clic on it -⌘ + R is reloading the window to see changes - -### On Windows -`./scripts/code.bat` -- Press Ctrl+Shift+P and run "Reload Window" inside the new window to see changes - -### On Linux -`./scripts/code.sh` -Press Ctrl+Shift+P and run "Reload Window" inside the new window to see changes From 825c40bfffa936410a5528e1186904bb99246d0a Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 2 Jan 2025 22:40:43 -0800 Subject: [PATCH 04/21] license --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..432d2c90 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. 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 05/21] 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'; From eeacb2d3c98c887deb4766240a016ca93234c5a5 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 2 Jan 2025 23:00:59 -0800 Subject: [PATCH 06/21] separate licenses + header --- 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'; From f688e1ffae5a83b9aa00e35128db120fd59ff7a9 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 2 Jan 2025 23:06:06 -0800 Subject: [PATCH 07/21] Update LICENSE-VS-Code.txt --- LICENSE-VS-Code.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE-VS-Code.txt b/LICENSE-VS-Code.txt index 69f18d78..6c39f17f 100644 --- a/LICENSE-VS-Code.txt +++ b/LICENSE-VS-Code.txt @@ -1,5 +1,5 @@ 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). +Void's additions and modifications are licensed under the MIT License (see LICENSE.txt). -------------------- From 23d1d4169ae486a8dc2272cefea9f0c41a9ca2e6 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 2 Jan 2025 23:20:36 -0800 Subject: [PATCH 08/21] update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9dece303..9c770973 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 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. + - 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 From 4a993a716bd55796be83d2245fedd3dd6a6bbaf6 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 2 Jan 2025 23:34:37 -0800 Subject: [PATCH 09/21] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 5670845f..0cbc373e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ 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). ## Support From 68722ee5c3d0b6c1f7ff3d358e5fff951eefb348 Mon Sep 17 00:00:00 2001 From: Praveen Naik Date: Fri, 3 Jan 2025 21:04:54 +0530 Subject: [PATCH 10/21] Update CONTRIBUTING.md Added details about Bundling output. Most of us open only the repo without workspace to save memory. It's easy to miss out on where the bundle is located. Added clarity --- CONTRIBUTING.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9c770973..1931c1e8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,7 +83,16 @@ Alternatively, if you want to build Void from the terminal, instead of pressing ## Bundling -We don't usually recommend bundling. Instead, you should probably just build. If you're sure you want to bundle Void into an executable app, make sure you've built first, then run one of the following commands. This will create a folder named `VSCode-darwin-arm64` (or similar) in the repo's parent's directory. Be patient - compiling can take ~25 minutes. +We don't usually recommend bundling. Instead, you should probably just build. If you're sure you want to bundle Void into an executable app, make sure you've built first, then run one of the following commands. This will create a folder named `VSCode-darwin-arm64` (or similar) in the repo's parent's directory(Refer the Folder structure below). Be patient - compiling can take ~25 minutes. + +```bash +workspace/ +├── void/ # Your Void Fork +├── VSCode-linux-x64/ # Build folder generated outside of void for Linux +└── VSCode-darwin-arm64/ # Build folder generated outside of void for MacOs + +``` + ### Mac - `npm run gulp vscode-darwin-arm64` - most common (Apple Silicon) From fae03c30607d825d1fa179544a358a3e07cb8b02 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:44:12 -0800 Subject: [PATCH 11/21] Update CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1931c1e8..488ed5c4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,13 +83,13 @@ Alternatively, if you want to build Void from the terminal, instead of pressing ## Bundling -We don't usually recommend bundling. Instead, you should probably just build. If you're sure you want to bundle Void into an executable app, make sure you've built first, then run one of the following commands. This will create a folder named `VSCode-darwin-arm64` (or similar) in the repo's parent's directory(Refer the Folder structure below). Be patient - compiling can take ~25 minutes. +We don't usually recommend bundling. Instead, you should probably just build. If you're sure you want to bundle Void into an executable app, make sure you've built first, then run one of the following commands. This will create a folder named `VSCode-darwin-arm64` or similar outside of the void/ repo (see below). Be patient - compiling can take ~25 minutes. ```bash workspace/ ├── void/ # Your Void Fork ├── VSCode-linux-x64/ # Build folder generated outside of void for Linux -└── VSCode-darwin-arm64/ # Build folder generated outside of void for MacOs +└── VSCode-darwin-arm64/ # Build folder generated outside of void for Mac ``` From fb48c4e67e973944060fd8ce1e6efad632411ae7 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:15:55 -0800 Subject: [PATCH 12/21] Update VOID_USEFUL_LINKS.md --- VOID_USEFUL_LINKS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VOID_USEFUL_LINKS.md b/VOID_USEFUL_LINKS.md index b3ba5a30..abf9a6e4 100644 --- a/VOID_USEFUL_LINKS.md +++ b/VOID_USEFUL_LINKS.md @@ -32,6 +32,6 @@ Void is no longer an extension, so these links are no longer required, but they - [The Full VSCode Extension API](https://code.visualstudio.com/api/references/vscode-api) - look on the right side for organization. The [bottom](https://code.visualstudio.com/api/references/vscode-api#api-patterns) of the page is easy to miss but is useful - cancellation tokens, events, disposables. -- [Activation events](https://code.visualstudio.com/api/references/activation-events) you can define in `package.json` (not the most useful) +- [Activation events](https://code.visualstudio.com/api/references/activation-events) you can define in `package.json` (not the most useful). From dd204978e5c45cb7b821823f7c8f4fef16036fbc Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Fri, 3 Jan 2025 13:31:51 -0800 Subject: [PATCH 13/21] update lock --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4a54fcf0..1c1b3eb3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "void-dev", - "version": "1.0.0", + "version": "1.94.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "void-dev", - "version": "1.0.0", + "version": "1.94.0", "hasInstallScript": true, "license": "MIT", "dependencies": { From cc177b9cd4b0713046a9fb55ec8d95f3f50e2085 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Fri, 3 Jan 2025 14:14:37 -0800 Subject: [PATCH 14/21] update package --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d0677769..443e9329 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,10 @@ "productName": "Void", "version": "1.94.0", "distro": "this is a commit number if we want to publish on npm", + "homepage": "https://voideditor.com", "author": { - "name": "Glass Devtools, Inc." + "name": "Glass Devtools, Inc.", + "email": "andrew@voideditor.com" }, "license": "MIT", "main": "./out/main", From b677d3dfc1f9f29e76c4244c7f3e76b91c8044d5 Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:18:18 -0800 Subject: [PATCH 15/21] Update CONTRIBUTING.md --- CONTRIBUTING.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 488ed5c4..f911ae3d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,14 +85,6 @@ Alternatively, if you want to build Void from the terminal, instead of pressing We don't usually recommend bundling. Instead, you should probably just build. If you're sure you want to bundle Void into an executable app, make sure you've built first, then run one of the following commands. This will create a folder named `VSCode-darwin-arm64` or similar outside of the void/ repo (see below). Be patient - compiling can take ~25 minutes. -```bash -workspace/ -├── void/ # Your Void Fork -├── VSCode-linux-x64/ # Build folder generated outside of void for Linux -└── VSCode-darwin-arm64/ # Build folder generated outside of void for Mac - -``` - ### Mac - `npm run gulp vscode-darwin-arm64` - most common (Apple Silicon) @@ -108,6 +100,16 @@ workspace/ - `npm run gulp vscode-linux-ia32` +### Output + +This will generate a folder outside of `void/`: +```bash +workspace/ +├── void/ # Your Void fork +└── VSCode-darwin-arm64/ # Generated output +``` + + # Guidelines From 85c2c80db071b183592d5463d33ac97c5e1c39eb Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Sat, 4 Jan 2025 23:55:52 -0800 Subject: [PATCH 16/21] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0cbc373e..a4fbc384 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,7 @@ 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) server or contact us via email. From 5083b8e971e48ae1001e5c8ceee7b010bcea3640 Mon Sep 17 00:00:00 2001 From: Raz Luvaton <16746759+rluvaton@users.noreply.github.com> Date: Mon, 6 Jan 2025 04:00:40 +0200 Subject: [PATCH 17/21] fix react build.js to properly find the base folder (#203) --- .../contrib/void/browser/react/build.js | 61 ++++++++++++++++--- 1 file changed, 51 insertions(+), 10 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/build.js b/src/vs/workbench/contrib/void/browser/react/build.js index 0bf84bfc..4360e859 100755 --- a/src/vs/workbench/contrib/void/browser/react/build.js +++ b/src/vs/workbench/contrib/void/browser/react/build.js @@ -11,23 +11,64 @@ import { fileURLToPath } from 'url'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); -const __void_name = 'void' + +function doesPathExist(filePath) { + try { + const stats = fs.statSync(filePath); + + return stats.isFile(); + } catch (err) { + if (err.code === 'ENOENT') { + return false; + } + throw err; + } +} + +/* + +This function finds `globalDesiredPath` given `localDesiredPath` and `currentPath` + +Diagram: + +...basePath/ +└── void/ + ├── ...currentPath/ (defined globally) + └── ...localDesiredPath/ (defined locally) + +*/ +function findDesiredPathFromLocalPath(localDesiredPath, currentPath) { + + // walk upwards until currentPath + localDesiredPath exists + while (!doesPathExist(path.join(currentPath, localDesiredPath))) { + const parentDir = path.dirname(currentPath); + + if (parentDir === currentPath) { + return undefined; + } + + currentPath = parentDir; + } + + // return the `globallyDesiredPath` + const globalDesiredPath = path.join(currentPath, localDesiredPath) + return globalDesiredPath; +} // hack to refresh styles automatically function saveStylesFile() { setTimeout(() => { try { - // Find "void" in __dirname and use that as our base: - const voidIdx = __dirname.indexOf(__void_name); - const baseDir = __dirname.substring(0, voidIdx + __void_name.length); - const target = path.join( - baseDir, - 'src/vs/workbench/contrib/void/browser/react/src2/styles.css' - ); + const pathToCssFile = findDesiredPathFromLocalPath('./src/vs/workbench/contrib/void/browser/react/src2/styles.css', __dirname); + + if (pathToCssFile === undefined) { + console.error('[scope-tailwind] Error finding styles.css'); + return; + } // Or re-write with the same content: - const content = fs.readFileSync(target, 'utf8'); - fs.writeFileSync(target, content, 'utf8'); + const content = fs.readFileSync(pathToCssFile, 'utf8'); + fs.writeFileSync(pathToCssFile, content, 'utf8'); console.log('[scope-tailwind] Force-saved styles.css'); } catch (err) { console.error('[scope-tailwind] Error saving styles.css:', err); From c5b6fd9b7529324a394847be5710884f3e1293ee Mon Sep 17 00:00:00 2001 From: Andrew Pareles <43356051+andrewpareles@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:48:15 -0800 Subject: [PATCH 18/21] Create temp --- temp | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 temp diff --git a/temp b/temp new file mode 100644 index 00000000..7637992d --- /dev/null +++ b/temp @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2025 Glass Devtools, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. From 6a8ac1a68e1762820bf1f2dfcaa5d5904a7dc9ce Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 9 Jan 2025 18:48:52 -0800 Subject: [PATCH 19/21] apache 2.0 --- LICENSE.txt | 214 +++++++++++++++++++++++++++++++++++++++++++++++----- temp | 201 ------------------------------------------------ 2 files changed, 197 insertions(+), 218 deletions(-) delete mode 100644 temp diff --git a/LICENSE.txt b/LICENSE.txt index 432d2c90..7637992d 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,21 +1,201 @@ -MIT License + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -Copyright (c) 2025 Glass Devtools, Inc. + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + 1. Definitions. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2025 Glass Devtools, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/temp b/temp deleted file mode 100644 index 7637992d..00000000 --- a/temp +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2025 Glass Devtools, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. From 2f5e954ebf62123eb07c3b95a178f0d3474b4861 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 9 Jan 2025 18:49:05 -0800 Subject: [PATCH 20/21] update --- LICENSE-VS-Code.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE-VS-Code.txt b/LICENSE-VS-Code.txt index 6c39f17f..d34de290 100644 --- a/LICENSE-VS-Code.txt +++ b/LICENSE-VS-Code.txt @@ -1,5 +1,5 @@ Void is a fork of VS Code, which is licensed under the MIT License (below). -Void's additions and modifications are licensed under the MIT License (see LICENSE.txt). +Void's additions and modifications are licensed under the Apache 2.0 License (see LICENSE.txt). -------------------- From 7925e438c66554940869ca18892fb06b972cf24c Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Thu, 9 Jan 2025 18:51:40 -0800 Subject: [PATCH 21/21] header update --- src/vs/platform/void/browser/void.contribution.ts | 8 ++++---- src/vs/platform/void/common/llmMessageService.ts | 8 ++++---- src/vs/platform/void/common/llmMessageTypes.ts | 8 ++++---- src/vs/platform/void/common/metricsService.ts | 8 ++++---- src/vs/platform/void/common/refreshModelService.ts | 8 ++++---- src/vs/platform/void/common/voidSettingsService.ts | 8 ++++---- src/vs/platform/void/common/voidSettingsTypes.ts | 8 ++++---- .../platform/void/electron-main/llmMessage/anthropic.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessage/gemini.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessage/greptile.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessage/groq.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessage/ollama.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessage/openai.ts | 8 ++++---- .../void/electron-main/llmMessage/sendLLMMessage.ts | 8 ++++---- src/vs/platform/void/electron-main/llmMessageChannel.ts | 8 ++++---- src/vs/platform/void/electron-main/metricsMainService.ts | 8 ++++---- .../workbench/contrib/void/browser/autocompleteService.ts | 8 ++++---- .../void/browser/helperServices/consistentItemService.ts | 8 ++++---- .../contrib/void/browser/helpers/extractCodeFromResult.ts | 8 ++++---- .../workbench/contrib/void/browser/helpers/findDiffs.ts | 8 ++++---- .../workbench/contrib/void/browser/helpers/getCmdKey.ts | 8 ++++---- .../workbench/contrib/void/browser/inlineDiffsService.ts | 8 ++++---- src/vs/workbench/contrib/void/browser/media/void.css | 8 ++++---- src/vs/workbench/contrib/void/browser/prompt/prompts.ts | 8 ++++---- src/vs/workbench/contrib/void/browser/quickEditActions.ts | 8 ++++---- .../contrib/void/browser/quickEditStateService.ts | 8 ++++---- src/vs/workbench/contrib/void/browser/react/build.js | 8 ++++---- .../contrib/void/browser/react/src/ctrl-k-tsx/CtrlK.tsx | 8 ++++---- .../void/browser/react/src/ctrl-k-tsx/CtrlKChat.tsx | 8 ++++---- .../contrib/void/browser/react/src/ctrl-k-tsx/index.tsx | 8 ++++---- .../contrib/void/browser/react/src/diff/index.tsx | 8 ++++---- .../contrib/void/browser/react/src/markdown/BlockCode.tsx | 8 ++++---- .../browser/react/src/markdown/ChatMarkdownRender.tsx | 8 ++++---- .../void/browser/react/src/sidebar-tsx/ErrorBoundary.tsx | 8 ++++---- .../void/browser/react/src/sidebar-tsx/ErrorDisplay.tsx | 8 ++++---- .../void/browser/react/src/sidebar-tsx/Sidebar.tsx | 8 ++++---- .../void/browser/react/src/sidebar-tsx/SidebarChat.tsx | 8 ++++---- .../react/src/sidebar-tsx/SidebarThreadSelector.tsx | 8 ++++---- .../contrib/void/browser/react/src/sidebar-tsx/index.tsx | 8 ++++---- .../workbench/contrib/void/browser/react/src/styles.css | 8 ++++---- .../contrib/void/browser/react/src/util/inputs.tsx | 8 ++++---- .../void/browser/react/src/util/mountFnGenerator.tsx | 8 ++++---- .../contrib/void/browser/react/src/util/services.tsx | 8 ++++---- .../browser/react/src/void-settings-tsx/ModelDropdown.tsx | 8 ++++---- .../void/browser/react/src/void-settings-tsx/Settings.tsx | 8 ++++---- .../void/browser/react/src/void-settings-tsx/index.tsx | 8 ++++---- .../contrib/void/browser/react/tailwind.config.js | 8 ++++---- src/vs/workbench/contrib/void/browser/react/tsconfig.json | 8 ++++---- .../workbench/contrib/void/browser/react/tsup.config.js | 8 ++++---- src/vs/workbench/contrib/void/browser/sidebarActions.ts | 8 ++++---- src/vs/workbench/contrib/void/browser/sidebarPane.ts | 8 ++++---- .../workbench/contrib/void/browser/sidebarStateService.ts | 8 ++++---- .../contrib/void/browser/threadHistoryService.ts | 8 ++++---- .../workbench/contrib/void/browser/void.contribution.ts | 8 ++++---- src/vs/workbench/contrib/void/browser/voidSettingsPane.ts | 8 ++++---- 55 files changed, 220 insertions(+), 220 deletions(-) diff --git a/src/vs/platform/void/browser/void.contribution.ts b/src/vs/platform/void/browser/void.contribution.ts index 90f09fec..1b3cddd2 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) 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 ---------- diff --git a/src/vs/platform/void/common/llmMessageService.ts b/src/vs/platform/void/common/llmMessageService.ts index c33c90cd..9cd97573 100644 --- a/src/vs/platform/void/common/llmMessageService.ts +++ b/src/vs/platform/void/common/llmMessageService.ts @@ -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'; diff --git a/src/vs/platform/void/common/llmMessageTypes.ts b/src/vs/platform/void/common/llmMessageTypes.ts index 7544630b..0509aa37 100644 --- a/src/vs/platform/void/common/llmMessageTypes.ts +++ b/src/vs/platform/void/common/llmMessageTypes.ts @@ -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' diff --git a/src/vs/platform/void/common/metricsService.ts b/src/vs/platform/void/common/metricsService.ts index c922db56..3d185669 100644 --- a/src/vs/platform/void/common/metricsService.ts +++ b/src/vs/platform/void/common/metricsService.ts @@ -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'; diff --git a/src/vs/platform/void/common/refreshModelService.ts b/src/vs/platform/void/common/refreshModelService.ts index 8c170e8d..47954bc7 100644 --- a/src/vs/platform/void/common/refreshModelService.ts +++ b/src/vs/platform/void/common/refreshModelService.ts @@ -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'; diff --git a/src/vs/platform/void/common/voidSettingsService.ts b/src/vs/platform/void/common/voidSettingsService.ts index fa92c587..5a6cc64d 100644 --- a/src/vs/platform/void/common/voidSettingsService.ts +++ b/src/vs/platform/void/common/voidSettingsService.ts @@ -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'; diff --git a/src/vs/platform/void/common/voidSettingsTypes.ts b/src/vs/platform/void/common/voidSettingsTypes.ts index 6814c8e7..72efb86b 100644 --- a/src/vs/platform/void/common/voidSettingsTypes.ts +++ b/src/vs/platform/void/common/voidSettingsTypes.ts @@ -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. + *--------------------------------------------------------------------------------------*/ diff --git a/src/vs/platform/void/electron-main/llmMessage/anthropic.ts b/src/vs/platform/void/electron-main/llmMessage/anthropic.ts index 7ae164c0..04dcaa21 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessage/gemini.ts b/src/vs/platform/void/electron-main/llmMessage/gemini.ts index 2eda09cb..557d28c7 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessage/greptile.ts b/src/vs/platform/void/electron-main/llmMessage/greptile.ts index f3c27632..f61f87af 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) 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 diff --git a/src/vs/platform/void/electron-main/llmMessage/groq.ts b/src/vs/platform/void/electron-main/llmMessage/groq.ts index 6a62e643..1050e25c 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessage/ollama.ts b/src/vs/platform/void/electron-main/llmMessage/ollama.ts index d48c0dca..95792700 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessage/openai.ts b/src/vs/platform/void/electron-main/llmMessage/openai.ts index 90f9bf97..391764cb 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts b/src/vs/platform/void/electron-main/llmMessage/sendLLMMessage.ts index 918271e6..96d51e34 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) 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'; diff --git a/src/vs/platform/void/electron-main/llmMessageChannel.ts b/src/vs/platform/void/electron-main/llmMessageChannel.ts index 0ad52534..2430fce2 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) 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... diff --git a/src/vs/platform/void/electron-main/metricsMainService.ts b/src/vs/platform/void/electron-main/metricsMainService.ts index f638d6cc..31ca1252 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/autocompleteService.ts b/src/vs/workbench/contrib/void/browser/autocompleteService.ts index e3defc0b..9dda4a1e 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts b/src/vs/workbench/contrib/void/browser/helperServices/consistentItemService.ts index bcaf12d7..f6787e4c 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts b/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts index 90003524..bc131f46 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) 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: diff --git a/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts b/src/vs/workbench/contrib/void/browser/helpers/findDiffs.ts index f89e04ed..c9235c14 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) 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' diff --git a/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts b/src/vs/workbench/contrib/void/browser/helpers/getCmdKey.ts index b17f9bbf..96ae4b8c 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts index 013c6bb7..c4feab57 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/media/void.css b/src/vs/workbench/contrib/void/browser/media/void.css index 225925ad..34afe272 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) 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); diff --git a/src/vs/workbench/contrib/void/browser/prompt/prompts.ts b/src/vs/workbench/contrib/void/browser/prompt/prompts.ts index cb278cc1..15e433c2 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/quickEditActions.ts b/src/vs/workbench/contrib/void/browser/quickEditActions.ts index 754b939f..fbd8b931 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/quickEditStateService.ts b/src/vs/workbench/contrib/void/browser/quickEditStateService.ts index 227e7e40..62f3823b 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/react/build.js b/src/vs/workbench/contrib/void/browser/react/build.js index 4360e859..bfcbd7e3 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) 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 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 f575e6cf..02f2078d 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) 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' 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 8724312a..9f7c2042 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) 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'; 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 1b526325..53f09fdf 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) 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' 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 b308f819..31fee155 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) 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'; 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 50237589..ad8a76e8 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) 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'; 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 54f78df3..bfe938e8 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) 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' 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 b1985de9..2ccc54b2 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) 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'; 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 6af510cd..f46a67d0 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) 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'; 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 61a85bd4..12343f65 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) 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' 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 e7b8fe88..6b3f8d2d 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) 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'; 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 f49d8264..824a0e12 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) 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'; 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 b3737b65..64143bfd 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) 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' 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 67eb27c1..daf1548c 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) 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; 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 4b99253b..10c04716 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) 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'; 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 23db7814..9839201d 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) 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' 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 fb6b8632..36c03a96 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) 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' 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 a72c6747..9c46b4f3 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) 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' 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 5f720994..a29cc687 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) 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' 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 f61b903a..72f30b44 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) 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' 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 2a2aef36..53853a99 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) 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 = { diff --git a/src/vs/workbench/contrib/void/browser/react/tsconfig.json b/src/vs/workbench/contrib/void/browser/react/tsconfig.json index 4f1de42a..18ccced1 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) 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": { 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 221fa0d7..a932e81d 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) 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' diff --git a/src/vs/workbench/contrib/void/browser/sidebarActions.ts b/src/vs/workbench/contrib/void/browser/sidebarActions.ts index fa8f72a3..ae3609b4 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/sidebarPane.ts b/src/vs/workbench/contrib/void/browser/sidebarPane.ts index 146e713b..6b9f2fb7 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) 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 { diff --git a/src/vs/workbench/contrib/void/browser/sidebarStateService.ts b/src/vs/workbench/contrib/void/browser/sidebarStateService.ts index 94935f8f..799ae14d 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/threadHistoryService.ts b/src/vs/workbench/contrib/void/browser/threadHistoryService.ts index 47c8c836..3729b223 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) 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'; diff --git a/src/vs/workbench/contrib/void/browser/void.contribution.ts b/src/vs/workbench/contrib/void/browser/void.contribution.ts index 6e1615ec..536b0ca1 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) 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 diff --git a/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts b/src/vs/workbench/contrib/void/browser/voidSettingsPane.ts index a18c4a15..d454fc8e 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) 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';