feat(agents): agent-applications console (port from agent_platform)#2697
Closed
benjackwhite wants to merge 2 commits into
Closed
feat(agents): agent-applications console (port from agent_platform)#2697benjackwhite wants to merge 2 commits into
benjackwhite wants to merge 2 commits into
Conversation
First milestone of porting the agent_platform console into Code. Adds a new `agent-applications` UI feature for deployed agent-platform agents, surfaced as a sub-option of the existing `/code/agents` config landing (alongside Scouts), not a new top-level sidebar tab. - agent-applications feature: list view chrome + empty feature module - routes: /code/agents/applications (layout + index), regenerated tree - ConfigureAgentsSection: "Applications" subsection link card List data, the SSE→ACP chat adapter, and the concierge dock land in later milestones. Generated-By: PostHog Code Task-Id: 3f40d432-67cc-4df1-bc7b-3ee34c7b1d70
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
|
Reviews (1): Last reviewed commit: "feat(agents): scaffold agent-application..." | Re-trigger Greptile |
M2: wire the agent-applications area to the agent_platform REST API. - shared: agent-platform-types.ts — domain types for applications, revisions, sessions, approvals, fleet (plain TS wire shapes, matching inbox-types/git-types convention); exported as a subpath. - api-client: PostHogAPIClient methods for the read surface (list/get applications, stats, sessions list/detail, approvals list + decide, revisions, fleet stats/live-sessions/approvals) using the raw fetcher, mirroring the signals methods. - ui: query-key factory + TanStack Query hooks via useAuthenticatedQuery; list view now renders a live fleet stat strip + application rows; new per-agent detail route (/code/agents/applications/$idOrSlug) showing an overview stat strip + recent sessions. Follows the inbox pattern (shared types → client methods → UI hooks); no core passthrough service — the core service lands in M3 with the SSE→ACP chat reducer, where there's real orchestration to own. Generated-By: PostHog Code Task-Id: 3f40d432-67cc-4df1-bc7b-3ee34c7b1d70
Author
|
Superseding this with #2700 — a mid-task workspace reset left this branch unwritable by the signed-commit tooling (it only writes branches created in the same session). #2700 continues the exact same work (M1 + M2 here, plus M3a) and is where all further milestones will land. Closing this one to avoid confusion. |
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.
What
Ports the agent_platform console (from posthog/posthog
assbranch) into Code as a new agent-applications area for deployed agents. Reworks the/code/agentstab so its top level is generic agent design/config, with Scouts and the new Applications as sub-options.This is a multi-milestone effort; this PR grows as each milestone lands. Draft until the chat + concierge are wired.
Milestones
agent-applicationsfeature, route tree (/code/agents/applications), surfaced as a subsection link card on the Agents landing.@posthog/shared;PostHogAPIClientread methods (applications, stats, sessions, approvals, revisions, fleet); TanStack Query hooks; live fleet stat strip + application list + per-agent detail (overview + recent sessions).ConversationView(agent-ingress SSE events map ~1:1 onto ACPSessionUpdate).Notes
/code/agents, not a new top-level sidebar tab.PostHogAPIClientmethods → UI hooks. No core passthrough service (forbidden); the core service arrives in M3 with the chat reducer.@posthog/ui/@posthog/shared/@posthog/api-clienttypecheck clean, Biome clean.🤖 Generated with Claude Code