refactor(core/http): 7大通信底座客户端语义化全量重构与合思开放文档客户端纳管

- 彻底移除旧内部狭隘命名与垫片包袱,一步到位全仓整体重命名:
  * session-client.ts ➔ hose-web-session-client.ts (合思 Web 主站会话客户端)
  * script-engine-client.ts ➔ piper-workflow-client.ts (Piper 工作流引擎客户端)
  * unity-client.ts ➔ unity-easo-client.ts (Unity / EASO 运营中台与动态集群客户端)
  * sso-client.ts ➔ sso-auth-client.ts (SSO 与扫码鉴权客户端)
- 新增 hose-docs-client.ts 纳为第 7 大通信底座客户端,收口 docs.ekuaibao.com 文档站点通信
- 端正 Piper 工作流引擎定位,完整覆盖工作流创建、保存、发布、108 类节点编排与 Job 流转
- 彻底整体替换全仓 import 引用与测试套件,新增 clients-semantics.test.ts 自动化校验
- 全量自动化测试 150 files 1155 tests 全部通过,类型检查零错误
This commit is contained in:
gitea committed 2026-11-16 17:15:29 +08:00
1 parent 62b47f5ad7
commit 42bf0bfb0b
44 files changed
+400 -171

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@ import { join } from "node:path";
import { AuthenticationError } from "../errors.js";
import { CorpConfig, CredentialSource } from "../config/types.js";
import { saveCorpConfig, resolveWritableEnterprisesDir } from "../config/loader.js";
import { resolveCorpCluster, clearUnityClientCache } from "../http/unity-client.js";
import { clearScriptEngineClientCache } from "../http/script-engine-client.js";
import { resolveCorpCluster, clearUnityClientCache } from "../http/unity-easo-client.js";
import { clearScriptEngineClientCache } from "../http/piper-workflow-client.js";
import { clearCorpTokens } from "./token-store.js";
import {
DEFAULT_EKB_BASE_URL,
+1 -1
View File
@@ -4,7 +4,7 @@ import { join } from "node:path";
import { AuthenticationError } from "../errors.js";
import { CorpConfig, CorpConfigSchema } from "../config/types.js";
import { saveCorpConfig, resolveWritableEnterprisesDir } from "../config/loader.js";
import { resolveCorpCluster } from "../http/unity-client.js";
import { resolveCorpCluster } from "../http/unity-easo-client.js";
import {
DEFAULT_EKB_BASE_URL,
HoseOpenApiKeyItem,