caelum0x cecd51f963 feat(toolgate): Switchyard workspace, core domain types and schema-typed catalog
Standalone cargo workspace at apps/toolgate (working name; product name
Switchyard pending owner confirmation). Clean-room implementation from
gtm/TOOLGATE-SPEC-2026-09-29.md.

- switchyard-core: tool/capability/provider manifests, micro-USD prices
  (quote = hold bound, settle = exact capture, failures never billed),
  the Adapter trait and error classes, the HTTP transport seam, the API
  error envelope, canonical JSON, request hashes and the audit hash chain.
- switchyard-catalog: YAML loader with integrity checks (references,
  JSON Schema 2020-12 compile, examples validate), JSON Pointer
  validation errors, output mapping language, minijinja templates and
  BM25 search by task with free-first and reliability boosts.
- catalog/: 24 capabilities, 27 tools (11 own-product, 16 free/public),
  provider etiquette limits, and the lead-to-video SKILL.md bundle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:10:34 +03:00

40 lines
1.3 KiB
YAML

- id: domain.dns
title: DNS lookup
description: Resolve DNS records (A, AAAA, MX, TXT, CNAME, NS) for a domain over DNS-over-HTTPS.
tags: [dns, mx, txt, records, domain, resolve, spf, dmarc]
input_schema:
type: object
properties:
name: { type: string, pattern: "^[A-Za-z0-9_.-]+$", maxLength: 253 }
type: { type: string, enum: [A, AAAA, MX, TXT, CNAME, NS, SOA, CAA], default: A }
required: [name]
additionalProperties: false
output_schema:
type: object
properties:
name: { type: string }
type: { type: string }
answers: { type: array }
required: [answers]
- id: domain.whois
title: Domain registration (RDAP/WHOIS)
description: Registration data for a domain via RDAP (registrar, creation and expiry dates, status, nameservers).
tags: [whois, rdap, domain, registrar, expiry, registration]
input_schema:
type: object
properties:
domain: { type: string, pattern: "^[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$" }
required: [domain]
additionalProperties: false
output_schema:
type: object
properties:
domain: { type: string }
registrar: { type: [string, "null"] }
created: { type: [string, "null"] }
expires: { type: [string, "null"] }
status: { type: array }
nameservers: { type: array }
required: [domain]