pi-mono/packages/coding-agent/test
Armin Ronacher 6dff740fab fix(coding-agent): restore OSC 52 clipboard fallback for headless sessions
3349e1db1 (#9618) limited OSC 52 to SSH/mosh so a desktop terminal that ignores
it no longer reports a false success. That also disabled the only clipboard
route for containers and WSL without WSLg, which have no display to gate on.

Emit OSC 52 again on display-less Linux. On WSL, write the Windows clipboard
through PowerShell (verified, no OSC 52 size cap), preferring OSC 52 in
Windows Terminal where it is known to work. Desktop sessions with a display
still report the failure.

closes #9688
2026-09-20 12:42:15 +02:00
..
fixtures fix(coding-agent): remove obsolete plugin app fixture 2026-08-30 23:36:39 +02:00
session-manager feat(coding-agent): load session picker progressively 2026-09-20 00:48:26 +02:00
suite feat(coding-agent): defer extension loader dependencies 2026-09-19 23:25:47 +02:00
agent-session-auto-compaction-queue.test.ts fix(agent): restore streamFn extension compatibility 2026-07-21 18:37:07 +02:00
agent-session-branching.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
agent-session-compaction.test.ts fix(agent): restore streamFn extension compatibility 2026-07-21 18:37:07 +02:00
agent-session-concurrent.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
agent-session-dynamic-provider.test.ts fix(agent): decouple agent streams from compat 2026-07-20 17:54:36 +02:00
agent-session-dynamic-tools.test.ts fix(coding-agent): soften PI environment guideline 2026-08-06 22:50:27 +02:00
agent-session-retry.test.ts fix: cap agent retry backoff 2026-09-09 11:54:56 +02:00
agent-session-runtime-events.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
agent-session-stats.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
agent-session-tree-navigation.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
ansi-utils.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
args.test.ts fix(coding-agent): reduce redundant slow tests 2026-08-17 22:57:18 +02:00
assistant-message.test.ts feat(tui): add reusable mouse interaction support 2026-08-14 15:26:27 +02:00
auth-check.test.ts feat(coding-agent): add auth preflight 2026-08-06 19:43:52 +02:00
auth-storage.test.ts fix(coding-agent): preserve managed state file permissions 2026-08-22 01:19:25 +02:00
bash-close-hang-windows.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
bash-execution-width.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
block-images.test.ts fix(coding-agent): process BMP images from disk 2026-06-25 12:52:21 +02:00
branch-summarization.test.ts fix(coding-agent): raise branch summary output cap 2026-09-03 15:14:51 +02:00
branch-summary-extensions.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
bug-report.test.ts fix(coding-agent): preserve multiline bug descriptions 2026-09-20 01:40:27 +02:00
builtin-tool-strict-mode.test.ts feat(coding-agent): prefer strict sampling for built-in tools by default 2026-09-05 23:54:20 +02:00
cache-stats.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
cache-warmer.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
changelog.test.ts fix(coding-agent): fix changelog links 2026-06-08 20:31:20 +02:00
chat-viewport.test.ts feat(coding-agent): share fullscreen TUI with experimental client 2026-08-27 19:09:26 +02:00
clipboard-command.test.ts feat(tui): Simplify clipboard handling (#9163) 2026-09-05 23:52:32 +02:00
clipboard-image-bmp-conversion.test.ts feat(tui): Simplify clipboard handling (#9163) 2026-09-05 23:52:32 +02:00
clipboard-image-native-errors.test.ts feat(tui): Simplify clipboard handling (#9163) 2026-09-05 23:52:32 +02:00
clipboard-image.test.ts feat(tui): Simplify clipboard handling (#9163) 2026-09-05 23:52:32 +02:00
clipboard.test.ts fix(coding-agent): restore OSC 52 clipboard fallback for headless sessions 2026-09-20 12:42:15 +02:00
collapsible-message-components.test.ts fix(coding-agent): toggle summary entries on click 2026-09-16 18:08:06 +02:00
compaction-extensions-example.test.ts fix(coding-agent): preserve extension auth endpoints 2026-08-04 12:37:02 +02:00
compaction-extensions.test.ts fix(agent): restore streamFn extension compatibility 2026-07-21 18:37:07 +02:00
compaction-serialization.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
compaction-summary-reasoning.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
compaction.test.ts fix(coding-agent): compact oversized trailing tool results 2026-09-18 13:38:30 +02:00
config-value-migration.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
config.test.ts feat(coding-agent): bundle Node runtime (#8474) 2026-08-22 21:19:38 +02:00
credential-print.test.ts feat(coding-agent): add auth preflight 2026-08-06 19:43:52 +02:00
custom-editor-history-keybindings.test.ts feat(tui): add configurable prompt history actions 2026-08-05 21:34:21 +02:00
custom-message.test.ts feat(coding-agent): expose output padding to custom renderers (#7045) 2026-07-25 08:29:34 +02:00
default-tools-setting.test.ts feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
documentation.test.ts docs: validate documentation navigation and reachability (#9380) 2026-09-09 17:34:42 +02:00
edit-tool-legacy-input.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
edit-tool-no-full-redraw.test.ts feat(tui): add alternate-screen renderer 2026-07-30 12:59:48 +02:00
experimental-agent-controller.test.ts feat: move facet services into Chord 2026-08-29 14:55:51 +02:00
experimental-cli-command.test.ts feat(coding-agent): simplify experimental services and CLI 2026-08-30 22:51:00 +02:00
experimental-cli-entry.test.ts fix(coding-agent): keep remote harness dependencies development-only 2026-09-05 12:45:04 +02:00
experimental-cli-resolution.test.ts feat(coding-agent): reduce experimental test duplication 2026-08-31 01:38:28 +02:00
experimental-client-tui.test.ts feat: move service wire semantics into Chord 2026-09-01 00:53:40 +02:00
experimental-internal-process.test.ts fix(coding-agent): allow internal process startup in CI 2026-08-17 18:42:54 +02:00
experimental-plugin-reload.test.ts fix: remove dead experimental protocol code 2026-08-31 19:23:56 +02:00
experimental-presentation-facets.test.ts feat: simplify plugin facet lifecycle 2026-08-30 22:36:30 +02:00
experimental-radius-relay.test.ts feat(coding-agent): reduce experimental test duplication 2026-08-31 01:38:28 +02:00
experimental-remote-runtime.test.ts feat: consolidate remote service adapters 2026-09-01 10:09:01 +02:00
experimental-server-lifecycle.test.ts feat(coding-agent): move experimental runtime outside CLI 2026-08-16 22:53:32 +03:00
experimental-server-profile.test.ts feat(coding-agent): move experimental runtime outside CLI 2026-08-16 22:53:32 +03:00
experimental-service-binding.ts feat(coding-agent): tighten experimental service boundaries 2026-08-31 01:09:31 +02:00
experimental-session-directory.test.ts feat(coding-agent): move experimental runtime outside CLI 2026-08-16 22:53:32 +03:00
experimental-session-support.ts feat(agent): separate sessions, branches, and lanes 2026-08-25 16:52:29 +02:00
experimental-session-worker-lifecycle.test.ts feat(agent): replace remote sessions with routed services 2026-08-19 23:10:15 +02:00
experimental-session-worker-manager.test.ts feat: remove experimental compatibility shims 2026-09-01 10:09:01 +02:00
experimental-slash-commands.test.ts feat(chord): keep services available during facet reloads 2026-09-01 10:47:08 +02:00
experimental-transcript-provider.test.ts feat: add delta-backed replicated state 2026-08-31 14:04:42 +02:00
experimental.test.ts feat(coding-agent): add experimental feature guard (#5547) 2026-06-09 13:23:07 +02:00
export-html-skill-block.test.ts fix(coding-agent): strip skill wrapper XML from HTML export user messages (#4234) 2026-05-06 18:06:37 +02:00
export-html-whitespace.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
export-html-xss.test.ts Fix HTML export URL sanitization 2026-06-02 16:32:18 +02:00
export-jsonl-share.test.ts feat(coding-agent): include context in Radius session shares 2026-08-23 20:45:14 +02:00
extensions-discovery.test.ts Markdown api (#7231) 2026-07-30 22:39:04 +02:00
extensions-input-event.test.ts fix(coding-agent): keep unit model stores in memory 2026-08-05 16:23:31 +02:00
extensions-runner.test.ts feat(coding-agent): add event handler unsubscribe (#9630) 2026-09-17 21:44:26 +02:00
external-editor.test.ts fix(coding-agent): speed up external editor launch (#6903) 2026-07-22 15:49:01 +02:00
file-mutation-queue.test.ts fix(coding-agent): use async operations in tools 2026-05-23 09:50:03 +02:00
first-time-setup-fork.test.ts fix(coding-agent): skip first-time setup for forks (#5627) 2026-06-11 21:36:26 +02:00
first-time-setup.test.ts feat(coding-agent): add experimental first-time setup flow (#5587) 2026-06-10 12:11:49 +02:00
footer-data-provider.test.ts fix(coding-agent): make footer debounce tests deterministic 2026-09-05 13:40:16 +02:00
footer-width.test.ts fix(coding-agent): only label known subscriptions in footer 2026-08-06 07:47:35 +02:00
format-resume-command.test.ts feat(coding-agent): print resume hint on interactive exit 2026-05-29 15:56:42 +08:00
frontmatter.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
git-merge-and-resolve-extension.test.ts fix(coding-agent): drain follow-ups queued during agent_end 2026-05-28 18:27:39 +10:00
git-ssh-url.test.ts fix(coding-agent): harden git package install paths 2026-06-02 18:20:35 +02:00
git-update.test.ts fix(coding-agent): reduce redundant git update tests 2026-08-17 22:22:35 +02:00
http-dispatcher.test.ts fix(coding-agent): tunnel proxied HTTP requests 2026-09-02 09:23:23 +02:00
image-process.test.ts fix(coding-agent): process BMP images from disk 2026-06-25 12:52:21 +02:00
image-processing.test.ts fix(coding-agent): scan past non-EXIF APP1 segments (#8616) 2026-09-03 11:02:39 +02:00
image-resize-callers.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
initial-message.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
input-transform-streaming-example.test.ts feat(coding-agent): expose streamingBehavior on InputEvent 2026-05-28 15:52:38 +10:00
interactive-mode-anthropic-warning.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
interactive-mode-assistant-diagnostics.test.ts fix(coding-agent): suppress repeated Anthropic thinking drop notices 2026-09-18 09:58:42 +02:00
interactive-mode-bug-report-hint.test.ts fix(coding-agent): suppress bug hints for expected failures 2026-09-20 12:06:14 +02:00
interactive-mode-clone-command.test.ts fix(coding-agent): preserve startup extension UI 2026-06-21 23:19:34 +02:00
interactive-mode-compaction.test.ts fix(coding-agent): close compaction cancellation races 2026-09-19 19:18:18 +02:00
interactive-mode-import-command.test.ts fix(coding-agent): stabilize interactive status indicators 2026-06-29 16:53:39 +02:00
interactive-mode-startup-input.test.ts fix(coding-agent): show managed-tool startup status in TUI 2026-08-13 15:54:34 +02:00
interactive-mode-status.test.ts chore(settings-selector): get rid of --default and global model 2026-08-20 13:30:47 +02:00
interactive-mode-suspend.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
interactive-mode-tree-navigation.test.ts fix(coding-agent): preserve active operation UI during tree navigation 2026-09-07 12:59:20 +02:00
interactive-tui.test.ts fix(coding-agent): embed all session status spinners in the editor border 2026-09-07 15:31:00 +02:00
keybindings-migration.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
keybindings.test.ts fix(coding-agent): use Windows-friendly keybinding defaults 2026-08-23 23:30:16 +02:00
llama-extension.test.ts fix(coding-agent): detect llama.cpp chat-template thinking 2026-09-18 14:54:17 +02:00
management-http.test.ts fix(coding-agent): retry hung model catalog requests 2026-08-17 12:55:56 +02:00
max-thinking.test.ts feat(ai): add max thinking level 2026-07-09 22:30:53 +02:00
mermaid.test.ts fix(coding-agent): update runtime dependencies (#9341) 2026-09-08 16:04:35 +02:00
model-catalog-refresh.test.ts fix(coding-agent): share concurrent model catalog refreshes 2026-08-13 09:43:36 +02:00
model-registry.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
model-resolver.test.ts fix: persist default to scoped if non-empty 2026-08-25 17:49:28 +02:00
model-runtime-auth-options.test.ts fix(coding-agent): only label known subscriptions in footer 2026-08-06 07:47:35 +02:00
model-runtime-cloudflare-compat.test.ts fix(coding-agent): update Cloudflare compat test model 2026-08-14 09:32:24 +02:00
model-runtime-credential-sync.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
model-runtime-modify-models-compat.test.ts fix(ai): separate deferred request options 2026-08-04 12:45:00 +02:00
model-runtime-test-utils.ts fix(coding-agent): keep unit model stores in memory 2026-08-05 16:23:31 +02:00
model-selector.test.ts fix(coding-agent): selector save keybindings (#9149) 2026-09-04 18:06:21 +02:00
models-store.test.ts fix(coding-agent): preserve managed state file permissions 2026-08-22 01:19:25 +02:00
oauth-selector.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
package-command-paths.test.ts feat(coding-agent): update managed installations in place 2026-08-24 09:34:34 +02:00
package-distribution.test.ts fix(coding-agent): assert source-only experimental package exports 2026-09-05 13:32:44 +02:00
package-manager-ssh.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
package-manager.test.ts fix: reduce workspace dependency tree 2026-08-23 09:28:19 +02:00
path-utils.test.ts fix(coding-agent): Clean up Path Handling (#4873) 2026-05-22 11:25:15 +02:00
paths.test.ts fix(coding-agent): normalize Windows shell drive paths 2026-08-05 20:42:05 +02:00
pi-user-agent.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
plan-mode-extension.test.ts fix(coding-agent): fix plan-mode example 2026-06-21 22:10:17 +02:00
plan-mode-utils.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
powershell-tool.test.ts feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
print-mode.test.ts fix(coding-agent): make JSON streaming output linear (#7394) 2026-08-03 18:33:22 +02:00
prompt-templates.test.ts fix(coding-agent): support all-argument prompt defaults closes #6695 2026-07-17 13:52:32 +02:00
radius.test.ts feat(ai): ship Radius model catalog 2026-09-19 19:23:31 +02:00
remote-catalog-provider.test.ts fix: retry transient management HTTP requests (#7632) 2026-08-05 09:38:28 +02:00
resolve-config-value.test.ts feat(coding-agent): replace model registry with model runtime 2026-07-14 17:48:45 +02:00
resource-loader.test.ts feat(coding-agent): support AGENTS.override.md (#7681) 2026-08-05 21:24:31 +02:00
restore-sandbox-env.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
rpc-client-clear-queue.test.ts feat(coding-agent): expose RPC queue clearing 2026-08-25 15:19:49 +02:00
rpc-client-clone.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
rpc-client-process-exit.test.ts fix(rpc): reject pending requests on child process exit 2026-05-25 00:40:07 +02:00
rpc-example.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
rpc-jsonl.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
rpc-prompt-response-semantics.test.ts fix(coding-agent): cancel compaction on session abort 2026-09-03 09:41:55 +02:00
rpc.test.ts feat: get_available_thinking_levels rpc (#6865) 2026-07-20 16:29:10 +02:00
runtime-credentials.test.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
scoped-models-selector.test.ts feat(coding-agent): adjust TUI selections in thinking-mode, models and scoped models (#8900) 2026-09-01 11:02:53 +02:00
scrollbar-theme.test.ts feat(tui): alt mode scrollbar but prettier (#8801) 2026-09-04 00:05:47 +02:00
sdk-codex-cache-probe-tool-loop.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
sdk-openrouter-attribution.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
sdk-session-manager.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
sdk-skills.test.ts fix(coding-agent): show system prompt files in startup context (#7266) 2026-07-29 17:05:22 +02:00
sdk-stream-options.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
session-cwd.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
session-file-invalid.test.ts fix: resolve workspace source dependencies in tests 2026-09-01 17:50:49 +02:00
session-id-readonly.test.ts fix(coding-agent): avoid transcript scans for exact session IDs (#9601) 2026-09-16 11:15:16 +02:00
session-info-modified-timestamp.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
session-selector-path-delete.test.ts feat(coding-agent): load session picker progressively 2026-09-20 00:48:26 +02:00
session-selector-rename.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
session-selector-search.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
session-share.test.ts fix(coding-agent): isolate concurrent session shares (#8613) 2026-09-03 11:05:41 +02:00
settings-diagnostics.test.ts fix(coding-agent): report settings diagnostic paths 2026-08-19 13:07:53 +02:00
settings-manager-bug.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
settings-manager-compaction.test.ts feat(coding-agent): support per-model compaction token budgets 2026-09-10 08:37:20 +02:00
settings-manager.test.ts feat(coding-agent): add prompt cache warming (#9668) 2026-09-19 21:18:15 +02:00
settings-selector.test.ts fix(coding-agent): keep theme markers visible (#8950) 2026-09-01 12:01:50 +02:00
skills.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
startup-session-name.test.ts fix: resolve workspace source dependencies in tests 2026-09-01 17:50:49 +02:00
status-indicator.test.ts fix(coding-agent): embed all session status spinners in the editor border 2026-09-07 15:31:00 +02:00
stdout-cleanliness.test.ts fix: resolve workspace source dependencies in tests 2026-09-01 17:50:49 +02:00
streaming-render-debug.ts feat(tui): add alternate-screen renderer 2026-07-30 12:59:48 +02:00
syntax-highlight.test.ts feat(coding-agent): defer uncommon syntax grammars 2026-08-22 22:50:12 +02:00
system-prompt-updates.test.ts fix(coding-agent): send forced system prompts without recording them 2026-09-17 20:02:23 +02:00
system-prompt.test.ts Mid conversation system messages (#9548) 2026-09-16 15:54:07 +02:00
test-harness.test.ts fix(coding-agent): avoid custom store lock convoys 2026-08-05 16:16:58 +02:00
test-harness.ts feat(agent): add Pico storage foundation 2026-09-18 12:32:00 +02:00
test-network-env.ts fix(coding-agent): run coding-agent tests offline by default (#7031) 2026-07-27 11:27:43 +02:00
test-theme-colors.ts feat(tui): add fullscreen transcript search (#7913) 2026-08-11 10:59:28 +02:00
theme-controller.test.ts feat(coding-agent): share fullscreen TUI with experimental client 2026-08-27 19:09:26 +02:00
theme-detection.test.ts fix(coding-agent): reduce automatic theme detection delay 2026-08-07 00:22:00 +02:00
theme-export.test.ts chore: pin dependencies and use native TypeScript 2026-05-20 12:46:17 +02:00
theme-picker.test.ts fix(coding-agent): list themes by content name 2026-05-21 00:10:50 +04:00
thinking-selector.test.ts fix(coding-agent): selector save keybindings (#9149) 2026-09-04 18:06:21 +02:00
tool-execution-component.test.ts fix(coding-agent): ignore stale tool image conversions (#8743) 2026-09-20 00:38:42 +02:00
tool-result-images.test.ts fix(coding-agent): resize images returned by tools (#7330) 2026-08-03 14:02:03 +02:00
tool-system-prompt-contributions.test.ts feat(coding-agent): add optional PowerShell tool (#8512) 2026-08-24 12:27:03 +02:00
tools-manager.test.ts fix(coding-agent): resolve fd/rg release versions without the GitHub API (#8708) 2026-09-03 10:59:04 +02:00
tools.test.ts fix(coding-agent): fail signal-terminated shell commands 2026-09-17 17:01:48 +02:00
tree-selector.test.ts feat(coding-agent): add message copy shortcut 2026-07-10 21:35:53 +02:00
trigger-compact-extension.test.ts Revert "fix(coding-agent): build-check-test (#7206)" 2026-07-28 15:09:46 +02:00
truncate-to-width.test.ts chore: migrate pi packages to earendil works scope 2026-05-07 15:59:42 +02:00
trust-manager.test.ts fix(coding-agent): avoid project trust prompt for update (#5674) 2026-06-12 23:37:16 +02:00
trust-selector.test.ts feat(coding-agent): adjust TUI selections in thinking-mode, models and scoped models (#8900) 2026-09-01 11:02:53 +02:00
user-message.test.ts Markdown api (#7231) 2026-07-30 22:39:04 +02:00
utilities.ts fix(coding-agent): make model refresh cancellation caller-owned 2026-08-04 00:03:52 +02:00
version-check.test.ts fix: retry transient management HTTP requests (#7632) 2026-08-05 09:38:28 +02:00