Skip to content

feat: keyless scan_site via the anonymous free tier#3

Merged
mlava merged 1 commit into
mainfrom
feat/keyless-anonymous-scan
Jul 18, 2026
Merged

feat: keyless scan_site via the anonymous free tier#3
mlava merged 1 commit into
mainfrom
feat/keyless-anonymous-scan

Conversation

@mlava

@mlava mlava commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Implements the activation fix from the Hermes commercial diagnosis (2026-07-18): ~1,369 monthly npm downloads currently boot into a server whose scan tools only return a configuration message without a Pro key. scan_site now works keyless via the public anonymous /api/scan path (3 scans/30 days/IP, 25 pages, synchronous), with the upsell riding the declared message output field.

  • postAnonScan() client fn — no auth header, maps the {error, resetAt} 429 body to quota_exhausted + Pro hint
  • get_scan keyless returns a tailored message (history is account-scoped; anonymous scans return results inline)
  • Startup warning, tool descriptions, and README rewritten for the keyless reality
  • Version 0.6.0 (sync script run — server.json/manifest.json/src/server.ts consistent; version-sync guard green)
  • 34/34 tests incl. a handler-level test proving the anonymous payload passes SDK output-schema validation

Companion changes: agent-ready-cli keyless fallback (mlava/agent-ready-cli#2) + main-repo pricing/docs copy (separate PR).

🤖 Generated with Claude Code

Started without AGENT_READY_API_KEY, the server previously returned a
configuration message from every scan tool. scan_site now falls back to
the public POST /api/scan path (anonymous IP quota, 3 scans/30 days,
25-page depth, synchronous) so the tool works with zero configuration —
the result carries a tier note in the declared `message` field, and the
quota-429 maps to a ToolError with the reset date and Pro hint.

- client: postAnonScan() — keyless, string-error body handling
- get_scan keyless now explains that history needs a Pro key
- bin/server/README copy updated to the keyless reality; 0.6.0
- new test file covers the fallback incl. SDK output-schema validation
  end-to-end through the registered handler

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mlava
mlava merged commit d8b10e6 into main Jul 18, 2026
1 check passed
@mlava
mlava deleted the feat/keyless-anonymous-scan branch July 18, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant