ISPO SDK
    Preparing search index...

    Interface AssistantMemoryApi

    Markdown

    Host-owned, userspace-scoped assistant memory. UNLIKE assistant.context / assistant.actions (ungated advisory postMessage), every method here is a gated project RPC: reads require "memory-read" and editFile/deletes require "memory-write" in manifest requests.assistant. The host owns the capped profile files and the episode store under the userspace root; the app receives typed rows only, never a filesystem path. Memory is context for future chats, never authority. This is a DIFFERENT plane from per-project "project memory" (.ispo/spec.md + devlog).

    interface AssistantMemoryApi {
        conclusions(
            input?: AssistantMemoryListArgs,
        ): Promise<AssistantMemoryConclusion[]>;
        deleteConclusion(
            input: { id: number },
        ): Promise<AssistantMemoryDeleteResult>;
        deleteEpisode(input: { id: number }): Promise<AssistantMemoryDeleteResult>;
        editFile(
            input: AssistantMemoryEditFileArgs,
        ): Promise<AssistantMemoryEditFileResult>;
        episodes(
            input?: AssistantMemoryListArgs,
        ): Promise<AssistantMemoryEpisode[]>;
        overview(): Promise<AssistantMemoryOverview>;
        recallTrace(
            input: AssistantMemoryRecallTraceArgs,
        ): Promise<AssistantMemoryRecallTrace>;
        search(
            input: AssistantMemorySearchArgs,
        ): Promise<AssistantMemorySearchResult[]>;
    }
    Index

    Authority for assistant.memory.conclusions

    Reviewed request token: assistant.memoryRead. Standing capability: assistant.memoryRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.deleteConclusion

    Reviewed request token: assistant.memoryWrite. Standing capability: assistant.memoryWrite.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.deleteEpisode

    Reviewed request token: assistant.memoryWrite. Standing capability: assistant.memoryWrite.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.editFile

    Reviewed request token: assistant.memoryWrite. Standing capability: assistant.memoryWrite.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.episodes

    Reviewed request token: assistant.memoryRead. Standing capability: assistant.memoryRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.overview

    Reviewed request token: assistant.memoryRead. Standing capability: assistant.memoryRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.recallTrace

    Reviewed request token: assistant.memoryRead. Standing capability: assistant.memoryRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.

    Authority for assistant.memory.search

    Reviewed request token: assistant.memoryRead. Standing capability: assistant.memoryRead.

    Handle structured ProjectRpcError failures. A timeout does not guarantee cancellation; do not automatically retry effects without a documented idempotency contract. Method authority and recovery.