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);