OneNote: read handwriting, images and SharePoint notebooks
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- ai, backend-api-design
Línea de trabajo
Start with intl/microsoft-onenote.json and connectors/binary-response.util.ts to understand the existing content and binary response paths. The proposal also requires tracing the connector layer and response-transform.util.ts opt-in pattern, then checking Microsoft Graph permissions and calibrating InkML coordinates on real pages. Done means resource retrieval, SharePoint and group notebook access, and optional page images with ink work within the stated response limits.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
The OneNote adapter (intl/microsoft-onenote.json) reads a page through GET /me/onenote/pages/{id}/content, which returns HTML without ink. Many OneNote users write by hand with a pen (meeting notes, sketches, calculations), so the AI sees nothing of those pages. Embedded pictures and PDF printouts reach the AI only as <img> links to Graph that need the user's sign-in, so it cannot read them either.
Two smaller gaps in the same adapter:
- Notebooks stored on SharePoint team sites (
/sites/{id}/onenote,/groups/{id}/onenote) are not reachable; only/me/onenoteis. - There is no tool to fetch a single page resource (image or printout).
Proposed Solution
microsoft_onenote_get_resource(adapter JSON only):GET /me/onenote/resources/{id}/$valuewith the existing binary handling (connectors/binary-response.util.ts), so an image comes back as an MCP image content block that the model can read.- SharePoint and group notebooks (adapter JSON only): list notebooks, sections and pages under
/sites/{site-id}/onenoteand/groups/{group-id}/onenote. Check which delegated permission Graph needs for these (likelyNotes.Read.All/Notes.ReadWrite.All, admin consent) and document it in the adapter instructions. microsoft_onenote_get_page_image(engine change): render a page as PNG including ink.- Fetch
content?includeinkML=true(HTML plus InkML). - Parse the InkML traces (
fast-xml-parser, already a dependency) and draw each trace as an SVG path with its brush colour and width, scaled to page coordinates. - Fetch the page's images with the user's token and place them at their absolute positions.
- Rasterise with
@resvg/resvg-js(MPL-2.0, no browser needed); split tall pages into tiles of about 1,500 px on the long edge. - Return the typed text as text (as today) plus the image(s). Typed text is not drawn into the PNG; that would need a headless browser in the image.
- Opt-in per tool through a config key (e.g.
"render": "onenote-page"), following the opt-in pattern ofdecode/imagesinresponse-transform.util.ts, but run in the connector layer because it needs further authenticated Graph calls.
- Fetch
Alternatives Considered
- Handwriting recognition on our side: not needed; current models read handwriting from images well, and Graph exposes no recognised text for ink.
- Rendering the full page in headless Chromium: higher fidelity for typed text, but adds about 300 MB to the image and a lot of memory per render on the shared Cloud.
- Returning raw InkML: the model cannot use stroke coordinates meaningfully.
Area
Connectors / adapters (Microsoft OneNote), REST engine.
Additional Context
- Cloud and self-hosted behave the same; the new dependency ships in the backend image for both.
- Size limits: the 10 MB tool response cap and the per-tool
binary.maxBytesapply; tiles keep each image well below them. - InkML coordinate units need calibrating against real pages with pen input before release.
- Lenguaje dominante
- TypeScript
- Estrellas
- 856
- Forks
- 82
- Merge medio
- 7 h 49 min
- PR fusionados (30 d)
- 302
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 HelpCode-ai/anythingmcp
-
🐣 Good first issue: contribute a new MCP adapterPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoenhancement good first issue hacktoberfest help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
HelpCode-ai/anythingmcp#982 · 10 comentarios ·
Los mantenedores suelen responder en 1 día
-
Translate the rest of the admin UI (DE, IT)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
HelpCode-ai/anythingmcp#1271 ·
Los mantenedores suelen responder en 1 día
-
DATABASE connectors keep a connection-string password in plaintext and return it to the browserPosiblemente ocupada @Riteesh-2k6 la tomó hace 3 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
HelpCode-ai/anythingmcp#1245 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
🎃 New adapter: SonarQube (code quality, Server or Cloud)Posiblemente ocupada @aj-codespy la tomó hace 1 día. Abiertoenhancement hacktoberfest help wanted
Dificultad 3/5 Medio día Aptitud para principiantes 85/100
HelpCode-ai/anythingmcp#1240 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
🎃 New adapter: Immich (self-hosted photo library, read-only)Posiblemente ocupada @GallaGit la tomó hace 1 día. Abiertoenhancement hacktoberfest help wanted
Dificultad 3/5 Medio día Aptitud para principiantes 75/100
HelpCode-ai/anythingmcp#1238 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de HelpCode-ai/anythingmcp
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
scaleway/ultraviolet#7089 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
tencent-connect/dsh-qqbot#81 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Pen taps on sidebar rows start a drag and lose their clickPosiblemente ocupada @makhnatkin la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
clangd/vscode-clangd#1009 ·