summaryrefslogtreecommitdiff
path: root/docs/coverage/_internal.out
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-08 17:33:04 +0200
committerPaul Buetow <paul@buetow.org>2026-02-08 17:33:04 +0200
commitbe73769b81b57f9a90475a45f23b2c447178ff2a (patch)
tree0ffa602318b02ab2636daddcda6b7d3d46e768de /docs/coverage/_internal.out
parent4892fc63fa3a68d3e837a88b1254de849567227f (diff)
Fix amp agent prompt extraction to use TUI box pattern
Amp CLI runs in TUI mode with box-drawing UI (│ text │) similar to Cursor, not shell-style (> prompt). Updated prompt pattern from `(?m)>\s*(.+)$` to `(?m)│\s*(.+?)\s*│\s*$` to correctly extract text from amp's box UI. Changes: - internal/tmuxedit/config_agent.go: Update amp promptPat to box pattern - internal/tmuxedit/config_agent_test.go: Update test to use box format - docs/usage.md: Document detection order and clear methods for all agents - docs/tmux.md: Clarify input mode handling (Vim vs Emacs/readline) - config.toml.example: Add detailed agent descriptions and patterns - prompts/tmux-edit-integration-tests.md: Add test status, mock editor best practices Integration tests verified: - Amp detection: amp/sourcegraph keywords - Prompt extraction: "hello world test" correctly captured - End-to-end workflow: text modification and sending works - Multi-line support: all lines delivered correctly - All unit tests pass (67/67) - Coverage: 80.9% (meets requirement) - Cursor and Claude implementations unchanged Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'docs/coverage/_internal.out')
-rw-r--r--docs/coverage/_internal.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/coverage/_internal.out b/docs/coverage/_internal.out
new file mode 100644
index 0000000..c62dd8b
--- /dev/null
+++ b/docs/coverage/_internal.out
@@ -0,0 +1 @@
+mode: count