yige
39370aba29
fix(skill): make skill initialization safe on Windows pipes ( #421 )
...
## Summary
- Keep the caller's stdout encoding and escape only characters it cannot
represent. This prevents the normal skill initializer command from
aborting on legacy-encoded Windows pipes and preserves Unicode output on
UTF-8 streams.
- Write all generated skill templates as UTF-8 so the localized content
does not depend on the machine locale.
- Exercise the actual CLI with CP1252 and UTF-8 output in the i18n
validation workflow, including a non-ASCII destination, generated
localized files, and duplicate-directory errors.
## Validation
- Reproduced UnicodeEncodeError with the unmodified CLI and CP1252
stdout; both focused regression tests pass on the change.
- Catalog and i18n validation passed with zero errors; translation
freshness and `git diff --check` passed.
- No new dependencies or metadata changes. A native installed-app
confirmation still belongs to the consuming product after syncing the
bundled Market seed.
2026-12-02 11:39:40 +08:00
..
2026-11-30 21:21:39 +08:00
2026-10-05 23:39:48 +08:00
2026-11-29 10:22:41 +08:00
2026-12-01 20:41:51 +08:00
2026-11-24 17:11:50 +08:00
2026-10-05 23:39:48 +08:00
2026-10-28 11:23:49 +08:00
2026-11-09 17:11:25 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-24 10:44:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-28 11:06:09 +08:00
2026-09-22 01:09:03 +08:00
2026-10-28 11:23:49 +08:00
2026-11-22 20:52:30 +08:00
2026-11-25 10:29:22 +08:00
2026-10-28 11:23:49 +08:00
2026-10-28 11:23:49 +08:00
2026-11-19 06:50:10 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-09-22 01:09:03 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-10-07 21:03:40 -07:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-11-07 01:19:22 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-17 17:08:41 +08:00
2026-11-02 00:15:52 +08:00
2026-11-24 17:11:50 +08:00
2026-11-26 16:22:13 +08:00
2026-09-22 01:09:03 +08:00
2026-10-16 00:06:24 +08:00
2026-11-19 07:23:21 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-26 15:50:57 +08:00
2026-10-05 23:39:48 +08:00
2026-11-22 13:26:46 +08:00
2026-11-29 23:06:48 +08:00
2026-09-22 01:09:03 +08:00
2026-11-22 20:47:54 +08:00
2026-11-25 10:29:22 +08:00
2026-10-05 23:39:48 +08:00
2026-11-29 10:24:27 +08:00
2026-11-25 10:29:22 +08:00
2026-08-31 04:10:49 -04:00
2026-10-28 11:23:49 +08:00
2026-11-21 21:05:32 +08:00
2026-11-24 17:11:50 +08:00
2026-11-16 09:25:41 +08:00
2026-10-05 23:13:13 +08:00
2026-09-22 01:09:03 +08:00
2026-11-26 16:00:44 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-25 10:29:22 +08:00
2026-11-19 14:49:15 +08:00
2026-11-22 20:18:14 +08:00
2026-11-30 21:21:39 +08:00
2026-11-24 23:14:49 +08:00
2026-11-24 23:14:49 +08:00
2026-11-24 23:14:49 +08:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-09-19 19:26:39 +08:00
2026-10-28 22:37:35 +08:00
2026-09-22 01:09:03 +08:00
2026-11-16 17:16:12 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-11-29 10:26:21 +08:00
2026-11-30 21:21:39 +08:00
2026-11-19 06:52:33 +08:00
2026-08-31 04:10:49 -04:00
2026-09-22 01:09:03 +08:00
2026-08-31 04:10:49 -04:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:13:13 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-11-24 17:11:50 +08:00
2026-11-02 00:15:52 +08:00
2026-10-05 23:39:48 +08:00
2026-11-29 10:28:10 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-25 10:29:22 +08:00
2026-09-22 01:09:03 +08:00
2026-11-25 10:29:22 +08:00
2026-12-01 13:58:45 +08:00
2026-12-01 14:00:45 +08:00
2026-11-16 11:04:19 +08:00
2026-11-24 23:14:49 +08:00
2026-12-01 16:10:59 +08:00
2026-10-16 00:06:24 +08:00
2026-10-05 23:39:48 +08:00
2026-11-01 21:50:44 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-26 16:13:07 +08:00
2026-11-30 11:06:31 +08:00
2026-09-22 01:09:03 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-19 07:14:18 +08:00
2026-10-05 23:39:48 +08:00
2026-11-24 09:45:57 +08:00
2026-09-22 01:09:03 +08:00
2026-11-25 10:29:22 +08:00
2026-10-05 23:39:48 +08:00
2026-11-22 22:42:24 +08:00
2026-12-02 11:39:40 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-11-25 10:29:22 +08:00
2026-11-19 07:17:24 +08:00
2026-11-24 10:12:04 +08:00
2026-09-22 01:09:03 +08:00
2026-09-22 01:09:03 +08:00
2026-11-16 23:36:33 +08:00
2026-11-24 09:47:18 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-10-07 21:03:40 -07:00
2026-11-17 21:04:26 +08:00
2026-10-05 23:39:48 +08:00
2026-11-24 23:14:49 +08:00
2026-11-24 15:41:21 +08:00
2026-11-08 22:41:35 +08:00
2026-11-24 09:36:27 +08:00
2026-11-02 23:42:08 +08:00
2026-10-05 23:39:48 +08:00
2026-11-22 20:16:36 +08:00
2026-11-29 10:30:00 +08:00
2026-09-22 01:09:03 +08:00
2026-11-03 17:00:02 +08:00
2026-10-05 23:39:48 +08:00
2026-10-05 23:39:48 +08:00
2026-09-22 01:09:03 +08:00
2026-10-28 10:24:31 +08:00
2026-10-05 23:39:48 +08:00
2026-11-23 01:01:03 +08:00
2026-02-28 22:47:09 +08:00
2026-05-29 15:36:19 +08:00