Repository navigation
[pull] main from can1357:main - #126
Merged
Merged
Conversation
- The CI-green preflight now fails only when HEAD is behind or diverged from origin/main; local-only commits pass because the atomic release push sends them along. - The CI gate already falls back to the nearest first-parent ancestor with a main run, so an unpushed tip is vouched for by origin/main's run.
- Added a system prompt template to notify the model that its reasoning was discarded when hitting the output token limit. - Updated AgentSession to retain terminal failure messages and expose them via `getLastAssistantMessage`, replacing the previous pruned refusal handling. - Adjusted tests to assert that retries occur without compacting and that the terminal error remains visible.
- The provider now uses the model's maxTokens (or a 64k fallback) for both OAuth and API-key requests, removing the previous 64k cap for OAuth. - Removed the hard-coded CLAUDE_CODE_MAX_OUTPUT_TOKENS constant and updated documentation and tests accordingly.
…olution space - Replaced the `task` tool's `complexity` parameter with `solutionSpace` to better classify task open-endedness. - Updated `auto` thinking classification to use `solutionSpace` as the sole input for spawned subagents, ignoring request text. - Modified `auto` thinking logic to explicitly ignore total volume of mechanical work when raising effort levels. - Implemented length-stop retry signaling to inform models when reasoning is discarded, preventing recursive output-cap loops. - Corrected subagent failure handling to ensure terminated runs report errors instead of re-entering execution loops.
…dle leaks - Vendored napi-rs 3.13.0 into the workspace to gain granular control over native environment lifecycle management. - Implemented a cleanup patch to release per-thread environment handles when environments are superseded, preventing memory leaks in native addons.
…n agent tagging - Moved session-agent advertisement from the task description to a hidden system notice. - Decoupled tool description updates from live session-agent state to keep the provider prompt cache prefix stable. - Added `session-agent-notice` message type to reconcile new agent pseudonyms asynchronously. - Updated `TaskTool` to prioritize the advertised agent snapshot over the live set during description generation.
…ion test - Typed the find predicate as a CustomMessage guard so content/display type-check; CI check:types failed with TS2339 on AgentMessage.
- Replaced the `fancy-regex` dependency with `onig` for `syntect`, updating Cargo.toml, Cargo.lock, and Bazel lockfile. - Added a changelog entry noting ~5x lower memory usage and 3--5x faster highlighting while keeping output unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )