Pay-then-profile join desk with live card, S3 upload fallback, hydration-safe drafts; document on test9 README. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
612 B
Markdown
30 lines
612 B
Markdown
# `@nomadro/sdk`
|
|
|
|
Stable Nomadro client + public contract.
|
|
|
|
## Public API
|
|
|
|
- Prefix: `/api/public/v1`
|
|
- OpenAPI: `/api/public/v1/openapi.json`
|
|
- Tool SoT: [`tools.json`](./tools.json)
|
|
|
|
Default host: **`https://nomadro.com`**.
|
|
|
|
```ts
|
|
import { createNomadroClient } from "@nomadro/sdk";
|
|
|
|
const api = createNomadroClient({ baseUrl: "https://nomadro.com" });
|
|
await api.health();
|
|
await api.listMapCities();
|
|
await api.callTool("searchCities", { q: "清迈" });
|
|
```
|
|
|
|
## MCP
|
|
|
|
```bash
|
|
pnpm mcp
|
|
# NOMADRO_PUBLIC_ORIGIN=https://nomadro.com node packages/mcp/src/cli.mjs
|
|
```
|
|
|
|
See `.cursor/skills/nomadro-platform/SKILL.md`.
|