Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

fix(agent): close critical API gaps for repo split (milestone-0)#185

Merged
runyaga merged 3 commits into
mainfrom
core/fix-api-findings
Mar 28, 2026
Merged

fix(agent): close critical API gaps for repo split (milestone-0)#185
runyaga merged 3 commits into
mainfrom
core/fix-api-findings

Conversation

@runyaga
Copy link
Copy Markdown
Owner

@runyaga runyaga commented Mar 28, 2026

Summary

  • F1: Re-export Logger and LogManager from soliplex_agent barrel — consumers no longer need a direct soliplex_logging dependency
  • F2: Make llmProvider optional in AgentRuntime, defaulting to AgUiLlmProvider wired from the ServerConnection — hides the REST/SSE split from consumers
  • F8: Bridge AG-UI BaseEvents into lastExecutionEvent signal via RunOrchestrator.baseEvents stream — TextDelta, ThinkingStarted, ServerToolCallStarted, RunCompleted etc. now emit without polling RunState
  • Bonus: Change AgentApi.cancelAgent return from bool to void, fix premature handle eviction so getResult works after cancel

All changes are backward-compatible. No breaking changes.

Test plan

  • 408 unit tests pass (dart test --exclude-tags integration)
  • 6/6 L2 agent API integration tests pass against localhost:8000
  • 9/9 orchestrator integration tests pass against localhost:8000
  • dart format clean
  • dart analyze --fatal-infos — only pre-existing require_trailing_commas remain

🤖 Generated with Claude Code

runyaga and others added 3 commits March 28, 2026 08:39
- F1: re-export Logger and LogManager from soliplex_agent barrel so
  consumers don't need a direct soliplex_logging dependency
- F2: make llmProvider optional in AgentRuntime, defaulting to
  AgUiLlmProvider wired from the ServerConnection
- F8: bridge AG-UI BaseEvents into lastExecutionEvent signal via
  RunOrchestrator.baseEvents stream so consumers see TextDelta,
  ThinkingStarted, ServerToolCallStarted, RunCompleted, etc.
- fix(agent): change AgentApi.cancelAgent return from bool to void
  and stop evicting the handle prematurely so getResult works after
  cancel
- chore: remove redundant soliplex_logging imports from tests, apply
  dart format

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add trailing commas to typedef parameters and record literals that
dart format was collapsing onto single lines, causing the linter to
flag missing commas under --fatal-infos in CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…l changes

- agent_plugin: return null explicitly from cancelAgent handler now
  that the method returns void
- soliplex_tui: remove redundant soliplex_logging import (now
  re-exported from soliplex_agent barrel)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@runyaga runyaga merged commit e4bc4e6 into main Mar 28, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant