@nick848/fet 1.1.5 → 1.1.6

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.md CHANGED
@@ -114,7 +114,7 @@ fet init --lang en
114
114
  |------|------|------|
115
115
  | `fet init` | `fet init [--yes] [--lang <language>]` | 初始化 FET 和 OpenSpec;生成上下文、状态、Cursor 集成和 Codex 工作流指南。 |
116
116
  | `fet update-context` | `fet update-context [--yes]` | 重新扫描项目并更新 `AGENTS.md` 与 `openspec/config.yaml` 的 FET 托管区域。 |
117
- | `fet fill-context` | `fet fill-context [--yes]` | 刷新 IDE 交接命令,引导 AI 替换 `AGENTS.md` 占位符。 |
117
+ | `fet fill-context` | `fet fill-context [--yes]` | 刷新 IDE 交接命令;自动识别小程序工程并写入包体积/2MB 约束,引导 AI 补齐其余 `AGENTS.md` 占位符。 |
118
118
  | `fet doctor` | `fet doctor [--fix-lock]` | 诊断 OpenSpec、FET 状态、上下文文件、工具集成和锁文件。 |
119
119
  | `fet explore` | `fet explore [...args] [--change <id>]` | 通过 FET 执行 OpenSpec 原生 explore,保留交互式需求澄清。 |
120
120
  | `fet propose` | `fet propose <change-id-or-description>` | 创建 OpenSpec change,并生成第一个 ready 规划产物;后续产物用 `continue` 逐步推进。 |
@@ -182,7 +182,9 @@ FET 可能创建或更新:
182
182
  - `.codex/fet/commands/*.md`
183
183
  - `$CODEX_HOME/prompts/fet-*.md`
184
184
 
185
- FET 只拥有明确标记的托管区域。托管区域之外的用户内容应被保留。`fet init` 还会向 `.gitignore` 添加 FET 本地状态块,避免把锁文件和本地状态误提交。
185
+ FET 只拥有明确标记的托管区域。托管区域之外的用户内容应被保留。
186
+
187
+ **团队与 Git**:`openspec/fet-state.json`、锁文件等是否纳入版本库由团队自行决定。`fet init` 不再自动修改 `.gitignore`。常见做法:(1)提交共享状态并约定每人只改自己负责的 change,减少 `activeChangeId` 冲突;(2)仅在本机用 `.git/info/exclude` 排除锁文件与日志,仓库 `.gitignore` 保持团队统一;(3)整包状态不入库,由每人本地维护(适合无协作场景)。可参考 `src/templates/gitignore.ts` 中的规则片段自行合并。
186
188
 
187
189
  ## 安全边界
188
190
 
package/README_en.md CHANGED
@@ -184,7 +184,9 @@ FET may create or update:
184
184
  - `.codex/fet/commands/*.md`
185
185
  - `$CODEX_HOME/prompts/fet-*.md`
186
186
 
187
- FET only owns explicitly marked managed regions. User content outside those regions should be preserved. During `fet init`, FET also adds a managed `.gitignore` block for local workflow state.
187
+ FET only owns explicitly marked managed regions. User content outside those regions should be preserved.
188
+
189
+ **Git and teams**: Whether to commit `openspec/fet-state.json`, lock files, and related paths is a team policy. `fet init` no longer edits `.gitignore` automatically. Common options: (1) commit shared state and coordinate who owns each change to avoid `activeChangeId` conflicts; (2) use per-machine `.git/info/exclude` for locks and journals while keeping a shared `.gitignore`; (3) keep all FET state local when collaboration on state is not needed. See `src/templates/gitignore.ts` for a reference ignore block you can merge manually.
188
190
 
189
191
  ## Safety Model
190
192