Commit Graph

884 Commits

Author SHA1 Message Date
Mario Zechner 6014801229 Add NVIDIA NIM provider 2026-06-02 15:09:36 +02:00
Mario Zechner 7c531d0518 fix: apply httpIdleTimeoutMs to all providers, not just Codex Responses
The HTTP timeout setting (httpIdleTimeoutMs) was only used as a fallback for the
openai-codex-responses API. For other providers like openai-completions
(llama.cpp), the SDK default timeout (10 min) was used instead, ignoring the
user's disabled timeout setting.

Now httpIdleTimeoutMs applies universally as the default SDK request timeout
for all providers that support timeoutMs. Setting HTTP timeout = false (0)
correctly disables SDK timeouts across the board by sending max int32
(effectively infinite) instead of 0, since SDKs treat timeout=0 as immediate
timeout.

closes #5294
2026-06-02 11:26:36 +02:00
Mario Zechner f58c1702cf fix: apply httpIdleTimeoutMs to all providers, not just Codex Responses
The HTTP timeout setting (httpIdleTimeoutMs) was only used as a fallback for the
openai-codex-responses API. For other providers like openai-completions
(llama.cpp), the SDK default timeout (10 min) was used instead, ignoring the
user's disabled timeout setting.

Now httpIdleTimeoutMs applies universally as the default SDK request timeout
for all providers that support timeoutMs. Setting HTTP timeout = false (0)
correctly disables SDK timeouts across the board.

closes #5294
2026-06-02 11:20:38 +02:00
Alexey Zaytsev 8216cca5a7 Add system prompt options to extension commands 2026-06-01 15:42:56 -05:00
Mario Zechner e56521e323 Add extension mode context 2026-06-01 18:32:03 +02:00
Pavel Soukenik 654e4529d5 fix: refresh branch in footer on WSL /mnt repos 2026-05-31 17:12:11 -07:00
Mario Zechner 3911d6f5cd fix(coding-agent): stream large session files
closes #5231
2026-05-30 21:21:42 +02:00
Marek Pazik 42ce989a62 feat(coding-agent): hyperlink file paths in tool titles
Wrap the path shown in read/write/edit/ls tool titles in an OSC 8 file:// hyperlink when the terminal advertises hyperlink support.
The link target is always the absolute path, while the visible text stays relative/home-shortened and line annotations (e.g. :120-140) are kept out of the target.
2026-05-29 22:02:25 +10:00
Mario Zechner 9380d5f2e4 feat(coding-agent): add exclude tools option closes #5109 2026-05-28 23:49:18 +02:00
Mario Zechner 1ab2899800 Remove unavailable tool preference guideline
Closes #5132
2026-05-28 23:37:13 +02:00
Armin Ronacher 4b4641c6b0 fix(coding-agent): scope custom session dir lookups 2026-05-28 23:25:33 +02:00
Mario Zechner bfa3d1fa60 Update Claude Opus and GPT thinking metadata 2026-05-28 21:51:55 +02:00
Armin Ronacher 3e9f717445 fix(coding-agent): make config env references explicit
closes #5095
2026-05-28 11:58:38 +02:00
Mario Zechner 5b31ffd744 Abort session work during dispose 2026-05-28 11:35:19 +02:00
Mario Zechner edd26444af Expose tool prompt guidelines to extensions
closes #4879
2026-05-28 11:03:25 +02:00
Mario Zechner 8e77f8797b Merge pull request #5115 from DanielThomas/dannyt/sendUserMessage-agent-end
fix(coding-agent): drain follow-ups queued during agent_end
2026-05-28 10:47:31 +02:00
Danny Thomas a29a7902e9 fix(coding-agent): drain follow-ups queued during agent_end
When an extension queues a follow-up during `agent_end` it
gets stuck on the follow-up queue until after the next user
message.

Add a hasQueuedMessages() check to _handlePostAgentRun
so the existing while/continue loop drains them.

- One-line fix in _handlePostAgentRun
- Integration test in agent-session-queue
- git-merge-and-resolve example extension with tests
2026-05-28 18:27:39 +10:00
Mario Zechner cbe8625528 Fix input event streaming behavior semantics 2026-05-28 10:13:06 +02:00
Danny Thomas bcea4b2e27 feat(coding-agent): expose streamingBehavior on InputEvent
Add streamingBehavior to InputEvent so extensions can distinguish
idle prompts from mid-stream steers and queued follow-ups.

- Add streamingBehavior field to InputEvent type
- Thread it through ExtensionRunner.emitInput() and AgentSession.prompt()
- Add streaming-aware input gate example with tests
- Document in extensions.md
2026-05-28 15:52:38 +10:00
Armin Ronacher 52dc08c1f7 feat(session): Explicit session id naming (#5076) 2026-05-27 21:32:10 +02:00
Armin Ronacher 493efd422d fix(codex): timeouts for websockets (#4979) 2026-05-27 12:11:29 +02:00
Armin Ronacher 8fb1e877cd fix(ai): disable hidden provider 429 retries (#4991) 2026-05-26 23:41:58 +02:00
Mario Zechner 96f0edd02b Count user image tokens in context estimates
closes #4983
2026-05-26 18:46:54 +02:00
Armin Ronacher ce0e801d8e fix(coding-agent): retry RPC stdout backpressure
closes #4897
2026-05-24 22:59:35 +02:00
Armin Ronacher 9600ded922 revert: fix rpc stdout backpressure
This reverts commit d0d1d8edca.
2026-05-24 11:50:53 +02:00
Armin Ronacher d0d1d8edca fix(rpc): respect stdout backpressure
closes #4897
2026-05-24 11:28:02 +02:00
Armin Ronacher 15f1dea8df fix(coding-agent): disable managed extension peer resolution
closes #4907
2026-05-23 14:15:00 +02:00
Mario Zechner 373bd1282e Collapse read output by default
closes #4916
2026-05-23 11:40:54 +02:00
Mario Zechner 8100046cb8 Finish async tool cleanup 2026-05-23 11:36:41 +02:00
Mario Zechner c4f86e3992 Merge remote-tracking branch 'origin/main' into pr-4756-squash-cleanup
# Conflicts:
#	scripts/build-binaries.sh
2026-05-23 10:52:28 +02:00
Mario Zechner ba09f1c9e0 Refine async tool control flow 2026-05-23 10:30:00 +02:00
Mario Zechner e9146a5ff7 fix(coding-agent): use async operations in tools 2026-05-23 09:50:03 +02:00
Armin Ronacher c85dbb1620 fix(coding-agent): reconcile pinned git update refs
closes #4869
2026-05-23 00:16:07 +02:00
Armin Ronacher 42379a37bd fix(coding-agent): add OpenCode session headers
closes #4847
2026-05-22 22:22:55 +02:00
Mario Zechner d801d88a11 Support adaptive thinking for Anthropic-compatible aliases
closes #4790
2026-05-22 18:30:51 +02:00
Armin Ronacher b3ed545938 fix(export-html): escape quotes in exported attributes
closes #4832
2026-05-22 15:48:21 +02:00
Armin Ronacher c100620bf4 fix(coding-agent): Clean up Path Handling (#4873) 2026-05-22 11:25:15 +02:00
Mario Zechner bf56a86e1e fix(coding-agent): reconcile git package refs
closes #4870
2026-05-22 11:13:26 +02:00
Mario Zechner f953067814 fix(coding-agent): correct bash truncation line count
closes #4818
2026-05-21 16:55:22 +02:00
Mario Zechner 60a55a2399 feat(coding-agent): expose edit tool unified patch
closes #4821
2026-05-21 12:15:39 +02:00
Mario Zechner 7dad27e5f2 fix(coding-agent): avoid duplicate bash truncation path
closes #4819
2026-05-21 12:04:14 +02:00
Mario Zechner 8011e20932 Merge pull request #4799 from Perlence/fix/fork-session-id
fix(coding-agent): keep fork session id aligned
2026-05-20 15:26:12 +02:00
Sviatoslav Abakumov dce24ac9ff fix(coding-agent): keep fork session id aligned 2026-05-20 15:54:11 +04:00
Armin Ronacher 849f9d9c5a fix(coding-agent): configure HTTP idle timeout (#4759) 2026-05-20 12:45:00 +02:00
Armin Ronacher 9fdc54b6f0 fix(package-manager): ignore managed npm folders in cloud sync
closes #4763
2026-05-20 11:40:46 +02:00
Armin Ronacher ae9450dc51 chore(ts): use source import extensions 2026-05-20 00:04:03 +02:00
Mario Zechner 06c6c324d7 chore: enforce erasable TypeScript syntax 2026-05-19 23:15:39 +02:00
Mario Zechner 48b6510c18 fix(coding-agent): clarify pi docs path resolution closes #4752 2026-05-19 18:01:10 +02:00
Mario Zechner b944827623 fix(agent): stop tool preflight after extension abort
closes #4276
2026-05-19 13:10:03 +02:00
Mario Zechner c685b27369 fix(coding-agent): mark retrying agent end events 2026-05-19 10:33:16 +02:00