feat(agents): add the UiPath Delegate SDK agent as a built-in harness [PILOT-7267] - #153
Draft
Mihaiii wants to merge 1 commit into
Draft
feat(agents): add the UiPath Delegate SDK agent as a built-in harness [PILOT-7267]#153Mihaiii wants to merge 1 commit into
Mihaiii wants to merge 1 commit into
Conversation
… [PILOT-7267] Move `DelegateSdkAgent` (agent.type `delegate-sdk`) out of the internal coder_eval_uipath plugin into core: it drives UiPath Autopilot's Delegate agent through the `@uipath/delegate-stdio` Node host (JSON-Lines over stdio), with the S2S token-file refresher, per-generation transcript reconstruction, stall recovery and failure classification carried over intact. - `AgentKind.DELEGATE_SDK`, `DelegateSdkAgentConfig` (sdk_options / project_id / session_id), registered via `register_builtins`; empty `delegate-sdk` extra. - The layer-5 `sdk_options` override guard is now registry-driven: any kind whose config declares `sdk_options` qualifies (claude-code + delegate-sdk today). - Delegate-routed pricing rows (hyphenated ids) added to pricing.py and mirrored in evalboard/lib/pricing.ts, verbatim from the plugin. - Host stderr tracing forwards at INFO when DELEGATE_STDIO_VERBOSE forces it on a quiet run (replaces the plugin's logging bridge). - docs/agents/DELEGATE_SDK.md, parity table column, smoke task, ported test suites. Related PRs: UiPath/coder_eval_uipath (drops the plugin agent, nightly on public npm) and UiPath/Autopilot (delegate-stdio 0.1.3 public-npm prep). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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
PILOT-7267
Summary
DelegateSdkAgent(agent.type: delegate-sdk) as a built-in harness, moved from the internalcoder_eval_uipathplugin: it drives UiPath Autopilot's Delegate agent through the@uipath/delegate-stdioNode host (JSON-Lines over stdio).AgentKind.DELEGATE_SDK+DelegateSdkAgentConfig(sdk_options,project_id,session_id), registered byregister_builtins; emptydelegate-sdkextra (the host is a Node package, likeopencode).sdk_optionsoverride guard is now registry-driven: any kind whose config declaressdk_optionsqualifies (claude-code,delegate-sdk) — replaces the plugin'sapply_overridesmonkeypatch.virtuoso-1-5,gpt-5-6-terra,kimi-k2-7-code, …) added topricing.pyand mirrored inevalboard/lib/pricing.ts, rates unchanged from the plugin.docs/agents/DELEGATE_SDK.md;HARNESS_PARITY.mdgains adelegate-sdkcolumn;tasks/delegate_sdk_smoke_test.yaml.Changes
Agent (
src/coder_eval/agents/)delegate_sdk_agent.py+_delegate_s2s_token_file.pyported;get_environment_infospreads the base (CE046),system_prompt_semantics = "unknown".DELEGATE_STDIO_VERBOSEforces tracing on a quiet run, host stderr is forwarded at INFO (DEBUG records would be dropped by the app handlers).delegate-sdk loginbin tonpx @uipath/delegate-cli login.Pricing caveat
pricing.py, deliberately not reconciled here.Testing
ruff format/check,make lint(389 passed), pyright (only the pre-existing missing-extra errors), ported suites + override/registry/pricing tests (343 passed); full suite green apart from pre-existing Windows/optional-extra failures.pricing-parity.test.ts(no pnpm locally for vitest).-m live) not run.Related PRs
🤖 Generated with Claude Code