Skip to content

Commit f789483

Browse files
kyalabsclaude
andcommitted
chore: bump to v2.5.0 + CHANGELOG for identity delivery
Version 2.4.0 → 2.5.0 (minor: new tools, deprecations, no breaking changes). CHANGELOG documents kya_web_fetch, kya_getHeaders, deprecations. .gitignore adds .env patterns. Part of: KYA-55 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f887606 commit f789483

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
node_modules/
22
dist/
3+
.env
4+
.env.local
5+
.env.*.local

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## [2.5.0] - 2026-03-25 — Identity Delivery ("ID in Depth")
4+
5+
### Added
6+
- `kya_web_fetch` tool — fetch web pages with automatic Kya-Token header injection and shopping journal (auto-declare). HTTPS only, SSRF protection, 5MB body cap, 30s timeout, manual redirects. Replaces the need for agents to use `web_fetch` + manual declare.
7+
- `kya_getHeaders` tool — returns `{ "Kya-Token": token }` for agents using Playwright (`setExtraHTTPHeaders`) or Chrome extensions (`document.cookie`).
8+
- `isPublicOrigin()` extracted to `src/lib/url-safety.ts` — shared SSRF check for all outbound fetches. Blocks localhost, RFC1918, link-local, IPv6 private ranges.
9+
10+
### Deprecated
11+
- `kya_reportBadgeOutcome` — outcomes are now tracked server-side via the verify endpoint. Tool is a no-op; will be removed in v3.0.
12+
- `kya_reportBadgeNotPresented` — event no longer used in scoring. Tool is a no-op; will be removed in v3.0.
13+
14+
### Notes
15+
- `kya_web_fetch` auto-fires `browse_declared` events (fire-and-forget, anonymous path). Feeds `agent_merchant_visits` for kyaScore.
16+
- Method allowlist: GET, HEAD, OPTIONS only. Redirects returned as-is (Location header) — not followed, to prevent Kya-Token leaking to redirect targets.
17+
- `url-safety.ts` replaces the local `isPublicOrigin` in `ucp-manifest.ts` (import, not copy).
18+
319
## [2.3.0] - 2026-03-17 — Merchant Signal Awareness
420

521
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kyalabs/badge",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "Prove your agent is an authorized actor, not a bot. MCP-native identity declaration for agent commerce.",
55
"bin": "dist/index.js",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)