@qodalis/mcp-cli 0.2.2 → 0.2.4
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 +16 -0
- package/docs/llms-full.txt +13 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ 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.4] - 2026-11-05
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Bundled plugin guide (`docs/llms-full.txt`) refreshed for the servers' 1.0.0-beta.18: the logs API's filters
|
|
12
|
+
(several levels, service, time range) and the .NET Seq logs plugin (`Qodalis.Cli.Plugin.Logs.Seq`).
|
|
13
|
+
|
|
14
|
+
## [0.2.3] - 2026-11-05
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Bundled plugin guide (`docs/llms-full.txt`) refreshed for the servers' 1.0.0-beta.17: the audit log is a
|
|
19
|
+
plugin of its own on every server (.NET `Qodalis.Cli.Plugin.Audit` and `Audit.EfCore`, Node
|
|
20
|
+
`@qodalis/cli-server-plugin-audit`, Python `qodalis-cli-server-plugin-audit`), how to add it alone and set its
|
|
21
|
+
store.
|
|
22
|
+
|
|
7
23
|
## [0.2.2] - 2026-11-05
|
|
8
24
|
|
|
9
25
|
### Changed
|
package/docs/llms-full.txt
CHANGED
|
@@ -1603,14 +1603,22 @@ 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
|
|
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.
|
|
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
|
+
|
|
1615
|
+
### Server logs and Seq (.NET)
|
|
1616
|
+
|
|
1617
|
+
The dashboard's Logs page reads `GET /api/v1/qcli/logs?level=&search=&service=&from=&to=&limit=&offset=` (`logs:read`; `level` is one level or a comma list of `DEBUG`, `INFO`, `WARN`, `ERROR`; `from`/`to` ISO 8601; at most 500 per page) and tails `/ws/v1/qcli/logs` live. By default the history is the admin plugin's in-memory buffer: the latest 1000 entries of that process, gone on restart.
|
|
1618
|
+
|
|
1619
|
+
- .NET: `cli.AddSeqLogs(seq => { seq.ServerUrl = "http://seq:5341"; seq.ApiKey = ...; seq.ServiceName = "my-api"; })` (`Qodalis.Cli.Plugin.Logs.Seq`) sends every log entry to Seq as CLEF, tagged `Service`, and makes Seq the history: it survives restarts and holds every service that writes there, filtered by service, level, text and time. A service that only writes (a worker without the admin plugin) sets `seq.ReadHistory = false`. Logging never waits for Seq or fails because of it.
|
|
1620
|
+
- The answer carries `store` (`memory`, `seq`), `persistent`, `services` and `hasMore`; `total` is null when the store cannot count (Seq). 502 with `{ error }` when the store is unreachable.
|
|
1621
|
+
- Another store: implement `ILogStore` (`Qodalis.Cli.Abstractions.Logs`) and register it as a singleton.
|
|
1614
1622
|
|
|
1615
1623
|
### Installed plugins (all servers)
|
|
1616
1624
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qodalis/mcp-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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",
|