Commit graph

84 commits

Author SHA1 Message Date
Nate
cd538eb230 update tool description 2025-12-08 22:24:30 -08:00
Nate
b5da44ddd6 fix(cli): resolve circular dependency in uploadArtifact tool
The uploadArtifact tool was importing services at the module level,
creating a circular dependency:
services/index.ts -> ToolPermissionService -> allBuiltIns -> uploadArtifact -> services/index.ts

This caused ToolPermissionService to be undefined when instantiated,
resulting in "ToolPermissionService is not a constructor" errors
in all ToolPermissionService tests.

The fix moves the services import inside the run() function where
it's actually used, breaking the circular dependency while
maintaining the same functionality.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-08 20:32:14 -08:00
Nate
85a4a69ebe Add artifact upload feature to CLI for agent sessions 2025-12-08 16:01:13 -08:00
Nate
1929275938 update tool prompt 2025-12-05 18:08:45 -08:00
Nate
2441b0fecc Add configurable timeout parameter to runTerminalCommand tool 2025-12-05 18:07:50 -08:00
Nate
d83a2c55c5 Increase terminal command timeout from 30s to 120s 2025-12-02 18:32:16 -08:00
Aditya Mitra
9a333f5809
feat(cli): add grep/find/findstr as alternative search strategy (#8616)
* feat(cli): add grep/find/findstr as alternative search strategy

* use -path instead of -name

* add dependent packages

* fix export

* include negated patterns

* Revert "include negated patterns"

This reverts commit 53e16aa6f70438bdd21d69c4cf7a403f43d6143c.

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-11-27 01:47:37 -08:00
Dallin Romney
06c1133fae merge: main 2025-11-18 16:28:09 -08:00
Patrick Erichsen
9bb396b0f5
fix: filter out failure tool if no --id (#8754)
* fix: filter out failure tool if no `--id`

* Update index.tsx
2025-11-17 11:20:05 -08:00
Aditya Mitra
ae572918a2
feat(cli): filter lines with more than 1000 characters (#8714)
* filter out lines greater than 1000 characters

* add tests
2025-11-17 11:01:36 -08:00
Patrick Erichsen
23cc853785
feat: report failure tool (#8694)
* chore: add FAILED to status list

* feat: report failure tool

* add failure reporting for failed chat completions

* Create status.ts

* Update status.ts

* sentry logigng

* Update reportFailure.ts

* Update posthogService.ts
2025-11-13 18:48:48 -08:00
continue[bot]
705dc7097c
Merge pull request #8674 from continuedev/dallinbriggs/8673-bash-tool-guidance
Add guidance to Bash tools to prefer edit tools over bash commands
2025-11-10 17:38:21 -08:00
Dallin Romney
cff31cf961
Merge pull request #8598 from uinstinct/cli-toolargs-validation
fix(cli): validate required parameters in tool call
2025-11-07 12:53:13 -08:00
Dallin Romney
0a630fb307
fix: typecheck write file args (#8585) 2025-11-06 10:24:43 -08:00
uinstinct
fdee3a886a fix(cli): validate required parameters in tool call 2025-11-05 11:34:45 +05:30
uinstinct
7944a92c15 fix(cli): check ripgrep search tool before using 2025-11-03 22:24:14 +05:30
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
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
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
f6d353fb28 Merge branch 'main' of https://github.com/continuedev/continue into dallin/workflow-files 2025-10-03 18:04:49 -07:00
Dallin Romney
3e80f3d8c5 fix: remove mode service, fix all tests, workflow service integration 2025-10-03 17:26:18 -07:00
Nate Sesti
60a08712c7
Add beta status tool option and improve status tool description (#8081) 2025-10-03 08:29:11 -07:00
Nate Sesti
2d50cfde3d
feat: status tool for cn (#8007)
* feat: status tool

* feat: status tool call endpoint

* fix: type errors

* fix: tests
2025-10-01 08:44:34 -07:00
Dallin Romney
fac7f5c449
feat: tool call args preprocessing (#7992)
* feat: preprocess tool call args

* fix: broken multi edit impl

* fix: preprocess test failures

* fix: preprocessing tests

* fix: tool calls test progress

* fix: tests using mock store

* fix: thunk tests working

* fix: mock ide messenger tests
2025-09-30 18:49:29 -07:00
Dallin Romney
e1c8878875
fix: edit tool prompt updates to encourage multi edits to avoid linting effects (#7998)
fix: prompt updates for linting effects
2025-09-26 17:07:24 -07:00
Dallin Romney
4bf7e6d949
fix: ls tool relative paths (#7982)
* fix: ls tool relative paths

* fix: list files prompt tweak

* fix: revert preventing .. since absolute skirts
2025-09-25 16:19:10 -07:00
Nate Sesti
bf5538bf39
feat: mark unread (#7886)
* fix: update /agents/devboxes to /agents

* feat: mark unread status in cn serve

* Update extensions/cli/src/services/StorageSyncService.test.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update extensions/cli/src/commands/ls.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: debugger breakpoints

* improv: logs

* fix: add encryption headers

* chore: package-lock

* fix: debugger createRequire issue

* clean: remove extra launch.json args

* test: clean up tests

* chore: format

* chore: lint fix

* fix: tests regression

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-09-22 19:54:46 -07:00
Dallin Romney
1821a72d16
fix: use json schema for tool definitions (#7904)
* fix: use json schema for tool definitions

* fix: cubic feedback

* fix: eslint

* fix: broken tool params type
2025-09-22 19:40:25 -07:00
Dallin Romney
d1b4dbe7d2 fix: cubic feedback, lint 2025-09-20 02:49:52 -07:00
Dallin Romney
6d7bfb966d feat: search and replace fallback reintroduction cont. 2025-09-20 02:41:25 -07:00
Dallin Romney
c211ec8358 feat: unify search and replace 2025-09-20 01:15:20 -07:00
Dallin Romney
b28ce7094d feat: refactor multiedit 2025-09-19 22:05:58 -07:00
Dallin Romney
7716712f21 fix: cubic feedback 2025-09-19 21:55:04 -07:00
Dallin Romney
c3cb3027d7 Merge branch 'dallin/search-replace-error-codes-con-3928' of https://github.com/continuedev/continue into dallin/search-replace-fallbacks-v2 2025-09-19 21:50:24 -07:00
Dallin Romney
4e1cea9891 fix: lint 2025-09-19 21:35:20 -07:00
Dallin Romney
c6858adb5b fix: keep posthog and telemetry service separate 2025-09-19 21:34:04 -07:00
Dallin Romney
7527bdef1f fix: broken test 2025-09-19 21:13:34 -07:00
Dallin Romney
fea84252ec fix: broken test 2025-09-19 18:28:31 -07:00
Dallin Romney
5b5532f7e7 feat: find and replace fallbacks (restore) 2025-09-19 10:29:49 -07:00
Dallin Romney
77288b0e41 feat: posthog telemetry for cli tool errors 2025-09-19 00:02:03 -07:00
Dallin Romney
3541eb987f fix: error name tweaks 2025-09-18 23:44:08 -07:00
Dallin Romney
5e60a13322 feat: continue error for better search and replace errors 2025-09-18 23:35:20 -07:00
Patrick Erichsen
aa7f8ff606 Update index.tsx 2025-09-15 15:55:37 -07:00
Patrick Erichsen
fb3d6dd7f1 feat: exclude single file edit for capable models 2025-09-15 15:41:58 -07:00
Nate
9b0367fc28 fix: graceful exit instead of process.exit(1) in cli 2025-09-12 14:51:19 -07:00
Ting-Wai To
c8b7ccfad4 feat: cli fetch tool to use fetchUrlContent from core 2025-09-09 20:25:35 -07:00
Dallin Romney
b44f9f7a48
Merge pull request #7622 from continuedev/nate/cn-updates-for-serve
support for reading ./ paths (again?...)
2025-09-08 16:27:56 -07:00
Nate
fa779a7f04 support for reading ./ paths (again?...) 2025-09-06 20:17:59 -07:00