tanzhenxin
cef0be1b63
test(sdk): simplify integration tests for reliability
...
- Replace verbose prompts with simple 'Say hello' prompts
- Remove fragile text content assertions that depend on specific model responses
- Simplify test logic to focus on message flow rather than content validation
- Add permissionMode: 'default' and test file setup for read-only tool tests
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-16 11:23:57 +08:00
tanzhenxin
e484dfbbad
refactor: remove summarizeToolOutput feature
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Remove the summarizeToolOutput setting and related functionality.
This feature allowed LLM-based summarization of shell tool output but is no longer needed.
This simplifies the codebase by removing unused summarization logic and configuration options.
2026-03-15 13:51:32 +08:00
DennisYu07
aa0f04b60a
add doc for hooks and skip integration test
2026-03-12 07:44:26 -07:00
DennisYu07
4b80e4a3b7
reduce some useless case
2026-03-10 19:59:15 -07:00
DennisYu07
ddf2290ccd
add integration test for PreToolUse PostToolUse PostToolUseFailure PreCompact
2026-03-10 19:39:55 -07:00
DennisYu07
f547785da7
add integration test for notification
2026-03-10 04:26:15 -07:00
DennisYu07
31b40ca653
add integration test for SubagentStart and SubagentEnd
2026-03-10 01:45:31 -07:00
DennisYu07
98fb607ad1
merge main
2026-03-10 00:29:08 -07:00
DennisYu07
d30986997f
Merge pull request #2238 from QwenLM/feat/hook-stop-implementation
...
fix(hooks): Remove useless expect
2026-03-10 14:57:53 +08:00
DennisYu07
5774fa47af
remove useless expect
2026-03-09 23:31:10 -07:00
DennisYu07
1ce1818680
Merge pull request #2230 from QwenLM/feat/hook-stop-implementation
...
fix(hooks): Fix failing hook integration tests by updating hook scripts to create hook_invoke_count.txt
2026-03-10 13:59:59 +08:00
DennisYu07
f945f95540
refactor test case
2026-03-09 20:38:38 -07:00
DennisYu07
e529b62fd2
refactor expect for stop hook
2026-03-09 20:05:17 -07:00
tanzhenxin
377a4f183e
fix(test): use toContain instead of toBe for file content assertion
...
The test was failing because readFile returns content with a trailing
newline, causing '1.0.1\n' to not equal '1.0.1' with toBe.
Using toContain handles this gracefully.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-09 20:37:11 +08:00
DennisYu07
b359929a90
implementation integration test for PermissionRequest
2026-03-09 04:45:13 -07:00
DennisYu07
ab368e15b0
add matcher for SessionStart and SessionEnd and rafactor integration test
2026-03-09 02:34:33 -07:00
DennisYu07
c0c8da9aeb
refactor integration test for SessionStart and SessionEnd
2026-03-08 20:45:12 -07:00
DennisYu07
3458c1d68b
merge main de resolve conflict
2026-03-06 16:00:51 -08:00
DennisYu07
0b7ad066b5
Merge pull request #2183 from QwenLM/feat/hook-stop-implementation
...
Qwen Code CI / Lint (push) Has been cancelled
Qwen Code CI / CodeQL (push) Has been cancelled
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Has been cancelled
E2E Tests / E2E Test (Linux) - sandbox:none (push) Has been cancelled
E2E Tests / E2E Test - macOS (push) Has been cancelled
Qwen Code CI / Test (push) Has been cancelled
Qwen Code CI / Test-1 (push) Has been cancelled
Qwen Code CI / Test-2 (push) Has been cancelled
Qwen Code CI / Test-3 (push) Has been cancelled
Qwen Code CI / Test-4 (push) Has been cancelled
Qwen Code CI / Test-5 (push) Has been cancelled
Qwen Code CI / Test-6 (push) Has been cancelled
Qwen Code CI / Test-7 (push) Has been cancelled
Qwen Code CI / Test-8 (push) Has been cancelled
Qwen Code CI / Post Coverage Comment (push) Has been cancelled
fix: Hooks online integration test failed
2026-03-07 07:27:29 +08:00
DennisYu07
08ecaf50aa
remove non-deterministic test
2026-03-06 09:58:42 -08:00
DennisYu07
b467369fd5
align command output with online env
2026-03-06 07:37:42 -08:00
mingholy.lmh
f1c88e9bc9
style: apply formatting and linting fixes across codebase
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-06 21:58:22 +08:00
mingholy.lmh
180dcd8b36
refactor(acp): migrate ACP integration to use @agentclientprotocol/sdk
...
- Remove acp.ts and schema.ts in favor of SDK types
- Refactor acpAgent.ts to leverage SDK client
- Update session management types and implementations
- Adjust all test cases for new SDK-based architecture
- Update integration tests and export utilities
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-06 21:57:35 +08:00
DennisYu07
b4e64b6c7d
Merge pull request #2156 from QwenLM/feat/hook-stop-implementation
...
fix(hooks): Move enable from hooks to hookConfig and add max turns
2026-03-06 18:58:00 +08:00
DennisYu07
d7b9024d29
move enable from hooks to hookConfig and add max turns
2026-03-06 02:33:14 -08:00
DennisYu07
f3b56f5a31
Merge pull request #2139 from QwenLM/feat/hook-stop-implementation
...
fix(hooks): fix result aggregator for userPromptSubmit and fix enable for integration test
2026-03-06 17:19:46 +08:00
DennisYu07
b71904d24e
fix intergration test
2026-03-06 01:02:24 -08:00
DennisYu07
5ef7894e86
reslove aggregator for userpromptsubmit
2026-03-05 23:59:43 -08:00
tanzhenxin
3a549419ba
Merge branch 'main' into feat/sandbox-config-improvements
2026-03-06 14:38:39 +08:00
tanzhenxin
76650819f3
Merge pull request #2120 from QwenLM/refactor/message-components-and-themes
...
refactor(cli): consolidate message components and fix leading icon display issues
2026-03-06 14:05:21 +08:00
DennisYu07
301dfcb4d3
Merge branch 'main' into feat/hook_sessionstart_sessionend
2026-03-05 21:56:14 -08:00
DennisYu07
79939e8ebe
Merge pull request #1988 from QwenLM/feat/hook-stop-implementation
...
Qwen Code CI / CodeQL (push) Waiting to run
Qwen Code CI / Lint (push) Waiting to run
Qwen Code CI / Test (push) Blocked by required conditions
Qwen Code CI / Test-1 (push) Blocked by required conditions
Qwen Code CI / Test-2 (push) Blocked by required conditions
Qwen Code CI / Test-3 (push) Blocked by required conditions
Qwen Code CI / Test-4 (push) Blocked by required conditions
Qwen Code CI / Test-5 (push) Blocked by required conditions
Qwen Code CI / Test-6 (push) Blocked by required conditions
Qwen Code CI / Test-7 (push) Blocked by required conditions
Qwen Code CI / Test-8 (push) Blocked by required conditions
Qwen Code CI / Post Coverage Comment (push) Blocked by required conditions
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
feat(hooks): Implement hooks system infrastructure with CLI and UI management
2026-03-06 12:59:16 +08:00
tanzhenxin
076f4c9afa
Merge pull request #2037 from QwenLM/mingholy/refactor/settings-migration
...
Refactor settings migration to sequential framework with atomic file writes
2026-03-06 11:17:33 +08:00
tanzhenxin
01ed2a7b1f
test(terminal-capture): add message-components scenario for PR #2120
...
Add test scenario to verify message component prefixes display correctly:
- Info message prefix (● filled circle)
- Error message prefix (✕)
- User message prefix (>)
- Assistant message prefix (✦)
Also refactors GIF generation to scenario-level for cleaner output.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-05 21:13:13 +08:00
tanzhenxin
06aeb8a6a2
add qc-code-review scenario
2026-03-05 19:41:32 +08:00
tanzhenxin
df20ec9871
feat(terminal-capture): add streaming-insight scenario and simplify GIF timing
...
- Add streaming-insight scenario for /insight command demo
- Add progress.sh script to test PTY carriage return handling
- Simplify generateGif with fixed frame durations (300ms normal, 1s edges)
This enhances terminal capture testing with a real-world streaming scenario
and cleaner GIF generation logic.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-05 19:13:28 +08:00
tanzhenxin
b8a7ac830d
feat(terminal-capture): add streaming capture with GIF generation
...
Add ability to capture multiple screenshots at intervals during
long-running terminal output (e.g., progress bars). Optionally
generates animated GIFs from captured frames using ffmpeg.
Features:
- Streaming capture at configurable intervals
- Early stop when output stabilizes (3 consecutive unchanged frames)
- Duplicate frame skipping
- Animated GIF generation via ffmpeg concat demuxer
- Auto-cleanup of output directory before each run
- Configurable delay before starting captures
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-05 17:46:09 +08:00
DennisYu07
f0cc28f80f
implementation SessionStart and SessionEnd hook
2026-03-03 23:39:57 -08:00
mingholy.lmh
33d65af79b
fix(acp): add session/set_config_option method for mode and model configuration
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-03 17:16:01 +08:00
DennisYu07
4a44eb7a17
add more integration test for hooks
2026-03-02 23:32:10 -08:00
DennisYu07
7b0929d00c
add integration test and --experimental-hooks
2026-03-02 19:05:28 -08:00
DennisYu07
3bf30d9684
add ut
2026-03-02 06:08:21 -08:00
mingholy.lmh
d38077423d
refactor: use pre-defined utils
2026-03-02 12:38:26 +08:00
mingholy.lmh
d0c1547c60
test: add test fixtures
2026-03-02 11:54:54 +08:00
DennisYu07
4b18cfe3f3
Revert "implementation 10 hooks"
...
This reverts commit c9126e043f .
2026-03-01 17:58:11 -08:00
DennisYu07
c9126e043f
implementation 10 hooks
2026-03-01 17:50:48 -08:00
mingholy.lmh
ae8c0d3d4e
refactor(settings): sequential settings migration
2026-03-02 00:12:51 +08:00
DennisYu07
3c9fcf9749
add integration test for hook
2026-02-28 00:03:44 -08:00
mingholy.lmh
0b9164b649
fix: rename GEMINI_CLI_INTEGRATION_TEST to QWEN_CODE_INTEGRATION_TEST
...
- Update integration test environment variable name
- Ensure sandbox container naming works correctly with new variable
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-27 11:38:50 +08:00
tanzhenxin
179ce68e63
fix(test): keep plan mode active during ACP integration test
...
The test 'blocks write tools in plan mode' was failing because the model
would attempt to exit plan mode via exit_plan_mode tool. By cancelling
switch_mode tool calls in the permission handler, we ensure plan mode
stays active throughout the test.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-02-26 23:10:28 +08:00