Integrate Qoder Agent SDK as production runtime and fix review items - #222
Merged
Conversation
Integrate qoder-agent-sdk as the fifth production runtime alongside Claude, OpenAI, Pi, and OpenCode. Includes engine implementation, provider manager connection fields, session snapshot state, env credential detection, and .env.example documentation.
Refresh the committed frontend prebuild from v57.2-11d1f2c7d to v57.2-7558f6587 and advance the perfetto submodule gitlink to match. Bundles updated trace_processor.wasm, engine_bundle.js, and frontend_bundle.js assets.
Advance the perfetto submodule gitlink to pick up the provider test type fix in the AI Assistant plugin. Submodule commit pushed to the fork remote before the root gitlink was staged.
- Tighten tool/permission/env boundaries: remove allowDangerouslySkipPermissions, set tools:[], add env whitelist via buildQoderSdkEnv() - Fix SkillExecutor construction to use canonical positional signature - Wire full shared MCP context (plan, hypotheses, uncertainty, comparison, etc.) - Parse SDK result discriminated union (success/error_max_turns/error_during_execution) - Implement session resume/snapshot via sdkSessionId capture from system init - Fix Provider UI Qoder selection/edit chain (currentRuntime, normalize, fields) - Add qoderRuntime.test.ts (16 tests) and update snapshotRuntimeStateInventory - Document SDK install strategy in .env.example
wustMeiming
force-pushed
the
main
branch
2 times, most recently
from
July 22, 2026 08:27
bfcee81 to
8fcb85c
Compare
console.log writes to a pipe asynchronously and can be dropped when the launcher exits immediately after, causing a rare flake where the lifecycle test reads a non-integer PID. Write the PID with writeSync(1) so it is always flushed, and surface raw stdout/stderr in the test assertion.
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
Linked Issue
Change Type
.strategy.md/.template.md)Contributor / AI Context
AGENTS.mdbefore making this change.claude/rules/*file(s) for the affected areaAffected Areas
frontend/smpbackend/src/agentv3/orbackend/src/agentOpenAI/(agent runtime)backend/skills/(YAML skills)backend/strategies/(*.strategy.md,.template.md,knowledge-*)perfetto/ui/src/plugins/com.smartperfetto.AIAssistant/(frontend)scripts//backend/scripts/(tooling, generators).github/workflows/(CI)Done Conditions
.ts/.yaml/.sh/.strategy.mdfiles carry SPDX AGPL v3 headerTest Plan
Risk / Rollback
Notes for Reviewers