Commit graph

68 commits

Author SHA1 Message Date
Dallin Romney
7e9dc30748 fix: iterations on notch updates - create agent vs assistant, skip gui tests for now 2025-09-09 20:27:50 -07:00
Tomasz Stefaniak
3019a040d5 Revert "test: expect tests to fail"
This reverts commit fc92290faa.
2025-08-29 15:49:00 -07:00
Tomasz Stefaniak
fc92290faa test: expect tests to fail 2025-08-29 15:41:52 -07:00
Tomasz Stefaniak
72e66e5116 fix: prettier 2025-08-29 10:09:20 -07:00
Jacob Kim
f27e7c71de
feat: add user-friendly way to toggle between FIM and next edit (#7355)
* feat: don't format when model is not mercury

* chore: bump

* fix: remove mercury-coder-nextedit

* refactor: remove refs to mercury-coder-nextedit

* feat: add util function for converting model name to enum

* refactor: add new types

* refactor: create an abstract base class for providers

* refactor: add child provider for instinct

* refactor: add provider for mercury coder

* refactor: provider factory

* refactor: use factory to create model providers based on helper.modelName

* refactor: clean up redundant logic to be more provider-friendly

* add buildPromptMetadata as an abstract method

* refactor: use handlebars and provider-specific template renderers

* refactor: use this.modelProvider instead of prompt engine

* refactor: remove redundant helper

* fix: update vitest after refactor

* feat: add test for convertNextEditModelNameToEnum

* fix: add isSecurityConcern imports

* feat: add functions to return next edit menu items and update config

* fix: get rid of callbacks

* feat: render next edit menu items

* fix: get rid of redundant completion request

* feat: update next edit status on vscode workspace config update, refactor out common logic

* feat: add continue.enableNextEdit

* feat: add aborted field to check for false positives

* fix: remove zetaDataset suffix

* feat: make sure that we are tracking completions

* feat: log aborts and move id generation to the top

* feat: all requests are tracked. when request is aborted, log as aborted with zero-value data. else, graduate it from pending completion and set aborted to false

* feat: add aborted to schema

* feat: add a toggleNextEditEnabled command

* feat: show (NE) in the status bar when next edit is enabled, add keymap

* feat: add command definitions for toggleNextEditEnabled

* refactor: handle validation in VsCodeExtension

* feat: check if model does not support next edit

* feat: use better menu item labels

* fix: casing

* chore: bump

* feat: add a function to disable next edit

* feat: disable next edit before e2e tests

* chore: bump

* fix: add a small delay to wait for UI loading

* fix: NE is shown for all statuses

* fix: wait for the NE to pop up

* fix: wait longer for disableNextEdit, clear potential next edit notifications

* fix: roll back clearAllNotifications

* fix: try disabling next edit before each

* fix: revert

* feat: add sane defaults when no workspace settings are set

* fix: fall back to false

* fix: debugging

* chore: change name

* fix: try waiting for text

* debug: more debug logs

* fix: clear notifs

* fix: suppress warning

* fix: string matching

* fix: jump label overlapping with the inline tip label (#7399)

* feat: add methods to temporarily hide and show tooltip

* feat: hide the inline tooltip when the jumpmanager's tooltip is shown

* feat: focus on chat input after apply

* revert

* fix: HOTFIX local assistant loading (#7354)

* fix: local assistant loading

* fix: no need for excluding .continue/.continue

* test: cases for config.yml and config.yaml names

* feat: remove hide/show logic for creating a new svgbuilder instance

* feat: use a new svgBuilder istance

* chore: update package-lock.json

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>

---------

Co-authored-by: uinstinct <61635505+uinstinct@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
Co-authored-by: Ting-Wai <40179554+tingwai@users.noreply.github.com>
2025-08-26 21:54:29 -04:00
Dallin Romney
73fdf19de8
feat: rebrand assistants as agents (#7227)
* feat: rebrand assistants as agents

* fix: assitant-agent cleanup part 1

* fix: file references

* fix: missing file reference in config yaml tests

* chore: assistant -> agent cleanup
2025-08-18 16:25:30 -07:00
QiuYang Shen
e251289d06 fix: fix tool execute abnormal when there is no tool policy data in the local cache 2025-08-07 02:21:01 +08:00
QiuYang Shen
161ed3aa98 feat: try to pass GUI test 2025-08-06 01:14:47 +08:00
Tomasz Stefaniak
b56c7f52e8 fix: formatting 2025-07-31 11:34:43 -07:00
Dallin Romney
400013333d chore: system message tools: cleanup and restore edit test 2025-07-20 12:42:03 +02:00
Dallin Romney
9511eb5fa9 fix: test failures - was doing a chat test in agent mode 2025-07-20 12:19:42 +02:00
Tomasz Stefaniak
25ebca018f
feat: compaction (#6662)
* feat: compaction

* fix: type errors

* fix: prettier

* fix: type errrors

* Update gui/src/components/StepContainer/StepContainer.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ResponseActions.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* Update gui/src/components/StepContainer/ConversationSummary.tsx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* fix: compaction

* fix: type errors

* fix: type errors

* fix: add passthrough

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2025-07-17 16:22:46 -07:00
Patrick Erichsen
3aacc1ca9c fix tests 2025-07-14 16:37:02 -07:00
Patrick Erichsen
e9a3d63b2b Update GUI.test.ts 2025-07-14 14:39:35 -07:00
Patrick Erichsen
da930213e7 Update GUI.test.ts 2025-07-14 14:36:45 -07:00
Patrick Erichsen
1654ba584d Update GUI.test.ts 2025-07-13 22:52:13 -07:00
Nate
adc27ff109 chore: remove .only 2025-07-08 10:11:16 -07:00
Nate
d02fa85935 test: no longer check for context items peek after terminal tool call (we don't show it anymore) 2025-07-07 21:52:56 -07:00
Dallin Romney
318543872a remove builtin_ from tool names, add tool policy migration 2025-07-01 23:52:24 -07:00
Tomasz Stefaniak
5fde07e2e8 improv: copy 2025-05-15 12:54:28 -07:00
Tomasz Stefaniak
b786591415 fix: tests 2025-05-15 11:28:56 -07:00
Tomasz Stefaniak
ff543e8b32 fix: tests 2025-05-15 11:14:22 -07:00
Tomasz Stefaniak
74a4638936 test: rule peek 2025-05-15 10:43:30 -07:00
Patrick Erichsen
1e87618a53 test: hardcode tool_use 2025-05-07 14:26:08 -07:00
chezsmithy
8c3805c067 fix tests that now only work in Agent Mode 2025-05-06 23:26:48 -07:00
Patrick Erichsen
4ad5fab16c
Revert "add smooth scrolling to chat" 2025-04-28 15:43:04 -07:00
uinstinct
2361b03029 Revert "reduce timeout to 200ms"
This reverts commit 3588c95f55.
2025-04-23 21:11:11 +05:30
uinstinct
3588c95f55 reduce timeout to 200ms 2025-04-23 19:52:29 +05:30
uinstinct
95b7239366 place delay at correct position
check first expect

recheck

try adding timeout

place delay at correct position
2025-04-23 19:45:57 +05:30
Nate
83dedcd6da more tests 2025-04-19 22:21:53 -07:00
Nate
b9c92b5db0 test fixes 2025-04-19 22:18:35 -07:00
Nate
3ab5faa176 tests for tool calling 2025-04-19 16:01:37 -07:00
Nate
7d350a6d88 skip legacy tests 2025-02-26 02:29:25 -08:00
Nate
d9e5e7dfe1 fix e2e tests 2025-02-26 02:20:44 -08:00
Dallin Romney
9109fb2cfc remove describe.only 2025-01-20 19:42:52 -08:00
Dallin Romney
cef9116bd0 tutorial card test 2025-01-20 19:19:09 -08:00
Nate
18824ef732 fix failing test 2025-01-16 09:40:03 -08:00
Nate
dc6ba67b4c address tests feedback 2025-01-16 09:36:09 -08:00
Nate
776ef9e39f fix test 2025-01-15 22:58:48 -08:00
Nate
65d3600c21 terminal context provider test 2025-01-15 22:28:50 -08:00
Nate
0dc8f33c26 e2e test system message 2025-01-15 13:28:00 -08:00
Nate
6568b80a64 Merge branch 'main' into nate/quick-edit-f4d8 2025-01-10 08:59:58 -08:00
Nate
a959fc7ada skip failing test 2025-01-10 08:59:11 -08:00
tomasz-io
b94ccc6db5 fix: scroll to the bottom on history change 2024-12-24 14:26:28 -08:00
tomasz-io
b3ac14332e fix: cycling through chat messages 2024-12-23 12:41:30 -08:00
Nate
f83206a37b successful tool call test 2024-12-22 10:22:05 -05:00
tomasz-io
258bbc6b5c fix: open new session from any page 2024-12-20 16:15:34 -08:00
tomasz-io
93c9507542 fix: close sidebar when cmd+l pressed on focus 2024-12-19 16:36:38 -08:00
tomasz-io
575a70721b fix: close extension after tests 2024-12-17 14:44:37 -08:00
tomasz-io
d24af6627f test: keyboard shortcuts 2024-12-17 11:16:57 -08:00