Fred Bricon
8296cd10ac
Add the ability to start Ollama when it's stopped
...
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-01-10 18:57:27 +01:00
Nate Sesti
8f10b15995
Merge pull request #3210 from 0xBigBoss/main
...
fix: major fixes to getTheme
2024-12-11 11:16:36 -08:00
Nate Sesti
d7ef0a3b1b
Merge pull request #3276 from halfline/touch-source-file-to-wake-up-esbuild-watch-script
...
vscode: Ensure extension.js is rebuilt when deleted
2024-12-10 18:21:57 -08:00
Nate Sesti
3fd1d87a46
Merge pull request #3245 from ruediste/config-schema
...
Use schema for the configuration JSON schema itself
2024-12-10 10:19:30 -08:00
Ray Strode
9660c7ed08
vscode: Ensure extension.js is rebuilt when deleted
...
Right now, the vscode-extension:continue-ui:build task
deletes extension.js as part of its prepackage.js script.
This wouldn't normally be a problem, because extension.js
is generated by the vscode-extension:esbuild, and
vscode-extension:continue-ui:build is a dependency of
vscode-extension:esbuild, implying it should always get run
first.
But, vscode-extension:esbuild is a background task, that stays
running after it's been started once. Future calls to run that
task become no-ops, because it's already active. This means running
vscode-extension:esbuild ->
vscode-extension:continue-ui:build ->
vscode-extension:esbuild
will lead to the last vscode-extension:esbuild not regenerating
extension.js.
In order to resolve that problem, this commit adds a new foreground
task into the build pipeline:
vscode-extension:esbuild-notify
that tickles the watching background task to wake up and regenerate
extension.js
2024-12-10 08:56:48 -05:00
tomasz-io
8ad1e0e5a7
Merge branch 'main' into tomasz/more-e2e
2024-12-09 17:57:23 -08:00
Dallin Romney
9b3e03846f
add esbuild-visualizer
2024-12-09 16:23:15 -08:00
tomasz-io
28e8912584
test: expand e2e tests
2024-12-09 14:25:08 -08:00
Dallin Romney
91d54c5743
build on end
2024-12-09 13:52:34 -08:00
Dallin Romney
dcb9243656
watch for build completion
2024-12-09 13:44:36 -08:00
Ruedi Steinmann
e86849a7f6
Use schema for the configuration JSON schema itself
2024-12-07 15:04:22 +01:00
Big Boss
c6002ba2ac
fix: major fixes to getTheme
...
Remove the built-in themes from the extension since they are not needed.
Since the update to detect the correct color scheme, users have noticed that the `include` logic has been broken causing incorrect styling.
This fix introduces cleaner theme logic since we assume that the vscode extension will have the theme files locally. The include logic now includes nested themes.
It also fixes finding the default themes correctly by comparing both theme ID and theme label.
2024-12-06 09:52:52 -06:00
Dallin Romney
09cd4a34e6
explicit ends message
2024-11-05 17:52:05 -08:00
Dallin Romney
1901785a85
add one missing intellij html description
2024-11-01 12:25:16 -07:00
Dallin Romney
a51d4fc6fc
merge dev
2024-10-31 01:22:51 -07:00
Dallin Romney
f425cadcda
docs config md part 1
2024-10-28 12:02:31 -07:00
Dallin Romney
680edf3572
provider factories, plugin, and package scripts
2024-10-24 12:20:34 -07:00
Nate
5fa1ebed40
undo unneeded fix for win build
2024-10-16 18:27:12 -07:00
Nate
a88408bf87
solve windows debug build error
2024-10-16 17:47:56 -07:00
Test
9f9a9b5a24
Update prepackage-cross-platform.js
2024-09-25 10:36:19 -07:00
Test
9f0f18664f
rename welcome.md
2024-09-25 10:30:01 -07:00
Test
625fdb0157
Merge branch 'dev' into pe/docs-sitemap
2024-08-22 19:40:05 -07:00
Test
e5b3e283e8
cleanup
2024-08-22 19:18:31 -07:00
Patrick Erichsen
23fffea2cc
copy libs into out
2024-08-21 14:06:11 -07:00
Nate Sesti
d4e7372cc8
rename intellij to jetbrains
2024-08-19 09:44:24 -07:00
Maxx Rodriguez
0bce1dc9c2
- added copyTokenizers to util
...
- added workerpools to be copied over from core
- import and execute copyTokenizers in prepackage-cross-plat
2024-08-13 17:24:52 -07:00
Patrick Erichsen
1e3e8ebe40
fix: transpile dynamic imports to cjs ( #1975 )
2024-08-09 09:09:01 -07:00
Rob Leidle
8a278ff8b4
Enable async encoding for the GPTEncoder ( #1946 )
...
This will improve the performance of indexing when using a GPT model.
Also, improved the Async interface to also have an async decode method.
Note: I was only able to test this method with the test I added as I do
not have access to a GPT model.
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-06 16:18:49 -07:00
Rob Leidle
78a4025414
Offload all token counting to worker processes as well as some optimizations to do more token counting in parallel
...
Adding the workerpool logic broke gui as vite does not support __dirname
or path.join(...). To work around this, moved the gui dependency of
stripImages out of countTokens.ts
2024-07-26 13:10:36 -07:00
Nate Sesti
5abbbfa553
acknowledge sourcemap flag in esbuild.js
2024-07-05 10:38:35 -07:00
华丽
73b8caa776
chore: reduce vscode extension bundle size ( #1647 )
2024-07-03 00:09:31 -07:00
Nate Sesti
3af0482c00
fix cross-platform build validation
2024-07-02 18:40:21 -07:00
Nate Sesti
34b40f4f53
Dev ( #1627 )
...
* docs: add docs and schema for "OS" provider (#1536 )
* ignore .env
* ✨ use and cache imports for autocomplete (#1456 )
* ✨ use and cache imports for autocomplete
* fix tsc
* add voyage rerank-1
* import Handlebars
* feat: open pane on install (#1564 )
* feat: open pane on activation
* comment out testing code
* chore: add telemetry for pageviews (#1576 )
* feat: update onboarding w/ embeddings model (#1570 )
* chore(gui): remove unused pages
* feat: add embeddings step
* feat: update styles
* feat: copy button updates
* fix: correct pull command for embed model
* fix: remove commented code
* fix: remove commented code
* feat: simplify copy btn props
* chore: rename onboarding selection event
* feat: add provider config
* fix: undo msg name
* remove dead code
* fix: invalid mode check
* fix: remove testing logic
* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582 )
* small UI tweaks
* media query
* feat: add best experience onboarding
* small fixes
* feat: add free trial card to onboarding (#1600 )
* feat: add free trial card to onboarding
* add import
* chore: add telemetry for full screen toggle (#1618 )
* rerank-lite-1
* remove doccs
* basic tests for VS Code extension
* improved testing of VS Code extension
* manually implement stop tokens for hf inference api
* chore: onboarding metrics (#1626 )
* fix: pageview tracking
* feat: add onboarding telemetry
* create single `onboardingStatus` type
* improved var naming
* remove console logs
* fix windows performance issue
* rename vscodeExtension.ts
* migration of onboarding variables
---------
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-01 21:34:06 -07:00
Nate Sesti
04c08c7159
dev ( #1542 )
...
* docs: add docs and schema for "OS" provider (#1536 )
* ignore .env
* fix(gui): ctx rendering w/ renderInlineAs: "" (#1541 )
* ✨ use and cache imports for autocomplete (#1456 )
* ✨ use and cache imports for autocomplete
* fix tsc
* fix codeqwen autocomplete leading space
* add voyage rerank-1
* feat: `--noEmit` for tsc checks in CI (#1559 )
* docs: update CustomContextProvider docs (#1557 )
* add stop tokens to qwen prompt
* update docs to reflect 3.5 sonnet being best
* docs: comment out unused providers (#1561 )
* import Handlebars
* feat: toast notification for config updates (#1560 )
* feat: toast notification for config updates
* feat: only trigger toast on config.json save
* displayRawMarkdown option
* feat: open pane on install (#1564 )
* feat: open pane on activation
* comment out testing code
* update to reflect 16 stop words limit for deepseek
* feat: only trigger config update toast in vscode (#1571 )
* docs(prompt-files): fix typos + clarify (#1575 )
* doc: prompt file typo + clarifications
* fix: add back correct docs
* chore: add telemetry for pageviews (#1576 )
* feat: update onboarding w/ embeddings model (#1570 )
* chore(gui): remove unused pages
* feat: add embeddings step
* feat: update styles
* feat: copy button updates
* fix: correct pull command for embed model
* fix: remove commented code
* fix: remove commented code
* feat: simplify copy btn props
* chore: rename onboarding selection event
* feat: add provider config
* fix: undo msg name
* remove dead code
* fix: invalid mode check
* fix: remove testing logic
* docs(telemetry): add pageviews to tracking list (#1581 )
* Add reranker configuration options to codebase embedding docs (#1584 )
- Introduce reranker concept
- List available reranker options
- Provide configuration instructions
- Update keywords to include "reranker"
* chore: update pr template with screenshots (#1590 )
* Refactor ConfirmationDialog to use SecondaryButton for cancel action (#1586 )
* Added instructions for running docs server locally (#1578 )
- Added NPM script method
- Added VS Code task method
- Update contributing guidelines
* Update branch policy (#1577 )
- Change PR target to `dev` branch
- Update `CONTRIBUTING.md` instructions
* Consolidate example configurations into the main configuration guide (#1579 )
- Moved examples to configuration.md
- Deleted the separate examples.md file
- Updated sidebar order and links
- Improved readability and structure in configuration.md
* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582 )
* Update completionProvider.ts (warning tab-autocomplete models) (#1566 )
* feat: enhanced IndexingProgressBar with blinking dot feature
- Integrated BlinkingDot component
- Added STATUS_COLORS for various states
- Replaced CircleDiv with BlinkingDot in UI
- Updated status messages and layout
* small UI tweaks
* feat(gui): enhance ModelCard, ModelProviderTag, and Toggle components (#1595 )
- add styling and adjustments to ModelCard
- update ModelProviderTag font size
- remove box shadow from Toggle component
- tweak icon styles in ModelCard
- improve alignment and spacing
* media query
* feat: add best experience onboarding
* fix: file rename
* stop movement on button hover by keeping same border thickness
* fix mistake in setting cursor: pointer
* fix when free trial option is shown
* Support Node.js versions below 20 for streaming response handling (#1591 )
- Add fallback for Node < 20
- Implement toAsyncIterable for streaming
- Use TextDecoder for manual decoding
- Maintain existing streaming for Node 20+
* small fixes
* feat: add free trial card to onboarding (#1600 )
* feat: add free trial card to onboarding
* add import
* fix hasPassedFTL
* fix /edit cancellation from UI
* feat: add `applyCodeBlock` experimental prop (#1601 )
* feat: add new model styling improvements (#1609 )
* feat: add new model styling improvements
* better gap size
* feat: update bug_report.yml (#1610 )
* chore: update bug_report.yml
* typo fix
* feat: add labels to "Add docs" dialog (#1612 )
* feat: add labels to "Add docs" dialog
* remove autofocus
* don't double load config
* small fixes
* speed up directory traversal, and use correct native path module
* option not to show config update toast
* merge air-gapped and recommended setup pages
* chore: add telemetry for full screen toggle (#1618 )
* Fix headings in codebase-embeddings.md (#1617 )
* mention jetbrains
* docs: update changie (#1619 )
* feat: updated changie config
* hide toc and autogenerate
* Update changelog.mdx
* link to deeper explanation of embeddings models
* ensure target="_blank" for all links in sidebar
* fix gif links in intellij README.md
* don't require rust in dependency installation
* chore: fix padding on gh button (#1620 )
* chore: adjust button padding
* Update tasks.json
* escape colons in diff path
* smoother lancedb indexing reporting
* smooth progress updates for indexing
* fix tsc err
* rerank-lite-1
---------
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Priyash <38959321+priyashpatil@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
Co-authored-by: YohannZe <99359799+YohannZe@users.noreply.github.com>
Co-authored-by: Dan Dascalescu <ddascalescu+github@gmail.com>
2024-06-28 16:21:36 -07:00
maxxrdrgz
5edc0cba7e
Multi-Build/Package VS Code extensions on single computer. ( #1473 )
...
* added try catch on newly added code to buildjs that copies node_sqlite3 to a build directory that may not exist
* fix typo extensioins -> extensions
* added new npm command to build for all platforms
* started adding code to download the ripgrep binaries, will have to finish at a later date
* - added platforms global variable
- added check for --all parameter
- moved alpine check to utils
- moved all packaging code to package()
- added links to esbuild binaries
- chaged code in IIFE to either package for all or package for target
* moved alpine config to utils
* added the code that will download the ripgrep binaries
* added npm run script package-all which will run the package-all.js script
* added package-all script which will package all major builds
* - commented out old downloadEsbuildBinary and rewrote it
- finished the downloadRipgrepBinary() and exported it
* - added back some of the old code to make this script reusable
- commented out the esbuild download and install in favor of downloading the prebuilt binary
- download the ripgrep binary
- containerized the all of the package code into package() and call it in the IIFE
* added a check for the --target flag and append it to the vsce command
* removed unused variable
2024-06-14 10:43:31 -07:00
Nate Sesti
fc3c063041
publish stubs ( #1472 )
...
* 💚 fix armhf packaging
* 💚 update package.json
* 💚 update package.json
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 🎨 update url
* 💚 Update package.json version [skip ci]
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 🔖 update package.json version
* 💚 force CI run because VS Code publish failed
* 🔖 update package.json version
* 📌 pin darwin-x64 runner image to macos-12
* 📌 also pin darwin-arm64 to macos-12
* 💚 also make official releases for pre-release
* ✏️ fix preview.yaml indentation
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json versino
* 🔖 update package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 💚 use pnpm, not npm
* 💚 install pnpm
* 💚 pnpm install
* ci fix
* 💚 wip
* 💚 don't re-install esbuild
* 🔖 update package.json version
* 🐛 fix URLs in client
* 🔊 log
* ➕ add esbuild as production dependency
* 🔊 hash by pnpm lock
* 🔊 log
* 🔖 version 131
* 🐛 fix merge
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 🐛 fix remote config
* ⚡ ️ system message migration
* 133
* 🔖 package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 👷 update preview.yaml
* 🔖 update package.json version
* log
* 💚 reinstall esbuild
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 💚 Update package.json version [skip ci]
* 🔒 ️ security improvements
* 💚 testing ci
* 💚 fix armhf packaging
* 🎨 update url
* 💚 use pnpm, not npm
* 💚 install pnpm
* 💚 pnpm install
* 💚 wip
* 🔊 log
* ➕ add esbuild as production dependency
* 🔊 hash by pnpm lock
* 🔊 log
* 🐛 fix merge
* 💚 force ci run
* 👷 update preview.yaml
* 💚 force ci run
* 🔒 ️ feature flags for free trial protection
* 🎨 fix launchdarkly init
* 🎨 catch launchdarkly errors
* 💚 Add GitHub Actions
* 📝 add README for continue-deploy
* 📝 git push note
* 👔 fill in stubs for remote config
* 🚸 stop github login request
* 💚 update CI to use .nvmrc
* 🔒 ️ security improvements
* 🔖 update version
* 💚 Update package.json version [skip ci]
* ✨ continue server client
* 🎨 clean up stubs
* 💚 Update package.json version [skip ci]
* 🎨 send 'repo' in indexing/cache request
* 🔥 remove codeql.yaml
* 🔊 log full text of index cache errors
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 👷 run testPackaging.js in CI
* 👷 print all missing files
* 🐛 correct linux path
* 🔊 log grandgrandparent folder
* 💚 testing ci
* 💚 fix ci
* 💚 fix armhf packaging
* 💚 update package.json
* 💚 update package.json
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 🎨 update url
* 💚 Update package.json version [skip ci]
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 🔖 update package.json version
* 💚 force CI run because VS Code publish failed
* 🔖 update package.json version
* 📌 pin darwin-x64 runner image to macos-12
* 📌 also pin darwin-arm64 to macos-12
* 💚 also make official releases for pre-release
* ✏️ fix preview.yaml indentation
* 🔖 update package.json version
* 🔖 update package.json version
* 🔖 update package.json versino
* 🔖 update package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 💚 use pnpm, not npm
* 💚 install pnpm
* 💚 pnpm install
* ci fix
* 💚 wip
* 💚 don't re-install esbuild
* 🔖 update package.json version
* 🐛 fix URLs in client
* 🔊 log
* ➕ add esbuild as production dependency
* 🔊 hash by pnpm lock
* 🔊 log
* 🔖 version 131
* 🐛 fix merge
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 🐛 fix remote config
* ⚡ ️ system message migration
* 133
* 🔖 package.json version
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 👷 update preview.yaml
* 🔖 update package.json version
* log
* 💚 reinstall esbuild
* 💚 Update package.json version [skip ci]
* 💚 force ci run
* 💚 Update package.json version [skip ci]
* 🔒 ️ security improvements
* 💚 testing ci
* 💚 fix armhf packaging
* 🎨 update url
* 💚 use pnpm, not npm
* 💚 install pnpm
* 💚 pnpm install
* 💚 wip
* 🔊 log
* ➕ add esbuild as production dependency
* 🔊 hash by pnpm lock
* 🔊 log
* 🐛 fix merge
* 💚 force ci run
* 👷 update preview.yaml
* 💚 force ci run
* 🔒 ️ feature flags for free trial protection
* 🎨 fix launchdarkly init
* 🎨 catch launchdarkly errors
* 🔒 ️ v1 header
* 🔖 update package.json version
* 💚 Update package.json version [skip ci]
* 🔀 merge fixes
* 🔀 another merge fix
* 👷 update ci for refactor-core
* 👷 remove refactor-core from ci
* 🔖 update package.json version
* 🚚 fix ci
* 🔖 update package.json version
* 🎨 use telemetry to get free trial headers
* 🔖 version update
* 🎨 remove launchdarkly from headers
* 🎨 update server auth
* 🩹 update def of connected
* 🔖 version update
* 🔖 update version
* update main.yaml
* version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* fix codesral prompt
* version
* 💚 Update package.json version [skip ci]
* 💚 Update package.json version [skip ci]
* v
* update version
* 💚 Update package.json version [skip ci]
* update package.json version
* Changes
* remove README.md
---------
Co-authored-by: GitHub Action <action@github.com>
2024-06-12 22:30:27 -07:00
Nate Sesti
9d3220b04b
🚧 WIP prepackage cross platform
2024-06-09 20:36:48 -07:00
Nate Sesti
25dc090cec
fix build errors
2024-06-05 11:04:36 -07:00
Nate Sesti
f84177c5ec
fix build
2024-06-05 09:16:57 -07:00
Nate Sesti
c68f7988c5
👷 add node_sqlite3 to binary/build
2024-06-05 08:56:17 -07:00
Nate Sesti
e694218541
fix intellij build
2024-06-04 15:15:41 -07:00
Nate Sesti
42e22930a2
fix build
2024-06-04 14:09:40 -07:00
Nate Sesti
0130b83e4d
explain the purpose of sign in
2024-06-02 18:48:33 -04:00
Nate Sesti
759ba1281f
🧑💻 create gui/dist if it doesn't exist
2024-05-28 08:53:08 -07:00
Justin Milner
645d267376
Build fixes: Remove duplicated code, re-add overwritten commit ( #1358 )
...
* readd overwritten commit
* Remove duplicated code
2024-05-26 18:34:26 -07:00
Nate Sesti
53b61288ec
🎨 Refactor core ( #1281 )
...
* 🎨 refactor out react context
* 🎨 refactor local storage
* 🎨 refactor IdeMessenger
* 🔥 removing unused files
* 🚚 move scripts
* ✅ setup VSCode integration testing
* 🎨 fix test-related stuff
* 🚧 testing
* 🎨 tweak terminal cmd+L
* 🧑💻 install biome in core
* 🎨 run biome check on core
* 🎨 run biome check in vscode
* 🎨 run biome check in binary
* 🧑💻 global biome config
* 🎨 run biome check on core
* 🎨 run biome check in vscode
* 🎨 fix a few biome warnings
* 🚧 WIP on protocols
* 🚧 progress, organizing, about to remove webviewCore protocol
* 🚧 now running
* 🚧 move indexing code to core
* 🚧 WIP on JetBrains indexing implementation
* 🎨 finish listDir
* 🚧 gui fixes
* 🏷️ update IMessenger.on return type
* 🐛 fix jetbrains types + IDE detection
* 🧑💻 set up debugging for binary with TcpMessenger
* 👷 fix prepackage.js
* 🧑💻 turn off debug mode for intellij
* 🐛 merge fixes
* 🐛 fixes after refactor
* 🐛 merge fixes
* 💄 increase font size in JB
* 🔀 merge changes
* 🩹 small fixes
* 🐛 fix jetbrains build
* 🩹 more jetbrains fixes
* 🎨 jetbrains improvements
* 🐛 fix lancedb prob in jetbrains build
* 👷 update jetbrains build process
* ✨ intellij problems context provider
* 👷 add script utils file
* 💚 fix jetbrains build regression
* 🎨 dynamic import transformers.js
* 🩹 small jetbrains updates
* ✨ folder context provider in jetbrains
* 🎨 many more jetbrains improvements
* 🔀 merge fixes
* ⚡ ️ small improvements
* 🎨 tell users transformers.js not supported
* 🎨 trial updates
* 📝 update jetbrains readmej
* ⚡ ️ only use smaller context for local autocomplete models
* ⚡ ️ improve bracket filter
* ✨ global .continue/.prompts folder
* 💄 improved model setup process
* 🥅 display VSCode req errs
2024-05-24 19:38:13 -07:00
Nate Sesti
aed0d86d82
👷 fix version in build post-check
2024-05-21 11:23:31 -07:00
Nate Sesti
baa0c26711
🔥 remove lingering pnpm
2024-05-21 10:53:17 -07:00
Nate Sesti
f3b7c1a352
Merge branch 'main' into preview
2024-05-21 09:43:59 -07:00
Nate Sesti
f6fedfc7c8
📌 pin onnxruntime version to match transformers.js
2024-05-21 09:21:43 -07:00