@tekmemo/cloud-client
v0.1.0
Published
Project-scoped TekMemo Cloud API client, cloud runtime, and hybrid runtime helpers.
Downloads
80
Readme
@tekmemo/cloud-client
Purpose
Cloud client. Project-scoped TekMemo Cloud API client used by CLI, MCP, AI SDK, and custom apps.
Install
pnpm add @tekmemo/cloud-clientQuick start
import { createTekMemoCloudClient } from "@tekmemo/cloud-client";
const client = createTekMemoCloudClient({
baseUrl: "https://memo.tekbreed.com/api/v1",
apiKey: process.env.TEKMEMO_API_KEY!,
defaultProjectId: "proj_123",
});
const context = await client.context.compose({ query: "current task" });Boundary
This package owns its package-level contract only. It does not own TekMemo Cloud billing, dashboards, tenancy, hosted database storage, or provider secrets unless explicitly stated by its package name.
For hosted memory, use @tekmemo/cloud-client. For local file-backed memory, use tekmemo with @tekmemo/fs. For MCP tools, use @tekmemo/mcp-server.
Scripts
pnpm --filter @tekmemo/cloud-client typecheck
pnpm --filter @tekmemo/cloud-client test:run
pnpm --filter @tekmemo/cloud-client build
pnpm --filter @tekmemo/cloud-client lint:packageDocs
- Package docs: https://docs.tekmemo.dev/packages/
- Examples: https://docs.tekmemo.dev/examples/
- Repository: https://github.com/tekbreed/tekmemo
Publishing metadata
- npm package:
@tekmemo/cloud-client - publish visibility: public
- runtime format: dual ESM/CJS
- ESM output:
dist/**/*.mjs+dist/**/*.d.mts - CJS output:
dist/**/*.cjs+dist/**/*.d.cts - package contents:
distandREADME.md - package boundary: hosted cloud calls must go through
@tekmemo/cloud-clientunless this package is@tekmemo/cloud-clientitself.
Publish readiness
Before publishing this package, run:
pnpm --filter @tekmemo/cloud-client release:checkThe package-level check builds dist/, runs TypeScript and tests, runs publint, and performs npm pack --dry-run. Publish from CI with Changesets and npm trusted publishing/provenance after the root release preflight passes.
License
MIT.
