Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
continue[bot] d70bdbbf28
Fix readFileRange Kotlin Int overflow in IntelliJ plugin (#8976)
* Fix readFileRange Kotlin Int overflow in IntelliJ plugin

Replace Number.MAX_SAFE_INTEGER with Int.MAX_VALUE (2147483647) to prevent
JSON deserialization errors in IntelliJ plugins.

The issue occurred because JavaScript's Number.MAX_SAFE_INTEGER (2^53 - 1)
exceeds Kotlin's Int maximum value (2^31 - 1), causing the following error:
'java.lang.NumberFormatException: Expected an int but was 9007199254740991'

This change ensures compatibility with Kotlin's Int type while still reading
to the end of each line as intended.

Fixes #8517

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Trigger CI re-run

The previous CI failure was a flaky test in the CLI extension, unrelated to our changes.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Extract magic number into MAX_CHAR_POSITION constant

Improve code maintainability by defining the Kotlin Int.MAX_VALUE as a
named constant with clear documentation.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Trigger CI re-run for flaky tests

Flaky UI tests failing intermittently on macOS (Node 18, 20) but passing
on all other platforms. Tests are unrelated to readFileRange changes.

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* Fix flaky CLI UI tests on macOS

Increase timeouts for UI rendering tests on macOS to prevent race conditions.
The tests were failing intermittently on macOS with Node 18/20 due to
insufficient wait times for UI stabilization.

Changes:
- Double timeouts on macOS in TUIChat.fileSearch.test.tsx
- Add extra 100ms wait on macOS in TUIChat.slashCommands.test.tsx
- Tests now pass consistently across all platforms

Co-authored-by: dallin <dallin@continue.dev>
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>

* fix: revert test changes

---------

Co-authored-by: continue[bot] <continue[bot]@users.noreply.github.com>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-12-05 12:13:39 -08:00
.continue fix: 🔥 Additional fixes based on commnets 2025-11-18 19:45:34 -08:00
.github chore(deps): bump JetBrains/qodana-action from 2025.2.2 to 2025.2.3 2025-12-05 09:07:18 +00: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 feat: simplify onboarding card 2025-12-04 10:10:40 -08:00
core Fix readFileRange Kotlin Int overflow in IntelliJ plugin (#8976) 2025-12-05 12:13:39 -08:00
docs Merge pull request #8925 from uinstinct/renamed-envvars 2025-12-04 19:46:52 -08:00
eval Preview (#1750) 2024-07-28 23:16:18 -07:00
extensions Merge pull request #8928 from uinstinct/cli-single-submit 2025-12-05 09:51:37 -08:00
gui Merge pull request #9010 from continuedev/dependabot/npm_and_yarn/gui/mdast-util-to-hast-13.2.1 2025-12-05 09:30:36 -08:00
manual-testing-sandbox chore(deps): bump django from 4.2.22 to 4.2.27 in /manual-testing-sandbox (#8992) 2025-12-03 09:49:19 -08:00
media delete old gifs 2025-08-06 16:53:57 -07:00
packages Merge pull request #9008 from continuedev/pe/onboarding 2025-12-04 14:07:35 -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 feat: simplify onboarding card 2025-12-04 10:10:40 -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.