UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

13 lines (12 loc) • 619 B
import type { RosterStore } from "../../agents/roster-store.js"; export interface CcTeamsRosterAdapterOptions { /** The team directory (`…/teams/<team>`) — config.json lives directly inside. */ teamDir: string; /** The fixed owner axis stamped on entries read back (single-tenant deployment host). */ owner: string; /** MUST be `"default"` (D-1: single-tenant only) — any other spelling throws at construction. */ scope?: string; /** Clock seam for tests. */ now?: () => number; } export declare function createCcTeamsRosterAdapter(opts: CcTeamsRosterAdapterOptions): RosterStore;