Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.46 KB

File metadata and controls

26 lines (20 loc) · 1.46 KB

目录说明:src/commands/context

目录定位

该目录主要放置跨组件共享状态容器。

目录快照

  • 相对路径:src/commands/context
  • 直接文件数:3
  • 直接子目录数:0
  • 递归文件数:3
  • 主要文件类型:.ts x 2、.tsx x 1

依赖关系观察

  • 该目录最常引用的仓库内目录:src/utils (7)、src (3)、src/types (3)、src/services/contextCollapse (3)、src/services/compact (2)、src/state (1)、src/tools/AgentTool (1)、src/utils/settings (1)
  • 最常引用该目录的仓库内目录:src (1)

直接文件说明

文件 行数 导出/关键符号 说明
context-noninteractive.ts 325 collectContextData, call 上下文状态定义;导出符号以 collectContextData, call 为主,顶部注释说明:Shared data-collection path for /context (slash command) and the SDK get_context_usage control request. Mirrors q...
context.tsx 64 call 上下文状态定义;导出符号以 call 为主,顶部注释说明:Apply the same context transforms query.ts does before the API call, so /context shows what the model actually sees r...
index.ts 24 context, contextNonInteractive 目录导出或注册入口;导出符号以 context, contextNonInteractive 为主,结合所在目录可判断其服务于 src/commands/context 这条功能线。

直接子目录说明

该目录没有直接子目录。