packages/core
core
session, prompt, tools, agent, loop, and scope
ctx.sessions / tools / agents / agentLoop / systemPrompt
scope
Library@deepseek-ai/dsh-scopeOne locker per person
Partition registrations by agent
session
Core@deepseek-ai/dsh-sessionctx.sessionsThe journal of truth
Append-only SessionEvent log
system-prompt
Core@deepseek-ai/dsh-system-promptctx.systemPromptThe handbook bound before leaving
Assemble prompt segments and tool schemas
tools
Core@deepseek-ai/dsh-toolsctx.toolsThe tool cabinet and permission slips
Scoped tool registry and guard pipeline
agent
Core@deepseek-ai/dsh-agentctx.agentsThe agent's public name card
Agent interface, registry, and agent/* events
agent-loop
Core@deepseek-ai/dsh-agent-loopctx.agentLoopThe heartbeat that does homework
Default replaceable loop driver
agent-default-model
Core@deepseek-ai/dsh-agent-default-modelctx.agentDefaultModelThe teacher used when none is chosen
Shared default model at entry points
agent-tool-presentation
Core@deepseek-ai/dsh-agent-tool-presentationDecide how tools are set on the table
Choose native tools, PTC tools, or both per agent