@callidescope/core

中文文档
0.0.72发布于 2026/11/09MITTypeScriptES Module构建来源已验证近 30 天下载 1.1万

Domain vocabulary, call-graph representations, and limit contracts for the Callidescope toolchain

原始使用文档
文档目录28 节
  1. What This Package Owns
  2. Test
  3. 👔 Conformetry
  4. 🕸️ Codependix
  5. Nx Neighborhood
  6. NestJS Module Graph
  7. File Imports
  8. 🔭 Callidescope
  9. Limits
  10. Call stacks (depth)
  11. Breadth
  12. 🪙 Coinagerie
  13. ⏲️ Codometer
  14. Project
  15. Measured Targets
  16. TypeScript
  17. JavaScript
  18. Python
  19. JSON
  20. YAML
  21. TOML
  22. Shell
  23. SQL
  24. HCL
  25. CSS
  26. Conventions
  27. Jupyter
  28. Markdown

🔭 Callidescope Core

npm

The domain vocabulary every other Callidescope package speaks.

This package is the contracts leaf of the Callidescope spine: it declares what a run produces — call graphs, stacks, frames, findings — and depends on nothing. It holds no service and no NestJS module, so importing a result type never drags a configuration loader or a TypeScript program behind it.

npm install --save-dev @callidescope/core

What This Package Owns

  • call-graph — the result and finding vocabulary: CallGraphResult, ProjectReport, CallStack, StackFrame, CallableNode, CallEdge, DeepStackFinding, WideCallableFinding, and the identifiers and locations they are built from

The sharp test for what belongs here: a type describing what the tool produced is core; a type describing what the user wrote in callidescope.config.ts belongs in @callidescope/configuration.

Test

nx run callidescope-core:vitest

👔 Conformetry

This project was generated from the nestjs-service-project conformetry template.

🕸️ Codependix

Dependency graphs exported by codependix, regenerated by nx run configuration:codependix:write.

Nx Neighborhood

graph LR
  callidescope_cli["callidescope-cli"]
  callidescope_configuration["callidescope-configuration"]
  callidescope_core["callidescope-core"]
  callidescope_examples["callidescope-examples"]
  callidescope_graph["callidescope-graph"]
  callidescope_nx["callidescope-nx"]
  callidescope_output["callidescope-output"]
  callidescope_cli --> callidescope_core
  callidescope_configuration --> callidescope_core
  callidescope_examples --> callidescope_core
  callidescope_graph --> callidescope_core
  callidescope_nx --> callidescope_core
  callidescope_output --> callidescope_core
  classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
  class callidescope_core subject

NestJS Module Graph

flowchart LR
  CallidescopeCoreModule

File Imports

graph LR
  file_callidescope_config_ts["callidescope.config.ts"]
  file_codependix_config_ts["codependix.config.ts"]
  file_codometer_config_ts["codometer.config.ts"]
  file_coinagerie_config_ts["coinagerie.config.ts"]
  file_eslint_config_ts["eslint.config.ts"]
  file_src_index_ts["src/index.ts"]
  file_src_index_unit_test_ts["src/index.unit.test.ts"]
  file_src_modules_callidescope_core_callidescope_core_constants_ts["src/modules/callidescope-core/callidescope-core.constants.ts"]
  file_src_modules_callidescope_core_callidescope_core_module_ts["src/modules/callidescope-core/callidescope-core.module.ts"]
  file_src_modules_callidescope_core_callidescope_core_service_ts["src/modules/callidescope-core/callidescope-core.service.ts"]
  file_src_modules_callidescope_core_callidescope_core_service_unit_test_ts["src/modules/callidescope-core/callidescope-core.service.unit.test.ts"]
  file_src_modules_callidescope_core_callidescope_core_types_ts["src/modules/callidescope-core/callidescope-core.types.ts"]
  file_testing_mocks_ts["testing/mocks.ts"]
  file_testing_setup_ts["testing/setup.ts"]
  file_vite_config_ts["vite.config.ts"]
  file_vitest_config_ts["vitest.config.ts"]
  file_src_index_unit_test_ts --> file_src_index_ts
  file_src_modules_callidescope_core_callidescope_core_module_ts --> file_src_modules_callidescope_core_callidescope_core_service_ts
  file_src_modules_callidescope_core_callidescope_core_service_unit_test_ts --> file_src_modules_callidescope_core_callidescope_core_service_ts

🔭 Callidescope

Call stacks traced through projects/ic-suite/callidescope/callidescope-core, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.

MeasureValue
Callables1
Files12
Calls traced0
Call stacks0
Deepest stack0
Stacks through recursion0
Unfollowable calls0

Limits

What this project is judged against, as declared in its own callidescope.config.ts.

LimitValue
maximumDepth17
maximumBreadthnone

Call stacks (depth)

None.

Breadth

None.

🪙 Coinagerie

The words this project uses that the root glossary does not define, regenerated with nx run callidescope-core:coinagerie-check:write.

  • breadth: The count of distinct direct callees one callable has, computed for every callable whether or not a limit is configured.
  • callable: Any function or method the call graph can name and trace, identified by a path plus the byte offset of its declaration.

⏲️ Codometer

Project

Lines of Code Repository Size Folders Source Files

Measured Targets

Compiled JavaScript Size

TypeScript

TypeScript Files Interfaces Generic Declarations Enums Decorators Doc Comments Static Methods

JavaScript

JavaScript Files Test Files External Packages Classes Functions Methods Sync Functions Async Functions Constants Imports Exported Symbols Comments Comment Lines TODO Comments

Python

Python Files Python Lines Python Classes Python Functions Python Protocols Python Constants Python Imports Python Decorators Docstrings Docstring Lines Python Comments Python Comment Lines

JSON

JSON Files JSON Lines JSON Objects JSON Arrays JSON Properties JSON Strings JSON Numbers JSON Booleans JSON Nulls JSON Items JSON Nodes JSON Max Depth

YAML

YAML Files YAML Lines YAML Documents YAML Mappings YAML Sequences YAML Keys YAML Scalars YAML Anchors YAML Aliases YAML Comments YAML Max Depth

TOML

TOML Files TOML Lines TOML Tables TOML Array Tables TOML Keys TOML Arrays TOML Comments

Shell

Shell Files Shell Lines Shell Functions Shell Variables Shell Exports Shell Conditionals Shell Loops Shell Pipelines Shebangs Shell Comments Shell Comment Lines

SQL

SQL Files SQL Lines SQL Statements SQL Selects SQL Inserts SQL Updates SQL Deletes SQL Creates SQL Joins SQL CTEs SQL Comments

HCL

HCL Files HCL Lines HCL Blocks HCL Resources HCL Variables HCL Outputs HCL Attributes HCL Interpolations HCL Comments

CSS

CSS Files CSS Lines CSS Rules CSS Selectors CSS Declarations CSS At Rules CSS Media Queries CSS Custom Properties CSS Comments

Conventions

Module Files Service Files Command Files Constants Files Types Files Utilities Files TypeORM Entities Unit Tests Integration Tests End To End Tests CSS Comment Budget HCL Comment Budget Python Comment Budget SQL Comment Budget TOML Comment Budget TypeScript Comment Budget YAML Comment Budget Shell Comment Budget

Jupyter

Notebooks Notebook Cells Code Cells Markdown Cells Raw Cells Executed Cells Cell Outputs Notebook Code Lines Notebook Classes Notebook Functions Notebook Imports Notebook Decorators Notebook Prose Lines Notebook Headings Notebook Links Notebook Images Notebook Code Blocks Notebook Properties Notebook Nodes Notebook Max Depth

Markdown

Markdown Files Markdown Lines H1 H2 H3 H4 H5 H6 Paragraphs Lists List Items Task List Items Tables Table Rows Links Images Code Blocks Inline Code Block Quotes Thematic Breaks

版本与发布记录

@callidescope/core 共发布 71 个版本,首次发布于 2026/10/05;过去 12 个月发布了 71 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.72latest2026/11/09今天
0.0.712026/11/09今天
0.0.702026/11/081 天前
0.0.692026/11/072 天前
0.0.682026/11/072 天前
0.0.672026/11/072 天前

关于 @callidescope/core 的常见问题

@callidescope/core 是什么?

Domain vocabulary, call-graph representations, and limit contracts for the Callidescope toolchain

如何安装 @callidescope/core?

在项目目录运行 npm install @callidescope/core,或使用 pnpm add / yarn add / bun add。

@callidescope/core 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@callidescope/core 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@callidescope/core 可以商用吗?

@callidescope/core 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@callidescope/core 的下载量有多少?

根据 npm 官方下载统计,@callidescope/core 在 2026/10/09 – 2026/11/07 这 30 天内被下载 11,112 次,日均约 370 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@callidescope/core 还在维护吗?

最新版本 0.0.72 发布于 2026/11/09(今天);至今共发布 71 个版本,其中过去 12 个月发布了 71 个;首次发布于 2026/10/05。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。