@sema-agent/core
Version:
Stateless, task-oriented AI agent core
11 lines (10 loc) • 774 B
TypeScript
/**
* The gate a connection's listing records for an entry no listing of THAT connection reached — one it carries from the connection it
* replaced, after a walk that stopped early. Such an entry keeps its tool mounted but vouches for nothing: no minted gate equals it, so the
* tool is not sent until a listing of this connection reaches it.
*/
export declare const UNPROVEN_GATE = "unproven";
/** The gate of one minted tool: the raw name it is sent under (two raw names can mint one tool name), its axis (the minted name left out), the listing-derived members of the tool object, and its task-support refusal. */
export declare function mcpToolGate(remoteName: string, axis: {
readonly name: string;
} | undefined, face: object, taskRequired: boolean): string;