@foxden-app/foxclaw 0.4.14 → 0.4.15

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
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable FoxClaw changes are listed here. Each release note is bilingual so GitHub Releases and the npm package are useful to both Chinese and English readers.
4
4
 
5
+ ## 0.4.15 - 2026-06-04
6
+
7
+ ### 中文
8
+ - 更新 FoxClaw 收尾 skill:发布前固定检查设计文档、中文/英文使用手册和对外公开文档。
9
+ - 涉及 Telegram 设置的变更,使用手册必须写清 `@BotFather` 操作步骤;npm 发布 skill 也会遵守该项目文档门槛。
10
+
11
+ ### English
12
+ - Updated the FoxClaw wrap-up skill to require design docs, Chinese/English user manuals, and public-facing docs before release.
13
+ - Telegram setup changes must document the exact `@BotFather` steps in the manuals; the npm publish skill now honors this project documentation gate too.
14
+
5
15
  ## 0.4.14 - 2026-06-04
6
16
 
7
17
  ### 中文
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxden-app/foxclaw",
3
- "version": "0.4.14",
3
+ "version": "0.4.15",
4
4
  "description": "Foxden local execution claw for controlling Codex from trusted chat interfaces.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: foxclaw
3
- description: Deploy, configure, validate, develop, and release FoxClaw. Use when Codex needs to clone or update the FoxClaw repo, collect Telegram values, write `.env`, enable launchd/systemd, guide first-message tests, or perform FoxClaw repo wrap-up actions such as bilingual Chinese | English commit messages, push, npm publish, and local install/service update.
3
+ description: Deploy, configure, validate, develop, and release FoxClaw. Use when Codex needs to clone or update the FoxClaw repo, collect Telegram values, write `.env`, enable launchd/systemd, guide first-message tests, or perform FoxClaw repo wrap-up actions such as documentation gates, bilingual Chinese | English commit messages, push, npm publish, and local install/service update.
4
4
  ---
5
5
 
6
6
  # FoxClaw
@@ -184,22 +184,28 @@ When the user says development is complete, asks to "收尾", or asks to push/pu
184
184
  - `git status -sb`
185
185
  - `git diff --stat`
186
186
  - `git diff --name-status`
187
- 2. Run the relevant verification with Node 24+. If the system `node` is older, prepend the known Node 24 bin path or use the repo's documented Node 24 shell.
187
+ 2. Apply the documentation gate before validation and release for user-visible behavior, setup, config, command, auth, Telegram, or release-flow changes:
188
+ - Update the design documentation for architecture, protocol, storage, locking, security, config, or rollout decisions. If there is no dedicated design file yet, create or extend the most appropriate `docs/` file instead of leaving the design only in chat.
189
+ - Update the user manual in Chinese and English for new commands, panels, environment variables, safety constraints, verification steps, and operator workflows.
190
+ - If Telegram-side setup is involved, include the exact `@BotFather` operation path in the manual, such as privacy mode, Bot-to-Bot Communication Mode, admin requirements, group/topic setup, or token creation as applicable.
191
+ - Update external-facing public docs: `README.md`, `README_EN.md`, `CHANGELOG.md`, and release-note wording with a clear user value statement suitable for GitHub/npm readers.
192
+ - For purely internal or test-only changes where one of these document classes truly does not apply, state that explicitly in the wrap-up summary.
193
+ 3. Run the relevant verification with Node 24+. If the system `node` is older, prepend the known Node 24 bin path or use the repo's documented Node 24 shell.
188
194
  - Code changes: `npm run typecheck`, `npm run lint`, `npm test`
189
195
  - Package/release changes: also run `npm pack --dry-run`
190
196
  - Skill-only changes: validate the skill folder, then run `npm pack --dry-run`
191
- 3. Build before any local service restart:
197
+ 4. Build before any local service restart:
192
198
  - `npm run build`
193
- 4. Commit intentionally:
199
+ 5. Commit intentionally:
194
200
  - Stage only the changed files that belong to the task.
195
201
  - For this repo, prefer a bilingual one-line subject in the form `中文 | English`.
196
202
  - Put Chinese first, keep the English half semantically equivalent, and keep both halves concise.
197
203
  - For release commits, use the same format, for example `发布 0.4.0:支持多机器人隔离 | Release 0.4.0: support multi-bot isolation`.
198
204
  - Update `CHANGELOG.md` for any published version, using bilingual Chinese and English notes.
199
205
  - Never stage unrelated local changes.
200
- 5. Push the current branch after a successful commit:
206
+ 6. Push the current branch after a successful commit:
201
207
  - `git push origin <branch>`
202
- 6. Refresh the local install when requested:
208
+ 7. Refresh the local install when requested:
203
209
  - If the user has a pnpm global FoxClaw install, prefer `pnpm add -g <repo-path>` so the global `foxclaw` points at the local repo.
204
210
  - Rebuild before restarting because local linked installs run `dist/main.js`.
205
211
  - Refresh systemd with the existing service env path, for example `FOXCLAW_ENV=<existing-env> <node24> dist/main.js install-systemd`. Do not run `install-systemd` from the repo without `FOXCLAW_ENV`, because it may rewrite the service to use the repo `.env`.
@@ -208,7 +214,7 @@ When the user says development is complete, asks to "收尾", or asks to push/pu
208
214
  - Verify the running service reports the expected FoxClaw version in `status`.
209
215
  - If `doctor` fails only because `DEFAULT_CWD` is missing, report that separately; do not treat it as evidence that the service update failed.
210
216
  - `/update` now attempts to update globally npm/pnpm-managed Codex CLI installations, reports FoxClaw and Codex CLI version changes, and refuses to restart while any configured Telegram runtime, enabled Weixin default runtime, or auth mirror write is busy.
211
- 7. Publish to npm when requested:
217
+ 8. Publish to npm when requested:
212
218
  - Prefer GitHub Actions trusted publishing via `.github/workflows/publish.yml`: bump and commit the package version, push `main`, then push a matching `v<version>` tag. The tag version must match `package.json`.
213
219
  - Ensure the matching changelog section exists before pushing the version tag; the publish workflow uses it to create or update the GitHub Release.
214
220
  - Treat `workflow_dispatch` only as a retry path from an existing matching release tag; do not manually run publishing from `main`.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "FoxClaw"
3
3
  short_description: "Install, validate, update, and release FoxClaw bridges"
4
- default_prompt: "Use $foxclaw to clone or update FoxClaw, configure Telegram values, validate service health, or finish repo changes with commit, push, npm publish, and local install refresh."
4
+ default_prompt: "Use $foxclaw to clone or update FoxClaw, configure Telegram values, validate service health, or finish repo changes with required docs, commit, push, npm publish, and local install refresh."
@@ -9,6 +9,8 @@ Use this skill to publish an npm package from a repo. Prefer CI trusted publishi
9
9
 
10
10
  If the user asks to release, publish, "收尾", "push publish", or otherwise finish a completed package change, proceed through verification, commit, push, publish, and post-publish verification without asking for a second confirmation. Pause only for real blockers: missing credentials, failed checks, unrelated changes that would be staged, merge conflicts, an already-published target version that needs a version choice, or npm/GitHub web-auth that requires the user to click/confirm an external page.
11
11
 
12
+ Before publishing, honor any project-specific release documentation gate. For FoxClaw releases, verify design documentation, Chinese and English user manuals, `@BotFather` operation steps when Telegram setup changes, and external-facing README/CHANGELOG/release wording are updated or explicitly marked not applicable.
13
+
12
14
  ## Release Checklist
13
15
 
14
16
  1. Sync first when the user asks for it: