@mafdet/cli 0.4.0-preview.0 → 0.4.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
@@ -6,11 +6,11 @@ The version is the contract for the JSON output shapes and the exit codes.
6
6
  Being 0.x, semver still permits a break in a minor bump; the intent is not to
7
7
  use that latitude, and the promise becomes binding at 1.0.0.
8
8
 
9
- ## 0.4.0-preview.0 - 2026-08-07
9
+ ## 0.4.0 - 2026-08-07
10
10
 
11
11
  An interactive session. Running `mafdet` with no arguments in a terminal now
12
12
  opens one: choose how to authenticate, pick a model, then work with the agent.
13
- Everything else is unchanged, and `latest` still points at 0.3.0.
13
+ Everything else is unchanged; scripts are unaffected (see below).
14
14
 
15
15
  ### The session
16
16
 
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The official Mafdet AI command line: model calls, account queries, and a
4
4
  permissioned local agent.
5
5
 
6
- > **0.4.0 Preview.** 中文版见 [README.zh-CN.md](./README.zh-CN.md). The CLI never
6
+ > **0.4.0.** 中文版见 [README.zh-CN.md](./README.zh-CN.md). The CLI never
7
7
  > advertises a command it cannot serve, so `mafdet help` always lists exactly
8
8
  > what works.
9
9
  >
@@ -18,19 +18,18 @@ Node.js 20 or newer, and a Mafdet API key.
18
18
  ## Install
19
19
 
20
20
  ```bash
21
- npm install -g @mafdet/cli # 0.3.0, the stable release
22
- npm install -g @mafdet/cli@preview # 0.4.0 preview, with the interactive UI
21
+ npm install -g @mafdet/cli
23
22
  ```
24
23
 
25
24
  Or build it from this repository:
26
25
 
27
26
  ```bash
28
27
  pnpm --filter @mafdet/cli build
29
- cd packages/cli && npm pack # -> mafdet-cli-0.4.0-preview.0.tgz
30
- npm install -g ./mafdet-cli-0.4.0-preview.0.tgz
28
+ cd packages/cli && npm pack # -> mafdet-cli-0.4.0.tgz
29
+ npm install -g ./mafdet-cli-0.4.0.tgz
31
30
  ```
32
31
 
33
- ## The interactive session (0.4 preview)
32
+ ## The interactive session
34
33
 
35
34
  Run `mafdet` with no arguments in a terminal and it opens a session: pick how
36
35
  to authenticate, choose a model, then talk to the agent.
package/README.zh-CN.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Mafdet AI 官方命令行:模型调用、账户查询,以及一个受权限约束的本地 Agent。
4
4
 
5
- > **0.4.0 Preview。** 英文版见 [README.md](./README.md)。
5
+ > **0.4.0。** 英文版见 [README.md](./README.md)。
6
6
 
7
7
  ## 环境要求
8
8
 
@@ -11,11 +11,10 @@ Node.js 20 或更高,以及一把 Mafdet API Key。
11
11
  ## 安装
12
12
 
13
13
  ```bash
14
- npm install -g @mafdet/cli # 0.3.0 稳定版
15
- npm install -g @mafdet/cli@preview # 0.4.0 预览版,带交互界面
14
+ npm install -g @mafdet/cli
16
15
  ```
17
16
 
18
- ## 交互式会话(0.4 预览)
17
+ ## 交互式会话
19
18
 
20
19
  在终端里不带参数直接敲 `mafdet` 就进入会话:选认证方式、选模型,然后和 Agent 对话。
21
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mafdet/cli",
3
- "version": "0.4.0-preview.0",
3
+ "version": "0.4.0",
4
4
  "description": "Mafdet AI command line — model calls, account queries, and a permissioned local agent.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,8 +30,7 @@
30
30
  "LICENSE"
31
31
  ],
32
32
  "publishConfig": {
33
- "access": "public",
34
- "tag": "preview"
33
+ "access": "public"
35
34
  },
36
35
  "scripts": {
37
36
  "build": "tsc -p tsconfig.json",