Skip to content

chore: remove internal traces and hardcoded vendor endpoint - #9

Closed
kbkb628 wants to merge 1 commit into
helsome:mainfrom
kbkb628:chore/internal-cleanup
Closed

kbkb628 wants to merge 1 commit into
helsome:mainfrom
kbkb628:chore/internal-cleanup

Conversation

@kbkb628

@kbkb628 kbkb628 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

改动

清理仓库中不适合公开分发的内部痕迹,并移除环境特定的硬编码:

  • packages/pi-extension:删除硬编码的 MiniMax Anthropic 代理地址 https://api.minimaxi.com/anthropic。Anthropic 的 baseUrl 覆盖改为纯 opt-in——仅当设置 ANTHROPIC_BASE_URL 环境变量或存在显式 provider overrides 时才注册;未配置时使用服务商标准端点。同步更新对应测试。
  • docs/coding-guide.md:移除个人机器路径 ~/coding/agentdev/finagent,改为通用的 cd folio。
  • docs/v2-plan.md:标题由 "Internal Plan" 改为 "Historical Plan (superseded)"。
  • docs/design-comparison.md:移除内部 Stitch 项目 ID(projects/4232596277189541114)。
  • artifacts/motion-pilot/:删除内部设计评审记录及 19 张前后对比截图(约 1.9MB)。

验证

  • pi-extension tsc --noEmit 干净
  • bun test packages/pi-extension 18 通过 / 0 失败

如果 MiniMax 默认代理是有意为之(面向特定运行时),可以只合并文档清理部分——告诉我即可拆分。

…titch project id, motion-pilot review) and drop hardcoded MiniMax anthropic default

- pi-extension: Anthropic base URL override is now opt-in via ANTHROPIC_BASE_URL;
  no vendor-specific proxy is baked in
- docs: coding-guide uses a generic project path; v2-plan labeled historical;
  design-comparison no longer references the internal Stitch project
- artifacts/motion-pilot (internal design review + screenshots) removed
@kbkb628
kbkb628 force-pushed the chore/internal-cleanup branch from 8a79948 to 48d8a24 Compare September 11, 2026 07:31
@kbkb628

kbkb628 commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator Author

关闭本 PR,不再合并 —— 分支已过期,按原样合并会回滚他人功能。

原因

本分支的文件版本缺少 main 后来加入的 registerResearchSynthesisGuard(研究合成期间禁用工具的安全护栏)。
若整文件合并,会把这个护栏一并删掉。

内容已按"小步、少文件"的方式分别落地到 main

commit 内容
d4fabcc docs: 去掉文档里的个人路径与内部项目标识(~/coding/agentdev/finagent、内部 Stitch 项目 id、Internal Plan 字样)
3eee5fb fix(pi-extension): Anthropic base URL 改为 opt-in,去掉硬编码的 api.minimaxi.com/anthropic 默认端点(含测试同步)

两笔推送后 pr.yml 的 Secret scan / Typecheck / Full unit tests 均通过。

有意保留的部分

artifacts/motion-pilot/** 的 19 个截图(约 2.2MB)不再删除:它们是 UI 评审(before/after)的历史证据,
仓库内没有任何引用(删除不会破坏链接,但也没有收益)。

如维护者希望瘦身这批资产,另开一条"只删资产"的小改动更合适,本 PR 不再承担。

@kbkb628 kbkb628 closed this Sep 14, 2026
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