feat: 完善账号管理与扩展体验
CI / config (push) Canceled after 0s
CI / test-frontend (push) Canceled after 0s
CI / test-rust (push) Canceled after 0s
CI / test-e2e (push) Canceled after 0s
CI / test-e2e-release (push) Canceled after 0s
CI / build (push) Canceled after 0s
CI / release (push) Canceled after 0s
CI / docker (push) Canceled after 0s
CI / docker-website (push) Canceled after 0s
CI / config (push) Canceled after 0s
CI / test-frontend (push) Canceled after 0s
CI / test-rust (push) Canceled after 0s
CI / test-e2e (push) Canceled after 0s
CI / test-e2e-release (push) Canceled after 0s
CI / build (push) Canceled after 0s
CI / release (push) Canceled after 0s
CI / docker (push) Canceled after 0s
CI / docker-website (push) Canceled after 0s
补齐普通用户自助账号、中文设置与快捷键提示,修复大型扩展安装和移动端弹窗,并按服务器能力限制不兼容扩展。 Co-Authored-By: Codex <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,16 @@ export function getVersion(): Promise<string> {
|
||||
return syscall("system.getVersion");
|
||||
}
|
||||
|
||||
export type SystemCapabilities = {
|
||||
shell: boolean;
|
||||
runtimeApi: boolean;
|
||||
};
|
||||
|
||||
/** Returns optional server capabilities available to the current space. */
|
||||
export function getCapabilities(): Promise<SystemCapabilities> {
|
||||
return syscall("system.getCapabilities");
|
||||
}
|
||||
|
||||
export function getConfig<T = any>(
|
||||
key: string,
|
||||
defaultValue: any = undefined,
|
||||
|
||||
Reference in New Issue
Block a user