Commit graph

153 commits

Author SHA1 Message Date
Nate
4aac80fed2 Merge branch 'nate/mcp-context-provider' into nate/tool-use 2024-11-29 12:07:38 -08:00
Nate
73d92d34e8 MCP context provider 2024-11-25 15:08:19 -08:00
Test
cf25bb210f Merge branch 'main' into nate/tool-use 2024-11-21 21:36:36 -08:00
Wouter Tichelaar
1fc1b702ec
Update package.json 2024-11-21 16:32:16 +02:00
Nate
492f53bf46 more tools 2024-11-19 22:19:43 -08:00
Nate
25492882a5 upgrade lru-cache 2024-11-10 15:33:17 -08:00
Test
2e5b5794e9 feat: use bm25 for fts 2024-11-06 11:31:53 -08:00
tomasz-io
d4168ede77 improv: linting 2024-10-22 00:18:46 +07:00
Nate
9d523d66e0 update to reflect change in config-types 2024-10-20 22:45:23 -07:00
reosablo
dfaa02c505 feat: add Vertex AI support 2024-10-19 00:09:36 +09:00
tomasz-io
ac83904087 Merge branch 'dev' into tomasz/validate-config-backup 2024-10-17 14:43:16 +07:00
Nate
5d3d01b21e fix type error 2024-10-16 18:13:25 -07:00
Test
2bb97f4bb9 pull down binary directly 2024-10-15 17:53:37 -07:00
tomasz-io
429e54ed34 feat: config.json validation 2024-10-15 22:11:35 +07:00
Nate
5942d322e6 Merge branch 'dev' into nate/hctx 2024-09-29 10:59:18 -07:00
Test
191a38c8fb Merge branch 'dev' into nate/lazy-edit 2024-09-17 13:33:47 -07:00
Test
30fcb79990 chore: bump dbinfoz 2024-09-17 12:56:59 -07:00
Nate
69286a73a7 update llm-info usage in core 2024-09-15 16:34:49 -07:00
Nate
fe58421cc4 myers diff utility 2024-09-13 15:45:24 -07:00
Test
fd7bbce79b feat: fall back to Cheerio for headless crawling 2024-09-02 17:14:32 -07:00
Test
e5b3e283e8 cleanup 2024-08-22 19:18:31 -07:00
Patrick Erichsen
e8f1e3ac2c add PCR 2024-08-22 10:24:11 -07:00
Patrick Erichsen
23fffea2cc copy libs into out 2024-08-21 14:06:11 -07:00
Patrick Erichsen
a51c520dee feat: use crawlee for docs service 2024-08-20 17:26:30 -07:00
Patrick Erichsen
5406d0e1a2 test: colocate tests in core 2024-08-16 10:35:40 -07:00
Patrick Erichsen
8cdb68c6d6 update tests 2024-08-15 13:38:15 -07:00
Rob Leidle
f27a763e9a Limit the index planner to only 10 concurrent readFile(...) which prevents issues related to too many open files in large repositories
With this change I am able to run the planner on the linux kernel repository. Previously the planner would error out with exceptions related to "too many file handles" on linux or "file table overflow" on macos
2024-08-11 19:47:13 -07:00
yytdfc
ab971ec6b8
add sagemaker provider (#1917)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-08-07 07:05:37 -07:00
Patrick Erichsen
d7dbdfff48
feat: configure docs through config.json (#1864)
* feat: configure docs through config.json

* use correct baseUrl column

* add/remove docs through config.json

* add favicon

* add advanced section in form

* update package authors

* index all using sqlite

* use pre indexed doc

* refresh submenu on save

* setup tests

* stash apply

* update tests

* create singleton

* remove unused code

* fix migration err

* remove unused code

* bugfix: isPreindexedDoc
2024-08-01 16:56:27 -07:00
Nate Sesti
e8522c7ed3 fix tests 2024-07-31 20:22:59 -07:00
Nate Sesti
8fed0cb985
Convert core/ to NodeNext (#1877)
* convert to nodenext in core

* experimental vm modules

* use imports

* a few ts-ignores

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-07-30 19:04:30 -07:00
Ruben Kostandyan
c3236c9aea
Moving Bedrock integration to Converse API to support all models (#1871)
Co-authored-by: Ruben Kostandyan <ruben.kostard@gmail.com>
2024-07-30 09:14:02 -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
Patrick Erichsen
3e0fae35a7
feat: include recently + open files in codebase search (#1833)
* feat: include recently + open files in codebase search

* cleanup

* Update BaseRetrievalPipeline.ts

* add params object to chunkDocument

* Update package-lock.json
2024-07-26 12:40:52 -05:00
Nate Sesti
265b3ef444 Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-07-24 19:02:26 -07:00
Nate Sesti
953f0aa1c6 additional analytics providers 2024-07-24 18:35:51 -07:00
Patrick Erichsen
e1be802a9b
chore: bump tree-sitter (#1828) 2024-07-24 16:31:02 -07:00
Nate Sesti
07d65112fe IAnalyticsProvider 2024-07-19 15:47:30 -07:00
Patrick Erichsen
c4a8d4f1d8
test: add myers diff tests (#1754) 2024-07-16 15:19:18 -07:00
Nate Sesti
c3f26cc08f
Nate/dev (#1739)
* JetBrains status bar spinner for autocomplete

* Remove unused images

* partial accept jetbrains

* fix double-rendering of jetbrains completions

* fix offset of multi-line jetbrains completions

* enable/disable actions

* upgrade to version 0.0.54

* llm-info package

* small profile switching improvements

* instruct cmd+I not to leave placeholders

* @ files in context-providers docs

* onboarding fix
2024-07-15 11:08:47 -07:00
Nate Sesti
58f252a3a3
Break out into NPM modules (#1726)
* config.json types

* export all schemas

* break out request logic into packages

* update openai adapters to export body types

* update packaging of npm modules

* update packages
2024-07-11 22:12:42 -07:00
Nate Sesti
afa582345a
Nate/control plane client (#1691)
* 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

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* team analytics

* apply control plane settings

* workos auth

* ide protocol get session info

* UI for auth

* profile switching

* small fixes

* updates

* refresh tokens

* updates

* fix tsc errs

* model select in toolbar to make room for profile selector

* prod client id

* link to prod URL

* internal beta option

* profiles change listener

---------

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-07-08 21:51:53 -07:00
Nate Sesti
74020b1052
Tests for indexing + follow all .gitignore syntax (#1661)
* cleaner indexing progress updates messages

* chunking tests

* first round of testing for walkDir in .ts

* few more tests

* swap fs with ide

* clean up dead code

* replace traverseDirectory

* fix listFolders

* smoother indexing updates for chunking

* ide pathSetp

* absolute paths test

* fix path sep error with abs paths on windows

* clean up tests
2024-07-03 23:41:43 -07:00
Nate Sesti
d8ce2279fb Merge branch 'main' into preview 2024-06-23 12:44:14 -07:00
Nate Sesti
faffaf08c4 working implementation with single ts query 2024-06-23 10:08:50 -07:00
Nate Sesti
8edee2c3ad cross-platform NODE_OPTIONS env var 2024-06-21 13:09:25 -07:00
Nate Sesti
ca884b8212
fix ollama onboarding (#1539)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion

* continue proxy FIM support

* warn user if potentially dangerous command is generated

* tab autocomplete docs

* docs: update PR template (#1531)

* chore: add docs to install script (#1533)

* fix(extensions): schema for db ctx provider (#1534)

* fix(extensions): schema for db ctx provider

* fix: invalid enum

* prettierignore

* docs: add docs and schema for "OS" provider (#1536)

* tests (#1501)

* 👷 CI for jetbrains

* default working dir

* changelog

* build binaries

* binary testing setup

* idesettings

* core binary testing

* run binary tests in ci

* remove unused targets

* needs build

* console.log bin contents

* fix ci

* fix win32 binary download

* test

* no linux arm64

* macos latest

* macos-12

* binary permissions

* upload logs

* fix

* upload full folder as binary artifact

* test

* test macos only

* set full execute permissions

* copy sqlite binary

* cd

* it worked!

* build again in test job

* debug

* remove timeout

* info

* log

* log2

* more logs

* catch

* fewer logs

* test all platforms

* test downloaded artifact

* needs build

* updates

* build

* false

* release

* add tag and upload binaryes

* change tag name

* proper artifact upload

* jest updates

* ✅ generate a few unit tests with Continue

* fix imports related to IdeSettings

* run tsc on PRs

* remove shareSession command (unused)

* update release process

* update plugin version

* don't show ghost text when jetbrains completion visible

* run jetbrains ci in main

* check ts in dev

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-06-21 11:09:03 -07:00
Nate Sesti
20bf1bd670
tests (#1501)
* 👷 CI for jetbrains

* default working dir

* changelog

* build binaries

* binary testing setup

* idesettings

* core binary testing

* run binary tests in ci

* remove unused targets

* needs build

* console.log bin contents

* fix ci

* fix win32 binary download

* test

* no linux arm64

* macos latest

* macos-12

* binary permissions

* upload logs

* fix

* upload full folder as binary artifact

* test

* test macos only

* set full execute permissions

* copy sqlite binary

* cd

* it worked!

* build again in test job

* debug

* remove timeout

* info

* log

* log2

* more logs

* catch

* fewer logs

* test all platforms

* test downloaded artifact

* needs build

* updates

* build

* false

* release

* add tag and upload binaryes

* change tag name

* proper artifact upload

* jest updates

* ✅ generate a few unit tests with Continue

* fix imports related to IdeSettings

* run tsc on PRs

* remove shareSession command (unused)

* update release process

* update plugin version

* don't show ghost text when jetbrains completion visible

* run jetbrains ci in main
2024-06-20 20:08:25 -07:00
Ruben Kostandyan
38b1f54b0d
Bedrock client refactoring and move to @aws-sdk/credential-providers (#1491)
* Refactor Bedrock LLM client

- Removed unused AWS auth logic
- Simplified message/content conversion

* Improve AWS credentials handling for Bedrock models
- Using @aws-sdk/credential-providers to support wider range of credential provider options
- Removing custom logic of parsing aws credentials file

---------

Co-authored-by: Ruben Kostandyan <kostard@amazon.com>
2024-06-16 10:35:02 -07:00
Nate Sesti
52ef90b5f4 setupCa in vscode extension 2024-06-13 17:29:15 -07:00