chore: fully remove and strip A2UI experimental feature 3 months ago
Authored
mweinbach 6/30/2026, 4:12:07 AM - Delete src/experimental/a2ui/, test/a2ui/, skills/a2ui/, desktop/mobile A2UI UI and test files
- Remove a2ui from types, config, prompt, tools, session, projection, runtime, desktop store/actions/UI, mobile
- Clean incidental references, mocks, and A2UI-specific tests across the suite
- Update docs (websocket-protocol.md, architecture.md) and biome config
- All references removed (rg zero outside CHANGELOG); checks (lint, typecheck, docs:check) pass
Refs: plan for complete A2UI excision Parent80df2ea
148 files changed
apps/desktop/src/app/a2uiDockReducer.ts +0 −218 apps/desktop/src/app/store.actions.ts +0 −2 apps/desktop/src/app/store.actions/a2uiDock.ts +0 −80 apps/desktop/src/app/store.actions/bootstrap.ts +0 −110 apps/desktop/src/app/store.actions/thread.ts +0 −42 apps/desktop/src/app/store.actions/workspaceDefaults.ts +0 −22 apps/desktop/src/app/store.helpers.ts +0 −12 apps/desktop/src/app/store.helpers/jsonRpcSocket.ts +0 −24
apps/desktop/src/app/store.helpers/runtimeState.ts +0 −2
apps/desktop/src/app/store.helpers/threadEventReducer/feedProjection.ts +1 −53
apps/desktop/src/app/store.ts +1 −1
apps/desktop/src/app/types.ts +0 −54
apps/desktop/src/lib/desktopSchemas.ts +0 −4
apps/desktop/src/lib/webAdapter.ts +1 −1
apps/desktop/src/ui/ChatView.tsx +2 −54
apps/desktop/src/ui/CrashReportingErrorBoundary.tsx +2 −2
apps/desktop/src/ui/chat/ChatFeed.tsx +7 −16
apps/desktop/src/ui/chat/FeedRow.tsx +1 −42
apps/desktop/src/ui/chat/a2ui/A2uiInlineCard.tsx +0 −170
apps/desktop/src/ui/chat/a2ui/A2uiRenderer.tsx +0 −935
apps/desktop/src/ui/chat/a2ui/A2uiSurfaceDock.tsx +0 −428
apps/desktop/src/ui/chat/a2ui/A2uiSurfaceHistoryRow.tsx +0 −96
apps/desktop/src/ui/chat/a2ui/changeKind.ts +0 −39
apps/desktop/src/ui/chat/a2ui/surfaceTitle.ts +0 −52
apps/desktop/src/ui/chat/activityGroups.ts +0 −26
apps/desktop/src/ui/chat/chatLogic.ts +0 −60
apps/desktop/test/a2ui-dock-reducer.test.ts +0 −241
apps/desktop/test/a2ui-extended-catalog.test.tsx +0 −249
apps/desktop/test/a2ui-inline-card.test.tsx +0 −92
apps/desktop/test/a2ui-renderer-actions.test.tsx +0 −107
apps/desktop/test/a2ui-surface-dock.test.ts +0 −86
apps/desktop/test/a2ui-surface-title.test.ts +0 −69
apps/desktop/test/bootstrap-cache.test.ts +15 −14
apps/desktop/test/chat-feed-scroller.test.tsx +2 −2
apps/desktop/test/chat-reasoning-ui.test.ts +9 −9
apps/desktop/test/chat-view.stability.test.tsx +8 −8
apps/desktop/test/command-palette.test.tsx +1 −1
apps/desktop/test/control-socket.ensure.test.ts +1 −1
apps/desktop/test/desktop-page.test.tsx +2 −2
apps/desktop/test/feature-flags-page.test.tsx +19 −15
apps/desktop/test/feed-row-markdown-sources.test.tsx +1 −1
apps/desktop/test/helpers/mockDesktopCommands.ts +3 −2
apps/desktop/test/quick-chat-shell.test.tsx +1 −1
apps/desktop/test/settings-nav.test.ts +15 −14
apps/desktop/test/sidebar-ui.test.tsx +2 −2
apps/desktop/test/task-actions.test.ts +1 −1
apps/desktop/test/workspace-settings-sync.defaults.test.ts +1 −1
apps/desktop/test/workspace-startup.test.ts +1 −1
apps/desktop/test/workspaces-page.test.ts +5 −5
apps/mobile/src/app/(app)/thread/[id].tsx +0 −9
apps/mobile/src/components/thread/a2ui-surface-card.tsx +0 −479
apps/mobile/src/components/thread/thread-feed-item.tsx +1 −10
apps/mobile/src/components/thread/thread-render-item.tsx +1 −9
apps/mobile/src/cowork-shared/types.ts +0 −9
apps/mobile/src/experimental/a2ui/component.ts +0 −67
apps/mobile/src/experimental/a2ui/expressions.ts +0 −222
apps/mobile/src/experimental/a2ui/functions.ts +0 −257
apps/mobile/src/features/cowork/activityGroups.ts +0 −19
apps/mobile/src/features/cowork/protocolTypes.ts +0 −39
apps/mobile/src/features/cowork/snapshotReducer.ts +0 −14
biome.json +1 −2
docs/a2ui.md +0 −166
docs/architecture.md +1 −1
docs/websocket-protocol.md +0 −45
skills/a2ui/SKILL.md +0 −199
src/agent.ts +0 −17
src/config.ts +1 −57
src/experimental/a2ui/SurfaceManager.ts +0 −310
src/experimental/a2ui/component.ts +0 −67
src/experimental/a2ui/expressions.ts +0 −222
src/experimental/a2ui/flags.ts +0 −20
src/experimental/a2ui/functions.ts +0 −251
src/experimental/a2ui/index.ts +0 −7
src/experimental/a2ui/protocol.ts +0 −226
src/experimental/a2ui/routes.ts +0 −132
src/experimental/a2ui/schema.ts +0 −63
src/experimental/a2ui/sessionAdapter.ts +0 −54
src/experimental/a2ui/surface.ts +0 −231
src/experimental/a2ui/tool.ts +0 −122
src/prompt.ts +1 −30
src/runtime/codexAppServer/config.ts +1 −1
src/server/projection/conversationProjectionFeedItems.ts +0 −21
src/server/projection/conversationProjectionSessionEvents.ts +0 −4
src/server/protocol.ts +0 −21
src/server/runtime/ConfigPatchStore.ts +8 −75
src/server/runtime/ServerRuntime.ts +1 −7
src/server/runtime/SessionRegistry.ts +0 −20
src/server/runtime/WorkspaceControl.ts +1 −14
src/server/session/AgentSession.ts +0 −17
src/server/session/AgentSessionFromPersisted.ts +0 −4
src/server/session/AgentSessionHydration.ts +0 −1
src/server/session/AgentSessionManagerRegistry.ts +1 −35
src/server/session/SessionContext.ts +0 −31
src/server/session/SessionMetadataManager.ts +0 −61
src/server/session/SessionRuntime.ts +1 −18
src/server/session/TurnExecutionManager.ts +0 −19
src/server/session/turnExecution/runTurnInvocation.ts +0 −30
src/server/session/turnExecution/runUserMessageTurn.ts +0 −12
src/shared/featureFlags.ts +0 −9
src/shared/projectedItems.ts +0 −36
src/shared/sessionSnapshot.ts +1 −37
src/skills/loadSkillBody.ts +2 −3
src/tools/context.ts +0 −16
src/tools/index.ts +1 −12
src/tools/skill.ts +3 −9
src/types.ts +0 −9
test/a2ui/actionValidation.test.ts +0 −87
test/a2ui/conversationProjection.test.ts +0 −108
test/a2ui/expressions.test.ts +0 −119
test/a2ui/feedItem.test.ts +0 −94
test/a2ui/functions.test.ts +0 −117
test/a2ui/integration.test.ts +0 −129
test/a2ui/jsonRpcActionRoute.test.ts +0 −530
test/a2ui/mobileReducer.test.ts +0 −92
test/a2ui/protocol.test.ts +0 −103
test/a2ui/surface.test.ts +0 −174
test/a2ui/surfaceManager.test.ts +0 −270
test/a2ui/upsertFeedItem.test.ts +0 −188
test/config/config.loadConfig.test.ts +3 −3
test/jsonrpc.control-schemas.test.ts +3 −3
test/jsonrpc/control.workspace.test.ts +14 −14
test/mobile.jsonrpc-client.test.ts +8 −8
test/mobile.thread-detail.test.tsx +3 −3
test/mobile.thread-feed-item.test.tsx +18 −18
test/prompt.test.ts +14 −14
test/session.syntheticSkillInjection.test.ts +1 −1
test/session/agentSession.backups.test.ts +1 −1
test/session/agentSession.core.test.ts +1 −1
test/session/agentSession.errors.test.ts +1 −1
test/session/agentSession.harness.ts +6 −6
test/session/agentSession.harnessObservability.test.ts +1 −1
test/session/agentSession.lifecycle.test.ts +1 −1
test/session/agentSession.mcp.test.ts +1 −1
test/session/agentSession.messaging.test.ts +1 −1
test/session/agentSession.model.test.ts +1 −1
test/session/agentSession.plugins.test.ts +1 −1
test/session/agentSession.provider.test.ts +1 −1
test/session/agentSession.settings.test.ts +10 −10
test/session/agentSession.skills.test.ts +1 −1
test/session/agentSession.todos.test.ts +1 −1
test/session/agentSession.usage.test.ts +15 −13
test/shared.featureFlags.test.ts +9 −9
test/skills.loadSkillBody.test.ts +5 −5
test/sync.cloud-sync.test.ts +2 −2
test/sync/redaction.test.ts +4 −4
test/tools/a2ui.test.ts +0 −84
test/tools/tools.createTools.test.ts +18 −18
test/tools/tools.skill.test.ts +17 −13