jaz-clio 5.51.0 → 5.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/api/references/full-api-surface.md +1 -1
- package/assets/skills/api/references/search-enums.md +1 -1
- package/assets/skills/api/references/search-reference.md +1 -1
- package/assets/skills/cli/SKILL.md +3 -3
- package/assets/skills/cli/references/command-catalog.md +12 -1
- package/assets/skills/conversion/SKILL.md +1 -1
- package/assets/skills/jaz-kit/SKILL.md +1 -1
- package/assets/skills/jaz-pseudo-sql/SKILL.md +1 -1
- package/assets/skills/jobs/SKILL.md +1 -1
- package/assets/skills/transaction-recipes/SKILL.md +1 -1
- package/cli.mjs +436 -436
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<p align="center"><b>Jaz accounting on the command line, and inside any AI agent.</b></p>
|
|
11
11
|
|
|
12
|
-
369 tools ·
|
|
12
|
+
369 tools · 68 command groups · 7 skills · 13 calculators · 12 close playbooks · 159 field-tested API rules.
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm install -g jaz-clio
|
|
@@ -50,7 +50,7 @@ clio magic create --file receipt.pdf # AI extracts, drafts the
|
|
|
50
50
|
clio invoices search --query 'status:unpaid AND $500+' # structured per-entity search
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
68 command groups, 16 report types, 13 calculators, 12 job playbooks. Every command takes `--json`. Run `clio --help` for the full list.
|
|
54
54
|
|
|
55
55
|
### Foreign currency
|
|
56
56
|
|
|
@@ -642,7 +642,7 @@ All 28 `POST /*/search` endpoints accept this filter structure in the POST body:
|
|
|
642
642
|
|
|
643
643
|
### Pagination
|
|
644
644
|
|
|
645
|
-
See `endpoints.md` § "Pagination (All List Endpoints)" for the full spec (limit/offset semantics, defaults, constraints, sort requirement, examples). Key points: `offset` is a 0-indexed page number (not row-skip), default limit=100, max 1000, sort required on POST /search when offset is present. Exception: `organization-report-template/search` returns a plain array (no pagination).
|
|
645
|
+
See `endpoints.md` § "Pagination (All List Endpoints)" for the full spec (limit/offset semantics, defaults, constraints, sort requirement, examples). Key points: `offset` is a 0-indexed page number (not row-skip), default limit=100, max 1000, sort required on POST /search when offset is present. Exception: `organization-report-template/search` returns a plain array upstream (no pagination); the tools normalize it to the standard envelope.
|
|
646
646
|
|
|
647
647
|
### Date Format Asymmetry (CRITICAL)
|
|
648
648
|
|
|
@@ -548,7 +548,7 @@ All search endpoints return:
|
|
|
548
548
|
}
|
|
549
549
|
```
|
|
550
550
|
|
|
551
|
-
**Exception**: `POST /organization-report-template/search` returns a plain array (no pagination metadata).
|
|
551
|
+
**Exception**: `POST /organization-report-template/search` returns a plain array upstream (no pagination metadata). The tools normalize it to the usual `{data, totalElements, totalPages}` envelope — read `.data`.
|
|
552
552
|
|
|
553
553
|
---
|
|
554
554
|
|
|
@@ -28,7 +28,7 @@ All search endpoints share this identical structure:
|
|
|
28
28
|
|
|
29
29
|
**Response shape**: `{ totalElements, totalPages, data: [...] }` — all search/list endpoints return this flat structure directly (no outer `data` wrapper).
|
|
30
30
|
|
|
31
|
-
> **Exception**: `POST /organization-report-template/search` returns a plain array (no pagination metadata, no `totalElements`/`totalPages`).
|
|
31
|
+
> **Exception**: `POST /organization-report-template/search` returns a plain array upstream (no pagination metadata, no `totalElements`/`totalPages`). The `search_organization_report_templates` / `list_organization_report_templates` TOOLS normalize it, so what you receive is the usual `{data, totalElements, totalPages}` envelope like every other list tool. Read `.data`; do not treat the tool result as a top-level array.
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-cli
|
|
3
|
-
version: 5.
|
|
3
|
+
version: 5.52.1
|
|
4
4
|
description: >-
|
|
5
5
|
Use this skill when running Clio CLI commands, building shell scripts with
|
|
6
6
|
Clio, debugging auth issues, understanding --json output, paginating results,
|
|
@@ -8,7 +8,7 @@ description: >-
|
|
|
8
8
|
precedence, output formats, entity resolution, and common workflow patterns.
|
|
9
9
|
Also use when the user asks how to use clio, what commands are available, or
|
|
10
10
|
how to automate accounting tasks from the command line. Covers all
|
|
11
|
-
|
|
11
|
+
68 command groups and 369 tools, including employee-expense claims.
|
|
12
12
|
license: MIT
|
|
13
13
|
compatibility: Requires Node.js >= 18.0.0. Install via npm install -g jaz-clio.
|
|
14
14
|
---
|
|
@@ -17,7 +17,7 @@ compatibility: Requires Node.js >= 18.0.0. Install via npm install -g jaz-clio.
|
|
|
17
17
|
|
|
18
18
|
> **Audience note:** for power users and CI/automation. Load this skill only when you're scripting from a terminal, building shell pipelines, or debugging from `clio --json` output. For day-to-day accounting inside Claude Desktop / Cowork, the MCP tools cover the common flows without dropping to the CLI.
|
|
19
19
|
|
|
20
|
-
You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform.
|
|
20
|
+
You are working with **Clio** (`jaz-clio`) — the CLI for the Jaz accounting platform. 68 command groups, 13 calculators, 12 job blueprints, 369 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
|
|
21
21
|
|
|
22
22
|
## When to Use This Skill
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Clio Command Catalog
|
|
2
2
|
|
|
3
|
-
Complete reference for all
|
|
3
|
+
Complete reference for all 68 command groups. Organized by domain.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -388,6 +388,17 @@ Exit 1 carries three meanings here, so **read the JSON, not the number**: a refu
|
|
|
388
388
|
|
|
389
389
|
Claims approve via `clio claims approve` (a different endpoint), not through this group.
|
|
390
390
|
|
|
391
|
+
### `clio purchase-items` — Purchase-side catalog (read-only, 3 tools)
|
|
392
|
+
What the organization can be billed for. No create/update/delete upstream; maintain via `clio items`.
|
|
393
|
+
|
|
394
|
+
| Subcommand | Key flags |
|
|
395
|
+
|------------|-----------|
|
|
396
|
+
| `list` | `--limit`, `--offset`, `--all`, `--max-rows` |
|
|
397
|
+
| `get <resourceId>` | — |
|
|
398
|
+
| `search` | `--name`, `--reference`, `--currency-code` — all EXACT plain-string matches |
|
|
399
|
+
|
|
400
|
+
No free-text `--query`: the endpoint rejects it (`The query field is not supported for this entity`). Filters here are **plain strings, not expression objects** — `PurchaseItemFilter` declares them as bare `string`, so there is no `contains`. `purchaseResourceId` and `resourceId` also exist upstream and are reachable via `--filter`.
|
|
401
|
+
|
|
391
402
|
### `clio inventory` (alias: `inv`) — Inventory tracking
|
|
392
403
|
| Subcommand | Key flags |
|
|
393
404
|
|------------|-----------|
|