@codexhost/cli-darwin-x64 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);
|
|
@@ -13744,8 +13744,8 @@ function defineLazy(object3, key, getter) {
|
|
|
13744
13744
|
function objectClone(obj) {
|
|
13745
13745
|
return Object.create(Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj));
|
|
13746
13746
|
}
|
|
13747
|
-
function assignProp(
|
|
13748
|
-
Object.defineProperty(
|
|
13747
|
+
function assignProp(target2, prop, value) {
|
|
13748
|
+
Object.defineProperty(target2, prop, {
|
|
13749
13749
|
value,
|
|
13750
13750
|
writable: true,
|
|
13751
13751
|
enumerable: true,
|
|
@@ -13928,35 +13928,35 @@ function normalizeParams(_params) {
|
|
|
13928
13928
|
return params;
|
|
13929
13929
|
}
|
|
13930
13930
|
function createTransparentProxy(getter) {
|
|
13931
|
-
let
|
|
13931
|
+
let target2;
|
|
13932
13932
|
return new Proxy({}, {
|
|
13933
13933
|
get(_, prop, receiver) {
|
|
13934
|
-
|
|
13935
|
-
return Reflect.get(
|
|
13934
|
+
target2 ?? (target2 = getter());
|
|
13935
|
+
return Reflect.get(target2, prop, receiver);
|
|
13936
13936
|
},
|
|
13937
13937
|
set(_, prop, value, receiver) {
|
|
13938
|
-
|
|
13939
|
-
return Reflect.set(
|
|
13938
|
+
target2 ?? (target2 = getter());
|
|
13939
|
+
return Reflect.set(target2, prop, value, receiver);
|
|
13940
13940
|
},
|
|
13941
13941
|
has(_, prop) {
|
|
13942
|
-
|
|
13943
|
-
return Reflect.has(
|
|
13942
|
+
target2 ?? (target2 = getter());
|
|
13943
|
+
return Reflect.has(target2, prop);
|
|
13944
13944
|
},
|
|
13945
13945
|
deleteProperty(_, prop) {
|
|
13946
|
-
|
|
13947
|
-
return Reflect.deleteProperty(
|
|
13946
|
+
target2 ?? (target2 = getter());
|
|
13947
|
+
return Reflect.deleteProperty(target2, prop);
|
|
13948
13948
|
},
|
|
13949
13949
|
ownKeys(_) {
|
|
13950
|
-
|
|
13951
|
-
return Reflect.ownKeys(
|
|
13950
|
+
target2 ?? (target2 = getter());
|
|
13951
|
+
return Reflect.ownKeys(target2);
|
|
13952
13952
|
},
|
|
13953
13953
|
getOwnPropertyDescriptor(_, prop) {
|
|
13954
|
-
|
|
13955
|
-
return Reflect.getOwnPropertyDescriptor(
|
|
13954
|
+
target2 ?? (target2 = getter());
|
|
13955
|
+
return Reflect.getOwnPropertyDescriptor(target2, prop);
|
|
13956
13956
|
},
|
|
13957
13957
|
defineProperty(_, prop, descriptor) {
|
|
13958
|
-
|
|
13959
|
-
return Reflect.defineProperty(
|
|
13958
|
+
target2 ?? (target2 = getter());
|
|
13959
|
+
return Reflect.defineProperty(target2, prop, descriptor);
|
|
13960
13960
|
}
|
|
13961
13961
|
});
|
|
13962
13962
|
}
|
|
@@ -24408,15 +24408,15 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
24408
24408
|
|
|
24409
24409
|
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
24410
24410
|
function initializeContext(params) {
|
|
24411
|
-
let
|
|
24412
|
-
if (
|
|
24413
|
-
|
|
24414
|
-
if (
|
|
24415
|
-
|
|
24411
|
+
let target2 = params?.target ?? "draft-2020-12";
|
|
24412
|
+
if (target2 === "draft-4")
|
|
24413
|
+
target2 = "draft-04";
|
|
24414
|
+
if (target2 === "draft-7")
|
|
24415
|
+
target2 = "draft-07";
|
|
24416
24416
|
return {
|
|
24417
24417
|
processors: params.processors ?? {},
|
|
24418
24418
|
metadataRegistry: params?.metadata ?? globalRegistry,
|
|
24419
|
-
target,
|
|
24419
|
+
target: target2,
|
|
24420
24420
|
unrepresentable: params?.unrepresentable ?? "throw",
|
|
24421
24421
|
override: params?.override ?? (() => {
|
|
24422
24422
|
}),
|
|
@@ -24758,8 +24758,8 @@ var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
|
24758
24758
|
return finalize(ctx, schema);
|
|
24759
24759
|
};
|
|
24760
24760
|
var createStandardJSONSchemaMethod = (schema, io3, processors = {}) => (params) => {
|
|
24761
|
-
const { libraryOptions, target } = params ?? {};
|
|
24762
|
-
const ctx = initializeContext({ ...libraryOptions ?? {}, target, io: io3, processors });
|
|
24761
|
+
const { libraryOptions, target: target2 } = params ?? {};
|
|
24762
|
+
const ctx = initializeContext({ ...libraryOptions ?? {}, target: target2, io: io3, processors });
|
|
24763
24763
|
process2(schema, ctx);
|
|
24764
24764
|
extractDefs(ctx, schema);
|
|
24765
24765
|
return finalize(ctx, schema);
|
|
@@ -25818,8 +25818,8 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
25818
25818
|
catch(params) {
|
|
25819
25819
|
return _catch2(this, params);
|
|
25820
25820
|
},
|
|
25821
|
-
pipe(
|
|
25822
|
-
return pipe(this,
|
|
25821
|
+
pipe(target2) {
|
|
25822
|
+
return pipe(this, target2);
|
|
25823
25823
|
},
|
|
25824
25824
|
readonly() {
|
|
25825
25825
|
return readonly(this);
|
|
@@ -28049,15 +28049,15 @@ var threadOwnershipListResultSchema = external_exports.object({
|
|
|
28049
28049
|
threads: external_exports.array(threadOwnershipSchema).min(1).max(THREAD_OWNERSHIP_LIST_MAX_LENGTH)
|
|
28050
28050
|
}).strict().superRefine(({ threads }, context) => {
|
|
28051
28051
|
const seen = /* @__PURE__ */ new Set();
|
|
28052
|
-
for (const [index,
|
|
28053
|
-
if (seen.has(
|
|
28052
|
+
for (const [index, thread2] of threads.entries()) {
|
|
28053
|
+
if (seen.has(thread2.threadId)) {
|
|
28054
28054
|
context.addIssue({
|
|
28055
28055
|
code: "custom",
|
|
28056
28056
|
message: "Thread ownership-list results must be unique",
|
|
28057
28057
|
path: ["threads", index, "threadId"]
|
|
28058
28058
|
});
|
|
28059
28059
|
}
|
|
28060
|
-
seen.add(
|
|
28060
|
+
seen.add(thread2.threadId);
|
|
28061
28061
|
}
|
|
28062
28062
|
});
|
|
28063
28063
|
var threadSteeringInspectParamsSchema = external_exports.object({
|
|
@@ -28266,13 +28266,18 @@ var clientChannelResponseSchema = external_exports.object({
|
|
|
28266
28266
|
});
|
|
28267
28267
|
|
|
28268
28268
|
// ../../shared-contracts/dist/thread-catalog.js
|
|
28269
|
-
var threadCatalogReadParamsSchema = external_exports.object({
|
|
28269
|
+
var threadCatalogReadParamsSchema = external_exports.object({
|
|
28270
|
+
includeArchived: external_exports.boolean().optional(),
|
|
28271
|
+
/** Absent means first page; null means this branch is exhausted. Native cursors only. */
|
|
28272
|
+
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional()
|
|
28273
|
+
}).strict();
|
|
28270
28274
|
var threadCatalogReadResultSchema = external_exports.object({
|
|
28271
28275
|
threads: external_exports.array(jsonObjectSchema),
|
|
28272
28276
|
ownership: external_exports.array(threadOwnershipSchema),
|
|
28273
28277
|
/** Known archived IDs, including visible local external records even when their rows are
|
|
28274
|
-
* excluded. Native archived IDs
|
|
28275
|
-
archivedThreadIds: external_exports.array(hostThreadIdSchema)
|
|
28278
|
+
* excluded. Native archived IDs describe only the returned page, never a complete set. */
|
|
28279
|
+
archivedThreadIds: external_exports.array(hostThreadIdSchema),
|
|
28280
|
+
officialCursor: external_exports.object({ live: external_exports.string().nullable(), archived: external_exports.string().nullable().optional() }).strict().optional()
|
|
28276
28281
|
}).strict();
|
|
28277
28282
|
|
|
28278
28283
|
// ../../shared-contracts/dist/voice.js
|
|
@@ -28487,7 +28492,7 @@ var idleReleaseSettingsSchema = external_exports.strictObject({
|
|
|
28487
28492
|
});
|
|
28488
28493
|
var DEFAULT_IDLE_RELEASE_SETTINGS = Object.freeze({
|
|
28489
28494
|
enabled: false,
|
|
28490
|
-
timeoutMinutes:
|
|
28495
|
+
timeoutMinutes: 10
|
|
28491
28496
|
});
|
|
28492
28497
|
|
|
28493
28498
|
// ../../shared-contracts/dist/harness-preferences.js
|
|
@@ -29390,6 +29395,44 @@ var remoteSshSetupParamsSchema = external_exports.object({
|
|
|
29390
29395
|
}).strict();
|
|
29391
29396
|
var remoteSshSetupResultSchema = external_exports.object({ state: external_exports.enum(["installed", "not-installed"]) }).strict();
|
|
29392
29397
|
|
|
29398
|
+
// ../../shared-contracts/dist/remote-sessions.js
|
|
29399
|
+
var REMOTE_CONTROLLER_REQUEST_MAX_BYTES = 16 * 1024;
|
|
29400
|
+
var identity = external_exports.string().min(1).max(1024);
|
|
29401
|
+
var target = { hostId: identity.regex(/^remote-(?:ssh(?:-|:)|control:)/u) };
|
|
29402
|
+
var thread = { ...target, threadId: identity };
|
|
29403
|
+
var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
29404
|
+
external_exports.strictObject({ kind: external_exports.literal("hosts") }),
|
|
29405
|
+
external_exports.strictObject({
|
|
29406
|
+
kind: external_exports.literal("list"),
|
|
29407
|
+
...target,
|
|
29408
|
+
cursor: external_exports.string().nullable(),
|
|
29409
|
+
archived: external_exports.boolean()
|
|
29410
|
+
}),
|
|
29411
|
+
external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
|
|
29412
|
+
external_exports.strictObject({
|
|
29413
|
+
kind: external_exports.literal("prompt"),
|
|
29414
|
+
...thread,
|
|
29415
|
+
epoch: identity,
|
|
29416
|
+
text: external_exports.string().min(1).max(8e3),
|
|
29417
|
+
requestId: identity.optional()
|
|
29418
|
+
}),
|
|
29419
|
+
external_exports.strictObject({ kind: external_exports.literal("interrupt"), ...thread, epoch: identity, turnId: identity }),
|
|
29420
|
+
external_exports.strictObject({
|
|
29421
|
+
kind: external_exports.literal("rename"),
|
|
29422
|
+
...thread,
|
|
29423
|
+
epoch: identity,
|
|
29424
|
+
name: external_exports.string().min(1).max(512)
|
|
29425
|
+
}),
|
|
29426
|
+
external_exports.strictObject({ kind: external_exports.literal("archive"), ...thread, epoch: identity, archived: external_exports.boolean() }),
|
|
29427
|
+
external_exports.strictObject({
|
|
29428
|
+
kind: external_exports.literal("respond"),
|
|
29429
|
+
...thread,
|
|
29430
|
+
epoch: identity,
|
|
29431
|
+
requestId: external_exports.union([identity, external_exports.number().int()]),
|
|
29432
|
+
result: external_exports.record(external_exports.string(), external_exports.unknown())
|
|
29433
|
+
})
|
|
29434
|
+
]);
|
|
29435
|
+
|
|
29393
29436
|
// ../../shared-contracts/dist/remote-connections.js
|
|
29394
29437
|
var hostId = external_exports.string().min(1).max(1024);
|
|
29395
29438
|
var codexSshConnectionSchema = external_exports.object({
|
|
@@ -29410,7 +29453,9 @@ var codexSshDraftSchema = external_exports.strictObject({
|
|
|
29410
29453
|
identity: external_exports.string().max(4096).nullable()
|
|
29411
29454
|
});
|
|
29412
29455
|
var remoteConnectionsRequestSchema = external_exports.discriminatedUnion("action", [
|
|
29456
|
+
external_exports.strictObject({ action: external_exports.literal("session"), operation: remoteSessionOperationSchema }),
|
|
29413
29457
|
external_exports.strictObject({ action: external_exports.literal("list") }),
|
|
29458
|
+
external_exports.strictObject({ action: external_exports.literal("catalog") }),
|
|
29414
29459
|
external_exports.strictObject({
|
|
29415
29460
|
action: external_exports.literal("read-thread"),
|
|
29416
29461
|
hostId: hostId.refine((id3) => id3 !== "local"),
|
|
@@ -29558,9 +29603,9 @@ function creditAmount(used, limit, unit) {
|
|
|
29558
29603
|
unit: typeof unit === "string" && unit.trim() ? unit : "credits"
|
|
29559
29604
|
};
|
|
29560
29605
|
}
|
|
29561
|
-
function projectQoderAccount(usage,
|
|
29606
|
+
function projectQoderAccount(usage, identity2) {
|
|
29562
29607
|
const data = record3(usage);
|
|
29563
|
-
const account = record3(
|
|
29608
|
+
const account = record3(identity2);
|
|
29564
29609
|
const quota = record3(data.userQuota);
|
|
29565
29610
|
const shared = record3(data.orgResourcePackage);
|
|
29566
29611
|
const nativePercent = quota.percentage ?? data.totalUsagePercentage;
|
|
@@ -31737,8 +31782,8 @@ var ZodType2 = class {
|
|
|
31737
31782
|
description
|
|
31738
31783
|
});
|
|
31739
31784
|
}
|
|
31740
|
-
pipe(
|
|
31741
|
-
return ZodPipeline.create(this,
|
|
31785
|
+
pipe(target2) {
|
|
31786
|
+
return ZodPipeline.create(this, target2);
|
|
31742
31787
|
}
|
|
31743
31788
|
readonly() {
|
|
31744
31789
|
return ZodReadonly2.create(this);
|
|
@@ -54835,7 +54880,7 @@ var QoderAdapter = class {
|
|
|
54835
54880
|
}
|
|
54836
54881
|
});
|
|
54837
54882
|
return await Promise.race([
|
|
54838
|
-
Promise.all([probe.getUsageInfo?.(), probe.accountInfo?.().catch(() => void 0)]).then(([usage,
|
|
54883
|
+
Promise.all([probe.getUsageInfo?.(), probe.accountInfo?.().catch(() => void 0)]).then(([usage, identity2]) => projectQoderAccount(usage, identity2)),
|
|
54839
54884
|
new Promise((resolve) => {
|
|
54840
54885
|
timer = setTimeout(() => resolve(null), 1e4);
|
|
54841
54886
|
})
|