@hupan56/wlkj 3.3.10 → 3.3.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hupan56/wlkj",
3
- "version": "3.3.10",
3
+ "version": "3.3.12",
4
4
  "description": "AI Product R&D Workflow - PRD/Prototype/Search/Task/Report",
5
5
  "bin": {
6
6
  "wlkj": "bin/cli.js"
@@ -122,8 +122,9 @@ autotest:
122
122
  # setup.py init 时会交互式配置 git remote add origin <url>。
123
123
  # 不配也能本地工作, 但 push/同步功能不可用。
124
124
  team_remote:
125
- url: "" # 留空则 setup.py 会问; 填了团队所有人 init 时自动用这个地址
126
- branch: master # 团队主分支
125
+ # url: 团队 git 地址(留空则 setup.py 会问; 填了团队所有人 init 自动用)。注意:不要在 url: 同行写中文注释,setup.py 会把注释当 url
126
+ url: ""
127
+ branch: master
127
128
 
128
129
  # ── Git Sync (Weekly) ──
129
130
  # 每个项目在 data/code/ 下有自己的 git 仓库
@@ -1,5 +1,16 @@
1
1
  #!/usr/bin/env python3
2
2
  # -*- coding: utf-8 -*-
3
+ # Windows 控制台 UTF-8 修复(ctypes 直调 Windows API,非子shell chcp)
4
+ import sys as _s
5
+ if _s.platform == 'win32':
6
+ import ctypes as _ct, io as _io
7
+ try:
8
+ _ct.windll.kernel32.SetConsoleOutputCP(65001)
9
+ _ct.windll.kernel32.SetConsoleCP(65001)
10
+ _s.stdout = _io.TextIOWrapper(_s.stdout.buffer, encoding='utf-8', errors='replace')
11
+ _s.stderr = _io.TextIOWrapper(_s.stderr.buffer, encoding='utf-8', errors='replace')
12
+ except Exception:
13
+ pass
3
14
  # v3.0 路径自举: 引导到 common/bootstrap, 统一 sys.path 逻辑
4
15
  import os as _o, sys as _s
5
16
  _f = _o.path.abspath(__file__)
@@ -1,5 +1,16 @@
1
1
  #!/usr/bin/env python3
2
2
  # -*- coding: utf-8 -*-
3
+ # Windows 控制台 UTF-8 修复(ctypes 直调 Windows API,非子shell chcp)
4
+ import sys as _s
5
+ if _s.platform == 'win32':
6
+ import ctypes as _ct, io as _io
7
+ try:
8
+ _ct.windll.kernel32.SetConsoleOutputCP(65001)
9
+ _ct.windll.kernel32.SetConsoleCP(65001)
10
+ _s.stdout = _io.TextIOWrapper(_s.stdout.buffer, encoding='utf-8', errors='replace')
11
+ _s.stderr = _io.TextIOWrapper(_s.stderr.buffer, encoding='utf-8', errors='replace')
12
+ except Exception:
13
+ pass
3
14
  """
4
15
  wlkj.py - 工作流顶层调度器 (Facade 统一入口)
5
16