diff --git a/README.md b/README.md index aaf56e1..d7b2862 100644 --- a/README.md +++ b/README.md @@ -94,15 +94,15 @@ codevhub init # initialize + index the current project (one time) ## CoDev Office skills (offline bundle) -`codevhub skill office` installs the CoDev Office skills so your agents can produce and edit real DOCX and XLSX files. Everything ships in one offline bundle — no login and no per-skill downloads: +`codevhub skill office` installs the CoDev Office skills so your agents can create, read and edit real DOCX, XLSX, PPTX and PDF files. Everything ships in one offline bundle — no login and no per-skill downloads: ```bash codevhub skill office ``` -It picks the bundle for your OS, downloads it into `~/.codev-hub/office`, and runs the bundled setup script, which may prompt for `sudo` (macOS/Linux) or UAC (Windows). +It picks the bundle for your OS and downloads it into `~/.codev-hub/office` (on Windows: `%PUBLIC%\Downloads\codev-office`). On macOS/Linux it then runs the bundled setup script, which may prompt for `sudo`; on Windows it prints the exact command to paste into an elevated PowerShell instead of launching the installer itself. -**The bundle is large — roughly 610 MB (Linux), 820 MB (Windows) or 1.4 GB (macOS).** The download folder is kept between runs, so an interrupted transfer resumes where it left off and an already-downloaded bundle is reused. To force a completely fresh download, delete `~/.codev-hub/office`. +**The bundle is large**, and the command prints its approximate size before downloading. The download folder is kept between runs, so an interrupted transfer resumes where it left off and an already-downloaded bundle is reused. To force a completely fresh download, delete that folder. To fetch the bundle now and install later — or to stage it for a machine that has no internet access: diff --git a/src/lib/help.ts b/src/lib/help.ts index 68fc836..7470e38 100644 --- a/src/lib/help.ts +++ b/src/lib/help.ts @@ -50,8 +50,8 @@ Skill hub: (previews and confirms before upload; --draft-only to stop at DRAFT, --auto-approve for admins, --json for output) skill office Download the CoDev Office offline skills bundle - (DOCX and XLSX authoring) for this OS and run its - setup script + (create, read and edit DOCX, XLSX, PPTX and PDF) + for this OS and run its setup script (--platform ubuntu|macos|windows to fetch for another OS [implies --download-only], --dir for the download folder, --download-only to skip running the installer, diff --git a/tests/lib/help.test.ts b/tests/lib/help.test.ts index 00569a0..c42331f 100644 --- a/tests/lib/help.test.ts +++ b/tests/lib/help.test.ts @@ -73,6 +73,17 @@ describe("printHelp", () => { expect(output()).toContain("remove"); }); + test("lists every format the office bundle covers", () => { + // The bundle ships four skills (minimax-docx, minimax-xlsx, + // pptx-generator, minimax-pdf); help used to name only the first two, + // so users had no way to know PPTX/PDF were installed. + printHelp(); + const out = output(); + for (const format of ["DOCX", "XLSX", "PPTX", "PDF"]) { + expect(out).toContain(format); + } + }); + test("does not surface bare-agent launch commands as documented", () => { // Agents (claude/codex/opencode) are launched via PATH shims set up by // `codevhub install` — the bare `codev ` form is intentionally