mirror of
https://github.com/AJaySi/ALwrity.git
synced 2026-04-25 08:55:58 +03:00
[PR #369] [MERGED] Standardize agent activity event payloads and Team Activity timeline UI #672
Labels
No labels
AI Content Agents
AI Content Strategy
AI Content planning
AI Marketing Tools
AI SEO
AI personalization
AI writer
ALwrity Copi-lot
Alwrity web search
Anthropic
DeepSeek
Gemini AI
Integration
LLM
OnBoarding
OnBoarding
RAG knowledgebase Memory
bug
documentation
enhancement
good first issue
help wanted
invalid
openai
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ALwrity#672
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AJaySi/ALwrity/pull/369
Author: @AJaySi
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/3/2026
Merged by: @AJaySi
Base:
main← Head:codex/create-shared-event-payload-schema📝 Commits (1)
a7bf355Standardize agent event payloads and team activity timeline UI📊 Changes
5 files changed (+258 additions, -194 deletions)
View changed files
📝
backend/services/agent_activity_service.py(+72 -3)📝
backend/services/intelligence/agents/core_agent_framework.py(+11 -11)📝
backend/services/intelligence/agents/specialized_agents.py(+36 -0)📝
backend/services/today_workflow_service.py(+4 -4)📝
frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx(+135 -176)📄 Description
Motivation
Description
AgentEventPayloaddataclass andbuild_agent_event_payloadhelper, plus_normalize_event_payload, to the agent activity service to define and normalize a shared event payload shape before persistence (backend/services/agent_activity_service.py).AgentActivityService.log_eventto normalize incoming payloads through the shared schema prior to creatingAgentEventrecords (backend/services/agent_activity_service.py).build_agent_event_payloadfor run start, progress, decision, checkpoint, completion and error events (backend/services/intelligence/agents/core_agent_framework.py)._log_agent_operationusing the same payload builder andAgentActivityService(backend/services/intelligence/agents/specialized_agents.py).evidence_refs) when building grounded plans and handling LLM fallbacks (backend/services/today_workflow_service.py)./api/agents/runsand/api/agents/runs/{run_id}/events, rendering runs and expandable timeline entries that expose the shared payload fields (frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx).Testing
python -m py_compile backend/services/agent_activity_service.py backend/services/intelligence/agents/core_agent_framework.py backend/services/intelligence/agents/specialized_agents.py backend/services/today_workflow_service.pywhich completed successfully.npm --prefix frontend run build, which began but did not return a final completion line within this environment session (build process was initiated).cd frontend && npx tsc --noEmit, which was invoked but did not produce a final completion line within the environment session.Codex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.