Skip to content

Commit d681bf5

Browse files
committed
style: format files after merging upstream main
1 parent 6b75761 commit d681bf5

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

docs/concepts/catalogs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ When the agent uses that catalog, it generates a payload strictly conforming to
147147

148148
A2UI Catalogs must be standalone (no references to external files) to simplify LLM inference and dependency management.
149149

150-
While the final catalog must be freestanding, you may still author your catalogs modularly using JSON Schema `$ref` pointing to external documents during local development.
150+
While the final catalog must be freestanding, you may still author your catalogs modularly using JSON Schema `$ref` pointing to external documents during local development.
151151

152-
To automate bundling and registering these external file references, this catalog registration process is called **"Linking"** and is consolidated under a single, multi-platform Node.js script (**`register-catalogs.js`**).
152+
To automate bundling and registering these external file references, this catalog registration process is called **"Linking"** and is consolidated under a single, multi-platform Node.js script (**`register-catalogs.js`**).
153153

154154
This linking script is natively wrapped inside **Xcode Build Phases** (for iOS/macOS client builds) and **Gradle tasks** (for Android client builds) to compile, aggregate, and link static and dynamic schemas seamlessly during your application's build phase.
155155

samples/mcp/a2ui-in-mcpapps/server/apps/editor/src/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,10 @@ export class McpAppRoot implements OnInit, AfterViewInit {
444444

445445
private getA2UIMessages(content: any[]): any[] | null {
446446
const a2uiResource = content.find(
447-
(c: any) => c.type === 'resource' && (c.resource?.mimeType === A2UI_MIME_TYPE || c.resource?.mimeType === 'application/json+a2ui'),
447+
(c: any) =>
448+
c.type === 'resource' &&
449+
(c.resource?.mimeType === A2UI_MIME_TYPE ||
450+
c.resource?.mimeType === 'application/json+a2ui'),
448451
);
449452
if (!a2uiResource || !a2uiResource.resource?.text) {
450453
return null;

samples/mcp/a2ui-in-mcpapps/server/apps/src/src/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ export class McpAppRoot implements OnInit, AfterViewInit {
171171

172172
private getA2UIMessages(content: any[]): any[] | null {
173173
const a2uiResource = content.find(
174-
(c: any) => c.type === 'resource' && (c.resource?.mimeType === A2UI_MIME_TYPE || c.resource?.mimeType === 'application/json+a2ui'),
174+
(c: any) =>
175+
c.type === 'resource' &&
176+
(c.resource?.mimeType === A2UI_MIME_TYPE ||
177+
c.resource?.mimeType === 'application/json+a2ui'),
175178
);
176179
if (!a2uiResource || !a2uiResource.resource?.text) {
177180
return null;

samples/mcp/a2ui-over-mcp-recipe/client/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ export class A2uiRecipeApp extends LitElement {
369369
});
370370

371371
const a2uiContent = result.contents.find(
372-
(c: any) => c.mimeType === 'application/a2ui+json' || c.mimeType === 'application/json+a2ui',
372+
(c: any) =>
373+
c.mimeType === 'application/a2ui+json' || c.mimeType === 'application/json+a2ui',
373374
);
374375

375376
if (!a2uiContent || !('text' in a2uiContent)) {

0 commit comments

Comments
 (0)