• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25965273066

16 May 2026 03:08PM UTC coverage: 81.955% (-1.4%) from 83.36%
25965273066

push

github

web-flow
refactor(space): remove built-in task-agent LLM helper from workflows (#1922)

* refactor(space): strip task-agent LLM session from core managers

Remove task-agent LLM spawning, message injection, and session management
from TaskAgentManager, RPC handlers, and space-agent-tools. Human messages
now require an explicit target (node_id or @mention) instead of falling
back to a hidden task-agent orchestrator session.

* refactor(space): remove task-agent LLM files, frontend, types, and routing

- Delete task-agent.ts (prompt builders) and task-agent-tools.ts (MCP server)
- Remove taskAgentConfig from Space type, CreateSpaceParams, UpdateSpaceParams
- Strip taskAgentRouter from AgentMessageRouter
- Update SpaceRuntimeService to remove space_task_agent session handling
- Remove TaskAgentCard from SpaceAgentList, task_agent target from frontend
- Remove ensureTaskAgentSession and getTaskMessages from space-store
- Update SpaceTaskPane to require explicit target for messages
- Remove taskAgentSessionId from useTargetSessionContext hook
- Update test files to reflect new signatures

* test(space): update tests for task-agent LLM removal

- Delete 6 task-agent manager test files (eager-spawn, mcp, rehydration,
  worktree, session-lifecycle, main)
- Update space-task-message-handlers tests: remove ensureAgentSession/
  injectTaskAgentMessage tests, replace no-target fallback with "Target
  agent is required" error tests, update cycle-reset tests to use @mention
  routing instead of task-agent injection
- Update agent-message-router tests: replace task-agent delivery with
  failure test
- Update space-agent-tools tests: replace Path A success with error tests

* test(space): fix remaining test failures from task-agent removal

- space-task-message-handlers: update cycle-reset tests to use @mention
  routing instead of task-agent injection
- space-runtime-service: remove space_task_agent skip tests
- SpaceTaskPane: add setupTaskWithActivity helper, update thread ... (continued)

8364 of 11621 branches covered (71.97%)

Branch coverage included in aggregate %.

75 of 114 new or added lines in 12 files covered. (65.79%)

1286 existing lines in 6 files now uncovered.

65707 of 78759 relevant lines covered (83.43%)

296.27 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.2
/packages/web/src/components/MessageInput.tsx


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc