feat(assist-platform): adapt to live assist backend query and id dialect

- Support filterBy in corporation search for server-side name/id resolution
- Normalize corporation ID with leading dollar prefix for detail and ticket endpoints
- Include required query object in ticket search payloads
- Improve ticket status mapping for live numeric states
- Rebuild plugin mcp bundle
This commit is contained in:
gitea committed 2026-10-21 10:44:27 +08:00
1 parent 37cf784ba1
commit 35552944d1
6 files changed
+47 -17

No files matched your search

+3 -2
View File
@@ -155,10 +155,11 @@ export async function fetchHoseOpenApiAccessToken(params: {
);
}
const token = res.value?.accessToken ?? res.accessToken ?? res.token;
if (!token) {
const rawToken = res.value?.accessToken ?? res.accessToken ?? res.token;
if (!rawToken) {
throw new AuthenticationError("合思 OpenAPI getAccessToken 未返回有效 accessToken");
}
const token = decodeURIComponent(rawToken);
openapiV1TokenCache.set(cacheKey, {
token,