Cotal TypeScript packages
    Preparing search index...

    Class NativeChatSession

    One admitted opening. An adapter implements this over the existing participant engine; the CLI front ends (TUI, --stdio) consume it and nothing else.

    Implements

    Index
    • Endpoint invoke within the session's own grants. A seat-only or unbound command refuses natively.

      Parameters

      • endpoint: string
      • command: string
      • args: Readonly<Record<string, unknown>> | undefined
      • timeoutMs: number

      Returns Promise<Result<unknown>>

    • Parameters

      • channel: string

      Returns Promise<
          Result<
              {
                  backfilled: number;
                  durable: boolean;
                  joined: boolean;
                  reason?: string;
              },
          >,
      >