auth-runtime/src/index.ts

26 lines
588 B
TypeScript

/**
* @clawd/auth-runtime
*
* Shared auth runtime for OpenClaw skills.
*
* Primary API — just use the client:
*
* import { createSkillClient } from '@clawd/auth-runtime';
* const client = createSkillClient();
* const res = await client.post('/ecom/tasks/scrape', payload);
*/
// ---- Primary API ----
export { createSkillClient, SkillClient } from './client.js';
export type { SkillClientOptions } from './client.js';
// ---- Types ----
export type {
EnvConfig,
SessionResponse,
ClientConfig,
CachedTokenData,
ApiResponse,
HttpMethod,
} from './types.js';