`agent-pay check`: accept an MCP config file as the registry
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with the agent-pay check --registry loader and the existing atomic-units registry format it expects, then read the linked CONTRIBUTING.md and docs/REVIEWING.md. Add a branch for the MCP config shape (a network and merchants object) that converts decimal strings with exact parsing, such as viem's parseUnits, and maps price to pricePin and tolerancePct to toleranceBps. Done means tests cover both file shapes and a clear error for anything else, and the preset question is answered in the issue before coding.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
An owner who already runs agent-pay-mcp has their sellers in an MCP config: decimal USDC strings such as "price": "0.003", "maxPerTx": "0.005". agent-pay check --registry expects a different JSON, with atomic units and pricePin. So today they would maintain two files.
What: when the --registry file is an object with network and merchants (the MCP config shape), convert it: decimal strings become atomic units, price becomes pricePin, and tolerancePct becomes toleranceBps. Also accept "preset": "verified" if it's easy to share the preset data. Otherwise report clearly that presets aren't supported there yet.
Acceptance:
- Tests for both file shapes, and a clear error for anything else.
- The conversion is exact: no floating point, so use viem's
parseUnitsor equivalent.
New to the repo? Start with CONTRIBUTING.md. Every outside PR goes through the review gates in docs/REVIEWING.md. Please discuss any new dependency in this issue first. Comment here before starting, so two people don't build the same thing.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 3 h 51 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DeepFirstHQ/deepfirstsearch
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 35/100
-
help wanted integration
Dificultad 3/5 3-5 días Aptitud para principiantes 45/100
-
help wanted integration
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
-
agentSafeGuard for `@x402/axios`Abiertohelp wanted integration
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
documentation good first issue
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Todos los issues de DeepFirstHQ/deepfirstsearch
Issues similares
-
useFragment does not require `variables` when the fragment's variables type has required fieldsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apollographql/apollo-client#13493 ·
Los mantenedores suelen responder en 1 día
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backendsPosiblemente ocupada @roboomp la tomó hoy. Abiertobug prio:p2 providers triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
can1357/oh-my-pi#15798 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
code-yeongyu/oh-my-openagent#10172 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
PDFCraftTool/pdfcraft#189 ·
-
Add the Yahoo chart API duplicate last-day row (yfinance#573) to incidents.md (about 1 hour)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertodata docs good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
pacocartones/market-data-sanity-checker#160 ·
Los mantenedores suelen responder en 1 día