Readit News logoReadit News
selvan commented on Run interactive commands in Gemini CLI   developers.googleblog.com... · Posted by u/ridruejo
ffsm8 · 2 months ago
Your link 404s
selvan · 2 months ago
Thanks. Fixed it.
selvan commented on Run interactive commands in Gemini CLI   developers.googleblog.com... · Posted by u/ridruejo
selvan · 2 months ago
From the blog " Gemini CLI spawns a new process within a pseudo-terminal in the background, leveraging the node-pty library...So how does this virtual terminal running in the background show up on your screen? Think of it like a video stream. Our new serializer takes a snapshot of the pseudo terminal at every moment—capturing every piece of text, every color, and even the cursor's position. These snapshots are then streamed to you, allowing you to see and interact with the terminal application in real-time. It's not just a stream of text; it's a live feed."

Terminal serializer code: https://github.com/google-gemini/gemini-cli/blob/main/packag...

Uses @xterm/headless npm package.

Deleted Comment

selvan commented on Apps SDK   developers.openai.com/app... · Posted by u/alvis
Illniyar · 2 months ago
I can't understand the documentation. How are the interactive elements embedded in the chat? Are they just iFrames?

The docs mention returning resources, and the example is returning a rust file as a resource, which is nonsensical.

This seems similar to MCP UI in result but it's not clear how it works internally.

selvan · 2 months ago
An MCP server exposes tools that a model can call during a conversation and returns results according to the tool contracts. Those results can include extra metadata—such as inline HTML—that the Apps SDK uses to render rich UI components (widgets) alongside assistant messages.

More: https://github.com/openai/openai-apps-sdk-examples?tab=readm...

u/selvan

KarmaCake day4265April 11, 2010
About
Founder of CheerArena (https://www.cheerarena.com) - TV grade Live channels on Youtube/Instagram/Facebook/Twitch

http://www.github.com/selvan

View Original