diff --git a/CHANGELOG.md b/CHANGELOG.md index 885fd72..ab683db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ Museon CLI follows semantic versioning for its package and command contract. +## 2.3.1 + +Fixes from production QA of 2.3.0 `html-documents` errors. + +- A business error whose body is only `{"code": "..."}` (or one JSON encoding of that object) no longer lands in `error.message` as that JSON. The envelope sets `error.server_code`. HTML document codes that carry no message of their own use a sentence: `folder_not_found` is `Folder not found`, `folder_name_taken` is `A folder with this name already exists`, and the same for `document_not_found`, `folder_not_empty`, `html_too_large`, `invalid_filename`, `invalid_html`, `invalid_title`, `invalid_folder`, `invalid_folder_name`, `invalid_slug`, `slug_taken`, and `invalid_document`. A body that already has its own message is unchanged. An unknown code-only object keeps the JSON text it showed before. +- A bad id on `html-documents` says to look it up with `+list`. That domain has no `+get`. Other commands still say `+list or +get`. +- `html-documents +list --folder` accepts `root` in any case and sends `root`. Any other non-UUID says the literal `root` is valid. +- `html-documents +list --q` that is empty or only whitespace is a usage error (exit 2) and sends no request. The schema already required `minLength` 1. + ## 2.3.0 Organization HTML document library. diff --git a/README.md b/README.md index f4d037e..5de7df8 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ If you prefer to install the CLI yourself, use Python 3.11+, `uv`, and the exact wheel from the official GitHub release: ```bash -uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.0/museoncli-2.3.0-py3-none-any.whl" +uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.1/museoncli-2.3.1-py3-none-any.whl" ``` Then continue with Skill setup and browser authorization: diff --git a/README.zh-CN.md b/README.zh-CN.md index d12b3d4..a8ae706 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -111,7 +111,7 @@ MuseOn 只有组织:访问权限由组织角色加 Campaign 范围决定。每 固定版本的 wheel: ```bash -uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.0/museoncli-2.3.0-py3-none-any.whl" +uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.1/museoncli-2.3.1-py3-none-any.whl" ``` 安装成功后继续配置 Skills 和浏览器授权: diff --git a/contracts/command-catalog.json b/contracts/command-catalog.json index a7eace3..d366a51 100644 --- a/contracts/command-catalog.json +++ b/contracts/command-catalog.json @@ -18475,7 +18475,7 @@ "html-documents" ] }, - "contract_revision": "2.3.0", + "contract_revision": "2.3.1", "package": "museoncli", "schema_version": 3, "schemas": { diff --git a/docs/guide.md b/docs/guide.md index 1f358cc..79ac4dc 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -1,6 +1,6 @@ -# Museon CLI task guide (2.3.0) +# Museon CLI task guide (2.3.1) Museon CLI runs MuseOn's social-media operations from an Agent: UGC Campaigns (set up, recruit, approve, contract, daily tasks, content review, counting, client reports), content tracking Campaigns, analytics boards, social accounts and publishing, AI image posts, research and the organization. Find the task below, then run its commands in order. Every command prints one JSON envelope; reads change nothing; a write that reaches someone outside the organization or cannot be undone needs --yes, which only the user may give. diff --git a/docs/install.md b/docs/install.md index b3e17ca..c04ae72 100644 --- a/docs/install.md +++ b/docs/install.md @@ -70,7 +70,7 @@ If the command is unavailable: reviewed wheel from the official GitHub release: ```bash - uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.0/museoncli-2.3.0-py3-none-any.whl" + uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.1/museoncli-2.3.1-py3-none-any.whl" ``` Do not clone the repository, install from a mutable branch, or substitute a @@ -103,11 +103,11 @@ or `current` and includes their destination paths. For another Agent that supports Skills, use that Agent's native Skill installer to install the workflow Skill folders and Hook Analysis Skill: -https://github.com/Museon-AI/museon-cli/tree/v2.3.0/skills/museon-content-workflow-base -https://github.com/Museon-AI/museon-cli/tree/v2.3.0/skills/museon-research -https://github.com/Museon-AI/museon-cli/tree/v2.3.0/skills/museon-content-workflow-hireaicreator -https://github.com/Museon-AI/museon-cli/tree/v2.3.0/skills/museon-content-workflow-ai-slideshow -https://github.com/Museon-AI/museon-cli/tree/v2.3.0/skills/museon-content-workflow-campaigns +https://github.com/Museon-AI/museon-cli/tree/v2.3.1/skills/museon-content-workflow-base +https://github.com/Museon-AI/museon-cli/tree/v2.3.1/skills/museon-research +https://github.com/Museon-AI/museon-cli/tree/v2.3.1/skills/museon-content-workflow-hireaicreator +https://github.com/Museon-AI/museon-cli/tree/v2.3.1/skills/museon-content-workflow-ai-slideshow +https://github.com/Museon-AI/museon-cli/tree/v2.3.1/skills/museon-content-workflow-campaigns Do not invent a Skill directory for an unsupported host. If the Agent has no native Skill installation mechanism, finish the CLI authorization steps and diff --git a/docs/llms.txt b/docs/llms.txt index cbc9229..920a217 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -7,7 +7,7 @@ Museon CLI runs MuseOn's social-media operations from an Agent: UGC Campaigns (s ## Start - [Install guide](https://www.museon.ai/cli/install.md): install the CLI and its Agent Skills, sign in, choose an organization. -- [Task guide](https://www.museon.ai/cli/guide.md): every task as ordered commands with their required flags, risk and gotchas (Museon CLI 2.3.0). +- [Task guide](https://www.museon.ai/cli/guide.md): every task as ordered commands with their required flags, risk and gotchas (Museon CLI 2.3.1). - Offline, the CLI answers the same: `museoncli guide`, `museoncli guide `, `museoncli guide --search `, `museoncli schema `. ## Tasks diff --git a/pyproject.toml b/pyproject.toml index cdfadb4..cc1c740 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "museoncli" -version = "2.3.0" +version = "2.3.1" description = "Agent-ready CLI for Museon's social media operating platform" readme = "README.md" license = "Apache-2.0" diff --git a/skills/museon-content-workflow-base/SKILL.md b/skills/museon-content-workflow-base/SKILL.md index 31cd33e..8bfd20a 100644 --- a/skills/museon-content-workflow-base/SKILL.md +++ b/skills/museon-content-workflow-base/SKILL.md @@ -49,7 +49,7 @@ verify `museoncli version`, then resume the original task: ```bash -uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.0/museoncli-2.3.0-py3-none-any.whl" +uv tool install "https://github.com/Museon-AI/museon-cli/releases/download/v2.3.1/museoncli-2.3.1-py3-none-any.whl" ``` Read [operating-model.md](references/operating-model.md) for risk, async work, authentication, diff --git a/skills/museon-content-workflow-base/references/task-index.md b/skills/museon-content-workflow-base/references/task-index.md index fe23e54..d26d6bf 100644 --- a/skills/museon-content-workflow-base/references/task-index.md +++ b/skills/museon-content-workflow-base/references/task-index.md @@ -1,6 +1,6 @@ -# Task index (Museon CLI 2.3.0) +# Task index (Museon CLI 2.3.1) Museon CLI runs MuseOn's social-media operations from an Agent: UGC Campaigns (set up, recruit, approve, contract, daily tasks, content review, counting, client reports), content tracking Campaigns, analytics boards, social accounts and publishing, AI image posts, research and the organization. Find the task below, then run its commands in order. Every command prints one JSON envelope; reads change nothing; a write that reaches someone outside the organization or cannot be undone needs --yes, which only the user may give. diff --git a/uv.lock b/uv.lock index 026fcfe..15562da 100644 --- a/uv.lock +++ b/uv.lock @@ -330,7 +330,7 @@ wheels = [ [[package]] name = "museoncli" -version = "2.3.0" +version = "2.3.1" source = { editable = "." } dependencies = [ { name = "anyio" },