dsh-gufa-code 1.3.52 → 1.3.53

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/client.js CHANGED
@@ -16,7 +16,7 @@ const GUFA_NS = 'gufa-code'
16
16
  const G = {}
17
17
  G.NS = GUFA_NS
18
18
  /** 客户端构建标记(排查页面是否加载了新代码时看标题栏) */
19
- G.BUILD = '1.3.52'
19
+ G.BUILD = '1.3.53'
20
20
  G.PANEL_ID = 'gufa-code'
21
21
  /** 从哪个工作区点进来的(工作区菜单/节点按钮写入,App 启动时消费)。 */
22
22
  G.pendingEntryWorkspace = null
@@ -7,8 +7,8 @@
7
7
  <key>CFBundleDisplayName</key><string>古法编程悬浮层</string>
8
8
  <key>CFBundleExecutable</key><string>gufa-float</string>
9
9
  <key>CFBundlePackageType</key><string>APPL</string>
10
- <key>CFBundleShortVersionString</key><string>1.3.52</string>
11
- <key>CFBundleVersion</key><string>1.3.52</string>
10
+ <key>CFBundleShortVersionString</key><string>1.3.53</string>
11
+ <key>CFBundleVersion</key><string>1.3.53</string>
12
12
  <key>LSUIElement</key><true/>
13
13
  <key>NSHighResolutionCapable</key><true/>
14
14
  <key>NSPrincipalClass</key><string>NSApplication</string>
package/host/dev.js CHANGED
@@ -655,7 +655,14 @@ export function register(router, env) {
655
655
  floatState.controlPath = controlPath
656
656
  const binary = floatBinaryPath()
657
657
  if (binary === null) throw new ApiError('missing-helper', '悬浮层程序未构建', 500)
658
- const child = spawn(binary, [payload], { detached: true, stdio: 'ignore', windowsHide: false })
658
+ /* Windows 下 argv 里带引号的 JSON 在极少数启动器/杀软注入场景可能被改写;
659
+ 同时通过环境变量传一份 payload,helper 会优先用能解析的那一份(Windows helper 支持 env 兜底)。 */
660
+ const child = spawn(binary, [payload], {
661
+ detached: true,
662
+ stdio: 'ignore',
663
+ windowsHide: false,
664
+ env: { ...process.env, GUFA_FLOAT_PAYLOAD: payload },
665
+ })
659
666
  child.unref()
660
667
  floatState.child = child
661
668
  floatState.startedAt = Date.now()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-gufa-code",
3
- "version": "1.3.52",
3
+ "version": "1.3.53",
4
4
  "description": "古法编程 · AI 辅助:一键把 DSH 主面板变成 VS Code 风格 IDE(Monaco 编辑器、文件树、Git、SSH、真实终端 + 右侧官方会话);主张亲手写、每个改动心中有数,AI 是助理、你是第一责任人",
5
5
  "icon": "icon.svg",
6
6
  "keywords": [