Skip to content

packages/core

core

session, prompt, tools, agent, loop, and scope

Back to directory

ctx.sessions / tools / agents / agentLoop / systemPrompt

  • scope

    Library
    @deepseek-ai/dsh-scope

    One locker per person

    Partition registrations by agent

  • session

    Core
    @deepseek-ai/dsh-sessionctx.sessions

    The journal of truth

    Append-only SessionEvent log

  • system-prompt

    Core
    @deepseek-ai/dsh-system-promptctx.systemPrompt

    The handbook bound before leaving

    Assemble prompt segments and tool schemas

  • tools

    Core
    @deepseek-ai/dsh-toolsctx.tools

    The tool cabinet and permission slips

    Scoped tool registry and guard pipeline

  • agent

    Core
    @deepseek-ai/dsh-agentctx.agents

    The agent's public name card

    Agent interface, registry, and agent/* events

  • agent-loop

    Core
    @deepseek-ai/dsh-agent-loopctx.agentLoop

    The heartbeat that does homework

    Default replaceable loop driver

  • agent-default-model

    Core
    @deepseek-ai/dsh-agent-default-modelctx.agentDefaultModel

    The teacher used when none is chosen

    Shared default model at entry points

  • agent-tool-presentation

    Core
    @deepseek-ai/dsh-agent-tool-presentation

    Decide how tools are set on the table

    Choose native tools, PTC tools, or both per agent