sync: upstream v0.81.1#275
Open
code-yeongyu wants to merge 68 commits into
Open
Conversation
Co-authored-by: Armin Ronacher <armin.ronacher@active-4.com>
…ce (#6790) When pi exits, the reverse-video cursor character remains visible on the editor prompt line. Combined with the terminal's own cursor below, this creates the appearance of two cursors, which is confusing. Overwrite the inverted cursor with a normal space before exiting.
The npm registry normalizes bin paths in packument metadata
("dist/cli.js") while the published tarball keeps the authored
"./dist/cli.js". npm consumers get perpetual one-line
package-lock.json flips depending on whether resolution used
registry metadata or the extracted package.
Drop the "./" prefix to match the registry-normalized form and the
sibling coding-agent package.
Fixes #6811
Add Alibaba Cloud Model Studio Token Plan subscription service as two built-in API-key providers: qwen-token-plan (international, Singapore) and qwen-token-plan-cn (China, Beijing). Each provider exposes 15 text-generation models (Qwen, DeepSeek, GLM, Kimi, MiniMax) via the OpenAI-compatible endpoint with DashScope enable_thinking support. Model metadata is sourced from models.dev; qwen3.8-max-preview is hardcoded until models.dev includes it. Also fixes kimi-coding test references (k2p7 -> kimi-for-coding) after models.dev catalog update picked up by generate-models. Closes #6850
fix: issue template links
Undo snapshots now restore paste content and counters alongside editor text. Paste marker renumbering shifts registry entries in ascending ID order before rewriting markers, preventing literal or incorrect paste content on submit.\n\nCloses #6844
Treat the models.dev k2p7 entry as an alias for kimi-for-coding and regenerate provider catalogs. This restores consistency between generated model types and values and unblocks repository type checks.
…(#6671) * add usage info to branch summary entries * add usage to compaction entries * allow custom tools to report llm usage in tool results * allow observing and patching usage in tool_result hooks * agent-harness: save usage in entries for compaction, branch summaries and tool results
closes #6509
closes #6851
fixes #6875
…ions update deprecated github actions
…summary-requests-2
…mary-requests-2 compaction & branch summarization follow retry policy
Keep streamFn required for typed callers while preserving the legacy runtime fallback for extensions that omit it.\n\nfixes #6915
Owner
Author
QA evidence
Evidence files captured before this PR was opened:
|
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.
Automated upstream sync for
v0.81.1.dd6bea41efa8caa7a10fe5a6401676dc5699f83fupstream-agent-qa-v0.81.1QA completed before PR creation:
npm run buildnpm run checknpm testsenpi-qacommon, mock-loop, CLI smoke, and tmux TUI smoke when availableSummary by cubic
Sync to upstream
v0.81.1bringing a default agent stream function, retryable summarization, a SQLite session backend, new Qwen Token Plan providers, and refreshed CI workflows. Improves reliability, storage options, and provider coverage.New Features
setDefaultStreamFnfallback, restored legacystreamFncompatibility, usage saved on tool results/compactions/branch summaries, compactionretainedTailand optionalfirstKeptEntryId, cursor-based session reads with names/stats.@earendil-works/pi-storage-sqlite-nodewith migrations and tests.retryAssistantCall,contentText, shareduuidv7export from@earendil-works/pi-ai, and built-inqwen-token-planandqwen-token-plan-cnproviders with generated catalogs.Dependencies
.manifest.json; scripts now run with Node and add ahydrate-model-datacheck.@earendil-works/pi-aibin path, expanded workspaces topackages/storage/*, updated.gitignore, fixed issue template links.Written for commit b43cb0b. Summary will update on new commits.