chore: provider-state re-verify all 11 CLIs + copilot/minimax adapter drift fixes#15
Merged
Merged
Conversation
… drift fixes Workflow (11 read-only probes -> per-provider adversarial verify -> synthesis) re-checked every provider CLI's live install + upstream + adapter contract on top of v0.6.27. No version gaps, no breaking CLI drift; two real adapter fixes: - copilot resume: --resume <id> -> --session-id <id>. copilot 1.0.65's -r,--resume[=value] takes an optional =-attached value (or opens the picker), so the space-separated form did not resume by exact id; --session-id <id> is the documented by-id flag. Reachable via ask/rescue --provider copilot --resume. - minimax: honour Anthropic-style stop_reason in the finishReason fallback (mmx speaks both finish_reason and stop_reason; parser already handles content[]). Both covered by regressions; all 5 companion bundles regenerated. Docs/comments: kimi-code v0.6.0 -> 0.19.1 (provider-paths, v1-public-surface); drop the re-drifting v0.6.0 pin from code comments; refresh roadmap Current-state + provider-paths snapshot to 2026-06-26. Deferred/flagged (not changed) per minimum-diff + "flag pre-existing dead code": pi.js dead agent_end.result.text branches; opencode billed ping auth probe; unverified JSON/stream-json event schema for ~7 providers. npm test 559/559, npm run release:check exit 0. Path B boundary intact.
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.
Summary
A
provider-state-reviewWorkflow (11 read-only probe agents → per-provider adversarial verify → synthesis, 23 agents) re-checked every provider CLI's live install + upstream + adapter contract on top ofv0.6.27.Headline: no version gaps, no breaking CLI drift. All 11 locals == upstream where comparable (claude 2.1.193 / gemini 0.49.0 / qwen 0.19.2 / copilot 1.0.65 / opencode 1.17.11 / pi 0.80.2 / cmd 0.40.8 / mmx 1.0.16 / kimi-code 0.19.1 / grok 0.2.64 / agy 1.0.12); every flag/auth/argv assumption verified intact against live
--help.Code fixes (with regressions)
buildCopilotInvocationemits--session-id <id>instead of--resume <id>for resume-by-exact-id. copilot 1.0.65's-r, --resume[=value]takes an OPTIONAL=-attached value (or opens the session picker), so the prior space-separated form would not resume by id;--session-id <id>is the documented by-id flag. Reachable viaask/rescue --provider copilot --resume <id>(the companion setsresumeSessionId).extractMiniMaxResponseFromMmxJsonhonours Anthropic-stylestop_reasonin thefinishReasonfallback (mmx speaks both the OpenAIfinish_reasonand Anthropic Messagesstop_reasonshapes; the parser already handles Anthropiccontent[]). Pure additive, zero regression.All 5 companion bundles regenerated by
build:plugins.Docs / comments / memory
kimi-code v0.6.0→kimi-code 0.19.1indocs/provider-paths.md+docs/polycli-v1-public-surface.md; dropped the re-driftingv0.6.0pin from behavioural code comments (kimi.js,review.mjs,prompt-runtime.mjs).provider-paths.mdsnapshot → 2026-06-26; replaced the stalev0.6.21clause in theroadmap.mdCurrent-state section with the re-verification note.reference_cli_provider_versions.mdrewritten to the 11-provider reality: pi@mariozechner→@earendil-works; kimi spawns kimi-code not the shadowed PyPIkimi-cli; minimax=mmx-clinotmini-agent.Deferred / FLAGGED (not changed)
Per minimum-diff + the AGENTS.md "flag pre-existing dead code, don't delete" rule:
pi.jsdeadagent_end.result.text/resultEvent.errorbranches (liveagent_endcarries onlymessages[]/willRetry, verified vs pi-agent-core.d.ts; harmless).opencode.jsbilledrun "ping"auth probe could use non-billingopencode auth list, not done because auth-list proves CONFIGURED-not-WORKING and folding it in would weaken status honesty / risk the four-state.check:fixture-freshness).Validation
npm test559/559npm run release:checkexit 0Respects the Path B boundary: no shared runtime base, no parser promoted into polycli-utils, timing four-state untouched, cold/retry still unimplemented.