agentleFS
Microsoft AzureKnown publisherAzure/LogicAppsUX/apps/iframe-app/CLAUDE.md

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).

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
  1. Very specific:

    Read apps/iframe-app/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).

    line 81

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md
<!-- 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 validation

Architecture

Core Components

  • Uses @microsoft/logic-apps-chat SDK 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 component
  • src/components/ - Chat UI components
  • src/hooks/ - Custom React hooks
  • src/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.html for embedding

Testing

pnpm run test                    # Run all tests
pnpm run test:multi-session      # Test multiple chat sessions

Dependencies

  • @microsoft/logic-apps-chat - A2A protocol SDK
  • @fluentui/react-components - UI framework
  • idb - IndexedDB wrapper

Graphify

Read apps/iframe-app/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.