Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Jan 20, 2026

Summary

  • 修复 DWEB 安装链接,从 .zip 改为指向 metadata.json
  • 重构 set-secret.ts 使用 Bun 原生 ANSI TUI

Changes

文件 变更
scripts/build.ts 添加复制 metadata.json 到 release 目录的逻辑
.github/workflows/cd.yml 复制 metadata.json + 修复 Release Notes 链接
docs/download.md 修复 dweb 安装链接指向 metadata.json
scripts/set-secret.ts 使用 Bun 原生 + ANSI TUI 重构

Why

dweb://install?url= 协议需要指向 metadata.json 文件(包含 bundle_url、bundle_hash 等信息),而不是直接指向 .zip 文件。

plaoc bundle 命令已自动生成符合标准的 metadata.json,只需将其复制到 release 目录即可。

…ONS to use i18n

- Add Chinese string detection to i18n-check.ts script
- Simplify KNOWN_PERMISSIONS to only contain risk field
- Refactor getPermissionInfo() to return translated text via i18n
- Convert MiniappDetailActivity.tsx to use i18n for all UI strings
- Add permission translations to all 4 locale files (zh-CN, en, zh-TW, ar)
- Export permissions module from ecosystem service
- Expand error.json with validation, transaction, crypto, and other error keys
- Update use-send.logic.ts to use i18n for validation messages
- Update use-burn.ts to use i18n for error messages
- Add translations for all 4 locales (zh-CN, en, zh-TW, ar)
…terns

- Add *.stories.tsx and mock-devtools to i18n-check exclude patterns
- Add services/*/types.ts (Zod schemas) to exclude patterns
- Update use-send.bioforest.ts to use i18n for error messages
- Update use-burn.bioforest.ts to use i18n for error messages
- Add i18n-set.ts for batch setting translation keys across all locales
- Add i18n-delete.ts for removing translation keys from all locales
- Update i18n-check.ts to show quick tool usage hints on errors
- Support locale shortcuts (zh -> zh-CN, tw -> zh-TW)
- Support nested key paths (e.g., validation.required)
- Copy metadata.json from dists/ to release/ in build.ts
- Update cd.yml to copy metadata.json and fix Release Notes links
- Fix docs/download.md dweb install links to point to metadata.json
- Refactor set-secret.ts with Bun native ANSI TUI
@Gaubee Gaubee merged commit b47576a into main Jan 20, 2026
5 checks passed
@Gaubee Gaubee deleted the opencode/neon-cactus branch January 20, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants