Support file uploads (multipart) and Help Center write commands for agent workflows
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- Go
- スター
- 9
- フォーク
- 5
- 平均マージ
- 2分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chatwoot/cli のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
ViewData can pair the in-flight proposal with the prepared flag of another proposal対応中かも @HagarMeir が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
hyperledger/SmartBFT#710 ·
メンテナーはふだん 1 日以内に返信
-
agent-butler-finding chore
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
jordansmall/spindrift#5575 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
open-telemetry/opentelemetry-go-compile-instrumentation#1512 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
slavakurilyak/awesome-ai-agents#805 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JakeChampion/lang#12684 ·
メンテナーはふだん 1 日以内に返信