@openkaiden/kdn-api
v0.9.0
Published
TypeScript types for the kaiden cli (kdn)
Readme
kdn Types
TypeScript type definitions for the kaiden cli, providing complete type safety when interacting with JSON output returned by the CLI.
Installation
npm install @openkaiden/kdn-apiOr with your preferred package manager:
# pnpm
pnpm add @openkaiden/kdn-api
# yarn
yarn add @openkaiden/kdn-api
# bun
bun add @openkaiden/kdn-apiUsage
import type { paths, components } from '@openkaiden/kdn-api';
// Type for agents list response
type AgentsListResponse = paths['/list']['get']['responses']['200']['content']['application/json'];
// Type for a single server
type Server = components['schemas']['AgentsList'];License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
