@devflow-tools/context-engine
v0.18.5
Published
Budgeted task-context assembly across code, memory, knowledge, and semantic signals.
Readme
@devflow-tools/context-engine
组合代码图、知识、记忆和语义路由,构建有预算约束的任务上下文。(v0.17.8)
安装
npm install @devflow-tools/context-engine快速开始
import { createEngines } from '@devflow-tools/context-engine';
const engines = await createEngines(process.cwd());
const result = await engines.context.buildContext('fix the login bug');
console.log(result);公共 API / 命令
ContextEngine、buildTaskContextEnvelope、buildRetrievalTaskPlan、buildChannelQueryPlan、buildOnboardingPack、compressToTokenLimit、SemanticRouter。
配置与运行时
context-engine 是组合层;SDK 仅提供 embedding contract,具体 embedding 可由 memory-engine 注入。缺少向量运行时时仍可走 lexical/fuzzy fallback。
版本与兼容性
- 当前包版本:
0.17.8 - Node.js:未在 package manifest 声明更高版本时,使用 Node.js 18+;原生 SQLite/Playwright 能力请按对应依赖安装
- workspace 内部包应使用同一 DevFlow minor/patch 版本,避免类型和数据库 schema 不一致
相关链接
License
MIT
