a2ui-project / a2ui-project/a2ui

Allow cuttable keys to be configured per schema/component for stream parsing

Abierto
#1,613 2 comentarios 0 reacciones 0 asignados Ver en GitHub
component: agent_sdk component: specification P2 type: feature/enhancement
Lenguaje dominante
TypeScript
Estrellas
16.4k
Forks
1.3k
Merge medio
2 d 13 h
PR fusionados (30 d)
134

Descripción

## Background
The current implementation for cuttable keys in stream parsing is an interim solution, but further improvements are needed as highlighted in review feedback from PR #1581.

## Motivation
- Enhance flexibility and accuracy by enabling configuration of cuttable keys at the schema or component level, rather than only at the catalog level.
- Support future formats and streaming mechanisms for better handling of fragmentable properties.

## Key Tasks
- Research and propose a design for specifying cuttable parameters at the component level using schema analysis (e.g., properties of type DynamicString, ComponentId, etc.).
- Evaluate alternative streaming formats that could simplify or improve robust parsing and fragment handling.
- Consider migration paths from the current catalog-level approach to the proposed schema or component-based solution.
- Prepare a design or technical note outlining options and trade-offs.

## References
- [PR Review Discussion](https://github.com/a2ui-project/a2ui/pull/1581#pullrequestreview-4473826075)
- Related long-term issue: #863

---
This issue tracks future work following PR #1581.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Review PR #1581 and the linked discussion to understand the current catalog-level cuttable keys implementation. Examine the schema analysis for properties like DynamicString and ComponentId. The goal is to propose a design for component-level configuration, considering migration paths and alternative streaming formats. Start by reading the stream parsing code and related schema definitions.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
backend, data, stream-processing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.