Add expense store lookup by document number

This commit is contained in:
gitea committed 2026-10-20 10:15:08 +08:00
1 parent 4b3a899e5a
commit b21d92efae
19 files changed
+658 -51

No files matched your search

+1 -1
View File
@@ -156,7 +156,7 @@ describe("seal-use MCP server", () => {
// Read-only commands must get past the policy; `version` is a top-level command with no
// registry row, and `corp` is an area alias the CLI dispatches as `corps`.
for (const command of ["seal-use version", "seal-use corps list", "seal-use corp list", "seal-use documents list --corp corp-a"]) {
for (const command of ["seal-use version", "seal-use corps list", "seal-use corp list", "seal-use documents list --corp corp-a", "seal-use expenses --sn SN-FIXTURE --corp missing-fixture-corp"]) {
const allowed = await callRead(command);
expect({ command, refusedByPolicy: allowed.text.includes("only runs read-only commands") }).toEqual({
command,