LogicAppsUX / iframe-app
CLAUDE.md114 starsChanged 5 months agoMITView on GitHub
Iframe-based chat application that implements the A2A (Agent-to-Agent) protocol for AI-powered conversations. The iframe is embedded in: - Logic Apps Designer (via chatbot panel) - VS Code extension webviews - Azure Portal integration Read apps/iframe-app/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
In this repository17 other files it gives its agents.
- apps/docs/CLAUDE.mdCLAUDE.md
- apps/Standalone/CLAUDE.mdCLAUDE.md
- apps/vs-code-designer/CLAUDE.mdCLAUDE.md
- apps/vs-code-react/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- libs/a2a-core/CLAUDE.mdCLAUDE.md
- libs/chatbot/CLAUDE.mdCLAUDE.md
- libs/data-mapper/CLAUDE.mdCLAUDE.md
- libs/data-mapper-v2/CLAUDE.mdCLAUDE.md
- libs/designer/CLAUDE.mdCLAUDE.md
- libs/designer-ui/CLAUDE.mdCLAUDE.md
- libs/designer-v2/CLAUDE.mdCLAUDE.md
- libs/logic-apps-shared/CLAUDE.mdCLAUDE.md
- libs/vscode-extension/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- uiSkill
- verify-prSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 81
Read apps/iframe-app/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- AUTO-GENERATED from docs/ai-setup/packages/iframe-app.md. DO NOT EDIT directly. -->A2A Chat Iframe App
Iframe-based chat application that implements the A2A (Agent-to-Agent) protocol for AI-powered conversations.
Purpose
- Embeddable chat interface for Logic Apps Designer
- A2A protocol client for AI agent communication
- Streaming message support for real-time responses
- Persistent chat history via IndexedDB
Commands
pnpm run dev # Start dev server
pnpm run build # Production build (outputs iframe.html)
pnpm run test # Run unit tests
pnpm run test:watch # Watch mode
pnpm run test:coverage # Coverage report
pnpm run type-check # TypeScript validationArchitecture
Core Components
- Uses
@microsoft/logic-apps-chatSDK for A2A protocol - Fluent UI v9 for consistent styling
- IndexedDB for message persistence
- React 19 with streaming support
Key Files
src/App.tsx- Main application componentsrc/components/- Chat UI componentssrc/hooks/- Custom React hookssrc/services/- A2A client services
Integration
The iframe is embedded in:
- Logic Apps Designer (via chatbot panel)
- VS Code extension webviews
- Azure Portal integration
PostMessage Communication
Parent windows communicate via postMessage:
// Initialize chat session
window.postMessage({ type: 'INIT', agentUrl: '...' }, '*')
// Receive chat events
window.addEventListener('message', (e) => {
if (e.data.type === 'CHAT_RESPONSE') { ... }
})Development Notes
- React 19: Uses latest React features including streaming
- Fluent UI v9: Modern styling with design tokens
- Vitest: Unit testing framework
- Build output:
dist/iframe.htmlfor embedding
Testing
pnpm run test # Run all tests
pnpm run test:multi-session # Test multiple chat sessionsDependencies
@microsoft/logic-apps-chat- A2A protocol SDK@fluentui/react-components- UI frameworkidb- IndexedDB wrapper
Graphify
Read apps/iframe-app/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

