Commit graph

604 commits

Author SHA1 Message Date
Patrick Erichsen
7ec2d236a5 chore: hub links 2025-11-06 17:09:37 -08:00
Patrick Erichsen
67033627b3
feat: impl Responses API in oai-adapters (#8417)
* feat: add GPT-5 Codex model support

- Add GPT-5 Codex to llm-info package with 500k context and 150k max tokens
- Add model definition to models.ts for UI configuration
- Include GPT-5 Codex in OpenAI provider packages list
- Model supports chat and edit roles with tool_use capability

* feat: impl Responses API in oai-adapters

* fix chat describer

* Update openai.ts

* fix llm-info

* address dallin's feedback
2025-10-29 13:17:32 -07:00
Dallin Romney
20a8e6c292
Merge pull request #8411 from continuedev/nate/fix-tool-call-title-truncation
fix: improve tool call display truncation and update fetch dependency
2025-10-29 11:05:51 -07:00
Ross Golder
bb361ecf14
Merge branch 'continuedev:main' into feature/disable-commit-signature-envvar 2025-10-29 07:08:44 +07:00
Ross Golder
efdc8fcb93
Add CONTINUE_CLI_DISABLE_COMMIT_SIGNATURE env var to disable commit signature
- Add environment variable check in systemMessage.ts
- Update README.md with documentation
- Allows users to disable the Continue commit signature in generated commits
2025-10-29 06:51:55 +07:00
Dallin Romney
de62515ffd
Merge pull request #8488 from continuedev/dallin/fix-cli-agent-no-tools-policies
fix: allow all tools if not specified when using --agent
2025-10-28 16:47:54 -07:00
Dallin Romney
f50a80bc6d test: add tests for agent file tool permissions 2025-10-28 15:56:22 -07:00
Dallin Romney
c1f1513c55 fix: allow all agent tools if not specified 2025-10-28 15:51:16 -07:00
Aditya Mitra
22016af4ec
fix(cli): unskip first slash command output (#8482) 2025-10-28 10:45:27 -07:00
Aditya Mitra
ab214e3abc
refactor(cli): throw tool error instead of returning and matching error strings (#8432)
* fix: prevent string error matching throwing errors

- added ToolResultWithStatus

* add throwing of errors in search code tool

* throw errors in cli fetch tool

* throw errors in writeFile tool

* throw error in status tool

* throw errors in listFiles tool

* throw error in readfile tool

* fix no matches for pattern searchCode

* update tests

* use continueerror writeFile

---------

Co-authored-by: Nate <sestinj@gmail.com>
2025-10-27 16:43:05 -07:00
Dallin Romney
20886604d8
fix(cli): exclude ask first tools in headless (#8416)
* fix: permissions cleanup
:

* fix: remove unused test
2025-10-23 19:12:47 -07:00
Nate
9a270d8344 fix: improve tool call display truncation and update fetch dependency 2025-10-23 10:52:30 -07:00
Dallin Romney
43053580ef
fix: prepend agent prompt in serve mode (#8393)
* fix: prepend agent prompt in serve mode

* fix: prompt prepending and tests

* fix: lint and format prepend prompt
2025-10-22 15:47:47 -07:00
Dallin Romney
5fa2415e9b
fix: mcp agent policies and deduplicate blocks when merging unrolled assistants (#8376)
* fix: deduplicate blocks when merging config yaml

* fix: tool policies for mcp servers in agent mode

* fix: syntax error

* fix: cli tests

* fix: don't log

* fix: lint/format

* fix: better comments for tool policies

* fix: one test left

* fix: failing services test

* fix: lint and format
2025-10-22 14:41:41 -07:00
Dallin Romney
6098fbf585
fix(cli): agent injected blocks ignored (#8361) 2025-10-20 21:20:44 -07:00
Dallin Romney
e52a225971 fix: tests 2025-10-20 15:26:39 -07:00
Dallin Romney
5e55466695 fix: linting 2025-10-20 15:19:02 -07:00
Dallin Romney
777b472ff5 fix: catch invalid saved config file uri 2025-10-20 15:12:05 -07:00
Dallin Romney
73fd44f7ff fix: saved uri exists logic for slugs 2025-10-20 15:10:31 -07:00
Dallin Romney
16a5c09430 fix: lint 2025-10-20 14:44:26 -07:00
Dallin Romney
d97a1aed33 fix: tweak error message 2025-10-20 14:41:08 -07:00
Dallin Romney
f6db75a503 fix: HOTFIX allow default config fallback for headless 2025-10-20 14:38:22 -07:00
Aditya Mitra
3b074e6565
style(cli): adding loading animation when updating version (#8285) 2025-10-20 12:23:42 -07:00
Dallin Romney
1d15c7c3df
Merge pull request #8298 from continuedev/pe/read-file-errs
feat: allow file reads outside IDE workspace (w/ permission)
2025-10-20 10:50:38 -07:00
continue[bot]
1c067901a9
feat: Add preview panel to session selector (cn ls / /resume) (#8231)
* feat: Add preview panel to session selector for chat history

- Created SessionPreview component to display chat history
- Updated SessionSelector to show two-column layout with preview on right
- Preview shows first 10 messages with truncation for long content
- Preview only displays when terminal width > 100 columns
- Automatically loads and displays session history as cursor moves

Fixes CON-3892

Generated with Continue(https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Username <nate@continue.dev>

* chore: Adjust session selector layout to 30/70 split

- Changed list width from 45% to 30% of terminal width
- Preview panel now takes up 70% of the right side
- Provides more space for chat history preview

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Username <nate@continue.dev>

* fix lint

* preview pane takes full width

* check terminal height and skip empty messages

---------

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Username <nate@continue.dev>
Co-authored-by: Ting-Wai To <40179554+tingwai@users.noreply.github.com>
2025-10-17 14:24:36 -07:00
Patrick Erichsen
acad86f263
Apply suggestion from @cubic-dev-ai[bot]
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-17 10:19:15 -07:00
Dallin Romney
7cadef6265
Merge pull request #8271 from uinstinct/cli-print-mode
fix(cli): exit after printing response when using -p
2025-10-16 19:57:59 -07:00
Patrick Erichsen
ad2fd48124 Merge main branch and resolve conflicts
- Combined resolveInputPath approach with new ContinueError system
- Updated error handling to use ContinueError with appropriate error reasons
- Maintained improved error messages from pe/read-file-errs branch
2025-10-16 16:00:29 -07:00
Patrick Erichsen
4903f3ab94 add tool call policy evaluation 2025-10-16 15:56:31 -07:00
Dallin Romney
579bcbfcdd
Merge pull request #8259 from continuedev/dallin/agent-file-model-fixes
fix: loading of blocks with inputs. in CLI flags
2025-10-16 00:36:17 -07:00
Dallin Romney
619dd126d6
Merge pull request #8268 from continuedev/dependabot/npm_and_yarn/extensions/cli/happy-dom-20.0.2
chore(deps-dev): bump happy-dom from 20.0.0 to 20.0.2 in /extensions/cli
2025-10-15 23:18:16 -07:00
uinstinct
5aa4537ac3 fix(cli): exit after printing response when using -p 2025-10-16 08:51:55 +05:30
Dallin Romney
9bec1f0a4a fix: tests with new default model 2025-10-15 19:07:09 -07:00
Dallin Romney
9b2d211ef3 Merge branch 'main' of https://github.com/continuedev/continue into dallin/agent-file-model-fixes 2025-10-15 19:03:40 -07:00
Dallin Romney
760d370edf fix: load default model if no models, only option in headless 2025-10-15 19:02:53 -07:00
Dallin Romney
2854b139ca fix: cn remote command
use agent option for cn remote
2025-10-15 17:26:29 -07:00
Dallin Romney
cdf770a1a4 fix: cubic comments and injected block inputs unrolling 2025-10-15 15:10:54 -07:00
Dallin Romney
e53661f893 Merge branch 'main' of https://github.com/continuedev/continue into dallin/agent-file-model-fixes 2025-10-15 14:46:59 -07:00
dependabot[bot]
efe8752c13
chore(deps-dev): bump happy-dom from 20.0.0 to 20.0.2 in /extensions/cli
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.0.0 to 20.0.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v20.0.0...v20.0.2)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-version: 20.0.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-15 21:00:03 +00:00
uinstinct
2a6a0e91a4 set file permissions using chmod 2025-10-15 18:05:24 +05:30
Dallin Romney
5b8e5d962d fix: revert inputs to secrets option, always replace for injected blocks 2025-10-15 02:47:51 -07:00
Dallin Romney
4f5449adc1 fix: replace inputs with secrets 2025-10-15 02:43:23 -07:00
Dallin Romney
2162446863 feat: full secrets parsing for all CLI flags 2025-10-15 02:35:06 -07:00
uinstinct
413c0bb26c fix: use 0600 permissions on config.yaml 2025-10-15 13:29:49 +05:30
Patrick Erichsen
2d861bf397 Update telemetryService.ts 2025-10-14 16:30:34 -07:00
Patrick Erichsen
88ef07eb23 dallin's feedback 2025-10-14 15:25:46 -07:00
Dallin Romney
64c7dd19e7
fix: include auth for loading packages (#8230)
* fix: include auth in hub loader

* fix: tests
2025-10-13 23:04:41 -07:00
continue[bot]
f7e69d85db
Fix: Allow --agent flag without prompt in headless mode (#8227)
* Fix: Allow --agent flag without prompt in headless mode

- Modified prompt validation to check for --agent flag presence
- Agent files can provide their own prompts, so no user prompt is required
- Added example usage with --agent flag to error message
- Added test case to verify --agent flag bypasses prompt requirement

Fixes issue where 'cn -p --agent owner/package' incorrectly required a prompt

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>

* fix: better examples when prompt is not provided

---------

Co-authored-by: Continue Agent <agent@continue.dev>
Co-authored-by: Continue <noreply@continue.dev>
Co-authored-by: Username <dallin@continue.dev>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-10-13 22:02:32 -07:00
Dallin Romney
27e1e354ac fix: shared options 2025-10-13 20:07:33 -07:00
Dallin Romney
0ecef51a82 fix: agent-file -> agentFile 2025-10-13 20:03:24 -07:00