feat(assist-platform): add assist platform automation and tenant onboarding

- Add SSO QR status poller and assist platform HTTP client
- Add assist-platform session store with 0600 secure permissions
- Implement domains/assist-platform (api, services, types) for corporation search, detail, tickets, staff query and passwordless token generation
- Implement cli/commands/assist-platform with aliases assist-center and ap
- Support seamless --save --switch --elevate pipeline to import tenant and extract persistent OpenAPI credentials
- Update embedded skill documentation, reference guide, and test suites
This commit is contained in:
gitea committed 2026-10-21 10:33:27 +08:00
1 parent d839fcbe2b
commit ed9fa979e0
25 files changed
+1811 -2

No files matched your search

+3 -1
View File
@@ -38,6 +38,8 @@ describe("embedded-skill - 多文件内嵌 Skill 体系", () => {
expect(EMBEDDED_SKILL_FILES["references/feetype.md"]).toContain("feetype");
expect(EMBEDDED_SKILL_FILES["references/store.md"]).toBeDefined();
expect(EMBEDDED_SKILL_FILES["references/store.md"]).toContain("hose-use keys");
expect(EMBEDDED_SKILL_FILES["references/assist-platform.md"]).toBeDefined();
expect(EMBEDDED_SKILL_FILES["references/assist-platform.md"]).toContain("assist-platform");
expect(EMBEDDED_SKILL_FILES["SKILL.md"]).toContain("--reveal -o <path>");
expect(EMBEDDED_SKILL_FILES["SKILL.md"]).toContain("references/store.md");
@@ -54,7 +56,7 @@ describe("embedded-skill - 多文件内嵌 Skill 体系", () => {
try {
const res = installSkillFiles(tmp);
expect(res.targetDir).toBe(tmp);
expect(res.files.length).toBe(18);
expect(res.files.length).toBe(19);
expect(existsSync(join(tmp, "SKILL.md"))).toBe(true);
expect(existsSync(join(tmp, "agents", "openai.yaml"))).toBe(true);
expect(existsSync(join(tmp, "references", "auth.md"))).toBe(true);
+2
View File
@@ -16,6 +16,7 @@ import refRole from "../../skills/hose-use/references/role.md" with { type: "tex
import refApproval from "../../skills/hose-use/references/approval.md" with { type: "text" };
import refFeeType from "../../skills/hose-use/references/feetype.md" with { type: "text" };
import refStore from "../../skills/hose-use/references/store.md" with { type: "text" };
import refAssistPlatform from "../../skills/hose-use/references/assist-platform.md" with { type: "text" };
import multiMvel from "../../skills/hose-use/multi/ekuaibao-mvel/SKILL.md" with { type: "text" };
import multiMvelAgent from "../../skills/hose-use/multi/ekuaibao-mvel/agents/openai.yaml" with { type: "text" };
import multiNodes from "../../skills/hose-use/multi/ekuaibao-nodes/SKILL.md" with { type: "text" };
@@ -36,6 +37,7 @@ export const EMBEDDED_SKILL_FILES: Record<string, string> = {
"references/workflow.md": refWorkflow,
"references/service.md": refService,
"references/store.md": refStore,
"references/assist-platform.md": refAssistPlatform,
"multi/ekuaibao-mvel/SKILL.md": multiMvel,
"multi/ekuaibao-mvel/agents/openai.yaml": multiMvelAgent,
"multi/ekuaibao-nodes/SKILL.md": multiNodes,