mancode 0.4.1 → 0.4.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 +19 -8
- package/README.md +13 -6
- package/dist/{chunk-S3BAOJPP.js → chunk-3FOBYCF4.js} +1 -5
- package/dist/{chunk-S3BAOJPP.js.map → chunk-3FOBYCF4.js.map} +1 -1
- package/dist/{chunk-VV3MFVIG.js → chunk-LYRYNJHW.js} +2 -2
- package/dist/chunk-LYRYNJHW.js.map +1 -0
- package/dist/cli.js +39 -20
- package/dist/cli.js.map +1 -1
- package/dist/{store-LD5VRGON.js → store-GCLUP5IO.js} +2 -2
- package/dist/{v3-adapter-OS2AEK5M.js → v3-adapter-E6VEEDCF.js} +2 -2
- package/package.json +4 -1
- package/dist/chunk-VV3MFVIG.js.map +0 -1
- /package/dist/{store-LD5VRGON.js.map → store-GCLUP5IO.js.map} +0 -0
- /package/dist/{v3-adapter-OS2AEK5M.js.map → v3-adapter-E6VEEDCF.js.map} +0 -0
package/README.en.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
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.4.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.4.2-2f855a?style=flat-square" alt="Status: mancode Continuity v0.4.2" />
|
|
21
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" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -137,6 +137,13 @@ the code baseline, then run
|
|
|
137
137
|
`MANCODE_GIT_REF_DEFERRED_SYNC_REQUIRED`; cross-clone synchronization is
|
|
138
138
|
complete only after the push returns a receipt.
|
|
139
139
|
|
|
140
|
+
Atomic git-ref mutations that explicitly require `--sync`, such as
|
|
141
|
+
`workflow update`, complete the remote CAS before materializing the local
|
|
142
|
+
projection. If a resumable `in_progress` or `blocked` task leaves tracked
|
|
143
|
+
`.mancode/shared` changes, commit that projection and run the same
|
|
144
|
+
`team sync push` with the unchanged task revision to rebind the remote code
|
|
145
|
+
head. Another clone must not resume until this push returns a receipt.
|
|
146
|
+
|
|
140
147
|
For a new project, start with one platform you actually use:
|
|
141
148
|
|
|
142
149
|
```bash
|
|
@@ -374,7 +381,7 @@ it should behave, and why previous decisions were made.
|
|
|
374
381
|
|
|
375
382
|
## Installation
|
|
376
383
|
|
|
377
|
-
**Status**: mancode Continuity v0.4.
|
|
384
|
+
**Status**: mancode Continuity v0.4.2. Claude Code, Cursor, Codex in the ChatGPT
|
|
378
385
|
desktop app and CLI, GitHub Copilot, and ZCode adapters are included.
|
|
379
386
|
|
|
380
387
|
Requires Node.js 20 or newer. macOS, Linux, Windows CMD, PowerShell, and Git Bash
|
|
@@ -481,7 +488,7 @@ mancode version
|
|
|
481
488
|
Simplified output:
|
|
482
489
|
|
|
483
490
|
```text
|
|
484
|
-
mancode v0.4.
|
|
491
|
+
mancode v0.4.2
|
|
485
492
|
|
|
486
493
|
Project: my-app
|
|
487
494
|
Runtime: ready
|
|
@@ -628,14 +635,16 @@ mancode/
|
|
|
628
635
|
- Complete real-host session acceptance for Claude Code, Codex, Cursor,
|
|
629
636
|
GitHub Copilot, and ZCode on one release candidate; verified host sessions
|
|
630
637
|
and isolated explicit sessions are both valid evidence paths.
|
|
631
|
-
-
|
|
632
|
-
|
|
633
|
-
|
|
638
|
+
- Merge the final candidate into `main`, then run
|
|
639
|
+
`npm run release:check -- --candidate <full-commit-sha>` from that same
|
|
640
|
+
`origin/main` commit for the clean checkout, automated two-clone/legacy
|
|
641
|
+
checks, tarball SHA-256, and install smoke; complete cross-host recovery
|
|
642
|
+
separately.
|
|
634
643
|
- Confirm ZCode project-skill discovery and workspace-command paths; keep the
|
|
635
644
|
adapter provisional until then.
|
|
636
645
|
- Evaluate Windsurf, Cline, and Roo Code adapters based on real demand.
|
|
637
646
|
|
|
638
|
-
See [0.4.
|
|
647
|
+
See [0.4.2 Continuity Release Acceptance](./docs/release-acceptance.md) for the complete gate.
|
|
639
648
|
|
|
640
649
|
## Troubleshooting
|
|
641
650
|
|
|
@@ -660,7 +669,9 @@ hook architecture still uses `mancode init --legacy --force`.
|
|
|
660
669
|
This means the platform's target files are missing or their digest is stale.
|
|
661
670
|
Preview `mancode adapter upgrade --platform <platform> --dry-run`, inspect the
|
|
662
671
|
staged result, then run it with the returned `--operation-id`, an active session,
|
|
663
|
-
and `--confirm`.
|
|
672
|
+
and `--confirm`. A successful confirmation removes that operation's staging
|
|
673
|
+
preview so internal temporary files cannot make a later Git sync report a dirty
|
|
674
|
+
worktree. For managed-block
|
|
664
675
|
platforms (Codex, ZCode, Copilot), the managed block in `AGENTS.md` or
|
|
665
676
|
`.github/copilot-instructions.md` may have been manually edited or deleted.
|
|
666
677
|
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
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.4.
|
|
20
|
+
<img src="https://img.shields.io/badge/status-Continuity%20v0.4.2-2f855a?style=flat-square" alt="状态:mancode Continuity v0.4.2" />
|
|
21
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" />
|
|
22
22
|
</p>
|
|
23
23
|
|
|
@@ -116,6 +116,12 @@ git-ref 下的 workflow create、requirements、plan、review 和 verification
|
|
|
116
116
|
`--sync` 会返回 `MANCODE_GIT_REF_DEFERRED_SYNC_REQUIRED`;只有拿到 push receipt
|
|
117
117
|
才表示跨 clone 同步完成。
|
|
118
118
|
|
|
119
|
+
`workflow update` 等明确要求 `--sync` 的原子 git-ref mutation 会先完成远端 CAS,
|
|
120
|
+
再 materialize 本地投影。如果仍需 resume 的 `in_progress` 或 `blocked` 任务因此产生
|
|
121
|
+
tracked `.mancode/shared` 变更,应先提交这些投影,再用不变的 task revision 执行同一条
|
|
122
|
+
`team sync push`,把远端 code head 重绑到新提交;另一个 clone 只能在这次 push 返回
|
|
123
|
+
receipt 后 resume。
|
|
124
|
+
|
|
119
125
|
在全新项目中,从一个实际使用的平台开始:
|
|
120
126
|
|
|
121
127
|
```bash
|
|
@@ -329,7 +335,7 @@ src/components/
|
|
|
329
335
|
|
|
330
336
|
## 安装
|
|
331
337
|
|
|
332
|
-
**状态**:mancode Continuity v0.4.
|
|
338
|
+
**状态**:mancode Continuity v0.4.2。Claude Code、Cursor、ChatGPT 桌面端中的
|
|
333
339
|
Codex、Codex CLI、GitHub Copilot 和 ZCode adapter 均已接入。
|
|
334
340
|
|
|
335
341
|
需要 Node.js 20 或更高版本。原生支持 macOS、Linux、Windows CMD、
|
|
@@ -434,7 +440,7 @@ mancode version
|
|
|
434
440
|
以下是简化输出示例:
|
|
435
441
|
|
|
436
442
|
```text
|
|
437
|
-
mancode v0.4.
|
|
443
|
+
mancode v0.4.2
|
|
438
444
|
|
|
439
445
|
Project: my-app
|
|
440
446
|
Runtime: ready
|
|
@@ -570,11 +576,11 @@ mancode/
|
|
|
570
576
|
## 仍在推进
|
|
571
577
|
|
|
572
578
|
- 在同一发布候选上完成 Claude Code、Codex、Cursor、GitHub Copilot 和 ZCode 的真实宿主 session 验收;宿主自动 session 和显式双 session 都是合法证据路径。
|
|
573
|
-
-
|
|
579
|
+
- 将最终候选合并到 `main`,并使用 `npm run release:check -- --candidate <完整提交 SHA>` 从同一个 `origin/main` 提交完成干净 checkout、自动双 clone/legacy、tarball SHA-256 和安装 smoke;另完成跨真实宿主恢复。
|
|
574
580
|
- 确认 ZCode 项目级 skill 发现和 workspace command 路径;完成前继续标记为 provisional。
|
|
575
581
|
- 根据真实需求评估 Windsurf、Cline 和 Roo Code adapter。
|
|
576
582
|
|
|
577
|
-
完整发布条件见 [0.4.
|
|
583
|
+
完整发布条件见 [0.4.2 Continuity 发布验收](./docs/release-acceptance.md)。
|
|
578
584
|
|
|
579
585
|
## 故障排查
|
|
580
586
|
|
|
@@ -596,7 +602,8 @@ mancode/
|
|
|
596
602
|
|
|
597
603
|
该平台的目标文件缺失或 digest 不匹配。先运行
|
|
598
604
|
`mancode adapter upgrade --platform <platform> --dry-run`,确认 staging 结果后再用
|
|
599
|
-
该预览返回的 `--operation-id` 和 active session 执行 `--confirm
|
|
605
|
+
该预览返回的 `--operation-id` 和 active session 执行 `--confirm`。确认成功后会删除
|
|
606
|
+
该 operation 的 staging 预览,避免内部临时文件让后续 Git 同步误判工作区不干净。
|
|
600
607
|
对于 Codex、ZCode 和 Copilot,`AGENTS.md` 或 `.github/copilot-instructions.md`
|
|
601
608
|
中的受控区可能被手动编辑或删除了。
|
|
602
609
|
|
|
@@ -3632,10 +3632,6 @@ var WorkflowPolicyVersionUnsupportedError = class extends Error {
|
|
|
3632
3632
|
this.requiredWriter = requiredWriter;
|
|
3633
3633
|
this.name = "WorkflowPolicyVersionUnsupportedError";
|
|
3634
3634
|
}
|
|
3635
|
-
component;
|
|
3636
|
-
observedVersion;
|
|
3637
|
-
supportedVersions;
|
|
3638
|
-
requiredWriter;
|
|
3639
3635
|
code = "MANCODE_POLICY_VERSION_UNSUPPORTED";
|
|
3640
3636
|
};
|
|
3641
3637
|
var TRANSITION_STATES = /* @__PURE__ */ new Set([
|
|
@@ -7275,4 +7271,4 @@ export {
|
|
|
7275
7271
|
V3ContextStore,
|
|
7276
7272
|
storedTaskAggregateDigest
|
|
7277
7273
|
};
|
|
7278
|
-
//# sourceMappingURL=chunk-
|
|
7274
|
+
//# sourceMappingURL=chunk-3FOBYCF4.js.map
|