Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 3.37 KB

File metadata and controls

103 lines (75 loc) · 3.37 KB

AdAgents.json UI Removal Summary

Overview

Successfully removed the adagents.json management UI from this repository and redirected all links to the external site at https://adcontextprotocol.org/adagents.

Branch

  • Name: adagents-json-generation (originally adagents-ui-port, renamed by branch)
  • Location: /Users/brianokelley/Developer/adcp-1/.conductor/tashkent-v2

Changes Made

Files Removed

  1. server/public/adagents.html (3,362 lines)

    • Complete standalone UI for adagents.json management
    • Domain validation interface
    • Agent card validation
    • JSON creation tool
  2. server/src/adagents-manager.ts (466 lines)

    • Core business logic for adagents.json operations
    • Domain validation
    • Agent card checking
    • JSON creation

Files Modified

  1. server/src/types.ts

    • Removed extensive AdCP v2.2.0 type definitions (108 lines removed)
    • Restored original minimal interfaces:
      • AdAgentsJson (simplified)
      • ValidationResult (unchanged)
  2. server/src/http.ts

    • Removed AdAgentsManager import
    • Removed private field declaration
    • Removed initialization in constructor
    • Removed three API endpoints:
      • POST /api/adagents/validate
      • POST /api/adagents/create
      • POST /api/adagents/validate-cards
    • Removed GET /adagents UI route
  3. package.json

    • Removed axios dependency (no longer needed)
  4. server/public/index.html (new file added to repo)

    • Updated link: /adagentshttps://adcontextprotocol.org/adagents
  5. server/public/shared-nav.html (new file added to repo)

    • Updated link: /adagentshttps://adcontextprotocol.org/adagents
  6. server/public/registry.html

    • Updated link: /adagentshttps://adcontextprotocol.org/adagents
    • References to .well-known/adagents.json unchanged (these are protocol references, not UI links)

Dependencies Removed

  • axios: ^1.12.0 - No longer needed after removing HTTP client functionality

Statistics

Lines Changed:

  • 8 files changed
  • 531 insertions (+)
  • 4,052 deletions (-)
  • Net reduction: -3,521 lines

Commit Details:

  • SHA: 42f29ea
  • Previous commit: 388a560 (the original port that we're now reverting)

Testing Results

All tests passed successfully after removal:

  • ✅ Schema validation tests (7/7 passed)
  • ✅ Example validation tests (7/7 passed)
  • ✅ TypeScript compilation (no errors)

External Redirect

All navigation links to the adagents.json manager now point to: https://adcontextprotocol.org/adagents

This external site hosts the full adagents.json management UI with all the features that were previously in this repository.

What Remains

The repository still contains:

  • Basic AdAgentsJson type definition (for protocol compatibility)
  • ValidationResult type (for agent authorization checking)
  • References to .well-known/adagents.json in documentation (protocol spec)
  • No UI or API endpoints for managing adagents.json files

Rationale

The adagents.json management UI is better suited as a standalone tool on the main AdCP website rather than embedded in the registry application. This simplifies the registry codebase and provides a single, authoritative location for publishers to manage their adagents.json files.


Generated: 2025-11-16 Status: ✅ Complete Previous commit: 388a560 (added UI) Current commit: 42f29ea (removed UI)