@qoder-ai/qmind-cli 1.1.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @qoder-ai/qmind-cli
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - a317ae9: 收紧 QMind Client 领域合同:移除无效的 `userId` client option,以及 Node Host / CLI 的 `userId`、`--user`、`QMIND_USER_ID` 配置面;兼容真实空列表、零分页与 RepoWiki snake_case wire shape,补齐 Card facet、ChatMessage 等已知字段,并让 capability 只声明当前公开 interface 可调用的领域能力。SDK 同时公开严格领域 decoder,供尚未进入 Client interface 的宿主 route 复用同一合同;官方 Fetch Transport 新增 stream connect/idle timeout,且将 Zod 改为由宿主提供的兼容 peer,避免 SDK 安装出第二套 schema 类型世界。
8
+
9
+ ## 1.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - d2dcbb6: Add the QMind Agent Contract v1 Core, per-Query Qoder Agent SDK adapter, shared Node host, canonical Qoder Plugin runtime and deterministic Plugin artifact flow. The CLI now consumes the extracted Node host without changing its command surface.
14
+
15
+ ### Changes without version bumps
16
+
17
+ - Enable Node.js module compile caching before loading the CLI application on supported runtimes while preserving Node 20 compatibility.
18
+
19
+ ## 1.1.2
20
+
21
+ ### Patch Changes
22
+
23
+ - c3a3a0f: Remove a redundant module-boundary note from the CLI package README.
24
+
3
25
  ## 1.1.1
4
26
 
5
27
  ### Patch Changes
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  QMind 命令行工具,可用于登录、管理知识库和来源、检索内容、运行 RAG/编译任务,以及把本地目录同步到知识库。
4
4
 
5
- 本包只提供 `qmind` 可执行命令,不提供 JavaScript/TypeScript 模块导出。不要从 `@qoder-ai/qmind-cli` import `createQMindCliHost`、`runQMindCli` 或其他 API;需要在应用中集成 QMind 时,请使用 `@ali/qmind-sdk`。
6
-
7
5
  ## 安装
8
6
 
9
7
  需要 Node.js `>=20.18.1`:
package/bin/cli.js CHANGED
@@ -1,3 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import '../dist/qmind.js';
3
+ import * as nodeModule from 'node:module';
4
+
5
+ // Keep Node 20 compatibility while enabling the cache before the application graph is loaded.
6
+ nodeModule.enableCompileCache?.();
7
+
8
+ await import('../dist/qmind.js');