TypeScript DTO definitions for agent contract data structures.
// Source: https://github.com/MemTensor/memmy-agent | License: MIT | Copyright 2026-present MemTensor
// Provided via justclaw.it.com; keep this notice with the code.
/**
* Plain data-transfer types crossing the core ↔ adapter boundary.
*
* Every type here is JSON-serializable: no `Date`, no `Map`, no class
* instances, no functions. Times are ms since epoch (UTC).
*/
// ─── Identifiers ──────────────────────────────────────────────────────────────
export type AgentKind = "openclaw" | "hermes" | string;
export type ShareScope = "private" | "public" | "hub";
export interface RuntimeNamespace {
agentKind: AgentKind;
profileId: string;
profileLabel?: string;
workspaceId?: string;
workspacePath?: string;
sessionKey?: string;
}
export interface OwnershipDTO {
ownerAgentK
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key