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

+6
View File
@@ -26,6 +26,7 @@ import { handleContextCommand } from "./commands/context.js";
import { handleKeysCommand } from "./commands/keys.js";
import { handleStoreCommand } from "./commands/store.js";
import { handleFeeTypeCommand } from "./commands/feetype.js";
import { handleAssistPlatformCommand } from "./commands/assist-platform/index.js";
import { COMMAND_METADATA, type CliCommandMetadata } from "./command-metadata.js";
import type { CliParsedArgs, CliResult, CliRunOptions, CliRuntime } from "./types.js";
@@ -195,6 +196,11 @@ export const CLI_COMMAND_REGISTRY: readonly CliCommandDefinition[] = [
standing: true,
handler: (parsed, _runtime, options) => handleMcpCommand(parsed, options),
},
{
area: "assist-platform",
...COMMAND_METADATA["assist-platform"],
handler: (parsed, runtime) => handleAssistPlatformCommand(parsed, runtime),
},
];
const COMMAND_LOOKUP = new Map<string, CliCommandDefinition>();