@codexhost/cli-linux-arm64 0.18.0-beta.3 → 0.18.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +102 -57
- package/app/console-web.js +168 -123
- package/app/desktop-controller.mjs +292 -117
- package/app/host-runtime.mjs +5875 -3270
- package/app/plugins/antigravity/plugin.mjs +796 -307
- package/app/plugins/claude-code/plugin.mjs +214 -103
- package/app/plugins/codebuddy/plugin.mjs +108 -63
- package/app/plugins/codex-usage/plugin.mjs +94 -49
- package/app/plugins/copilot/plugin.mjs +99 -54
- package/app/plugins/cursor-cli/plugin.mjs +122 -77
- package/app/plugins/deepseek-harness/plugin.mjs +125 -80
- package/app/plugins/devin/plugin.mjs +99 -54
- package/app/plugins/grok/plugin.mjs +105 -60
- package/app/plugins/hermes/plugin.mjs +86 -41
- package/app/plugins/kimi-code/plugin.mjs +103 -58
- package/app/plugins/kiro-cli/plugin.mjs +99 -54
- package/app/plugins/omp/plugin.mjs +90 -45
- package/app/plugins/opencode/plugin.mjs +87 -42
- package/app/plugins/pi/plugin.mjs +103 -58
- package/app/plugins/qoder/plugin.mjs +115 -70
- package/app/plugins/qoder-cn/plugin.mjs +115 -70
- package/app/plugins/qwen-code/plugin.mjs +110 -65
- package/app/plugins/workbuddy/plugin.mjs +108 -63
- package/app/plugins/zcode/plugin.mjs +91 -46
- package/app/renderer-extension.js +362 -299
- package/app/web/assets/index-C0aXz2jD.js +199 -0
- package/app/web/codex-agent.png +0 -0
- package/app/web/codexhost-settings.js +163 -118
- package/app/web/index.html +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-gateway/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +61 -61
- package/app/web/plugins/deepseek-ai__dsh-client-connection/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +8 -8
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +63 -63
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +12 -12
- package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-permission-presets/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-settings/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +9 -13
- package/app/web/plugins.json +4 -0
- package/app/web/sw.js +1 -6
- package/app/web-modules/server.mjs +2443 -1345
- package/bin/codexhost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
- package/app/web/assets/index-aKvkfNJN.js +0 -199
|
@@ -12,9 +12,9 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
12
12
|
throw mod = 0, e;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
-
var __export = (
|
|
15
|
+
var __export = (target2, all) => {
|
|
16
16
|
for (var name in all)
|
|
17
|
-
__defProp(
|
|
17
|
+
__defProp(target2, name, { get: all[name], enumerable: true });
|
|
18
18
|
};
|
|
19
19
|
var __copyProps = (to3, from, except, desc) => {
|
|
20
20
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -24,12 +24,12 @@ var __copyProps = (to3, from, except, desc) => {
|
|
|
24
24
|
}
|
|
25
25
|
return to3;
|
|
26
26
|
};
|
|
27
|
-
var __toESM = (mod, isNodeMode,
|
|
27
|
+
var __toESM = (mod, isNodeMode, target2) => (target2 = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
28
28
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
29
29
|
// file that has been converted to a CommonJS file using a Babel-
|
|
30
30
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
31
31
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
32
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(
|
|
32
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target2, "default", { value: mod, enumerable: true }) : target2,
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
@@ -3649,57 +3649,57 @@ var require_fast_uri = __commonJS({
|
|
|
3649
3649
|
return serialize(resolved, schemelessOptions);
|
|
3650
3650
|
}
|
|
3651
3651
|
function resolveComponent(base, relative, options, skipNormalization) {
|
|
3652
|
-
const
|
|
3652
|
+
const target2 = {};
|
|
3653
3653
|
if (!skipNormalization) {
|
|
3654
3654
|
base = parse3(serialize(base, options), options);
|
|
3655
3655
|
relative = parse3(serialize(relative, options), options);
|
|
3656
3656
|
}
|
|
3657
3657
|
options = options || {};
|
|
3658
3658
|
if (!options.tolerant && relative.scheme) {
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3659
|
+
target2.scheme = relative.scheme;
|
|
3660
|
+
target2.userinfo = relative.userinfo;
|
|
3661
|
+
target2.host = relative.host;
|
|
3662
|
+
target2.port = relative.port;
|
|
3663
|
+
target2.path = removeDotSegments(relative.path || "");
|
|
3664
|
+
target2.query = relative.query;
|
|
3665
3665
|
} else {
|
|
3666
3666
|
if (relative.userinfo !== void 0 || relative.host !== void 0 || relative.port !== void 0) {
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3667
|
+
target2.userinfo = relative.userinfo;
|
|
3668
|
+
target2.host = relative.host;
|
|
3669
|
+
target2.port = relative.port;
|
|
3670
|
+
target2.path = removeDotSegments(relative.path || "");
|
|
3671
|
+
target2.query = relative.query;
|
|
3672
3672
|
} else {
|
|
3673
3673
|
if (!relative.path) {
|
|
3674
|
-
|
|
3674
|
+
target2.path = base.path;
|
|
3675
3675
|
if (relative.query !== void 0) {
|
|
3676
|
-
|
|
3676
|
+
target2.query = relative.query;
|
|
3677
3677
|
} else {
|
|
3678
|
-
|
|
3678
|
+
target2.query = base.query;
|
|
3679
3679
|
}
|
|
3680
3680
|
} else {
|
|
3681
3681
|
if (relative.path[0] === "/") {
|
|
3682
|
-
|
|
3682
|
+
target2.path = removeDotSegments(relative.path);
|
|
3683
3683
|
} else {
|
|
3684
3684
|
if ((base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0) && !base.path) {
|
|
3685
|
-
|
|
3685
|
+
target2.path = "/" + relative.path;
|
|
3686
3686
|
} else if (!base.path) {
|
|
3687
|
-
|
|
3687
|
+
target2.path = relative.path;
|
|
3688
3688
|
} else {
|
|
3689
|
-
|
|
3689
|
+
target2.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
|
|
3690
3690
|
}
|
|
3691
|
-
|
|
3691
|
+
target2.path = removeDotSegments(target2.path);
|
|
3692
3692
|
}
|
|
3693
|
-
|
|
3693
|
+
target2.query = relative.query;
|
|
3694
3694
|
}
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3695
|
+
target2.userinfo = base.userinfo;
|
|
3696
|
+
target2.host = base.host;
|
|
3697
|
+
target2.port = base.port;
|
|
3698
3698
|
}
|
|
3699
|
-
|
|
3699
|
+
target2.scheme = base.scheme;
|
|
3700
3700
|
}
|
|
3701
|
-
|
|
3702
|
-
return
|
|
3701
|
+
target2.fragment = relative.fragment;
|
|
3702
|
+
return target2;
|
|
3703
3703
|
}
|
|
3704
3704
|
function equal(uriA, uriB, options) {
|
|
3705
3705
|
const normalizedA = normalizeComparableURI(uriA, options);
|
|
@@ -13341,8 +13341,8 @@ function defineLazy(object3, key, getter) {
|
|
|
13341
13341
|
function objectClone(obj) {
|
|
13342
13342
|
return Object.create(Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj));
|
|
13343
13343
|
}
|
|
13344
|
-
function assignProp(
|
|
13345
|
-
Object.defineProperty(
|
|
13344
|
+
function assignProp(target2, prop, value) {
|
|
13345
|
+
Object.defineProperty(target2, prop, {
|
|
13346
13346
|
value,
|
|
13347
13347
|
writable: true,
|
|
13348
13348
|
enumerable: true,
|
|
@@ -13525,35 +13525,35 @@ function normalizeParams(_params) {
|
|
|
13525
13525
|
return params;
|
|
13526
13526
|
}
|
|
13527
13527
|
function createTransparentProxy(getter) {
|
|
13528
|
-
let
|
|
13528
|
+
let target2;
|
|
13529
13529
|
return new Proxy({}, {
|
|
13530
13530
|
get(_, prop, receiver) {
|
|
13531
|
-
|
|
13532
|
-
return Reflect.get(
|
|
13531
|
+
target2 ?? (target2 = getter());
|
|
13532
|
+
return Reflect.get(target2, prop, receiver);
|
|
13533
13533
|
},
|
|
13534
13534
|
set(_, prop, value, receiver) {
|
|
13535
|
-
|
|
13536
|
-
return Reflect.set(
|
|
13535
|
+
target2 ?? (target2 = getter());
|
|
13536
|
+
return Reflect.set(target2, prop, value, receiver);
|
|
13537
13537
|
},
|
|
13538
13538
|
has(_, prop) {
|
|
13539
|
-
|
|
13540
|
-
return Reflect.has(
|
|
13539
|
+
target2 ?? (target2 = getter());
|
|
13540
|
+
return Reflect.has(target2, prop);
|
|
13541
13541
|
},
|
|
13542
13542
|
deleteProperty(_, prop) {
|
|
13543
|
-
|
|
13544
|
-
return Reflect.deleteProperty(
|
|
13543
|
+
target2 ?? (target2 = getter());
|
|
13544
|
+
return Reflect.deleteProperty(target2, prop);
|
|
13545
13545
|
},
|
|
13546
13546
|
ownKeys(_) {
|
|
13547
|
-
|
|
13548
|
-
return Reflect.ownKeys(
|
|
13547
|
+
target2 ?? (target2 = getter());
|
|
13548
|
+
return Reflect.ownKeys(target2);
|
|
13549
13549
|
},
|
|
13550
13550
|
getOwnPropertyDescriptor(_, prop) {
|
|
13551
|
-
|
|
13552
|
-
return Reflect.getOwnPropertyDescriptor(
|
|
13551
|
+
target2 ?? (target2 = getter());
|
|
13552
|
+
return Reflect.getOwnPropertyDescriptor(target2, prop);
|
|
13553
13553
|
},
|
|
13554
13554
|
defineProperty(_, prop, descriptor) {
|
|
13555
|
-
|
|
13556
|
-
return Reflect.defineProperty(
|
|
13555
|
+
target2 ?? (target2 = getter());
|
|
13556
|
+
return Reflect.defineProperty(target2, prop, descriptor);
|
|
13557
13557
|
}
|
|
13558
13558
|
});
|
|
13559
13559
|
}
|
|
@@ -24005,15 +24005,15 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
24005
24005
|
|
|
24006
24006
|
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
24007
24007
|
function initializeContext(params) {
|
|
24008
|
-
let
|
|
24009
|
-
if (
|
|
24010
|
-
|
|
24011
|
-
if (
|
|
24012
|
-
|
|
24008
|
+
let target2 = params?.target ?? "draft-2020-12";
|
|
24009
|
+
if (target2 === "draft-4")
|
|
24010
|
+
target2 = "draft-04";
|
|
24011
|
+
if (target2 === "draft-7")
|
|
24012
|
+
target2 = "draft-07";
|
|
24013
24013
|
return {
|
|
24014
24014
|
processors: params.processors ?? {},
|
|
24015
24015
|
metadataRegistry: params?.metadata ?? globalRegistry,
|
|
24016
|
-
target,
|
|
24016
|
+
target: target2,
|
|
24017
24017
|
unrepresentable: params?.unrepresentable ?? "throw",
|
|
24018
24018
|
override: params?.override ?? (() => {
|
|
24019
24019
|
}),
|
|
@@ -24355,8 +24355,8 @@ var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
|
24355
24355
|
return finalize(ctx, schema);
|
|
24356
24356
|
};
|
|
24357
24357
|
var createStandardJSONSchemaMethod = (schema, io3, processors = {}) => (params) => {
|
|
24358
|
-
const { libraryOptions, target } = params ?? {};
|
|
24359
|
-
const ctx = initializeContext({ ...libraryOptions ?? {}, target, io: io3, processors });
|
|
24358
|
+
const { libraryOptions, target: target2 } = params ?? {};
|
|
24359
|
+
const ctx = initializeContext({ ...libraryOptions ?? {}, target: target2, io: io3, processors });
|
|
24360
24360
|
process2(schema, ctx);
|
|
24361
24361
|
extractDefs(ctx, schema);
|
|
24362
24362
|
return finalize(ctx, schema);
|
|
@@ -25415,8 +25415,8 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
25415
25415
|
catch(params) {
|
|
25416
25416
|
return _catch2(this, params);
|
|
25417
25417
|
},
|
|
25418
|
-
pipe(
|
|
25419
|
-
return pipe(this,
|
|
25418
|
+
pipe(target2) {
|
|
25419
|
+
return pipe(this, target2);
|
|
25420
25420
|
},
|
|
25421
25421
|
readonly() {
|
|
25422
25422
|
return readonly(this);
|
|
@@ -27646,15 +27646,15 @@ var threadOwnershipListResultSchema = external_exports.object({
|
|
|
27646
27646
|
threads: external_exports.array(threadOwnershipSchema).min(1).max(THREAD_OWNERSHIP_LIST_MAX_LENGTH)
|
|
27647
27647
|
}).strict().superRefine(({ threads }, context) => {
|
|
27648
27648
|
const seen = /* @__PURE__ */ new Set();
|
|
27649
|
-
for (const [index,
|
|
27650
|
-
if (seen.has(
|
|
27649
|
+
for (const [index, thread2] of threads.entries()) {
|
|
27650
|
+
if (seen.has(thread2.threadId)) {
|
|
27651
27651
|
context.addIssue({
|
|
27652
27652
|
code: "custom",
|
|
27653
27653
|
message: "Thread ownership-list results must be unique",
|
|
27654
27654
|
path: ["threads", index, "threadId"]
|
|
27655
27655
|
});
|
|
27656
27656
|
}
|
|
27657
|
-
seen.add(
|
|
27657
|
+
seen.add(thread2.threadId);
|
|
27658
27658
|
}
|
|
27659
27659
|
});
|
|
27660
27660
|
var threadSteeringInspectParamsSchema = external_exports.object({
|
|
@@ -27863,13 +27863,18 @@ var clientChannelResponseSchema = external_exports.object({
|
|
|
27863
27863
|
});
|
|
27864
27864
|
|
|
27865
27865
|
// ../../shared-contracts/dist/thread-catalog.js
|
|
27866
|
-
var threadCatalogReadParamsSchema = external_exports.object({
|
|
27866
|
+
var threadCatalogReadParamsSchema = external_exports.object({
|
|
27867
|
+
includeArchived: external_exports.boolean().optional(),
|
|
27868
|
+
/** Absent means first page; null means this branch is exhausted. Native cursors only. */
|
|
27869
|
+
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional()
|
|
27870
|
+
}).strict();
|
|
27867
27871
|
var threadCatalogReadResultSchema = external_exports.object({
|
|
27868
27872
|
threads: external_exports.array(jsonObjectSchema),
|
|
27869
27873
|
ownership: external_exports.array(threadOwnershipSchema),
|
|
27870
27874
|
/** Known archived IDs, including visible local external records even when their rows are
|
|
27871
|
-
* excluded. Native archived IDs
|
|
27872
|
-
archivedThreadIds: external_exports.array(hostThreadIdSchema)
|
|
27875
|
+
* excluded. Native archived IDs describe only the returned page, never a complete set. */
|
|
27876
|
+
archivedThreadIds: external_exports.array(hostThreadIdSchema),
|
|
27877
|
+
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional()
|
|
27873
27878
|
}).strict();
|
|
27874
27879
|
|
|
27875
27880
|
// ../../shared-contracts/dist/voice.js
|
|
@@ -28084,7 +28089,7 @@ var idleReleaseSettingsSchema = external_exports.strictObject({
|
|
|
28084
28089
|
});
|
|
28085
28090
|
var DEFAULT_IDLE_RELEASE_SETTINGS = Object.freeze({
|
|
28086
28091
|
enabled: false,
|
|
28087
|
-
timeoutMinutes:
|
|
28092
|
+
timeoutMinutes: 10
|
|
28088
28093
|
});
|
|
28089
28094
|
|
|
28090
28095
|
// ../../shared-contracts/dist/harness-preferences.js
|
|
@@ -28987,6 +28992,44 @@ var remoteSshSetupParamsSchema = external_exports.object({
|
|
|
28987
28992
|
}).strict();
|
|
28988
28993
|
var remoteSshSetupResultSchema = external_exports.object({ state: external_exports.enum(["installed", "not-installed"]) }).strict();
|
|
28989
28994
|
|
|
28995
|
+
// ../../shared-contracts/dist/remote-sessions.js
|
|
28996
|
+
var REMOTE_CONTROLLER_REQUEST_MAX_BYTES = 16 * 1024;
|
|
28997
|
+
var identity = external_exports.string().min(1).max(1024);
|
|
28998
|
+
var target = { hostId: identity.regex(/^remote-(?:ssh(?:-|:)|control:)/u) };
|
|
28999
|
+
var thread = { ...target, threadId: identity };
|
|
29000
|
+
var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
29001
|
+
external_exports.strictObject({ kind: external_exports.literal("hosts") }),
|
|
29002
|
+
external_exports.strictObject({
|
|
29003
|
+
kind: external_exports.literal("list"),
|
|
29004
|
+
...target,
|
|
29005
|
+
cursor: external_exports.string().nullable(),
|
|
29006
|
+
archived: external_exports.boolean()
|
|
29007
|
+
}),
|
|
29008
|
+
external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
|
|
29009
|
+
external_exports.strictObject({
|
|
29010
|
+
kind: external_exports.literal("prompt"),
|
|
29011
|
+
...thread,
|
|
29012
|
+
epoch: identity,
|
|
29013
|
+
text: external_exports.string().min(1).max(8e3),
|
|
29014
|
+
requestId: identity.optional()
|
|
29015
|
+
}),
|
|
29016
|
+
external_exports.strictObject({ kind: external_exports.literal("interrupt"), ...thread, epoch: identity, turnId: identity }),
|
|
29017
|
+
external_exports.strictObject({
|
|
29018
|
+
kind: external_exports.literal("rename"),
|
|
29019
|
+
...thread,
|
|
29020
|
+
epoch: identity,
|
|
29021
|
+
name: external_exports.string().min(1).max(512)
|
|
29022
|
+
}),
|
|
29023
|
+
external_exports.strictObject({ kind: external_exports.literal("archive"), ...thread, epoch: identity, archived: external_exports.boolean() }),
|
|
29024
|
+
external_exports.strictObject({
|
|
29025
|
+
kind: external_exports.literal("respond"),
|
|
29026
|
+
...thread,
|
|
29027
|
+
epoch: identity,
|
|
29028
|
+
requestId: external_exports.union([identity, external_exports.number().int()]),
|
|
29029
|
+
result: external_exports.record(external_exports.string(), external_exports.unknown())
|
|
29030
|
+
})
|
|
29031
|
+
]);
|
|
29032
|
+
|
|
28990
29033
|
// ../../shared-contracts/dist/remote-connections.js
|
|
28991
29034
|
var hostId = external_exports.string().min(1).max(1024);
|
|
28992
29035
|
var codexSshConnectionSchema = external_exports.object({
|
|
@@ -29007,7 +29050,9 @@ var codexSshDraftSchema = external_exports.strictObject({
|
|
|
29007
29050
|
identity: external_exports.string().max(4096).nullable()
|
|
29008
29051
|
});
|
|
29009
29052
|
var remoteConnectionsRequestSchema = external_exports.discriminatedUnion("action", [
|
|
29053
|
+
external_exports.strictObject({ action: external_exports.literal("session"), operation: remoteSessionOperationSchema }),
|
|
29010
29054
|
external_exports.strictObject({ action: external_exports.literal("list") }),
|
|
29055
|
+
external_exports.strictObject({ action: external_exports.literal("catalog") }),
|
|
29011
29056
|
external_exports.strictObject({
|
|
29012
29057
|
action: external_exports.literal("read-thread"),
|
|
29013
29058
|
hostId: hostId.refine((id3) => id3 !== "local"),
|
|
@@ -29560,9 +29605,9 @@ function creditAmount(used, limit, unit) {
|
|
|
29560
29605
|
unit: typeof unit === "string" && unit.trim() ? unit : "credits"
|
|
29561
29606
|
};
|
|
29562
29607
|
}
|
|
29563
|
-
function projectQoderAccount(usage,
|
|
29608
|
+
function projectQoderAccount(usage, identity2) {
|
|
29564
29609
|
const data = record3(usage);
|
|
29565
|
-
const account = record3(
|
|
29610
|
+
const account = record3(identity2);
|
|
29566
29611
|
const quota = record3(data.userQuota);
|
|
29567
29612
|
const shared = record3(data.orgResourcePackage);
|
|
29568
29613
|
const nativePercent = quota.percentage ?? data.totalUsagePercentage;
|
|
@@ -31739,8 +31784,8 @@ var ZodType2 = class {
|
|
|
31739
31784
|
description
|
|
31740
31785
|
});
|
|
31741
31786
|
}
|
|
31742
|
-
pipe(
|
|
31743
|
-
return ZodPipeline.create(this,
|
|
31787
|
+
pipe(target2) {
|
|
31788
|
+
return ZodPipeline.create(this, target2);
|
|
31744
31789
|
}
|
|
31745
31790
|
readonly() {
|
|
31746
31791
|
return ZodReadonly2.create(this);
|
|
@@ -54837,7 +54882,7 @@ var QoderAdapter = class {
|
|
|
54837
54882
|
}
|
|
54838
54883
|
});
|
|
54839
54884
|
return await Promise.race([
|
|
54840
|
-
Promise.all([probe.getUsageInfo?.(), probe.accountInfo?.().catch(() => void 0)]).then(([usage,
|
|
54885
|
+
Promise.all([probe.getUsageInfo?.(), probe.accountInfo?.().catch(() => void 0)]).then(([usage, identity2]) => projectQoderAccount(usage, identity2)),
|
|
54841
54886
|
new Promise((resolve) => {
|
|
54842
54887
|
timer = setTimeout(() => resolve(null), 1e4);
|
|
54843
54888
|
})
|