Skip to content

fix(desktop): remove workflow trust warning#26

Merged
earayu merged 1 commit into
mainfrom
feng/remove-workflow-trust-warning
May 28, 2026
Merged

fix(desktop): remove workflow trust warning#26
earayu merged 1 commit into
mainfrom
feng/remove-workflow-trust-warning

Conversation

@earayu
Copy link
Copy Markdown
Collaborator

@earayu earayu commented May 28, 2026

背景

@earayu2 在 #鹅岛 线程要求简化:去掉所有工作流信任提醒。

改动

  • 保留上游现有 workflow trust 代码、hash helper、i18n 和 IPC,不做大删除。
  • BaseChat 增加 RECIPE_TRUST_WARNINGS_ENABLED = false 门控。
  • 运行态直接跳过 hash 检查和 RecipeWarningModal 展示,工作流默认可自动提交/继续执行。

验证

  • pnpm -C ui/desktop run typecheck
  • pnpm -C ui/desktop exec eslint src/components/BaseChat.tsx --max-warnings 0 --no-warn-ignored
  • git diff --check
  • 本机安装 /Applications/ApeMind Agent.app 后验证:
    • 自有工作流“本地验收工作流”点击使用直接进入聊天,无“新工作流警告”。
    • 内置工作流“ApeMind 深度研究”点击使用直接进入参数弹窗,无“新工作流警告”。

备注

Keychain 卡住 Config::all_secrets 导致 goosed HTTP 路由阻塞的问题是独立 bug,本 PR 不处理;本机验证时继续用 GOOSE_DISABLE_KEYRING: true 绕开。

@earayu earayu force-pushed the feng/remove-workflow-trust-warning branch from 56bb198 to 09fc7b4 Compare May 28, 2026 09:13
@earayu earayu merged commit b9fecd3 into main May 28, 2026
17 checks passed
@earayu earayu deleted the feng/remove-workflow-trust-warning branch May 28, 2026 09: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.

1 participant