Feature : conversation stats - #41958
Closed
Ajay-cell-crime wants to merge 48 commits into
Closed
Conversation
…ity auditor, and self-improving prompt evolution - Lowers auto-compaction trigger limit with 50,000 token safety buffer - Updates CHARS_PER_TOKEN to 2.5 for accurate code/JSON payload token estimation - Adds Cause.squash fallback and body.detail context overflow error classification - Implements 5-dimension quality & originality JudgeAgent with sub-5 feedback refinement - Adds Ollama nomic-embed-text 768-dim vector embedding persistence - Fixes error parsing in message-v2.ts to ensure stream errors trigger ContextOverflowError
…ceiling check to prevent multi-read overflows
…text window formulas
… limits - runtime-flags: enable background subagents by default (Config.succeed(true)) - task: add wait_for param for explicit fan-out/join; LLM can fire N background tasks then call task with wait_for:[id1,id2] to collect all results in one step - task: collect all text parts from subagent result (not just last) with streaming accumulator pattern - task: compress task results via compressTaskResult before injecting into parent context — head/tail extraction keeps result within 8% of context window - result-compressor: new pure-function compressor using dynamic context ratio; no hardcoded token values - compaction: all three static constants (DEFAULT_KEEP_TOKENS, TOOL_OUTPUT_MAX_CHARS, SUMMARY_OUTPUT_TOKENS) replaced with dynamic formulas based on model context window
…compression service - ResultCompressor.Service: implements live LLM stream compression using LLM.Service.stream() - Uses COMPRESS_SYSTEM prompt to generate dense, structured Markdown summaries preserving exact file paths, symbol names, values, decisions, and error logs - Dynamically derives max tokens (8% context budget) and safety fallback thresholds - Registered ResultCompressor.node in ToolRegistry and Effect application graph
…code-evolve version
…custom opencode-evolve install command
…sing JSONC config
…ask) during database migration init
… tasks so harness can learn user expectations
…ssistant response completion
…event TUI rendering freeze
…o guarantee instant TUI rendering
… to prevent TUI rendering hangs
…vent startup freeze
…to prevent hanging during config load
…event startup hang
…ut to prevent startup hang" This reverts commit 582f205.
… tui.ts to prevent hanging during config load" This reverts commit 2141ac8.
…eMode in app.tsx" This reverts commit f225e1f.
…e to prevent startup freeze" This reverts commit 0f09078.
…art in app.tsx so ready() always becomes true
…zed_keys validation error
…te symlinked skills
…obal freeze on slow HTTP endpoints
…tions for idempotent server startup
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
Contributor
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
Removed cost formatting function and related UI elements.
Contributor
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue for this PR
Closes #
Type of change
What does this PR do?
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.