Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions src/lib/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <path> for the download
folder, --download-only to skip running the installer,
Expand Down
11 changes: 11 additions & 0 deletions tests/lib/help.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <agent>` form is intentionally
Expand Down
Loading