jaz-clio 9.3.2 → 9.4.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 +3 -3
- package/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/api/references/endpoints.md +43 -1
- package/assets/skills/api/references/full-api-surface.md +1 -1
- package/assets/skills/cli/SKILL.md +3 -3
- package/assets/skills/cli/references/command-catalog.md +1 -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/assets/templates/platform-rules/jaz-agent-rules.md +3 -3
- package/cli.mjs +446 -446
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<a href="https://www.npmjs.com/package/jaz-clio"><img src="https://img.shields.io/npm/v/jaz-clio?style=for-the-badge&logo=npm" alt="npm"></a>
|
|
5
5
|
<a href="https://www.npmjs.com/package/jaz-clio"><img src="https://img.shields.io/npm/dm/jaz-clio?style=for-the-badge&label=downloads" alt="npm downloads"></a>
|
|
6
|
-
<img src="https://img.shields.io/badge/tools-
|
|
6
|
+
<img src="https://img.shields.io/badge/tools-396-blue?style=for-the-badge" alt="396 tools">
|
|
7
7
|
<a href="https://github.com/teamtinvio/jaz-ai/blob/main/LICENSE"><img src="https://img.shields.io/github/license/teamtinvio/jaz-ai?style=for-the-badge&color=green" alt="License"></a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
10
|
<p align="center"><b>Fastest ledger for agents.</b><br>Jaz accounting on the command line, and inside any AI agent.</p>
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
396 tools · 74 command groups · 7 skills · 13 calculators · 12 job playbooks · 148 field-tested API rules.
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm install -g jaz-clio
|
|
@@ -109,7 +109,7 @@ that ends up in a journal.
|
|
|
109
109
|
|
|
110
110
|
## MCP server
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
396 tools for any AI agent that speaks MCP. Runs locally: no cloud, no ports.
|
|
113
113
|
|
|
114
114
|
> **No install at all?** Claude.ai, ChatGPT, Cowork, and Microsoft Copilot Studio can use Jaz through the hosted connector. Add `https://mcp.jaz.ai/mcp` as a custom connector and sign in with OAuth, no key. The local setup below is for terminal use, scripting, and editors that run MCP servers as local processes.
|
|
115
115
|
|
|
@@ -3027,4 +3027,46 @@ Removes the template from every pack that includes it.
|
|
|
3027
3027
|
|
|
3028
3028
|
---
|
|
3029
3029
|
|
|
3030
|
-
|
|
3030
|
+
## 29. Collaboration (Comments and Notifications)
|
|
3031
|
+
|
|
3032
|
+
Comment threads on a record, and the notifications for the caller about them. `{entityType}` is one of `bills`, `invoices`, `supplier-credit-notes`, `customer-credit-notes`, `bank-records`; a bank record also takes `?bankAccountResourceId=` (the bank account it belongs to). Every call acts as a user: an API key acts as the member who created it, and a key with no user is refused 401. Timestamps are epoch milliseconds.
|
|
3033
|
+
|
|
3034
|
+
### GET /api/v1/collaboration/{entityType}/{resourceId}/threads
|
|
3035
|
+
|
|
3036
|
+
Lists the comment threads on one record, newest thread first, each with its newest `commentLimit` comments (default 5, 0 for counts only); `commentsTruncated` says older comments exist.
|
|
3037
|
+
|
|
3038
|
+
### POST /api/v1/collaboration/{entityType}/{resourceId}/comments
|
|
3039
|
+
|
|
3040
|
+
Adds a comment (`content`, optional `threadId`) to one record; without `threadId` it joins the open thread or opens one. A mention is `<@userResourceId>` written in `content`, at most 20 distinct users, each an active member of the organization or the whole comment is refused 422; the answer carries `content` (saved markup `<Name@userResourceId>`), `text` (`@Name`) and `mentions`. Not idempotent: list the threads before retrying.
|
|
3041
|
+
|
|
3042
|
+
### GET /api/v1/collaboration/{entityType}/{resourceId}/threads/{threadId}/comments
|
|
3043
|
+
|
|
3044
|
+
Lists the comments of one thread on one record, newest first, paged with `limit` (at most 50) and `offset`.
|
|
3045
|
+
|
|
3046
|
+
### PUT /api/v1/collaboration/{entityType}/{resourceId}/threads/{threadId}/comments/{commentId}
|
|
3047
|
+
|
|
3048
|
+
Replaces the text of your own comment on one record while its thread is open. The new `content` is judged whole, so an edit can add mentions (`<@userResourceId>`) and remove them by leaving the markup out.
|
|
3049
|
+
|
|
3050
|
+
### DELETE /api/v1/collaboration/{entityType}/{resourceId}/threads/{threadId}/comments/{commentId}
|
|
3051
|
+
|
|
3052
|
+
Deletes your own comment on one record while its thread is open; a repeat answers 404.
|
|
3053
|
+
|
|
3054
|
+
### POST /api/v1/collaboration/{entityType}/{resourceId}/threads/{threadId}/resolve
|
|
3055
|
+
|
|
3056
|
+
Resolves a thread on one record, after which it accepts no new, edited or deleted comments; a repeat answers 422.
|
|
3057
|
+
|
|
3058
|
+
### GET /api/v1/collaboration/notifications
|
|
3059
|
+
|
|
3060
|
+
Lists the notifications for the caller about comments on bills, invoices, supplier credit notes, customer credit notes and bank records, newest first; unread only unless `status=all`.
|
|
3061
|
+
|
|
3062
|
+
### PUT /api/v1/collaboration/notifications/{notificationId}
|
|
3063
|
+
|
|
3064
|
+
Marks one notification read or unread with `{ "isRead": true | false }`; unread clears `readAt`.
|
|
3065
|
+
|
|
3066
|
+
### POST /api/v1/collaboration/notifications/read-all
|
|
3067
|
+
|
|
3068
|
+
Marks up to 2000 unread notifications of the caller read; call again while `more` is true.
|
|
3069
|
+
|
|
3070
|
+
---
|
|
3071
|
+
|
|
3072
|
+
*Last updated: 2026-11-06 (Collaboration mentions are markup in `content`). Previous: 2026-11-05 (added Collaboration, section 29). Previous: 2026-09-24 (added Report Templates, section 28). Previous: 2026-09-23 (added Unapplied Payments, section 27). Previous: 2026-09-13 (added Bank Rules CRUD, section 26). Previous: 2026-07-11 (added Jots judgment journal, section 25). Previous: 2026-04-09, added Contacts bulk-upsert (22), Background Jobs search (23), Export Records (24). 2026-03-13: Payment record CRUD, nano-classifier, scheduler GET/PUT/DELETE.*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> **The endpoints clio wraps (the REST surface is larger).** This file catalogues roughly 200
|
|
4
4
|
> paths, organized by resource, including undocumented endpoints, magic AI features, admin
|
|
5
5
|
> APIs, and advanced search/filter syntax. The committed OpenAPI spec (`spec/openapi.yaml`)
|
|
6
|
-
> carries
|
|
6
|
+
> carries 518 spec paths and 657 spec operations and is the authoritative list; check it before concluding
|
|
7
7
|
> an endpoint does not exist. For request/response examples of core endpoints, see
|
|
8
8
|
> endpoints.md.
|
|
9
9
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-cli
|
|
3
|
-
version: 9.
|
|
3
|
+
version: 9.4.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
|
-
74 command groups and
|
|
11
|
+
74 command groups and 396 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. 74 command groups, 13 calculators, 12 job playbooks (jaz-jobs skill),
|
|
20
|
+
You are working with **Clio** (`jaz-clio`), the CLI for the Jaz accounting platform. 74 command groups, 13 calculators, 12 job playbooks (jaz-jobs skill), 396 tools. Also fully compatible with Juan Accounting (same API, same endpoints).
|
|
21
21
|
|
|
22
22
|
## When to Use This Skill
|
|
23
23
|
|
|
@@ -725,7 +725,7 @@ Valid entity types: INVOICE, BILL, CUSTOMER_CREDIT_NOTE, SUPPLIER_CREDIT_NOTE, S
|
|
|
725
725
|
Universal async tracker: any operation returning a jobId (contacts bulk-upsert, items bulk-upsert, bank import, magic processing) can be polled here.
|
|
726
726
|
|
|
727
727
|
### `clio mcp`: MCP stdio server
|
|
728
|
-
Starts an MCP server for Claude Code / AI tool integration. Exposes all
|
|
728
|
+
Starts an MCP server for Claude Code / AI tool integration. Exposes all 396 operations.
|
|
729
729
|
|
|
730
730
|
### `clio init`: Skill installer
|
|
731
731
|
Installs AI agent skills into your project.
|
|
@@ -4,11 +4,11 @@ Jaz accounting guidance for this workspace. Load the installed Jaz skills for de
|
|
|
4
4
|
|
|
5
5
|
## Discovery
|
|
6
6
|
|
|
7
|
-
Jaz exposes **
|
|
7
|
+
Jaz exposes **396 tools across 50 namespaces**. Your tool list shows **3, 50, or 396** entries depending on packaging; **never infer capability from its length.**
|
|
8
8
|
|
|
9
9
|
- **3**: `search_tools(query)` → `describe_tools(names)` → `execute_tool(name, args)`. Empty query returns the namespace map.
|
|
10
|
-
- **
|
|
11
|
-
- **
|
|
10
|
+
- **50**: namespace routers; call one with `{ operation, arguments }`. Its description lists its operations.
|
|
11
|
+
- **396**: call operations directly by name.
|
|
12
12
|
|
|
13
13
|
`describe_capabilities` returns the capability map on all three. **Call it before telling the user Jaz cannot do something.**
|
|
14
14
|
|