Anchorage API reference
    Preparing search index...
    interface ThreadAgentHost {
        requestContextForRun(
            base?: RequestContextProvider,
        ): RequestContextProvider;
        resolveBoundAgent(
            scope: ThreadScope,
            input: {
                agentId?: string;
                entryPath:
                    | "approval.resume"
                    | "http.start"
                    | "signal.message"
                    | "signal.queue"
                    | "signal.reactive"
                    | "signal.state"
                    | "signal.notification"
                    | "signal.wake"
                    | "notification.dispatch"
                    | "schedule.fire";
            },
        ): Promise<BoundThreadAgent>;
        route(request: Request, scope: ThreadScope): Promise<Response | null>;
        start(
            scope: ThreadScope,
            input: ThreadAgentStartInput,
        ): Promise<AgentRunEnvelope>;
    }
    Index

    Methods

    • Parameters

      • scope: ThreadScope
      • input: {
            agentId?: string;
            entryPath:
                | "approval.resume"
                | "http.start"
                | "signal.message"
                | "signal.queue"
                | "signal.reactive"
                | "signal.state"
                | "signal.notification"
                | "signal.wake"
                | "notification.dispatch"
                | "schedule.fire";
        }

      Returns Promise<BoundThreadAgent>