@kaminari-ad/mcp 0.17.0 → 0.17.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 +20 -0
- package/dist/bin.js +3 -3
- package/dist/{chunk-OX65SNEN.js → chunk-HZDWYWEN.js} +3 -3
- package/dist/{chunk-OX65SNEN.js.map → chunk-HZDWYWEN.js.map} +1 -1
- package/dist/{chunk-FA5A6Y4H.js → chunk-WOYPDCIR.js} +6 -6
- package/dist/{chunk-FA5A6Y4H.js.map → chunk-WOYPDCIR.js.map} +1 -1
- package/dist/{http-bootstrap-DKGGQURI.js → http-bootstrap-MEVOCFTE.js} +4 -4
- package/dist/{http-bootstrap-DKGGQURI.js.map → http-bootstrap-MEVOCFTE.js.map} +1 -1
- package/dist/{stdio-bootstrap-NVDBVJ7K.js → stdio-bootstrap-UYBS3TK4.js} +4 -4
- package/dist/{stdio-bootstrap-NVDBVJ7K.js.map → stdio-bootstrap-UYBS3TK4.js.map} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.17.1] - 2026-09-03
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **The screenshot tools said PNG; the API has only ever sent WebP.**
|
|
15
|
+
`get_scan_screenshot` and `get_scan_creative_screenshot` advertised
|
|
16
|
+
"base64-encoded PNG", while every screenshot route on the API side
|
|
17
|
+
hardcodes `image/webp` — the crawler writes WebP and the legacy `.png`
|
|
18
|
+
keys were backfilled long ago. `get_scan_landing_screenshot` named no
|
|
19
|
+
format at all. All three now name WebP and say outright that the
|
|
20
|
+
client has to be able to decode it.
|
|
21
|
+
|
|
22
|
+
No transcoding was added, deliberately: this server does no image
|
|
23
|
+
processing at all — it base64-encodes the bytes it received and passes
|
|
24
|
+
the response's own content type through. A client that cannot read
|
|
25
|
+
WebP has to handle that on its own side, and an error such as
|
|
26
|
+
`webp codec not registered: registerWebpCodec() must be called by a
|
|
27
|
+
Node server` comes from the client, not from here and not from the
|
|
28
|
+
API.
|
|
29
|
+
|
|
10
30
|
## [0.17.0] - 2026-09-03
|
|
11
31
|
|
|
12
32
|
### Added
|
package/dist/bin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { NAME, VERSION, err, ok } from './chunk-
|
|
2
|
+
import { NAME, VERSION, err, ok } from './chunk-HZDWYWEN.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-
|
|
163
|
+
const { bootstrapStdio } = await import('./stdio-bootstrap-UYBS3TK4.js');
|
|
164
164
|
return bootstrapStdio(config);
|
|
165
165
|
}
|
|
166
|
-
const { bootstrapHttp } = await import('./http-bootstrap-
|
|
166
|
+
const { bootstrapHttp } = await import('./http-bootstrap-MEVOCFTE.js');
|
|
167
167
|
return bootstrapHttp(config);
|
|
168
168
|
}
|
|
169
169
|
main().then(
|
|
@@ -3,8 +3,8 @@ export { err, ok } from 'neverthrow';
|
|
|
3
3
|
|
|
4
4
|
// src/shared/version.ts
|
|
5
5
|
var NAME = "@kaminari-ad/mcp";
|
|
6
|
-
var VERSION = "0.17.
|
|
6
|
+
var VERSION = "0.17.1";
|
|
7
7
|
|
|
8
8
|
export { NAME, VERSION };
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
9
|
+
//# sourceMappingURL=chunk-HZDWYWEN.js.map
|
|
10
|
+
//# sourceMappingURL=chunk-HZDWYWEN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/shared/version.ts"],"names":[],"mappings":";;;;AASO,IAAM,IAAA,GAAO;AACb,IAAM,OAAA,GAAU","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/shared/version.ts"],"names":[],"mappings":";;;;AASO,IAAM,IAAA,GAAO;AACb,IAAM,OAAA,GAAU","file":"chunk-HZDWYWEN.js","sourcesContent":["/**\n * Package version and name. Hard-coded as constants here, asserted to\n * match `package.json` by a unit test.\n *\n * Why not import `package.json`: it would force JSON-module support at\n * runtime and tsup-bundling would inline the entire manifest. Two\n * constants + one assertion test is simpler and gives the same safety.\n */\n\nexport const NAME = \"@kaminari-ad/mcp\";\nexport const VERSION = \"0.17.1\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { err, ok } from './chunk-
|
|
2
|
+
import { err, ok } from './chunk-HZDWYWEN.js';
|
|
3
3
|
import { createHash, randomUUID } from 'crypto';
|
|
4
4
|
import createClient from 'openapi-fetch';
|
|
5
5
|
import { fetch } from 'undici';
|
|
@@ -5399,7 +5399,7 @@ var GetScanCreativeScreenshotInputShape = {
|
|
|
5399
5399
|
};
|
|
5400
5400
|
var getScanCreativeScreenshotTool = {
|
|
5401
5401
|
name: "get_scan_creative_screenshot",
|
|
5402
|
-
description: "Fetch the creative screenshot for an ad-tag scan as an inline image (base64-encoded
|
|
5402
|
+
description: "Fetch the creative screenshot for an ad-tag scan as an inline image (base64-encoded WebP \u2014 the API stores and serves every screenshot as WebP, so the client must be able to decode it). Returns 404 if the scan is not an ad-tag scan or has no creative captured yet.",
|
|
5403
5403
|
annotations: {
|
|
5404
5404
|
title: "Get Scan Creative Screenshot",
|
|
5405
5405
|
readOnlyHint: true,
|
|
@@ -5444,7 +5444,7 @@ var GetScanLandingScreenshotInputShape = {
|
|
|
5444
5444
|
};
|
|
5445
5445
|
var getScanLandingScreenshotTool = {
|
|
5446
5446
|
name: "get_scan_landing_screenshot",
|
|
5447
|
-
description: "Fetch the screenshot of one landing tab on an ad-tag scan as an inline image. Use `get_scan` first to discover available `landings[*].ord` values.",
|
|
5447
|
+
description: "Fetch the screenshot of one landing tab on an ad-tag scan as an inline image (base64-encoded WebP \u2014 the API stores and serves every screenshot as WebP, so the client must be able to decode it). Use `get_scan` first to discover available `landings[*].ord` values.",
|
|
5448
5448
|
annotations: {
|
|
5449
5449
|
title: "Get Scan Landing Screenshot",
|
|
5450
5450
|
readOnlyHint: true,
|
|
@@ -5471,7 +5471,7 @@ var GetScanScreenshotInputShape = {
|
|
|
5471
5471
|
};
|
|
5472
5472
|
var getScanScreenshotTool = {
|
|
5473
5473
|
name: "get_scan_screenshot",
|
|
5474
|
-
description: "Fetch the primary screenshot for a scan as an inline image (base64-encoded
|
|
5474
|
+
description: "Fetch the primary screenshot for a scan as an inline image (base64-encoded WebP \u2014 the API stores and serves every screenshot as WebP, so the client must be able to decode it). Pass `width` to request a resized version (50-2000 px). Returns one MCP image content block.",
|
|
5475
5475
|
annotations: {
|
|
5476
5476
|
title: "Get Scan Screenshot",
|
|
5477
5477
|
readOnlyHint: true,
|
|
@@ -6227,5 +6227,5 @@ function formatToolError(error) {
|
|
|
6227
6227
|
}
|
|
6228
6228
|
|
|
6229
6229
|
export { BearerToken, SERVER_INSTRUCTIONS, createHttpApiGateway, createPinoLogger, declareEmptyResourcesAndPrompts, newRequestId, wireToolsIntoMcpServer };
|
|
6230
|
-
//# sourceMappingURL=chunk-
|
|
6231
|
-
//# sourceMappingURL=chunk-
|
|
6230
|
+
//# sourceMappingURL=chunk-WOYPDCIR.js.map
|
|
6231
|
+
//# sourceMappingURL=chunk-WOYPDCIR.js.map
|