mancode 0.5.0 → 0.5.2
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/README.en.md +24 -13
- package/README.md +21 -14
- package/dist/{chunk-73F46VQM.js → chunk-2JOKDC3X.js} +204 -29
- package/dist/chunk-2JOKDC3X.js.map +1 -0
- package/dist/{chunk-3FOBYCF4.js → chunk-VHZI2WKD.js} +4 -2
- package/dist/{chunk-3FOBYCF4.js.map → chunk-VHZI2WKD.js.map} +1 -1
- package/dist/cli.js +1346 -642
- package/dist/cli.js.map +1 -1
- package/dist/{store-GCLUP5IO.js → store-EEWJJANB.js} +2 -2
- package/dist/{v3-adapter-7XYKHGTB.js → v3-adapter-DBVEX5H5.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-73F46VQM.js.map +0 -1
- /package/dist/{store-GCLUP5IO.js.map → store-EEWJJANB.js.map} +0 -0
- /package/dist/{v3-adapter-7XYKHGTB.js.map → v3-adapter-DBVEX5H5.js.map} +0 -0
package/README.en.md
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
Adapts to common coding agent tools, including Claude Code, Cursor, Codex in
|
|
14
|
-
the ChatGPT desktop app and CLI, GitHub Copilot, and
|
|
14
|
+
the ChatGPT desktop app and CLI, GitHub Copilot, ZCode, Kimi Code, and Qoder.
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
18
18
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="License: AGPL-3.0" /></a>
|
|
19
19
|
<a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm version" /></a>
|
|
20
|
-
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.
|
|
21
|
-
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex in ChatGPT desktop and CLI, GitHub Copilot, ZCode" />
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.2-2f855a?style=flat-square" alt="Status: mancode Continuity v0.5.2" />
|
|
21
|
+
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode%20%7C%20Kimi%20Code%20%7C%20Qoder-5865F2?style=flat-square" alt="Platforms: Claude Code, Cursor, Codex in ChatGPT desktop and CLI, GitHub Copilot, ZCode, Kimi Code, Qoder" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
@@ -41,7 +41,8 @@ conversations.
|
|
|
41
41
|
[Installation](#installation) · [Usage](#usage)
|
|
42
42
|
|
|
43
43
|
mancode ships with adapters for Claude Code, Cursor, Codex in the ChatGPT
|
|
44
|
-
desktop app and CLI, GitHub Copilot,
|
|
44
|
+
desktop app and CLI, GitHub Copilot, ZCode, Kimi Code (desktop/CLI), and Qoder
|
|
45
|
+
(IDE/CLI). It keeps the original `man*`
|
|
45
46
|
entries on every platform and connects them to one Context Pack and workflow
|
|
46
47
|
authority through static bootstraps.
|
|
47
48
|
|
|
@@ -124,7 +125,8 @@ CLI form above is useful for diagnostics, automation, or manual recovery.
|
|
|
124
125
|
|
|
125
126
|
mancode gives team projects stable TaskRefs, isolated sessions, governance
|
|
126
127
|
ledgers, worktree claims and handoffs, and optional git-ref coordination across
|
|
127
|
-
clones. Claude Code, Cursor, Codex, GitHub Copilot,
|
|
128
|
+
clones. Claude Code, Cursor, Codex, GitHub Copilot, ZCode, Kimi Code, and
|
|
129
|
+
Qoder use the same
|
|
128
130
|
workflow data through platform bootstraps; platform files do not hold task or
|
|
129
131
|
session copies.
|
|
130
132
|
|
|
@@ -178,8 +180,9 @@ By default, `mancode init` creates mancode workflow and platform integration fil
|
|
|
178
180
|
|
|
179
181
|
.claude/skills/ # Claude Code: bootstrap + original mode skills
|
|
180
182
|
.cursor/rules/ + commands/ # Cursor: bootstrap + original mode commands
|
|
181
|
-
AGENTS.md # Codex
|
|
182
|
-
.agents/skills/ # Codex / ZCode: original mode skills
|
|
183
|
+
AGENTS.md # Codex / ZCode / Kimi Code / Qoder: separate managed instruction blocks
|
|
184
|
+
.agents/skills/ # Codex / ZCode / Kimi Code: original mode skills
|
|
185
|
+
.qoder/commands/ # Qoder: original mode commands
|
|
183
186
|
.github/copilot-instructions.md # GitHub Copilot: managed instruction block
|
|
184
187
|
.github/prompts/ # GitHub Copilot: original mode prompts
|
|
185
188
|
```
|
|
@@ -382,8 +385,8 @@ it should behave, and why previous decisions were made.
|
|
|
382
385
|
|
|
383
386
|
## Installation
|
|
384
387
|
|
|
385
|
-
**Status**: mancode Continuity v0.5.
|
|
386
|
-
desktop app and CLI, GitHub Copilot, and
|
|
388
|
+
**Status**: mancode Continuity v0.5.2. Claude Code, Cursor, Codex in the ChatGPT
|
|
389
|
+
desktop app and CLI, GitHub Copilot, ZCode, Kimi Code, and Qoder adapters are included.
|
|
387
390
|
|
|
388
391
|
Requires Node.js 20 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
389
392
|
are supported. Git is optional: without it, initialization continues with solo
|
|
@@ -409,6 +412,11 @@ Supported platforms:
|
|
|
409
412
|
- ZCode: managed `AGENTS.md` block and provisional `$man*` skills in
|
|
410
413
|
`.agents/skills/`; project skill discovery and slash commands pending verified
|
|
411
414
|
workspace paths
|
|
415
|
+
- Kimi Code (desktop app and CLI): managed `AGENTS.md` block plus
|
|
416
|
+
`/skill:man*` repo skills under `.agents/skills/`; host discovery paths
|
|
417
|
+
pending real-host verification
|
|
418
|
+
- Qoder (IDE and CLI): managed `AGENTS.md` block plus `/man*` repo commands
|
|
419
|
+
under `.qoder/commands/`; host discovery paths pending real-host verification
|
|
412
420
|
- Windsurf, Cline, Roo Code: planned later
|
|
413
421
|
|
|
414
422
|
### Install Options
|
|
@@ -419,7 +427,7 @@ mancode init --yes # Skip generic-project confirmation (use --platform in
|
|
|
419
427
|
mancode init --team # Force-enable team mode
|
|
420
428
|
mancode init --no-team # Force-disable team mode
|
|
421
429
|
mancode init --legacy --style NAME # Legacy only: save a default style preference
|
|
422
|
-
mancode init --platform PLATFORMS # One or more: claude-code,cursor,codex,copilot,zcode, or all
|
|
430
|
+
mancode init --platform PLATFORMS # One or more: claude-code,cursor,codex,copilot,zcode,kimi-code,qoder, or all
|
|
423
431
|
mancode init --empty # Allow a safe empty directory in non-interactive scripts
|
|
424
432
|
mancode init --lang zh-CN # Explicit initialization language (zh-CN or en)
|
|
425
433
|
mancode refresh-project # Refresh facts after Git or project files are added
|
|
@@ -454,7 +462,7 @@ mancode init --legacy
|
|
|
454
462
|
mancode status
|
|
455
463
|
mancode status --json
|
|
456
464
|
mancode status --brief --json
|
|
457
|
-
mancode install <claude-code|cursor|codex|copilot|zcode> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
465
|
+
mancode install <claude-code|cursor|codex|copilot|zcode|kimi-code|qoder> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
458
466
|
mancode adapter status [--platform <platform>] --json
|
|
459
467
|
mancode adapter upgrade <--all|--platform <platform>> --dry-run
|
|
460
468
|
mancode adapter upgrade <--all|--platform <platform>> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
@@ -493,7 +501,7 @@ mancode version
|
|
|
493
501
|
Simplified output:
|
|
494
502
|
|
|
495
503
|
```text
|
|
496
|
-
mancode v0.5.
|
|
504
|
+
mancode v0.5.2
|
|
497
505
|
|
|
498
506
|
Project: my-app
|
|
499
507
|
Runtime: ready
|
|
@@ -507,6 +515,8 @@ mancode adapter status:
|
|
|
507
515
|
✓ Codex (ChatGPT desktop/CLI): ready
|
|
508
516
|
○ GitHub Copilot: not installed
|
|
509
517
|
○ ZCode: not installed
|
|
518
|
+
○ Kimi Code (desktop/CLI): not installed
|
|
519
|
+
○ Qoder (IDE/CLI): not installed
|
|
510
520
|
```
|
|
511
521
|
|
|
512
522
|
### `mancode manps deps`
|
|
@@ -734,7 +744,8 @@ platforms (Codex, ZCode, Copilot), the managed block in `AGENTS.md` or
|
|
|
734
744
|
|
|
735
745
|
### AGENTS.md or copilot-instructions.md managed block was accidentally deleted
|
|
736
746
|
|
|
737
|
-
Preview `mancode adapter upgrade --platform codex --dry-run` (or `zcode`,
|
|
747
|
+
Preview `mancode adapter upgrade --platform codex --dry-run` (or `zcode`,
|
|
748
|
+
`kimi-code`, `qoder`, or
|
|
738
749
|
`copilot`), then run it with the returned `--operation-id`, an active session,
|
|
739
750
|
and `--confirm` to reinsert the managed block. User-authored content outside the
|
|
740
751
|
relevant markers is preserved.
|
package/README.md
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
13
|
适配常见编程代理工具,包括 Claude Code、Cursor、ChatGPT 桌面端中的 Codex、
|
|
14
|
-
Codex CLI、GitHub Copilot 和
|
|
14
|
+
Codex CLI、GitHub Copilot、ZCode、Kimi Code 和 Qoder。
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
18
18
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg?style=flat-square" alt="许可证:AGPL-3.0" /></a>
|
|
19
19
|
<a href="https://www.npmjs.com/package/mancode"><img src="https://img.shields.io/npm/v/mancode?style=flat-square" alt="npm 版本" /></a>
|
|
20
|
-
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.
|
|
21
|
-
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、ChatGPT 桌面端 Codex、Codex CLI、GitHub Copilot、ZCode" />
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.5.2-2f855a?style=flat-square" alt="状态:mancode Continuity v0.5.2" />
|
|
21
|
+
<img src="https://img.shields.io/badge/platforms-Claude%20Code%20%7C%20Cursor%20%7C%20Codex%20%7C%20Copilot%20%7C%20ZCode%20%7C%20Kimi%20Code%20%7C%20Qoder-5865F2?style=flat-square" alt="平台:Claude Code、Cursor、ChatGPT 桌面端 Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code、Qoder" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
**mancode Continuity(跨会话与团队协作运行时)**负责把任务、决策和验证证据安全地带到后续对话,并协调多人或多 Agent 的任务权威。
|
|
40
40
|
|
|
41
41
|
mancode 当前支持 Claude Code、Cursor、ChatGPT 桌面端中的 Codex、Codex CLI、
|
|
42
|
-
GitHub Copilot
|
|
42
|
+
GitHub Copilot、ZCode、Kimi Code(桌面端/CLI)和 Qoder(IDE/CLI)。每个平台继续使用原来的 `man*` 入口,并通过静态
|
|
43
43
|
bootstrap 接入统一的 Context Pack 与 workflow authority。
|
|
44
44
|
|
|
45
45
|
mancode 会安装三类能力:
|
|
@@ -106,8 +106,8 @@ mancode context show --purpose orient --session <id> --client claude-code
|
|
|
106
106
|
## 跨客户端与团队协作
|
|
107
107
|
|
|
108
108
|
mancode 为团队项目提供稳定 TaskRef、隔离 session、治理账本、worktree claim/handoff,
|
|
109
|
-
以及可选的 git-ref 跨 clone 协调。Claude Code、Cursor、Codex、GitHub Copilot
|
|
110
|
-
ZCode 都通过 bootstrap 使用同一套工作流数据;平台文件本身不保存任务或 session 副本。
|
|
109
|
+
以及可选的 git-ref 跨 clone 协调。Claude Code、Cursor、Codex、GitHub Copilot、
|
|
110
|
+
ZCode、Kimi Code 和 Qoder 都通过 bootstrap 使用同一套工作流数据;平台文件本身不保存任务或 session 副本。
|
|
111
111
|
|
|
112
112
|
git-ref 下的 workflow create、requirements、plan、review 和 verification 使用显式的
|
|
113
113
|
延后发布边界:先不带 `--sync` 执行 mutation,将对应的 `.mancode/shared`
|
|
@@ -165,8 +165,9 @@ legacy `state.json` 与当前工作流权威数据。
|
|
|
165
165
|
|
|
166
166
|
.claude/skills/ # Claude Code:bootstrap + 原 mode skills
|
|
167
167
|
.cursor/rules/ + commands/ # Cursor:bootstrap + 原 mode commands
|
|
168
|
-
AGENTS.md # Codex
|
|
169
|
-
.agents/skills/ # Codex / ZCode:原 mode skills
|
|
168
|
+
AGENTS.md # Codex / ZCode / Kimi Code / Qoder:各自托管 instructions block
|
|
169
|
+
.agents/skills/ # Codex / ZCode / Kimi Code:原 mode skills
|
|
170
|
+
.qoder/commands/ # Qoder:原 mode commands
|
|
170
171
|
.github/copilot-instructions.md # GitHub Copilot:托管 instruction block
|
|
171
172
|
.github/prompts/ # GitHub Copilot:原 mode prompts
|
|
172
173
|
```
|
|
@@ -336,8 +337,8 @@ src/components/
|
|
|
336
337
|
|
|
337
338
|
## 安装
|
|
338
339
|
|
|
339
|
-
**状态**:mancode Continuity v0.5.
|
|
340
|
-
Codex、Codex CLI、GitHub Copilot 和
|
|
340
|
+
**状态**:mancode Continuity v0.5.2。Claude Code、Cursor、ChatGPT 桌面端中的
|
|
341
|
+
Codex、Codex CLI、GitHub Copilot、ZCode、Kimi Code 和 Qoder adapter 均已接入。
|
|
341
342
|
|
|
342
343
|
需要 Node.js 20 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
343
344
|
PowerShell 和 Git Bash。Git 是可选依赖:未安装时仍可初始化,只会把团队
|
|
@@ -361,6 +362,10 @@ mancode init --platform all
|
|
|
361
362
|
- GitHub Copilot:托管 instruction block 与 `.github/prompts/` 原 mode prompts
|
|
362
363
|
- ZCode:托管 `AGENTS.md` block,并暂按 `.agents/skills/` 生成 `$man*`
|
|
363
364
|
skills;项目级 skill 发现和 slash commands 仍需确认 workspace 路径后再发布承诺
|
|
365
|
+
- Kimi Code(桌面端、CLI):托管 `AGENTS.md` block,并在 `.agents/skills/`
|
|
366
|
+
下提供 `/skill:man*` 项目 skills;宿主发现路径仍需真实验证
|
|
367
|
+
- Qoder(IDE、CLI):托管 `AGENTS.md` block,并在 `.qoder/commands/` 下提供
|
|
368
|
+
`/man*` 项目 commands;宿主发现路径仍需真实验证
|
|
364
369
|
- Windsurf、Cline、Roo Code:后续计划
|
|
365
370
|
|
|
366
371
|
### 安装参数
|
|
@@ -371,7 +376,7 @@ mancode init --yes # 跳过通用项目确认(CI 中仍需 --platform
|
|
|
371
376
|
mancode init --team # 强制启用团队模式
|
|
372
377
|
mancode init --no-team # 强制禁用团队模式
|
|
373
378
|
mancode init --legacy --style NAME # 仅 legacy:保存默认审美偏好
|
|
374
|
-
mancode init --platform PLATFORMS # 一个或多个:claude-code,cursor,codex,copilot,zcode,或 all
|
|
379
|
+
mancode init --platform PLATFORMS # 一个或多个:claude-code,cursor,codex,copilot,zcode,kimi-code,qoder,或 all
|
|
375
380
|
mancode init --empty # 非交互脚本中允许安全的空目录
|
|
376
381
|
mancode init --lang zh-CN # 显式指定初始化语言(zh-CN 或 en)
|
|
377
382
|
mancode refresh-project # 后续加入 Git 或项目文件后刷新项目事实
|
|
@@ -406,7 +411,7 @@ mancode init --legacy
|
|
|
406
411
|
mancode status
|
|
407
412
|
mancode status --json
|
|
408
413
|
mancode status --brief --json
|
|
409
|
-
mancode install <claude-code|cursor|codex|copilot|zcode> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
414
|
+
mancode install <claude-code|cursor|codex|copilot|zcode|kimi-code|qoder> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
410
415
|
mancode adapter status [--platform <platform>] --json
|
|
411
416
|
mancode adapter upgrade <--all|--platform <platform>> --dry-run
|
|
412
417
|
mancode adapter upgrade <--all|--platform <platform>> --confirm --operation-id <operationId> --session <id> --client <client>
|
|
@@ -445,7 +450,7 @@ mancode version
|
|
|
445
450
|
以下是简化输出示例:
|
|
446
451
|
|
|
447
452
|
```text
|
|
448
|
-
mancode v0.5.
|
|
453
|
+
mancode v0.5.2
|
|
449
454
|
|
|
450
455
|
Project: my-app
|
|
451
456
|
Runtime: ready
|
|
@@ -459,6 +464,8 @@ mancode adapter status:
|
|
|
459
464
|
✓ Codex (ChatGPT desktop/CLI): ready
|
|
460
465
|
○ GitHub Copilot: not installed
|
|
461
466
|
○ ZCode: not installed
|
|
467
|
+
○ Kimi Code (desktop/CLI): not installed
|
|
468
|
+
○ Qoder (IDE/CLI): not installed
|
|
462
469
|
```
|
|
463
470
|
|
|
464
471
|
### `mancode manps deps`
|
|
@@ -646,7 +653,7 @@ mancode/
|
|
|
646
653
|
|
|
647
654
|
### AGENTS.md 或 copilot-instructions.md 受控区被误删
|
|
648
655
|
|
|
649
|
-
运行 `mancode adapter upgrade --platform codex --dry-run`(或 `zcode`、`copilot`)
|
|
656
|
+
运行 `mancode adapter upgrade --platform codex --dry-run`(或 `zcode`、`kimi-code`、`qoder`、`copilot`)
|
|
650
657
|
检查差异,再用该预览返回的 `--operation-id` 和 active session 执行 `--confirm`
|
|
651
658
|
重新插入受控区。
|
|
652
659
|
对应 mancode 受控标记外的用户内容会被保留。
|