Support file uploads (multipart) and Help Center write commands for agent workflows
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start with the chatwoot api command and its current JSON/raw-body request handling, then inspect the chatwoot hc command structure. Compare the requested multipart POST to /api/v1/accounts/:id/upload and the proposed Help Center write commands with Chatwoot CLI 0.6.1 behavior and related issue chatwoot/chatwoot#14638. Done means the scoped commands support the requested upload and article/category operations with usable output.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
We run self-hosted Chatwoot CE (v4.17) and use AI coding agents with the official CLI (0.6.1, also checked 0.7.0) to manage our Help Center. The agents can read and write articles through chatwoot api, but they cannot add images to an article without a browser session or shell access to the server:
chatwoot apionly sends JSON or a raw body, so it can't do the multipartPOST /api/v1/accounts/:id/upload(attachmentfield) the article editor uses.external_urluploads only work if the image is already on a public URL. Screenshots for a new article usually live in a private repo or on the local disk.- Help Center commands (
chatwoot hc ...) are read-only.
So publishing a short how-to with screenshots currently needs a person to drag images into the web editor, or someone with root on the server running rails runner.
Request
- Multipart file upload in
chatwoot api, e.g.chatwoot api -X POST /upload --form attachment=@./screenshot.png, returning thefile_url/blob_id. This alone would unblock the workflow. - Help Center write commands (nice to have), e.g.:
chatwoot hc upload <file>: upload an image and print a path that can go into article Markdownchatwoot hc article create|update --file article.md --category <slug>chatwoot hc article publish <id>chatwoot hc category create|list
Why
Docs and help articles are a natural fit for agent-driven workflows: write the Markdown in a repo, review it in a PR, then publish with the CLI using a scoped admin token. Image upload is the one step that still needs a human or server access.
Related: chatwoot/chatwoot#14638 (Help Center file attachments in the editor).
- Lenguaje dominante
- Go
- Estrellas
- 9
- Forks
- 5
- Merge medio
- 2 min
- PR fusionados (30 d)
- 2
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 chatwoot/cli
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Todos los issues de chatwoot/cli
Issues similares
-
[Bug]: message-level cache_control on chat messages is dropped, so Anthropic prompt caching never triggersPosiblemente ocupada @Atharva-Kanherkar la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
eugenioenko/ttt#1000 ·
Los mantenedores suelen responder en 1 día
-
bug needs-acceptance wg/developer-experience-ecosystem
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vllm-project/semantic-router#5249 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Billionmail/BillionMail#389 ·
-
在“产品文档”下拉列表,增加“探索”频道Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
DaoCloud/DaoCloud-docs#7489 ·
Los mantenedores suelen responder en 1 día