Commit Graph

60 Commits

Author SHA1 Message Date
Nate Sesti
7a19114d53 Add script to analyze file hotspots from git history (#8591) 2025-11-04 11:55:36 -08:00
Aadarsh Kumar Tiwari
7073587d9f Merge branch 'continuedev:main' into fix-gui-build-failing 2025-09-09 09:43:33 +05:30
Dallin Romney
661fe95273 Merge pull request #7427 from sevetseh28/add-stdout-build-error
chore: Add stdout console log when package fails to build (build-packages.js)
2025-09-08 16:41:44 -07:00
aadarshkt
e60ca84656 fix gui build failing 2025-09-06 10:50:35 +05:30
Tomasz Stefaniak
47997af99e fix: add terminal-security package to CI build script 2025-09-03 15:45:46 -07:00
Hernan
6f91021550 Add stdout console log when package fails to build (build-packages.js) 2025-08-27 08:51:52 +00:00
Shawn Smith
42ea4b2d7e fix: 💚 Fix Builds (#6933)
* fix: 💚 Remove clean on build

* fix: 💚 The dist directory was not getting created

* fix: 💚 Install Vite

* fix: 💚 move gui build after core

* fix:  Fix the PromptFile test to be more robust

* fix: 💚 Use the proper github secret

* fix: 💚 Pass github secret correctly to composite workflow

* fix: 💚 More token fixes

* fix: 💚 More secrets fixes

* fix: 💚 Add rimfrafSync cleanup to vscode dist like JetBrains

* build: ⚗️ See what happens if we remove the GUI build step from prepackage.js

* Revert prepackage changes

* Remove pre-package dependencies

* Put back the chdir and build from root gui

* build: 💚 Final cleanup from refactoring

* Remove deprecated isInGitHubActions check

* feat: 🏗️ VsCode Task Improvements

* fix: 🎨 Prettier

* fix: 🎨 Prettier
2025-08-04 10:53:35 -07:00
Nate Sesti
f66df60a2d Add configurable interval option to oneper cron setup (#6849)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-30 11:31:32 -07:00
Patrick Erichsen
62bbe2edca create pr-build-upload-vsix.yaml 2025-07-29 11:53:15 -07:00
Patrick Erichsen
78334571d2 Merge latest main changes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 16:39:41 -07:00
Nate Sesti
3dfe00dd27 Nate/oneper-main (#6838)
* update oneper to by default download build from man

* republish instead of rebuilding

* deafult to a pr

* undo auto-release for now

* force install in oneper

* update oneper

* don't run on this branch

* feat: setup-cron and remove-cron
2025-07-28 16:38:04 -07:00
Patrick Erichsen
b061f7f047 more CI updates 2025-07-28 15:54:17 -07:00
Patrick Erichsen
0f582f2002 feat: restore enhanced build system and integrate parallel build script
This PR combines two improvements to the build system:

1. **Restore Enhanced Build System** (reverts PR #6811)
   - Restores commit SHA versioning for VS Code extensions
   - Brings back reusable GitHub Actions workflows
   - Re-enables monorepo build system with local file dependencies
   - Restores enhanced oneper utility with commit SHA support

2. **Integrate Parallel Build Script** (integrates PR #6821)
   - Replaces shell/PowerShell build scripts with JavaScript version
   - Implements parallel package building for 40% faster builds (20s → 12s)
   - Cross-platform compatibility using Node.js instead of platform-specific scripts
   - Enhanced error reporting and build status visibility

## Key Changes
-  Reusable GitHub Actions workflow for VS Code extension builds
-  Commit SHA versioning restored in extension package.json
-  Enhanced oneper utility with full commit SHA support
-  New `scripts/build-packages.js` with parallel execution
-  Removed platform-specific `build-packages.sh` and `build-packages.ps1`
-  Updated all workflows and tasks to use the new build script

## Performance Impact
Build time improvement: **20s → 12s** (40% faster) due to parallel execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 14:22:11 -07:00
Patrick Erichsen
81dd2c3112 Reapply "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811)
This reverts commit 880786b66f.
2025-07-28 14:15:49 -07:00
Patrick Erichsen
880786b66f Revert "feat: enhance oneper utility and refactor build system for commit SHA versioning" (#6811) 2025-07-28 08:07:06 -07:00
Patrick Erichsen
1307aef340 update build scripts 2025-07-25 13:40:55 -07:00
Patrick Erichsen
a76c51ce7c update build steps 2025-07-25 12:49:35 -07:00
Patrick Erichsen
38feadfbaa simplify CI to use build script 2025-07-25 12:15:43 -07:00
Patrick Erichsen
b9085a6118 add llm-info 2025-07-25 10:48:14 -07:00
Patrick Erichsen
0bab51eae5 refactor: update build system and oneper script for commit SHA versioning
- Update main.yaml workflow to use reusable build-vscode-extension.yml
- Fix oneper script to properly handle commit SHA-based versioning
- Switch packages to use local file:// references for better dev experience
- Update build scripts to handle fetch package dependencies correctly
- Add VS Code task for building packages with extension

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 19:10:16 -07:00
Patrick Erichsen
f173cf4dc1 simplify: use commit SHA for all version modifications
- Replace separate PR number and commit ID logic with unified approach
- Always use first 7 characters of commit SHA for version suffix
- Both PR and main builds now use format: 1.1.67-a1b2c3d
- Simpler logic, consistent naming across all build types
- Updated oneper script messaging accordingly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 19:03:08 -07:00
Patrick Erichsen
9b32a6c345 Update oneper 2025-07-24 18:16:27 -07:00
Patrick Erichsen
717ea1b91a refactor: modify package.json version in workflow instead of script
- Add pre-build step to modify package.json version with PR number
- Remove complex VSIX unzip/rezip logic from oneper script
- Cleaner approach that modifies version before building
- Only runs on pull_request events to avoid affecting main builds

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 18:15:07 -07:00
Ting-Wai To
ac594e4eec fix: oneper script to auto detect os 2025-07-24 16:51:08 -07:00
Patrick Erichsen
da1758ea7a feat: create oneper util script (#6783)
* feat: create `oneper` util

* Update oneper

* Update oneper

* feat: add cross-platform VSIX builds

- Update vscode-package-extension job to build on both ubuntu and macos
- Add platform-specific artifact names (vscode-extension-build-Linux/macOS)
- Update oneper script to support --platform flag (macos/linux)
- Change VSIX naming to continue-VERSION-PR.vsix format
- Remove unnecessary unzip dependency check

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: ensure dependencies are installed in matrix packaging job

The macOS packaging job was failing because dependencies weren't
available from cache. Added fallback npm ci commands to install
dependencies if node_modules directories don't exist.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: use matrix strategy for dependency jobs

Instead of fallback npm ci commands, update the dependency jobs
(install-core, install-config-yaml, install-openai-adapters, install-vscode)
to also use the matrix strategy. This ensures proper cross-platform
dependency caching and cleaner builds.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add reload instructions to --latest command

Consistency improvement - both --pr and --latest installations
now show reload instructions to help users activate the new
extension version.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 16:42:48 -07:00
Patrick Erichsen
318910df16 chore: build all packages in install scripts 2025-07-07 15:13:38 -07:00
Josh Holmer
ed7dc465bf Fix install-all-dependencies script
Because the script was missing the step to build `openai-adapters`,
the build would fail, leading to the inability to run tests or the local
copy of the extension.
2025-07-02 23:05:16 -04:00
Nate Sesti
78426cc224 Merge pull request #6022 from uinstinct/speedup-builds
chore: speedup builds for binary and prepackage
2025-06-26 21:04:06 -07:00
Patrick Erichsen
f75f0d253c chore: execute permission on build scripts 2025-06-25 21:50:37 -07:00
Patrick Erichsen
cc05643684 chore: update preview.yaml with package build logic 2025-06-25 19:16:36 -07:00
uinstinct
7df9c92d39 add a script file to spawn a docker container 2025-06-25 19:47:51 +05:30
uinstinct
01930c926d skip installations and downloads on extension run 2025-06-19 16:41:16 +05:30
uinstinct
e8e8821134 move install-copy-nodemodule to vscode scripts 2025-06-06 22:58:45 +05:30
uinstinct
8d48cefc2e correct to copy-nodemodule.js 2025-06-06 21:20:16 +05:30
uinstinct
112bdcb0ef move copy-lancedb to root scripts/util 2025-06-06 20:29:00 +05:30
Patrick Erichsen
587459c007 feat: manual ripgrep downloads for JB 2025-05-08 18:47:13 -07:00
Patrick Erichsen
a83526d6a4 fix: broken help center quickpick 2025-04-22 14:14:21 -07:00
Patrick Erichsen
91f87f8fd0 fix: update install script 2025-04-17 15:25:59 -07:00
Sherman Boyd
b6f2f3905d suppress output for fnm and nvm commands 2025-04-06 16:56:47 -07:00
Sherman Boyd
68325392f2 support fnm as well as nvm 2025-04-06 16:53:01 -07:00
gyeongmin-ju
b419c3b2ba Add missing popd command at the end of install-dependencies.ps1
Signed-off-by: amos42 <jcmh74@gmail.com>
2025-03-13 20:57:10 +09:00
Dallin Romney
2e5a8ce004 Merge pull request #4621 from continuedev/pe/nvm-warning
feat: check for `nvm` version in install script
2025-03-12 17:33:52 -07:00
Patrick Erichsen
18c5019524 feat: allow input to exit 2025-03-12 17:21:27 -07:00
Patrick Erichsen
b1a93b7a2d feat: check for nvm version in install script 2025-03-12 10:30:49 -07:00
tomasz-io
2aedca44db chore: update package-lock.json 2024-12-02 13:50:51 -08:00
tomasz-io
16f468a560 dev: update installation scripts 2024-10-17 11:38:58 +07:00
Test
dc1eff8e8a add download step 2024-10-14 17:24:44 -07:00
Test
1754a57d4a chore: skip chromium install w/ puppeteer 2024-08-23 09:27:03 -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
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