@qodalis/mcp-cli 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.2.3] - 2026-11-05
8
+
9
+ ### Changed
10
+
11
+ - Bundled plugin guide (`docs/llms-full.txt`) refreshed for the servers' 1.0.0-beta.17: the audit log is a
12
+ plugin of its own on every server (.NET `Qodalis.Cli.Plugin.Audit` and `Audit.EfCore`, Node
13
+ `@qodalis/cli-server-plugin-audit`, Python `qodalis-cli-server-plugin-audit`), how to add it alone and set its
14
+ store.
15
+
7
16
  ## [0.2.2] - 2026-11-05
8
17
 
9
18
  ### Changed
@@ -1603,14 +1603,14 @@ builder.Services.AddControllers().AddCli(cli => cli
1603
1603
 
1604
1604
  - .NET only: `AddEfCoreJobStorage` keeps the history in any EF Core database and creates its tables (`job_executions`, `job_states`) even in a database that already has others; call `modelBuilder.ApplyJobStorageModel()` to keep them in your own migrations. Database stores return `properties` values as JSON values.
1605
1605
 
1606
- ### Audit log (all servers)
1606
+ ### Audit log plugin (all servers)
1607
1607
 
1608
- The users plugin records sign-ins, token and group changes in its audit log, read with `audit:read` from `GET /api/v1/qcli/audit?event=&username=&actor=&limit=&offset=` (newest 100 without a `limit`, at most 1000), by the console's `audit` and by the dashboard's Audit page.
1608
+ The audit log is a plugin of its own (.NET `Qodalis.Cli.Plugin.Audit`, Node `@qodalis/cli-server-plugin-audit`, Python `qodalis-cli-server-plugin-audit`): it keeps the entries and serves `GET /api/v1/qcli/audit?event=&username=&actor=&limit=&offset=` (`audit:read`; newest first, 100 without a `limit`, at most 1000) and `DELETE /api/v1/qcli/audit` (`audit:clear`; records `audit_cleared` with who did it), read by the console's `audit` and the dashboard's Audit page, and listed on its Plugins page. The users plugin adds it and records sign-ins, failed sign-ins, user, group, token and shell events there; a host can add it alone: .NET `cli.AddAudit()`, Node `new CliAuditBuilder().build()` mounted with `mountPlugin` (pass it to the users plugin with `setAuditPlugin` to share it), Python `CliAuditBuilder().build()` mounted with `mount_plugin` (the users plugin joins a mounted one).
1609
1609
 
1610
1610
  - An entry has `event`, `actor`, `username` (the user it is about), `target` (what else it is about, e.g. `group:admins`), `metadata` and `properties` (the host's own values).
1611
- - A host writes its own entries to the same log: `IAuditStore.LogAsync` (.NET), `auditStore.log(...)` (Node), `await audit_store.log(...)` (Python).
1612
- - Old entries: `PruneAsync(before)` (.NET), `prune(before)` (Node; Python takes Unix milliseconds).
1613
- - .NET only: `cli.AddEfCoreAuditStore(o => o.UseNpgsql(connectionString))` (`Qodalis.Cli.Plugin.Users.EfCore`) keeps the log in a database (table `audit_entries`; `modelBuilder.ApplyAuditStorageModel()` for your own migrations). It keeps every entry, failed sign-ins included: prune it from a daily job.
1611
+ - A host writes its own entries to the same log through the audit store: `IAuditStore.LogAsync` (.NET, `Qodalis.Cli.Abstractions.Audit`), `auditStore.log(...)` (Node), `await audit_store.log(...)` (Python).
1612
+ - Another store: `cli.SetAuditStore<T>()` (.NET), `CliAuditBuilder.setStore(store)` (Node), `CliAuditBuilder().set_store(store)` (Python); the users plugin's audit-store option still works and does the same. The contract (`AuditEntry`, `AuditQueryOptions`, the store interface) is in each server's abstractions package. Old entries: `PruneAsync(before)` (.NET), `prune(before)` (Node; Python takes Unix milliseconds).
1613
+ - .NET only: `cli.AddEfCoreAuditStore(o => o.UseNpgsql(connectionString))` (`Qodalis.Cli.Plugin.Audit.EfCore`) keeps the log in a database (table `audit_entries`; `modelBuilder.ApplyAuditStorageModel()` for your own migrations). It keeps every entry, failed sign-ins included: prune it from a daily job.
1614
1614
 
1615
1615
  ### Installed plugins (all servers)
1616
1616
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qodalis/mcp-cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Model Context Protocol (MCP) server for Qodalis CLI: plugin-development tools (docs search, API declarations, scaffolding) for AI assistants, and a resilient stdio proxy to a Qodalis CLI server's commands, files, data explorer and jobs.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",