Agent Source Adapter Types (agent-source/types.ts)

memmy-agent · App/backend/src/adapters/outbound/agent-source/types.ts · typescript · MIT
ai, dev-tools, lang:typescript, tag:interfaces

Defines TypeScript type contracts for conversation sources, scan progress, and adapters in an agent runtime. Reuse when building integrations for conversational data ingestion.

// Source: https://github.com/MemTensor/memmy-agent | License: MIT | Copyright 2026-present MemTensor
// Provided via justclaw.it.com; keep this notice with the code.
/** Types module. Shared with the standalone runtime. */
import type {
  ConversationMessage as CoreConversationMessage,
  SourceDescriptor as CoreSourceDescriptor,
  ScanOptions as CoreScanOptions,
  ScanProgress as CoreScanProgress,
  SourceAdapter as CoreSourceAdapter
} from "@memmy/agent-source-core";

/** Contract for source descriptor. */
export type SourceDescriptor = CoreSourceDescriptor;

/** Contract for conversation message. */
export type ConversationMessage = CoreConversationMessage;

/** Contract for scan progress. */
export type ScanProgress = CoreScanProgress;

/** Contract for scan result. */
export interface

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key