Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
continue[bot] 14dd72eb21 Fix compaction and token counting issues from Cubic review
Address code review feedback:
1. Add fallback to use compacted history directly when ChatHistoryService
   is unavailable (fixes P1 issue in handlePostToolValidation and
   handleNormalAutoCompaction)
2. Prevent double-counting of system message tokens by checking if
   system message is already in history before subtracting tokens
3. Remove tool output name from token count since it's not sent to model

This ensures compaction works correctly in headless contexts and provides
more accurate token estimation.

Co-authored-by: nate <nate@continue.dev>
2025-12-01 23:03:38 +00:00
.continue fix: 🔥 Additional fixes based on commnets 2025-11-18 19:45:34 -08:00
.github fix: continue[bot] CLA exclusion 2025-11-25 22:25:54 -08:00
.husky feat: .continue/environment.json (#7983) 2025-09-25 16:30:56 -07:00
.idea fix: migrate to built-in inline completion API from 2024.1 (#6947) 2025-08-20 09:54:40 -07:00
.vscode fix: use relative path in vscode build task (#8134) 2025-10-13 10:30:07 -07:00
actions fix: allow external repos to grab review scripts from continue repo 2025-10-22 15:26:13 -07:00
binary Merge pull request #8842 from continuedev/snyk-upgrade-de9ea8b2c7dd7a4a1055823b798b8621 2025-11-24 11:12:18 -08:00
core feat: select org profile on sign in (#8859) 2025-11-27 01:44:55 -08:00
docs Merge pull request #8881 from uinstinct/gemini-3-support 2025-11-26 13:57:58 -08:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions Fix compaction and token counting issues from Cubic review 2025-12-01 23:03:38 +00:00
gui Merge pull request #8881 from uinstinct/gemini-3-support 2025-11-26 13:57:58 -08:00
manual-testing-sandbox fix: remove hi.txt 2025-11-09 18:40:46 -08:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages Merge pull request #8891 from continuedev/dallin/openai-adapters-bump 2025-11-26 15:12:03 -08:00
scripts Add script to analyze file hotspots from git history (#8591) 2025-11-04 11:55:36 -08:00
sync merkel 2024-10-23 10:29:15 +02:00
.continueignore ignore .continue folder 2025-03-08 16:18:51 -08:00
.eslintrc.shared.json add no misused promises rule 2025-06-13 22:09:32 +05:30
.gitignore fix: gitignore (#7949) 2025-09-24 12:18:31 -07:00
.node-version Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.nvmrc Update Node.js LTS to v20.19.0 2025-04-22 02:01:03 +08:00
.prettierignore feat: husky for prettier (#7979) 2025-09-25 16:13:08 -07:00
.prettierrc remove border above input box 2024-11-05 08:18:31 -08:00
CLA.md fix: Return the CLA (#6585) 2025-07-16 02:01:42 -07:00
CODE_OF_CONDUCT.md npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path . 2025-05-25 18:41:32 -07:00
CONTRIBUTING.md docs: update link (#7954) 2025-09-24 14:52:36 -07:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
package-lock.json docs: mission control updates (#8708) 2025-11-14 15:26:19 -08:00
package.json eslint errors 2025-10-20 09:46:46 -07:00
README.md docs: mission control updates (#8708) 2025-11-14 15:26:19 -08:00
SECURITY.md Create SECURITY.md 2025-02-01 01:01:08 -08:00
tsconfig.json .continuerules 2024-12-15 09:30:56 -08:00

Continue logo

Continue

Ship faster with Continuous AI

The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff

Get started in Mission Control, CLI (Headless Mode), or CLI (TUI mode)

Cloud Agents

Set workflows to run automatically on PR opens, schedules, or any event trigger

Cloud Agents

CLI Agents

Watch workflows execute in real-time and approve decisions step-by-step from your terminal

CLI Agents

IDE Agents

Trigger workflows from VS Code or JetBrains—let agents handle the refactoring while you keep coding

IDE Agents

Contributing

Read the contributing guide, and join #contribute on Discord.

License

Apache 2.0 © 2023-2024 Continue Dev, Inc.