@kaminari-ad/mcp 0.14.0 → 0.14.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/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.14.1] - 2026-08-24
11
+
12
+ ### Changed
13
+
14
+ - **Three tag tools described archived tags as still reachable
15
+ (KAMIAD-120).** The API now retires an archived tag everywhere: it is
16
+ no longer assigned to scans, no longer raises alerts, and an archived
17
+ platform tag is gone from the catalogue entirely. `list_tags` told the
18
+ agent the opposite — to pass `include_archived` "when resolving a slug
19
+ seen on an older scan", which now returns nothing for exactly those
20
+ slugs. `get_tag_definition` now documents the 404, and
21
+ `list_scan_tags` that a scan can report fewer tags than when it ran.
22
+ Descriptions only; no schema or shape change, so
23
+ `src/shared/api/{openapi,zod-schemas}.ts` are unaffected — the two
24
+ stale JSDoc lines about `include_archived` are regenerated from the
25
+ live spec once the API side is deployed.
26
+
10
27
  ## [0.14.0] - 2026-08-23
11
28
 
12
29
  Resyncs the tool surface with `/api/v1` (KAMIAD-158). The generated
@@ -1128,7 +1145,9 @@ Initial public release. The first version that ships to npm under
1128
1145
  need them.
1129
1146
  - Invoice PDF fetcher — same reason.
1130
1147
 
1131
- [Unreleased]: https://github.com/kaminari-ad/mcp/compare/v0.13.0...HEAD
1148
+ [Unreleased]: https://github.com/kaminari-ad/mcp/compare/v0.14.1...HEAD
1149
+ [0.14.1]: https://github.com/kaminari-ad/mcp/compare/v0.14.0...v0.14.1
1150
+ [0.14.0]: https://github.com/kaminari-ad/mcp/compare/v0.13.0...v0.14.0
1132
1151
  [0.13.0]: https://github.com/kaminari-ad/mcp/compare/v0.12.0...v0.13.0
1133
1152
  [0.12.0]: https://github.com/kaminari-ad/mcp/compare/v0.11.0...v0.12.0
1134
1153
  [0.11.0]: https://github.com/kaminari-ad/mcp/compare/v0.10.0...v0.11.0
package/dist/bin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { NAME, VERSION, err, ok } from './chunk-FQTVDC5D.js';
2
+ import { NAME, VERSION, err, ok } from './chunk-YS7IDW24.js';
3
3
  import process from 'process';
4
4
  import { z } from 'zod';
5
5
 
@@ -160,10 +160,10 @@ async function main() {
160
160
  }
161
161
  const config = configResult.value;
162
162
  if (config.transport === "stdio") {
163
- const { bootstrapStdio } = await import('./stdio-bootstrap-XZIU2X6Z.js');
163
+ const { bootstrapStdio } = await import('./stdio-bootstrap-II6IVJWD.js');
164
164
  return bootstrapStdio(config);
165
165
  }
166
- const { bootstrapHttp } = await import('./http-bootstrap-AYQ47NTT.js');
166
+ const { bootstrapHttp } = await import('./http-bootstrap-XAA75RA3.js');
167
167
  return bootstrapHttp(config);
168
168
  }
169
169
  main().then(
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { err, ok } from './chunk-FQTVDC5D.js';
2
+ import { err, ok } from './chunk-YS7IDW24.js';
3
3
  import { createHash, randomUUID } from 'crypto';
4
4
  import createClient from 'openapi-fetch';
5
5
  import { fetch } from 'undici';
@@ -5599,7 +5599,7 @@ var GetTagDefinitionInputShape = {
5599
5599
  };
5600
5600
  var getTagDefinitionTool = {
5601
5601
  name: "get_tag_definition",
5602
- description: "Get full definition of one tag: display name, description, severity, category, source (system vs custom), public-report visibility, usage counts, plus `linked_rules` \u2014 the custom rules currently producing this tag (id, name, active flag). Fetch a specific rule's full config via `get_custom_rule`.",
5602
+ description: "Get full definition of one tag: display name, description, severity, category, source (system vs custom), public-report visibility, usage counts, plus `linked_rules` \u2014 the custom rules currently producing this tag (id, name, active flag). Fetch a specific rule's full config via `get_custom_rule`. Returns 404 for a retired (archived) tag this organization does not own, including every archived system tag.",
5603
5603
  annotations: {
5604
5604
  title: "Get Tag Definition",
5605
5605
  readOnlyHint: true,
@@ -5619,7 +5619,7 @@ var ListScanTagsInputShape = {
5619
5619
  };
5620
5620
  var listScanTagsTool = {
5621
5621
  name: "list_scan_tags",
5622
- description: "List every tag (system + custom) attached to one scan by the checker pipeline, with display name, category, and severity.",
5622
+ description: "List every tag (system + custom) attached to one scan by the checker pipeline, with display name, category, and severity. Tags whose definition has since been archived are omitted \u2014 the scan can therefore report fewer tags than when it ran.",
5623
5623
  annotations: {
5624
5624
  title: "List Scan Tags",
5625
5625
  readOnlyHint: true,
@@ -5639,12 +5639,12 @@ var ListTagsInputShape = {
5639
5639
  "Filter to tags in one category slug (e.g. 'security', 'malware', 'compliance'). Use the slug exactly as it appears in `category` of an existing tag."
5640
5640
  ),
5641
5641
  include_archived: z.boolean().optional().describe(
5642
- "Include archived tag definitions, which are excluded by default. Archived tags still appear on the scans that carry them, so pass `true` when resolving a slug seen on an older scan."
5642
+ "Also return the archived tag definitions this organization owns, which are excluded by default. An archived tag is retired: it is no longer assigned to scans and no longer raises alerts, and archived platform (system) tags are never returned at all \u2014 so this flag cannot resolve a slug seen on an older scan."
5643
5643
  )
5644
5644
  };
5645
5645
  var listTagsTool = {
5646
5646
  name: "list_tags",
5647
- description: "List every tag definition the platform knows (system tags + organization custom tags) with category, severity, visibility, and usage counters (scans + rules per tag). Optionally filter by category, and pass `include_archived` to also see retired definitions.",
5647
+ description: "List every tag definition in service for this organization (system tags + organization custom tags) with category, severity, visibility, and usage counters (scans + rules per tag). Optionally filter by category, and pass `include_archived` to also see the retired definitions this organization owns.",
5648
5648
  annotations: {
5649
5649
  title: "List Tags",
5650
5650
  readOnlyHint: true,
@@ -6150,5 +6150,5 @@ function formatToolError(error) {
6150
6150
  }
6151
6151
 
6152
6152
  export { BearerToken, SERVER_INSTRUCTIONS, createHttpApiGateway, createPinoLogger, declareEmptyResourcesAndPrompts, newRequestId, wireToolsIntoMcpServer };
6153
- //# sourceMappingURL=chunk-CUJWJSNJ.js.map
6154
- //# sourceMappingURL=chunk-CUJWJSNJ.js.map
6153
+ //# sourceMappingURL=chunk-IEOPWWSC.js.map
6154
+ //# sourceMappingURL=chunk-IEOPWWSC.js.map