@codexhost/cli-win32-x64 0.33.0 → 0.34.0
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 +2 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +191 -9
- package/app/console-web.js +930 -168
- package/app/desktop-controller.mjs +267 -13
- package/app/desktop-mcp-client.mjs +619 -0
- package/app/host-runtime.mjs +3254 -2860
- package/app/plugins/antigravity/plugin.mjs +409 -22
- package/app/plugins/claude-code/plugin.mjs +191 -9
- package/app/plugins/codebuddy/plugin.mjs +203 -14
- package/app/plugins/codex-usage/plugin.mjs +191 -9
- package/app/plugins/copilot/plugin.mjs +191 -9
- package/app/plugins/cursor-cli/plugin.mjs +191 -9
- package/app/plugins/deepseek-harness/plugin.mjs +191 -9
- package/app/plugins/devin/plugin.mjs +191 -9
- package/app/plugins/enabled.json +1 -0
- package/app/plugins/grok/plugin.mjs +191 -9
- package/app/plugins/hermes/plugin.mjs +191 -9
- package/app/plugins/kimi-code/plugin.mjs +191 -9
- package/app/plugins/kiro-cli/plugin.mjs +191 -9
- package/app/plugins/omp/plugin.mjs +1002 -240
- package/app/plugins/opencode/plugin.mjs +191 -9
- package/app/plugins/pi/plugin.mjs +191 -9
- package/app/plugins/qoder/plugin.mjs +191 -9
- package/app/plugins/qoder-cn/plugin.mjs +191 -9
- package/app/plugins/qwen-code/plugin.mjs +191 -9
- package/app/plugins/workbuddy/plugin.mjs +823 -451
- package/app/plugins/workbuddy-cn/assets/icon.svg +27 -0
- package/app/plugins/workbuddy-cn/manifest.json +32 -0
- package/app/plugins/workbuddy-cn/plugin.mjs +36211 -0
- package/app/plugins/zcode/plugin.mjs +191 -9
- package/app/renderer-extension.js +2479 -229
- package/app/web/assets/{abnfDiagram-XWFEHMT6-VnfRaHM6.js → abnfDiagram-XWFEHMT6-Cg-E7mc4.js} +1 -1
- package/app/web/assets/{architectureDiagram-CSQXQB3N-BA1ehtvi.js → architectureDiagram-CSQXQB3N-B__CwXjW.js} +1 -1
- package/app/web/assets/{blockDiagram-BEDRHYPZ-31BZSfd4.js → blockDiagram-BEDRHYPZ-Bk2gCIVM.js} +1 -1
- package/app/web/assets/{c4Diagram-M2UUVUY5-CNzGWc5k.js → c4Diagram-M2UUVUY5-DU_TpjJ3.js} +1 -1
- package/app/web/assets/{chunk-2Q5K7J3B-ahAIR-NM.js → chunk-2Q5K7J3B-DnJEi6e4.js} +1 -1
- package/app/web/assets/{chunk-3GCGMST5-BIV5YeRJ.js → chunk-3GCGMST5-Dia9jGkf.js} +1 -1
- package/app/web/assets/{chunk-5VM5RSS4-CluTMPJG.js → chunk-5VM5RSS4-2PGDiDvK.js} +1 -1
- package/app/web/assets/{chunk-7U7NFRK5-4NIQuFbE.js → chunk-7U7NFRK5-BLPm3d5H.js} +1 -1
- package/app/web/assets/{chunk-CNRTWJTD-_0bEfGn3.js → chunk-CNRTWJTD-GH_nAEXs.js} +1 -1
- package/app/web/assets/{chunk-D5HYT7QG-_kTC6f8F.js → chunk-D5HYT7QG-DnIm-Ely.js} +1 -1
- package/app/web/assets/{chunk-EBZ3SEQC-CykaYOrL.js → chunk-EBZ3SEQC-C6N5qLCR.js} +2 -2
- package/app/web/assets/{chunk-JWPE2WC7-3vVOQ_py.js → chunk-JWPE2WC7-D_kMgdmr.js} +1 -1
- package/app/web/assets/{chunk-KTR4FSNJ-aVg5vgrm.js → chunk-KTR4FSNJ-BRb9femQ.js} +1 -1
- package/app/web/assets/{chunk-XXDRQBXY-_gVwGeSp.js → chunk-XXDRQBXY-BFaK95zq.js} +1 -1
- package/app/web/assets/{classDiagram-v2-KXABOMEV-fI1LfeBf.js → classDiagram-v2-KXABOMEV--_hR_XrU.js} +1 -1
- package/app/web/assets/{cose-bilkent-JH36ORCC-DFXMlWov.js → cose-bilkent-JH36ORCC-C7ghEB3_.js} +1 -1
- package/app/web/assets/{cynefin-EF2NZ3EQ-lZy7X6FO.js → cynefin-EF2NZ3EQ-Ce1lURwZ.js} +1 -1
- package/app/web/assets/{cynefinDiagram-NJNITYFG-N4DwFSW1.js → cynefinDiagram-NJNITYFG-Cgr5aSTS.js} +1 -1
- package/app/web/assets/{dagre-KIHZ2IZ3-B7-8baTH.js → dagre-KIHZ2IZ3-BBFKmRP1.js} +1 -1
- package/app/web/assets/{diagram-7YQZDPLS-DLfjiBXV.js → diagram-7YQZDPLS-CJQih32K.js} +1 -1
- package/app/web/assets/{diagram-QBROCOUO-CQnRzSTi.js → diagram-QBROCOUO-Cl3S7IUT.js} +1 -1
- package/app/web/assets/{diagram-RJJCUUZO-DPnxazRT.js → diagram-RJJCUUZO-B6C8N2cV.js} +1 -1
- package/app/web/assets/{diagram-WERXNKYE-BBuEFRvD.js → diagram-WERXNKYE-NkciBSQl.js} +1 -1
- package/app/web/assets/{diagram-YHHI257C-BQ92JNJs.js → diagram-YHHI257C-DlEvljeY.js} +1 -1
- package/app/web/assets/{diagram-YR4HJLHV-Ce6BQO3J.js → diagram-YR4HJLHV-e4_Gzbt6.js} +1 -1
- package/app/web/assets/{ebnfDiagram-N527522P-DYknE2Jy.js → ebnfDiagram-N527522P-WvQEFmPi.js} +1 -1
- package/app/web/assets/{elk-O5DQBFGD-4S6_JJFF.js → elk-O5DQBFGD-CkyJsjzf.js} +1 -1
- package/app/web/assets/{erDiagram-K3K3BIDK-DRtF7JVQ.js → erDiagram-K3K3BIDK-B93gK3X0.js} +1 -1
- package/app/web/assets/{flowDiagram-Z6JWZHQI-7Ho8CyR9.js → flowDiagram-Z6JWZHQI-NFaGX6B4.js} +1 -1
- package/app/web/assets/{ganttDiagram-3PRQTZWP-CW8Ig5y4.js → ganttDiagram-3PRQTZWP-Czh68CQm.js} +1 -1
- package/app/web/assets/{gitGraphDiagram-VXDFKS5L-CzS8Xg2D.js → gitGraphDiagram-VXDFKS5L-t95UHKja.js} +1 -1
- package/app/web/assets/{grid-E2QIVN74-Cq284lCe.js → grid-E2QIVN74-C87DucDN.js} +1 -1
- package/app/web/assets/index-CGI50Nfg.css +1 -0
- package/app/web/assets/index-Dr6wHi0A.js +208 -0
- package/app/web/assets/{infoDiagram-EZ3ZOAHP-BZgN6qlY.js → infoDiagram-EZ3ZOAHP-CxFlfQbY.js} +1 -1
- package/app/web/assets/{ishikawaDiagram-S3EKX5GW-BH9YHc-1.js → ishikawaDiagram-S3EKX5GW-D4IwQJde.js} +1 -1
- package/app/web/assets/{journeyDiagram-POQNLL5X-D50KYOLe.js → journeyDiagram-POQNLL5X-C0Bf5W4T.js} +1 -1
- package/app/web/assets/{kanban-definition-BH5XI6FM-Crw_5mMP.js → kanban-definition-BH5XI6FM-Cda7r2yr.js} +1 -1
- package/app/web/assets/{mermaid.core-o2Qjrppc.js → mermaid.core-f4LJm6AC.js} +4 -4
- package/app/web/assets/{mindmap-definition-WVAN44T4-B_bEbpAH.js → mindmap-definition-WVAN44T4-DKapinG7.js} +1 -1
- package/app/web/assets/{pegDiagram-D4NLKWP3-VecAHoyw.js → pegDiagram-D4NLKWP3-D7iEZGN2.js} +1 -1
- package/app/web/assets/{pieDiagram-36ENHN4W-o3ei2T-6.js → pieDiagram-36ENHN4W-CopXZ5qt.js} +1 -1
- package/app/web/assets/{quadrantDiagram-ZQUDMS73-DHndOAcn.js → quadrantDiagram-ZQUDMS73-mmkKPDGK.js} +1 -1
- package/app/web/assets/{railroadDiagram-JIZHGYPL-DRd_lfii.js → railroadDiagram-JIZHGYPL-BAGwIIkV.js} +1 -1
- package/app/web/assets/{render-VIF2ZAQL-awM3hUqB.js → render-VIF2ZAQL-dXxGa09y.js} +2 -2
- package/app/web/assets/{requirementDiagram-AXW2TVFA-Ce1ePsOe.js → requirementDiagram-AXW2TVFA-C35tmLFs.js} +1 -1
- package/app/web/assets/{sankeyDiagram-FBCJTAIF-cP-LtgW-.js → sankeyDiagram-FBCJTAIF-BbSo5yeK.js} +1 -1
- package/app/web/assets/{sequenceDiagram-3LA2ROMG-C3JStTuW.js → sequenceDiagram-3LA2ROMG-Cgm2unNy.js} +1 -1
- package/app/web/assets/{sizeCapture-2Q2CQKSF-Dyyelr9K.js → sizeCapture-2Q2CQKSF-DCXFjl2x.js} +1 -1
- package/app/web/assets/{stateDiagram-v2-ATKHQDJO-DkYRBVTd.js → stateDiagram-v2-ATKHQDJO-B349iAao.js} +1 -1
- package/app/web/assets/{swimlanes-YQL5WMAO-B2FwJU5_.js → swimlanes-YQL5WMAO-6OvL1sEz.js} +1 -1
- package/app/web/assets/swimlanesDiagram-UCCPES4V-CIKaQUvP.js +8 -0
- package/app/web/assets/{timeline-definition-7Z437IG3-Di-qRIIi.js → timeline-definition-7Z437IG3-Bh1E3mhW.js} +1 -1
- package/app/web/assets/{usecaseDiagram-RDK6N6HP-yAImn62t.js → usecaseDiagram-RDK6N6HP-Dr5A05lL.js} +1 -1
- package/app/web/assets/{vennDiagram-SHRQU5PJ-BEv8jpfv.js → vennDiagram-SHRQU5PJ-CQPPBa27.js} +1 -1
- package/app/web/assets/{wardleyDiagram-F3OXNVQS-7irksA0b.js → wardleyDiagram-F3OXNVQS-BHin00q8.js} +1 -1
- package/app/web/assets/{xychartDiagram-GDYJKCDI-BokJGG2y.js → xychartDiagram-GDYJKCDI-D4BAWlQZ.js} +1 -1
- package/app/web/codexhost-settings.js +330 -130
- package/app/web/index.html +2 -2
- 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 +8 -8
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +75 -75
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +160 -77
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +104 -100
- package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +64 -64
- package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +5 -5
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +6 -6
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +80 -80
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +70 -70
- package/app/web/role-avatars/builtin/advisor-otter.webp +0 -0
- package/app/web/role-avatars/builtin/builder-otter.webp +0 -0
- package/app/web/role-avatars/builtin/sailor-otter.webp +0 -0
- package/app/web/role-avatars/builtin/wizard-otter.webp +0 -0
- package/app/web-modules/server.mjs +5794 -2268
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.exe +0 -0
- package/libexec/codexhost-screenshot.exe +0 -0
- package/libexec/codexhost-shell.exe +0 -0
- package/libexec/codexhost-shim.exe +0 -0
- package/libexec/codexhost-updater.exe +0 -0
- package/package.json +1 -1
- package/app/web/assets/index-CINZ6P-q.css +0 -1
- package/app/web/assets/index-CvV6veuY.js +0 -208
- package/app/web/assets/swimlanesDiagram-UCCPES4V-BkMsxCPb.js +0 -8
package/app/console-web.js
CHANGED
|
@@ -20024,7 +20024,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
20024
20024
|
"security-otter",
|
|
20025
20025
|
"audio-otter",
|
|
20026
20026
|
"scholar-otter",
|
|
20027
|
-
"data-otter"
|
|
20027
|
+
"data-otter",
|
|
20028
|
+
"advisor-otter",
|
|
20029
|
+
"builder-otter",
|
|
20030
|
+
"wizard-otter",
|
|
20031
|
+
"sailor-otter"
|
|
20028
20032
|
];
|
|
20029
20033
|
var builtinRoleAvatarSchema = external_exports.templateLiteral([
|
|
20030
20034
|
"builtin:",
|
|
@@ -21328,6 +21332,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21328
21332
|
// ../shared-contracts/dist/group-chat.js
|
|
21329
21333
|
var DEFAULT_GROUP_MAX_AGENT_HOPS = 5;
|
|
21330
21334
|
var MAX_GROUP_AGENT_HOPS = 20;
|
|
21335
|
+
var GROUP_NOTICE_MAX_LENGTH = 2e3;
|
|
21331
21336
|
var remoteGroupRoomIdSchema = external_exports.string().regex(/^remote:[A-Za-z0-9_-]{8,512}$/u);
|
|
21332
21337
|
var groupRoomIdSchema = external_exports.union([external_exports.uuidv4(), remoteGroupRoomIdSchema]);
|
|
21333
21338
|
var groupMemberIdSchema = external_exports.uuidv4();
|
|
@@ -21354,11 +21359,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21354
21359
|
roleSnapshot: threadRoleSnapshotSchema.optional(),
|
|
21355
21360
|
harnessId: harnessIdSchema,
|
|
21356
21361
|
status: groupMemberStatusSchema,
|
|
21362
|
+
projectless: external_exports.boolean().optional(),
|
|
21357
21363
|
joinedAtSeq: nonnegativeInteger,
|
|
21358
21364
|
lastDeliveredSeq: nonnegativeInteger,
|
|
21359
21365
|
lastRosterVersion: nonnegativeInteger,
|
|
21360
21366
|
createdAt: timestamp
|
|
21361
21367
|
});
|
|
21368
|
+
var groupProjectlessWorkspaceSchema = external_exports.object({
|
|
21369
|
+
workspaceRoot: nonblankString,
|
|
21370
|
+
outputDirectory: nonblankString
|
|
21371
|
+
});
|
|
21362
21372
|
var groupRoomRemoteHostSchema = external_exports.object({
|
|
21363
21373
|
hostId: nonblankString,
|
|
21364
21374
|
displayName: nonblankString,
|
|
@@ -21370,6 +21380,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21370
21380
|
roomId: groupRoomIdSchema,
|
|
21371
21381
|
title: nonblankString,
|
|
21372
21382
|
defaultCwd: nonblankString,
|
|
21383
|
+
projectlessWorkspace: groupProjectlessWorkspaceSchema.optional(),
|
|
21373
21384
|
unmentionedPolicy: groupUnmentionedPolicySchema.default("none"),
|
|
21374
21385
|
allowAgentMentions: external_exports.boolean().default(true),
|
|
21375
21386
|
maxAgentHops: maxAgentHopsSchema.default(DEFAULT_GROUP_MAX_AGENT_HOPS),
|
|
@@ -21450,8 +21461,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21450
21461
|
var GROUPS_ADD_MEMBER_METHOD = "codexhost/groups/member/add";
|
|
21451
21462
|
var GROUPS_UPDATE_MEMBER_METHOD = "codexhost/groups/member/update";
|
|
21452
21463
|
var GROUPS_REMOVE_MEMBER_METHOD = "codexhost/groups/member/remove";
|
|
21464
|
+
var GROUPS_REBIND_MEMBER_METHOD = "codexhost/groups/member/rebind";
|
|
21453
21465
|
var GROUPS_POST_MESSAGE_METHOD = "codexhost/groups/message/post";
|
|
21454
21466
|
var GROUPS_READ_MESSAGES_METHOD = "codexhost/groups/messages/read";
|
|
21467
|
+
var GROUPS_INSPECT_CWD_METHOD = "codexhost/groups/cwd/inspect";
|
|
21468
|
+
var GROUPS_CHANGED_EVENT = "codexhost/groups/changed";
|
|
21455
21469
|
var roomIdentity = { roomId: groupRoomIdSchema };
|
|
21456
21470
|
var memberIdentity = { ...roomIdentity, memberId: groupMemberIdSchema };
|
|
21457
21471
|
var roomEdits = {
|
|
@@ -21474,7 +21488,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21474
21488
|
});
|
|
21475
21489
|
var groupsCreateParamsSchema = external_exports.strictObject({
|
|
21476
21490
|
...roomEdits,
|
|
21477
|
-
defaultCwd: nonblankString,
|
|
21491
|
+
defaultCwd: nonblankString.optional(),
|
|
21478
21492
|
members: external_exports.array(groupCreateMemberInputSchema)
|
|
21479
21493
|
});
|
|
21480
21494
|
var groupsCreateResultSchema = external_exports.object({ room: groupRoomSchema });
|
|
@@ -21500,14 +21514,90 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21500
21514
|
status: groupMemberStatusSchema.optional()
|
|
21501
21515
|
});
|
|
21502
21516
|
var groupsRemoveMemberParamsSchema = external_exports.strictObject(memberIdentity);
|
|
21517
|
+
var groupsRebindMemberParamsSchema = external_exports.strictObject({
|
|
21518
|
+
...memberIdentity,
|
|
21519
|
+
threadId: hostThreadIdSchema,
|
|
21520
|
+
redeliverFrom: positiveInteger.optional(),
|
|
21521
|
+
note: external_exports.string().optional()
|
|
21522
|
+
});
|
|
21523
|
+
var groupCliRebindMemberParamsSchema = external_exports.strictObject({
|
|
21524
|
+
...roomIdentity,
|
|
21525
|
+
memberId: groupMemberIdSchema.optional(),
|
|
21526
|
+
memberHandle: groupMemberHandleSchema.optional(),
|
|
21527
|
+
threadId: hostThreadIdSchema,
|
|
21528
|
+
redeliverFrom: positiveInteger.optional(),
|
|
21529
|
+
note: external_exports.string().optional()
|
|
21530
|
+
}).refine((value) => value.memberId !== void 0 !== (value.memberHandle !== void 0), "Provide exactly one of memberId or memberHandle");
|
|
21531
|
+
var groupsRebindMemberResultSchema = external_exports.object({
|
|
21532
|
+
room: groupRoomSchema,
|
|
21533
|
+
member: groupMemberSchema,
|
|
21534
|
+
previousThreadId: hostThreadIdSchema,
|
|
21535
|
+
awakened: external_exports.boolean()
|
|
21536
|
+
});
|
|
21537
|
+
var groupCliListMemberSchema = external_exports.object({
|
|
21538
|
+
memberId: groupMemberIdSchema,
|
|
21539
|
+
threadId: hostThreadIdSchema,
|
|
21540
|
+
handle: groupMemberHandleSchema,
|
|
21541
|
+
displayName: nonblankString,
|
|
21542
|
+
status: groupMemberStatusSchema,
|
|
21543
|
+
harnessId: harnessIdSchema,
|
|
21544
|
+
roleSlug: roleSlugSchema.optional(),
|
|
21545
|
+
roleName: nonblankString.optional()
|
|
21546
|
+
});
|
|
21547
|
+
var groupCliListEntrySchema = external_exports.object({
|
|
21548
|
+
roomId: groupRoomIdSchema,
|
|
21549
|
+
title: nonblankString,
|
|
21550
|
+
memberCount: nonnegativeInteger,
|
|
21551
|
+
updatedAt: timestamp,
|
|
21552
|
+
member: groupCliListMemberSchema.optional()
|
|
21553
|
+
});
|
|
21554
|
+
var groupCliListParamsSchema = external_exports.strictObject({
|
|
21555
|
+
threadId: hostThreadIdSchema.optional()
|
|
21556
|
+
});
|
|
21557
|
+
var groupCliListResultSchema = external_exports.object({
|
|
21558
|
+
rooms: external_exports.array(groupCliListEntrySchema)
|
|
21559
|
+
});
|
|
21503
21560
|
var groupsPostMessageParamsSchema = external_exports.strictObject({
|
|
21504
21561
|
...roomIdentity,
|
|
21505
21562
|
content: external_exports.string().max(64e3),
|
|
21506
21563
|
attachments: external_exports.array(groupAttachmentSchema).max(12).optional(),
|
|
21507
21564
|
replyToSeq: positiveInteger.optional(),
|
|
21508
21565
|
targetMemberIds: external_exports.array(groupMemberIdSchema).optional(),
|
|
21509
|
-
mentionAll: external_exports.boolean().optional()
|
|
21510
|
-
|
|
21566
|
+
mentionAll: external_exports.boolean().optional(),
|
|
21567
|
+
notice: external_exports.boolean().optional()
|
|
21568
|
+
}).superRefine((value, context) => {
|
|
21569
|
+
if (value.notice === true) {
|
|
21570
|
+
if (value.content.trim().length === 0) {
|
|
21571
|
+
context.addIssue({
|
|
21572
|
+
code: "custom",
|
|
21573
|
+
path: ["content"],
|
|
21574
|
+
message: "Notice content is required"
|
|
21575
|
+
});
|
|
21576
|
+
}
|
|
21577
|
+
if (value.content.length > GROUP_NOTICE_MAX_LENGTH) {
|
|
21578
|
+
context.addIssue({
|
|
21579
|
+
code: "custom",
|
|
21580
|
+
path: ["content"],
|
|
21581
|
+
message: `Notice content must be at most ${GROUP_NOTICE_MAX_LENGTH} characters`
|
|
21582
|
+
});
|
|
21583
|
+
}
|
|
21584
|
+
if ((value.targetMemberIds?.length ?? 0) > 0 || value.mentionAll === true || (value.attachments?.length ?? 0) > 0) {
|
|
21585
|
+
context.addIssue({
|
|
21586
|
+
code: "custom",
|
|
21587
|
+
path: ["notice"],
|
|
21588
|
+
message: "System notices cannot target members or include attachments"
|
|
21589
|
+
});
|
|
21590
|
+
}
|
|
21591
|
+
return;
|
|
21592
|
+
}
|
|
21593
|
+
if (value.content.trim().length === 0 && (value.attachments?.length ?? 0) === 0) {
|
|
21594
|
+
context.addIssue({
|
|
21595
|
+
code: "custom",
|
|
21596
|
+
path: ["content"],
|
|
21597
|
+
message: "Message content or at least one attachment is required"
|
|
21598
|
+
});
|
|
21599
|
+
}
|
|
21600
|
+
});
|
|
21511
21601
|
var groupsPostMessageResultSchema = external_exports.object({
|
|
21512
21602
|
room: groupRoomSchema,
|
|
21513
21603
|
message: groupMessageSchema,
|
|
@@ -21524,6 +21614,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21524
21614
|
messages: external_exports.array(groupMessageSchema),
|
|
21525
21615
|
totalSeq: nonnegativeInteger
|
|
21526
21616
|
});
|
|
21617
|
+
var groupsInspectCwdParamsSchema = external_exports.strictObject({
|
|
21618
|
+
cwd: nonblankString,
|
|
21619
|
+
roomId: groupRoomIdSchema.optional()
|
|
21620
|
+
});
|
|
21621
|
+
var groupsInspectCwdResultSchema = external_exports.object({
|
|
21622
|
+
isGitRepo: external_exports.boolean()
|
|
21623
|
+
});
|
|
21527
21624
|
|
|
21528
21625
|
// ../shared-contracts/dist/thread-archive-confirm.js
|
|
21529
21626
|
var THREAD_ARCHIVE_CONFIRM_METHOD = "codexhost/thread/archive/confirm";
|
|
@@ -21570,6 +21667,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21570
21667
|
"kiro-cli",
|
|
21571
21668
|
"codebuddy",
|
|
21572
21669
|
"workbuddy",
|
|
21670
|
+
"workbuddy-cn",
|
|
21573
21671
|
"devin",
|
|
21574
21672
|
"hermes",
|
|
21575
21673
|
"qoder",
|
|
@@ -21709,8 +21807,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
21709
21807
|
GROUPS_ADD_MEMBER_METHOD,
|
|
21710
21808
|
GROUPS_UPDATE_MEMBER_METHOD,
|
|
21711
21809
|
GROUPS_REMOVE_MEMBER_METHOD,
|
|
21810
|
+
GROUPS_REBIND_MEMBER_METHOD,
|
|
21712
21811
|
GROUPS_POST_MESSAGE_METHOD,
|
|
21713
21812
|
GROUPS_READ_MESSAGES_METHOD,
|
|
21813
|
+
GROUPS_INSPECT_CWD_METHOD,
|
|
21714
21814
|
"codexhost/voice/status",
|
|
21715
21815
|
"codexhost/voice/transcribe",
|
|
21716
21816
|
"codexhost/harness/display-settings/get",
|
|
@@ -22278,7 +22378,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22278
22378
|
var remotePeerIdSchema = external_exports.string().regex(REMOTE_PEER_ID_PATTERN);
|
|
22279
22379
|
var remotePeerNodeIdSchema = external_exports.string().regex(REMOTE_PEER_ID_PATTERN);
|
|
22280
22380
|
var remotePeerHostIdSchema = external_exports.string().regex(/^remote-peer:[a-zA-Z0-9_-]{1,64}$/u);
|
|
22281
|
-
var remotePeerTransportKindSchema = external_exports.enum(["relay", "tailscale", "lan", "custom"]);
|
|
22381
|
+
var remotePeerTransportKindSchema = external_exports.enum(["relay", "tailscale", "lan", "ssh", "custom"]);
|
|
22382
|
+
var remotePeerSshAuthModeSchema = external_exports.enum(["auto", "key", "password"]);
|
|
22383
|
+
var remotePeerSshConfigSchema = external_exports.object({
|
|
22384
|
+
host: external_exports.string().trim().min(1).max(255),
|
|
22385
|
+
port: external_exports.number().int().min(1).max(65535).optional(),
|
|
22386
|
+
user: external_exports.string().trim().min(1).max(128).optional(),
|
|
22387
|
+
identityFile: external_exports.string().trim().min(1).max(1024).optional(),
|
|
22388
|
+
authMode: remotePeerSshAuthModeSchema.default("auto"),
|
|
22389
|
+
remoteDataDir: external_exports.string().trim().min(1).max(1024).optional()
|
|
22390
|
+
});
|
|
22391
|
+
var remotePeerSshSummarySchema = external_exports.object({
|
|
22392
|
+
host: external_exports.string().min(1).max(255),
|
|
22393
|
+
port: external_exports.number().int().min(1).max(65535).optional(),
|
|
22394
|
+
user: external_exports.string().min(1).max(128).optional(),
|
|
22395
|
+
authMode: remotePeerSshAuthModeSchema,
|
|
22396
|
+
keyInstalled: external_exports.boolean().optional()
|
|
22397
|
+
});
|
|
22282
22398
|
var REMOTE_PEER_COLORS = [
|
|
22283
22399
|
"blue",
|
|
22284
22400
|
"purple",
|
|
@@ -22305,6 +22421,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22305
22421
|
color: remotePeerColorSchema.optional(),
|
|
22306
22422
|
origin: external_exports.string().min(1).max(2048),
|
|
22307
22423
|
transportKind: remotePeerTransportKindSchema,
|
|
22424
|
+
ssh: remotePeerSshSummarySchema.optional(),
|
|
22308
22425
|
encrypted: external_exports.boolean(),
|
|
22309
22426
|
enabled: external_exports.boolean(),
|
|
22310
22427
|
state: remotePeerStateSchema,
|
|
@@ -22552,8 +22669,66 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22552
22669
|
var delegationHostHarnessesResultSchema = external_exports.object({
|
|
22553
22670
|
harnesses: external_exports.array(delegationHostHarnessOptionSchema)
|
|
22554
22671
|
});
|
|
22672
|
+
var sshConfigHostEntrySchema = external_exports.object({
|
|
22673
|
+
alias: external_exports.string().min(1).max(255),
|
|
22674
|
+
hostName: external_exports.string().max(255).optional(),
|
|
22675
|
+
user: external_exports.string().max(128).optional(),
|
|
22676
|
+
port: external_exports.number().int().min(1).max(65535).optional(),
|
|
22677
|
+
identityFile: external_exports.string().max(1024).optional()
|
|
22678
|
+
});
|
|
22679
|
+
var remotePeerListSshConfigHostsResultSchema = external_exports.object({
|
|
22680
|
+
hosts: external_exports.array(sshConfigHostEntrySchema)
|
|
22681
|
+
});
|
|
22682
|
+
var remotePeerSshConnectParamsSchema = external_exports.object({
|
|
22683
|
+
host: external_exports.string().trim().min(1).max(255),
|
|
22684
|
+
port: external_exports.number().int().min(1).max(65535).optional(),
|
|
22685
|
+
user: external_exports.string().trim().min(1).max(128).optional(),
|
|
22686
|
+
identityFile: external_exports.string().trim().min(1).max(1024).optional(),
|
|
22687
|
+
authMode: remotePeerSshAuthModeSchema.default("auto"),
|
|
22688
|
+
password: external_exports.string().max(1024).optional(),
|
|
22689
|
+
installAuthorizedKey: external_exports.boolean().optional(),
|
|
22690
|
+
name: external_exports.string().trim().min(1).max(120).optional(),
|
|
22691
|
+
color: remotePeerColorSchema.optional(),
|
|
22692
|
+
remoteDataDir: external_exports.string().trim().min(1).max(1024).optional(),
|
|
22693
|
+
sessionId: external_exports.string().min(1).max(128).optional()
|
|
22694
|
+
});
|
|
22695
|
+
var remotePeerSshTestResultSchema = external_exports.object({
|
|
22696
|
+
ok: external_exports.boolean(),
|
|
22697
|
+
codexhostInstalled: external_exports.boolean(),
|
|
22698
|
+
version: external_exports.string().max(128).optional(),
|
|
22699
|
+
nodeId: remotePeerNodeIdSchema.optional(),
|
|
22700
|
+
platform: external_exports.string().max(64).optional(),
|
|
22701
|
+
hostname: external_exports.string().max(255).optional(),
|
|
22702
|
+
latencyMs: external_exports.number().int().nonnegative().optional(),
|
|
22703
|
+
errorCode: external_exports.string().max(128).optional(),
|
|
22704
|
+
error: external_exports.string().max(1e3).optional()
|
|
22705
|
+
});
|
|
22706
|
+
var remotePeerSshInstallResultSchema = external_exports.object({
|
|
22707
|
+
ok: external_exports.boolean(),
|
|
22708
|
+
version: external_exports.string().max(128).optional(),
|
|
22709
|
+
message: external_exports.string().max(1e3).optional()
|
|
22710
|
+
});
|
|
22711
|
+
var remotePeerSshAuthPromptSchema = external_exports.object({
|
|
22712
|
+
promptId: external_exports.string().min(1).max(128),
|
|
22713
|
+
sessionId: external_exports.string().min(1).max(128).optional(),
|
|
22714
|
+
peerId: remotePeerIdSchema.optional(),
|
|
22715
|
+
host: external_exports.string().min(1).max(255),
|
|
22716
|
+
kind: external_exports.enum(["host-key", "password", "passphrase", "otp", "generic"]),
|
|
22717
|
+
prompt: external_exports.string().min(1).max(1e3),
|
|
22718
|
+
echo: external_exports.boolean()
|
|
22719
|
+
});
|
|
22720
|
+
var remotePeerSshRespondAuthParamsSchema = external_exports.object({
|
|
22721
|
+
promptId: external_exports.string().min(1).max(128),
|
|
22722
|
+
sessionId: external_exports.string().min(1).max(128).optional(),
|
|
22723
|
+
response: external_exports.string().max(1024).optional(),
|
|
22724
|
+
cancel: external_exports.boolean().optional()
|
|
22725
|
+
});
|
|
22555
22726
|
|
|
22556
22727
|
// ../shared-contracts/dist/peer-delegation.js
|
|
22728
|
+
var peerWatchNudgeParamsSchema = external_exports.strictObject({
|
|
22729
|
+
hostId: remotePeerHostIdSchema,
|
|
22730
|
+
threadId: external_exports.string().min(1).max(1024).optional()
|
|
22731
|
+
});
|
|
22557
22732
|
var PEER_DELEGATION_BRIDGE_VERSION = 1;
|
|
22558
22733
|
var PEER_DELEGATION_OPERATIONS = [
|
|
22559
22734
|
"listHarnesses",
|
|
@@ -22715,6 +22890,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22715
22890
|
"kiro-cli",
|
|
22716
22891
|
"codebuddy",
|
|
22717
22892
|
"workbuddy",
|
|
22893
|
+
"workbuddy-cn",
|
|
22718
22894
|
"cursor-cli",
|
|
22719
22895
|
"hermes",
|
|
22720
22896
|
"qoder",
|
|
@@ -22764,11 +22940,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22764
22940
|
byHarness: external_exports.record(preferenceHarnessKey, harnessDelegationDefaultSchema)
|
|
22765
22941
|
});
|
|
22766
22942
|
var modelId = external_exports.string().min(1).max(1024);
|
|
22767
|
-
var harnessPreferenceValuesSchema = external_exports.
|
|
22943
|
+
var harnessPreferenceValuesSchema = external_exports.object({
|
|
22768
22944
|
idleRelease: idleReleaseSettingsSchema.optional(),
|
|
22769
22945
|
favorites: external_exports.record(preferenceHarnessKey, external_exports.array(modelId).max(2048)).default({}),
|
|
22770
22946
|
newThread: newThreadDefaultsSchema.optional(),
|
|
22771
|
-
delegation: delegationDefaultsSchema.optional()
|
|
22947
|
+
delegation: delegationDefaultsSchema.optional(),
|
|
22948
|
+
showGroupChatsInSidebar: external_exports.boolean().optional()
|
|
22772
22949
|
});
|
|
22773
22950
|
var harnessPreferenceSnapshotSchema = external_exports.strictObject({
|
|
22774
22951
|
scope: harnessPreferenceScopeSchema,
|
|
@@ -22801,6 +22978,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22801
22978
|
kind: external_exports.literal("delegation"),
|
|
22802
22979
|
harnessId: harnessIdSchema,
|
|
22803
22980
|
configuration: harnessDelegationDefaultSchema.nullable()
|
|
22981
|
+
}),
|
|
22982
|
+
external_exports.strictObject({
|
|
22983
|
+
kind: external_exports.literal("groupChatsSidebar"),
|
|
22984
|
+
visible: external_exports.boolean()
|
|
22804
22985
|
})
|
|
22805
22986
|
]);
|
|
22806
22987
|
var harnessPreferencePatchSchema = external_exports.strictObject({
|
|
@@ -23660,7 +23841,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23660
23841
|
"unreadable",
|
|
23661
23842
|
"notFound"
|
|
23662
23843
|
];
|
|
23663
|
-
var ENTRY_PATTERN = new RegExp(String.raw`^- \[([^\]\n]+)\]\(thread://([^\s()<>"?#/]+)
|
|
23844
|
+
var ENTRY_PATTERN = new RegExp(String.raw`^- \[([^\]\n]+)\]\(thread://([^\s()<>"?#/]+)(?:\?hostId=([^\s()<>"?#/&]+))?\): ` + `(${THREAD_WATCH_NOTICE_OUTCOMES.join("|")})(?:. (.+))?$`, "u");
|
|
23664
23845
|
|
|
23665
23846
|
// ../shared-contracts/dist/remote-runtime.js
|
|
23666
23847
|
var RUNTIME_STATUS_METHOD = "codexhost/runtime/status";
|
|
@@ -23692,7 +23873,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23692
23873
|
hostname: external_exports.string().min(1).max(1024).refine((value) => !value.startsWith("-") && !/\s/u.test(value)),
|
|
23693
23874
|
port: external_exports.number().int().min(1).max(65535).nullable(),
|
|
23694
23875
|
identity: external_exports.string().max(4096).nullable(),
|
|
23695
|
-
action: external_exports.enum(["inspect", "install", "update", "repair", "uninstall"]),
|
|
23876
|
+
action: external_exports.enum(["inspect", "install", "update", "restart", "repair", "uninstall"]),
|
|
23696
23877
|
uninstallPackage: external_exports.boolean().optional(),
|
|
23697
23878
|
version: external_exports.string().regex(/^\d+\.\d+\.\d+$/u).nullable()
|
|
23698
23879
|
}).strict();
|
|
@@ -23708,6 +23889,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23708
23889
|
var thread2 = { ...target, threadId: identity };
|
|
23709
23890
|
var text = external_exports.string().min(1).max(8e3);
|
|
23710
23891
|
var input2 = { text, requestId: identity };
|
|
23892
|
+
var queueReorderItemIdsSchema = external_exports.array(identity).min(2).max(100).refine((ids) => new Set(ids).size === ids.length, "Queued submission IDs must be distinct");
|
|
23711
23893
|
var remoteDeliveryReplySchema = external_exports.discriminatedUnion("accepted", [
|
|
23712
23894
|
external_exports.object({ accepted: external_exports.literal(true), startQueuedItemId: identity.optional() }),
|
|
23713
23895
|
external_exports.object({
|
|
@@ -23727,6 +23909,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23727
23909
|
external_exports.object({ available: external_exports.literal(false) }),
|
|
23728
23910
|
external_exports.object({
|
|
23729
23911
|
available: external_exports.literal(true),
|
|
23912
|
+
canReorder: external_exports.literal(true).optional(),
|
|
23730
23913
|
items: external_exports.array(external_exports.object({ id: identity, clientUserMessageId: identity, preview: external_exports.string().max(801) })).max(100)
|
|
23731
23914
|
})
|
|
23732
23915
|
]);
|
|
@@ -23804,6 +23987,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
23804
23987
|
external_exports.strictObject({ kind: external_exports.literal("enqueue"), ...input2 }),
|
|
23805
23988
|
external_exports.strictObject({ kind: external_exports.literal("steer"), ...input2, turnId: identity }),
|
|
23806
23989
|
external_exports.strictObject({ kind: external_exports.literal("remove"), itemId: identity }),
|
|
23990
|
+
external_exports.strictObject({ kind: external_exports.literal("reorder"), itemIds: queueReorderItemIdsSchema }),
|
|
23807
23991
|
external_exports.strictObject({
|
|
23808
23992
|
kind: external_exports.literal("start"),
|
|
23809
23993
|
itemId: identity,
|
|
@@ -28450,9 +28634,58 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
28450
28634
|
const state = codexAccountChangedSchema.safeParse(notification.params);
|
|
28451
28635
|
if (state.success) listener(state.data);
|
|
28452
28636
|
});
|
|
28637
|
+
},
|
|
28638
|
+
async sendDesktopSurfaceRequest(method, params = {}) {
|
|
28639
|
+
if (!ALLOWED_DESKTOP_SURFACE_METHODS.has(method)) {
|
|
28640
|
+
throw new Error(`Unsupported Desktop surface method: ${method}`);
|
|
28641
|
+
}
|
|
28642
|
+
return await manager.sendRequest(method, params);
|
|
28643
|
+
},
|
|
28644
|
+
async startRoleThread(input3) {
|
|
28645
|
+
const roleSlug = roleSlugSchema.parse(input3.roleSlug);
|
|
28646
|
+
const cwd = typeof input3.cwd === "string" && input3.cwd.trim().length > 0 ? input3.cwd.trim() : void 0;
|
|
28647
|
+
const result = await manager.sendRequest("thread/start", {
|
|
28648
|
+
roleSlug,
|
|
28649
|
+
...cwd !== void 0 ? { cwd } : {}
|
|
28650
|
+
});
|
|
28651
|
+
const thread3 = isRecord2(result) && isRecord2(result.thread) ? result.thread : null;
|
|
28652
|
+
const threadId = hostThreadIdSchema.parse(thread3?.id);
|
|
28653
|
+
return { threadId };
|
|
28654
|
+
},
|
|
28655
|
+
subscribeGroupsChanged(listener) {
|
|
28656
|
+
const notifications = notificationTarget(source);
|
|
28657
|
+
if (!notifications?.addNotificationCallback) return () => {
|
|
28658
|
+
};
|
|
28659
|
+
return notifications.addNotificationCallback(GROUPS_CHANGED_EVENT, (notification) => {
|
|
28660
|
+
if (!isRecord2(notification) || notification.method !== GROUPS_CHANGED_EVENT) return;
|
|
28661
|
+
const params = isRecord2(notification.params) ? notification.params : {};
|
|
28662
|
+
const roomId = typeof params.roomId === "string" ? params.roomId : void 0;
|
|
28663
|
+
listener(roomId !== void 0 ? { roomId } : {});
|
|
28664
|
+
});
|
|
28453
28665
|
}
|
|
28454
28666
|
});
|
|
28455
28667
|
}
|
|
28668
|
+
var ALLOWED_DESKTOP_SURFACE_METHODS = /* @__PURE__ */ new Set([
|
|
28669
|
+
GROUPS_LIST_METHOD,
|
|
28670
|
+
GROUPS_GET_METHOD,
|
|
28671
|
+
GROUPS_CREATE_METHOD,
|
|
28672
|
+
GROUPS_UPDATE_METHOD,
|
|
28673
|
+
GROUPS_DELETE_METHOD,
|
|
28674
|
+
GROUPS_ADD_MEMBER_METHOD,
|
|
28675
|
+
GROUPS_UPDATE_MEMBER_METHOD,
|
|
28676
|
+
GROUPS_REMOVE_MEMBER_METHOD,
|
|
28677
|
+
GROUPS_POST_MESSAGE_METHOD,
|
|
28678
|
+
GROUPS_READ_MESSAGES_METHOD,
|
|
28679
|
+
GROUPS_INSPECT_CWD_METHOD,
|
|
28680
|
+
ROLES_LIST_METHOD,
|
|
28681
|
+
ROLES_GET_METHOD,
|
|
28682
|
+
ROLES_SAVE_METHOD,
|
|
28683
|
+
ROLES_DELETE_METHOD,
|
|
28684
|
+
ROLES_CATALOG_METHOD,
|
|
28685
|
+
ROLES_LIKE_METHOD,
|
|
28686
|
+
"thread/list",
|
|
28687
|
+
"model/list"
|
|
28688
|
+
]);
|
|
28456
28689
|
function isInvalidParams(error62) {
|
|
28457
28690
|
return typeof error62 === "object" && error62 !== null && "code" in error62 && error62.code === -32602;
|
|
28458
28691
|
}
|
|
@@ -31387,6 +31620,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31387
31620
|
}
|
|
31388
31621
|
},
|
|
31389
31622
|
idleReleaseSection: "Resource management",
|
|
31623
|
+
resourcesTitle: "Resources",
|
|
31624
|
+
resourcesDescription: "Configure automatic release for idle background sessions and inspect currently loaded sessions.",
|
|
31390
31625
|
idleReleaseTitle: "Release idle sessions",
|
|
31391
31626
|
idleReleaseDescription: "Close background instances after the idle timeout; they resume on next use.",
|
|
31392
31627
|
idleReleaseHelpLabel: "About releasing idle sessions",
|
|
@@ -31403,6 +31638,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31403
31638
|
idleReleaseFailed: "Sync failed, try again",
|
|
31404
31639
|
reasoningSoftWrapTitle: "Wrap thinking text",
|
|
31405
31640
|
reasoningSoftWrapDescription: "Wrap long lines in thinking blocks. Shell output is unaffected.",
|
|
31641
|
+
showGroupChatsInSidebarTitle: "Show Group Chats in sidebar",
|
|
31642
|
+
showGroupChatsInSidebarDescription: "Display the Group Chats section in the left sidebar (synced with Web).",
|
|
31406
31643
|
pageUnavailable: "Page unavailable",
|
|
31407
31644
|
inDevelopment: "In development",
|
|
31408
31645
|
notAvailable: "Not available",
|
|
@@ -31440,6 +31677,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31440
31677
|
sessionImportRetryOpen: "Try opening again",
|
|
31441
31678
|
sessionImportRetrying: "Opening...",
|
|
31442
31679
|
connectionsDescription: "View runtime status by Host. Select an item to inspect details or complete its setup.",
|
|
31680
|
+
accountsDescription: "Inspect signed-in Agent accounts, real-time quotas, and imported credentials.",
|
|
31443
31681
|
accountConnected: "Accounts",
|
|
31444
31682
|
accountDefaultBadge: "Current",
|
|
31445
31683
|
accountColumnAccount: "Account",
|
|
@@ -31601,6 +31839,9 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31601
31839
|
updateConfirmCancel: "Cancel",
|
|
31602
31840
|
updateConfirmProceed: "Restart and update",
|
|
31603
31841
|
updateChecking: "Checking for updates...",
|
|
31842
|
+
updatesDescription: "Check for new releases, review changelogs, and manage installation.",
|
|
31843
|
+
updateCheckAction: "Check for updates",
|
|
31844
|
+
updateLatestBadge: "Latest v{version}",
|
|
31604
31845
|
updateDownloading: "Downloading update...",
|
|
31605
31846
|
updatePreparing: "Preparing update...",
|
|
31606
31847
|
updateWaitingForExit: "Waiting for the application to close...",
|
|
@@ -31643,6 +31884,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31643
31884
|
macosSigningSettingUp: "Verifying...",
|
|
31644
31885
|
macosSigningRemoveButton: "Turn off",
|
|
31645
31886
|
macosSigningRemoving: "Turning off...",
|
|
31887
|
+
aboutDescription: "Product overview, open-source links, and local support tools.",
|
|
31646
31888
|
aboutTagline: "Run Pi and other Harnesses in Codex Desktop",
|
|
31647
31889
|
aboutParagraphs: Object.freeze([
|
|
31648
31890
|
"We believe Codex Desktop offers the best desktop development experience available today.",
|
|
@@ -31651,13 +31893,20 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31651
31893
|
]),
|
|
31652
31894
|
aboutOpenSource: "codexhost is an open-source project. The source code is available at:",
|
|
31653
31895
|
aboutStarCallout: "\u2B50 If this project helps you, please give us a Star! \u2B50",
|
|
31654
|
-
|
|
31655
|
-
|
|
31896
|
+
aboutLinksTitle: "Links & tools",
|
|
31897
|
+
aboutRepository: "GitHub repository",
|
|
31898
|
+
aboutRepositoryDescription: "Browse source code, documentation, and community discussions.",
|
|
31899
|
+
aboutReleases: "Release notes",
|
|
31900
|
+
aboutReleasesDescription: "Review version history and recent improvements.",
|
|
31901
|
+
aboutIssues: "Report an issue",
|
|
31902
|
+
aboutIssuesDescription: "Report bugs or suggest features on GitHub Issues.",
|
|
31903
|
+
aboutConsoleTitle: "Local console",
|
|
31904
|
+
aboutConsole: "Runs independently to show startup diagnostics and logs, and can update CodexHost even if the main app cannot start.",
|
|
31656
31905
|
aboutConsoleOpen: "Open console",
|
|
31657
31906
|
aboutConsoleOpening: "Opening\u2026",
|
|
31658
31907
|
aboutConsoleFailed: "The console could not be opened",
|
|
31659
31908
|
pageLabels: Object.freeze({
|
|
31660
|
-
connections: "
|
|
31909
|
+
connections: "Agents",
|
|
31661
31910
|
"mobile-web": "Phone & browser",
|
|
31662
31911
|
"remote-connections": "Other computers (SSH)",
|
|
31663
31912
|
appearance: "General",
|
|
@@ -31719,6 +31968,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31719
31968
|
}
|
|
31720
31969
|
},
|
|
31721
31970
|
idleReleaseSection: "\u8D44\u6E90\u7BA1\u7406",
|
|
31971
|
+
resourcesTitle: "\u8D44\u6E90\u7BA1\u7406",
|
|
31972
|
+
resourcesDescription: "\u63A7\u5236\u7A7A\u95F2\u540E\u53F0\u4F1A\u8BDD\u7684\u81EA\u52A8\u91CA\u653E\u7B56\u7565\uFF0C\u5E76\u5B9E\u65F6\u67E5\u770B\u5F53\u524D\u5DF2\u52A0\u8F7D\u7684\u540E\u53F0\u4F1A\u8BDD\u3002",
|
|
31722
31973
|
idleReleaseTitle: "\u81EA\u52A8\u91CA\u653E\u7A7A\u95F2\u4F1A\u8BDD",
|
|
31723
31974
|
idleReleaseDescription: "\u7A7A\u95F2\u8D85\u65F6\u540E\u5173\u95ED\u540E\u53F0\u5B9E\u4F8B\uFF0C\u518D\u6B21\u4F7F\u7528\u65F6\u81EA\u52A8\u6062\u590D\u3002",
|
|
31724
31975
|
idleReleaseHelpLabel: "\u81EA\u52A8\u91CA\u653E\u7A7A\u95F2\u4F1A\u8BDD\u8BF4\u660E",
|
|
@@ -31735,6 +31986,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31735
31986
|
idleReleaseFailed: "\u540C\u6B65\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",
|
|
31736
31987
|
reasoningSoftWrapTitle: "\u6362\u884C\u663E\u793A\u601D\u8003\u6587\u672C",
|
|
31737
31988
|
reasoningSoftWrapDescription: "\u601D\u8003\u5757\u4E2D\u7684\u957F\u884C\u81EA\u52A8\u6362\u884C\uFF0C\u4E0D\u5F71\u54CD Shell \u8F93\u51FA\u3002",
|
|
31989
|
+
showGroupChatsInSidebarTitle: "\u5728\u4FA7\u8FB9\u680F\u663E\u793A\u7FA4\u804A",
|
|
31990
|
+
showGroupChatsInSidebarDescription: "\u5728\u5DE6\u4FA7\u4F1A\u8BDD\u5217\u8868\u4E2D\u663E\u793A\u300C\u7FA4\u804A\u300D\u5206\u7EC4\uFF08\u4E0E Web \u7AEF\u540C\u6B65\uFF09\u3002",
|
|
31738
31991
|
pageUnavailable: "\u9875\u9762\u4E0D\u53EF\u7528",
|
|
31739
31992
|
inDevelopment: "\u5F00\u53D1\u4E2D",
|
|
31740
31993
|
notAvailable: "\u6682\u4E0D\u53EF\u7528",
|
|
@@ -31772,6 +32025,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31772
32025
|
sessionImportRetryOpen: "\u91CD\u8BD5\u6253\u5F00",
|
|
31773
32026
|
sessionImportRetrying: "\u6B63\u5728\u6253\u5F00\u2026\u2026",
|
|
31774
32027
|
connectionsDescription: "\u6309 Host \u67E5\u770B\u8FD0\u884C\u65F6\u72B6\u6001\u3002\u9009\u62E9\u4E00\u9879\uFF0C\u5728\u53F3\u4FA7\u68C0\u67E5\u8BE6\u60C5\u6216\u5B8C\u6210\u914D\u7F6E\u3002",
|
|
32028
|
+
accountsDescription: "\u67E5\u770B\u5DF2\u767B\u5F55\u7684 Agent \u8D26\u53F7\u3001\u5B9E\u65F6\u914D\u989D\u4E0E\u51ED\u636E\u5BFC\u5165\u72B6\u6001\u3002",
|
|
31775
32029
|
accountConnected: "\u8D26\u53F7",
|
|
31776
32030
|
accountDefaultBadge: "\u5F53\u524D",
|
|
31777
32031
|
accountColumnAccount: "\u8D26\u53F7",
|
|
@@ -31933,6 +32187,9 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31933
32187
|
updateConfirmCancel: "\u53D6\u6D88",
|
|
31934
32188
|
updateConfirmProceed: "\u786E\u8BA4\u91CD\u542F\u5E76\u66F4\u65B0",
|
|
31935
32189
|
updateChecking: "\u6B63\u5728\u68C0\u67E5\u66F4\u65B0...",
|
|
32190
|
+
updatesDescription: "\u68C0\u67E5\u7248\u672C\u66F4\u65B0\u3001\u67E5\u770B\u66F4\u65B0\u65E5\u5FD7\u5E76\u7BA1\u7406\u5B89\u88C5\u65B9\u5F0F\u3002",
|
|
32191
|
+
updateCheckAction: "\u68C0\u67E5\u66F4\u65B0",
|
|
32192
|
+
updateLatestBadge: "\u6700\u65B0 v{version}",
|
|
31936
32193
|
updateDownloading: "\u6B63\u5728\u4E0B\u8F7D\u66F4\u65B0...",
|
|
31937
32194
|
updatePreparing: "\u6B63\u5728\u51C6\u5907\u66F4\u65B0...",
|
|
31938
32195
|
updateWaitingForExit: "\u6B63\u5728\u7B49\u5F85\u5E94\u7528\u9000\u51FA...",
|
|
@@ -31975,6 +32232,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31975
32232
|
macosSigningSettingUp: "\u9A8C\u8BC1\u4E2D\u2026",
|
|
31976
32233
|
macosSigningRemoveButton: "\u5173\u95ED",
|
|
31977
32234
|
macosSigningRemoving: "\u5173\u95ED\u4E2D\u2026",
|
|
32235
|
+
aboutDescription: "\u4E86\u89E3 CodexHost \u7684\u4EA7\u54C1\u5B9A\u4F4D\u3001\u5F00\u6E90\u4ED3\u5E93\u4E0E\u672C\u673A\u5DE5\u5177\u5165\u53E3\u3002",
|
|
31978
32236
|
aboutTagline: "\u5728 Codex Desktop \u4E2D\u8FD0\u884C Pi \u548C\u5176\u4ED6 Harness",
|
|
31979
32237
|
aboutParagraphs: Object.freeze([
|
|
31980
32238
|
"\u6211\u4EEC\u8BA4\u4E3A Codex Desktop \u63D0\u4F9B\u4E86\u76EE\u524D\u6700\u597D\u7684\u684C\u9762\u5F00\u53D1\u4EA4\u4E92\u4F53\u9A8C\u3002",
|
|
@@ -31983,18 +32241,25 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
31983
32241
|
]),
|
|
31984
32242
|
aboutOpenSource: "codexhost \u662F\u4E00\u4E2A\u5F00\u6E90\u9879\u76EE\uFF0C\u5F00\u6E90\u5730\u5740\uFF1A",
|
|
31985
32243
|
aboutStarCallout: "\u2B50 \u5982\u679C\u8FD9\u4E2A\u9879\u76EE\u5BF9\u4F60\u6709\u5E2E\u52A9\uFF0C\u8BF7\u7ED9\u6211\u4EEC\u4E00\u4E2A Star\uFF01\u2B50",
|
|
31986
|
-
|
|
31987
|
-
|
|
32244
|
+
aboutLinksTitle: "\u5F00\u6E90\u4E0E\u652F\u6301",
|
|
32245
|
+
aboutRepository: "GitHub \u5F00\u6E90\u4ED3\u5E93",
|
|
32246
|
+
aboutRepositoryDescription: "\u67E5\u770B\u6E90\u7801\u3001\u67B6\u6784\u6587\u6863\u4E0E\u5F00\u6E90\u793E\u533A\u52A8\u6001\u3002",
|
|
32247
|
+
aboutReleases: "\u53D1\u884C\u8BF4\u660E",
|
|
32248
|
+
aboutReleasesDescription: "\u6D4F\u89C8\u5386\u53F2\u7248\u672C\u53D8\u66F4\u4E0E\u8FD1\u671F\u529F\u80FD\u66F4\u65B0\u3002",
|
|
32249
|
+
aboutIssues: "\u53CD\u9988\u95EE\u9898",
|
|
32250
|
+
aboutIssuesDescription: "\u63D0\u4EA4 Bug \u53CD\u9988\u6216\u529F\u80FD\u5EFA\u8BAE\u3002",
|
|
32251
|
+
aboutConsoleTitle: "\u672C\u5730\u63A7\u5236\u53F0",
|
|
32252
|
+
aboutConsole: "\u72EC\u7ACB\u8FD0\u884C\u7684\u672C\u673A\u8BCA\u65AD\u4E0E\u66F4\u65B0\u63A7\u5236\u53F0\uFF0C\u53EF\u67E5\u770B\u542F\u52A8\u65E5\u5FD7\u5E76\u5728\u4E3B\u5E94\u7528\u5F02\u5E38\u65F6\u5B8C\u6210\u66F4\u65B0\u3002",
|
|
31988
32253
|
aboutConsoleOpen: "\u6253\u5F00\u63A7\u5236\u53F0",
|
|
31989
32254
|
aboutConsoleOpening: "\u6B63\u5728\u6253\u5F00\u2026",
|
|
31990
32255
|
aboutConsoleFailed: "\u63A7\u5236\u53F0\u6253\u5F00\u5931\u8D25",
|
|
31991
32256
|
pageLabels: Object.freeze({
|
|
31992
|
-
connections: "\
|
|
32257
|
+
connections: "Agent \u4E0E\u5F15\u64CE",
|
|
31993
32258
|
"mobile-web": "\u624B\u673A\u4E0E\u6D4F\u89C8\u5668",
|
|
31994
32259
|
"remote-connections": "\u5176\u4ED6\u7535\u8111\uFF08SSH\uFF09",
|
|
31995
32260
|
appearance: "\u901A\u7528",
|
|
31996
32261
|
"desktop-extensions": "\u63D2\u4EF6",
|
|
31997
|
-
accounts: "\u8D26\u53F7",
|
|
32262
|
+
accounts: "\u8D26\u53F7\u4E0E\u989D\u5EA6",
|
|
31998
32263
|
delegation: "\u591A Agent \u534F\u4F5C",
|
|
31999
32264
|
"session-import": "\u4F1A\u8BDD\u5BFC\u5165",
|
|
32000
32265
|
"usage-statistics": "\u7528\u91CF\u7EDF\u8BA1",
|
|
@@ -34841,6 +35106,7 @@ ${detail}` : ""}`
|
|
|
34841
35106
|
const serviceActions = remoteElement(document2, "div", "settings-remote-card__actions");
|
|
34842
35107
|
if (!row.probing) {
|
|
34843
35108
|
if (row.installation === "installed" && !remoteBusy(remote)) {
|
|
35109
|
+
serviceActions.append(command("restart", t("\u91CD\u542F\u670D\u52A1", "Restart service")));
|
|
34844
35110
|
serviceActions.append(command("uninstall", t("\u5378\u8F7D\u8FDC\u7A0B\u670D\u52A1", "Uninstall remote service")));
|
|
34845
35111
|
}
|
|
34846
35112
|
const outdated = !remote && !!row.remoteIssue?.outdated && row.installation !== "not-installed";
|
|
@@ -35214,6 +35480,33 @@ ${detail}` : ""}`
|
|
|
35214
35480
|
});
|
|
35215
35481
|
dialog.show(t("\u5378\u8F7D", "Uninstall"), t("\u5378\u8F7D\u4E2D\u2026", "Uninstalling\u2026"), true);
|
|
35216
35482
|
}
|
|
35483
|
+
function openRemoteServiceRestart(options) {
|
|
35484
|
+
const { t, connection } = options;
|
|
35485
|
+
const dialog = createRemoteDialog(
|
|
35486
|
+
options,
|
|
35487
|
+
t(
|
|
35488
|
+
`\u91CD\u542F\u201C${connection.displayName}\u201D\u7684\u8FDC\u7A0B\u670D\u52A1\uFF1F`,
|
|
35489
|
+
`Restart the remote service on "${connection.displayName}"?`
|
|
35490
|
+
)
|
|
35491
|
+
);
|
|
35492
|
+
if (!dialog) return;
|
|
35493
|
+
dialog.body.append(
|
|
35494
|
+
remoteElement(
|
|
35495
|
+
options.container.ownerDocument,
|
|
35496
|
+
"p",
|
|
35497
|
+
"",
|
|
35498
|
+
t(
|
|
35499
|
+
`\u6B64\u64CD\u4F5C\u53EF\u80FD\u4E2D\u65AD\u201C${connection.displayName}\u201D\u4E0A\u901A\u8FC7 Desktop\u3001Web \u6216\u5176\u4ED6 SSH \u8FDE\u63A5\u8FD0\u884C\u7684 CodexHost \u4EFB\u52A1\u3002`,
|
|
35500
|
+
`This may interrupt CodexHost tasks on "${connection.displayName}" running through Desktop, Web, or other SSH connections.`
|
|
35501
|
+
)
|
|
35502
|
+
)
|
|
35503
|
+
);
|
|
35504
|
+
dialog.form.addEventListener("submit", (event) => {
|
|
35505
|
+
event.preventDefault();
|
|
35506
|
+
dialog.submit(options.restart);
|
|
35507
|
+
});
|
|
35508
|
+
dialog.show(t("\u91CD\u542F\u670D\u52A1", "Restart service"), t("\u6B63\u5728\u91CD\u542F\u2026", "Restarting\u2026"), true);
|
|
35509
|
+
}
|
|
35217
35510
|
|
|
35218
35511
|
// src/settings/remote-connections-page.ts
|
|
35219
35512
|
var POLL_INTERVAL_MS = 5e3;
|
|
@@ -35689,6 +35982,59 @@ ${detail}` : ""}`
|
|
|
35689
35982
|
);
|
|
35690
35983
|
break;
|
|
35691
35984
|
}
|
|
35985
|
+
case "restart":
|
|
35986
|
+
if (row.installation !== "installed" || remoteBusy(row.remote)) break;
|
|
35987
|
+
openRemoteServiceRestart({
|
|
35988
|
+
container: root,
|
|
35989
|
+
signal,
|
|
35990
|
+
t,
|
|
35991
|
+
connection,
|
|
35992
|
+
async restart() {
|
|
35993
|
+
const currentConnection = row.connection;
|
|
35994
|
+
const currentHostId = currentConnection.hostId;
|
|
35995
|
+
const restoreAutoConnect = currentConnection.autoConnect;
|
|
35996
|
+
const targetChanged = currentConnection.hostId !== connection.hostId || currentConnection.sshAlias !== connection.sshAlias || currentConnection.sshHost !== connection.sshHost || currentConnection.sshPort !== connection.sshPort || currentConnection.identity !== connection.identity;
|
|
35997
|
+
if (rows.get(currentHostId) !== row || targetChanged || row.pending || row.installation !== "installed" || remoteBusy(row.remote))
|
|
35998
|
+
throw new Error(
|
|
35999
|
+
t(
|
|
36000
|
+
"SSH \u8FDE\u63A5\u5DF2\u66F4\u6539\u6216\u8FDC\u7A0B\u670D\u52A1\u6B63\u5728\u6267\u884C\u5176\u4ED6\u64CD\u4F5C\uFF0C\u8BF7\u5237\u65B0\u540E\u91CD\u8BD5\u3002",
|
|
36001
|
+
"The SSH connection changed or another remote operation is active; refresh and retry."
|
|
36002
|
+
)
|
|
36003
|
+
);
|
|
36004
|
+
await act(
|
|
36005
|
+
row,
|
|
36006
|
+
action,
|
|
36007
|
+
t("\u6B63\u5728\u91CD\u542F\u8FDC\u7A0B\u670D\u52A1\u2026", "Restarting remote service\u2026"),
|
|
36008
|
+
async () => {
|
|
36009
|
+
let restartError;
|
|
36010
|
+
try {
|
|
36011
|
+
await control.ssh.connect(currentHostId, false, signal);
|
|
36012
|
+
restarting.set(currentHostId, Date.now() + RESTART_GRACE_MS);
|
|
36013
|
+
await control.setup(connection, "restart");
|
|
36014
|
+
} catch (error62) {
|
|
36015
|
+
restartError = error62;
|
|
36016
|
+
restarting.delete(currentHostId);
|
|
36017
|
+
}
|
|
36018
|
+
try {
|
|
36019
|
+
await control.ssh.connect(currentHostId, restoreAutoConnect);
|
|
36020
|
+
} catch (restoreError) {
|
|
36021
|
+
if (restartError)
|
|
36022
|
+
throw new Error(
|
|
36023
|
+
t(
|
|
36024
|
+
`\u91CD\u542F\u5931\u8D25\uFF1A${remoteErrorMessage(restartError)}\uFF1B\u6062\u590D\u8FDE\u63A5\u72B6\u6001\u4E5F\u5931\u8D25\uFF1A${remoteErrorMessage(restoreError)}`,
|
|
36025
|
+
`Restart failed: ${remoteErrorMessage(restartError)}; restoring the connection state also failed: ${remoteErrorMessage(restoreError)}`
|
|
36026
|
+
)
|
|
36027
|
+
);
|
|
36028
|
+
throw restoreError;
|
|
36029
|
+
}
|
|
36030
|
+
if (restartError) throw restartError;
|
|
36031
|
+
return t("\u8FDC\u7A0B\u670D\u52A1\u5DF2\u91CD\u542F", "Remote service restarted");
|
|
36032
|
+
},
|
|
36033
|
+
true
|
|
36034
|
+
);
|
|
36035
|
+
}
|
|
36036
|
+
});
|
|
36037
|
+
break;
|
|
35692
36038
|
}
|
|
35693
36039
|
}
|
|
35694
36040
|
const reload = () => {
|
|
@@ -38402,17 +38748,6 @@ ${error62.stderrTail}`] : []
|
|
|
38402
38748
|
});
|
|
38403
38749
|
}
|
|
38404
38750
|
|
|
38405
|
-
// src/renderer-transcript-dom.ts
|
|
38406
|
-
var REASONING_SOFT_WRAP_STORAGE_KEY = "codexhost.reasoning-soft-wrap.v1";
|
|
38407
|
-
var REASONING_SOFT_WRAP_CHANGE_EVENT = "codexhost:reasoning-soft-wrap-changed";
|
|
38408
|
-
function readReasoningTranscriptSoftWrap(ownerWindow) {
|
|
38409
|
-
return ownerWindow.localStorage.getItem(REASONING_SOFT_WRAP_STORAGE_KEY) === "true";
|
|
38410
|
-
}
|
|
38411
|
-
function setReasoningTranscriptSoftWrap(ownerWindow, enabled) {
|
|
38412
|
-
ownerWindow.localStorage.setItem(REASONING_SOFT_WRAP_STORAGE_KEY, String(enabled));
|
|
38413
|
-
ownerWindow.dispatchEvent(new Event(REASONING_SOFT_WRAP_CHANGE_EVENT));
|
|
38414
|
-
}
|
|
38415
|
-
|
|
38416
38751
|
// src/renderer-harness-preferences.ts
|
|
38417
38752
|
var HARNESS_PREFERENCES_UPDATED_EVENT = "codexhost:harness-preferences-updated";
|
|
38418
38753
|
var states = /* @__PURE__ */ new Map();
|
|
@@ -38462,6 +38797,17 @@ ${error62.stderrTail}`] : []
|
|
|
38462
38797
|
return work;
|
|
38463
38798
|
}
|
|
38464
38799
|
|
|
38800
|
+
// src/renderer-transcript-dom.ts
|
|
38801
|
+
var REASONING_SOFT_WRAP_STORAGE_KEY = "codexhost.reasoning-soft-wrap.v1";
|
|
38802
|
+
var REASONING_SOFT_WRAP_CHANGE_EVENT = "codexhost:reasoning-soft-wrap-changed";
|
|
38803
|
+
function readReasoningTranscriptSoftWrap(ownerWindow) {
|
|
38804
|
+
return ownerWindow.localStorage.getItem(REASONING_SOFT_WRAP_STORAGE_KEY) === "true";
|
|
38805
|
+
}
|
|
38806
|
+
function setReasoningTranscriptSoftWrap(ownerWindow, enabled) {
|
|
38807
|
+
ownerWindow.localStorage.setItem(REASONING_SOFT_WRAP_STORAGE_KEY, String(enabled));
|
|
38808
|
+
ownerWindow.dispatchEvent(new Event(REASONING_SOFT_WRAP_CHANGE_EVENT));
|
|
38809
|
+
}
|
|
38810
|
+
|
|
38465
38811
|
// src/renderer-idle-release-preference.ts
|
|
38466
38812
|
var IDLE_RELEASE_CHANGE_EVENT = "codexhost:idle-release-changed";
|
|
38467
38813
|
var IDLE_RELEASE_STATUS_EVENT = "codexhost:idle-release-status";
|
|
@@ -38583,12 +38929,24 @@ ${error62.stderrTail}`] : []
|
|
|
38583
38929
|
}
|
|
38584
38930
|
|
|
38585
38931
|
// src/settings/idle-release-controls.ts
|
|
38586
|
-
function mountIdleReleaseControls(context, messages, getLoadedSessionsClient) {
|
|
38932
|
+
function mountIdleReleaseControls(context, messages, getLoadedSessionsClient, options) {
|
|
38587
38933
|
const { content } = context;
|
|
38588
38934
|
const document2 = content.ownerDocument;
|
|
38589
38935
|
const owner = document2.defaultView;
|
|
38590
38936
|
if (!owner) return () => void 0;
|
|
38591
|
-
|
|
38937
|
+
let group;
|
|
38938
|
+
let header;
|
|
38939
|
+
let card;
|
|
38940
|
+
if (options?.headingTarget) {
|
|
38941
|
+
group = document2.createElement("section");
|
|
38942
|
+
group.setAttribute("aria-labelledby", options.headingTarget.headingId);
|
|
38943
|
+
header = options.headingTarget.header;
|
|
38944
|
+
card = document2.createElement("div");
|
|
38945
|
+
card.className = "rounded-[12px] border border-settings-border bg-settings-panel";
|
|
38946
|
+
group.append(card);
|
|
38947
|
+
} else {
|
|
38948
|
+
({ group, header, card } = createPreferenceGroup(document2, messages.idleReleaseSection));
|
|
38949
|
+
}
|
|
38592
38950
|
const status = document2.createElement("div");
|
|
38593
38951
|
status.className = "group/status ml-auto inline-flex items-center gap-1.5 text-xs leading-[18px] text-settings-muted data-[state=failed]:text-settings-danger data-[state=unavailable]:text-settings-warning";
|
|
38594
38952
|
const statusDot = document2.createElement("span");
|
|
@@ -38754,6 +39112,34 @@ ${error62.stderrTail}`] : []
|
|
|
38754
39112
|
ownerWindow.addEventListener(REASONING_SOFT_WRAP_CHANGE_EVENT, sync);
|
|
38755
39113
|
row.item.append(toggle);
|
|
38756
39114
|
card.append(row.item);
|
|
39115
|
+
const groupChatsId = preferenceId("show-group-chats-sidebar");
|
|
39116
|
+
const groupChatsRow = createPreferenceItem(document2, {
|
|
39117
|
+
title: messages.showGroupChatsInSidebarTitle,
|
|
39118
|
+
description: messages.showGroupChatsInSidebarDescription,
|
|
39119
|
+
controlId: groupChatsId
|
|
39120
|
+
});
|
|
39121
|
+
const groupChatsToggle = createPreferenceSwitch(
|
|
39122
|
+
document2,
|
|
39123
|
+
groupChatsId,
|
|
39124
|
+
groupChatsRow.description.id
|
|
39125
|
+
);
|
|
39126
|
+
const readShowGroupChats = () => rendererHarnessPreferences("local")?.values.showGroupChatsInSidebar ?? true;
|
|
39127
|
+
groupChatsToggle.checked = readShowGroupChats();
|
|
39128
|
+
groupChatsToggle.addEventListener("change", () => {
|
|
39129
|
+
const visible = groupChatsToggle.checked;
|
|
39130
|
+
void writeRendererHarnessPreferences(ownerWindow, "local", [
|
|
39131
|
+
{ kind: "groupChatsSidebar", visible }
|
|
39132
|
+
]).catch(() => {
|
|
39133
|
+
groupChatsToggle.checked = readShowGroupChats();
|
|
39134
|
+
});
|
|
39135
|
+
});
|
|
39136
|
+
const syncGroupChats = () => {
|
|
39137
|
+
if (rendererHarnessPreferenceStatus("local") === "pending") return;
|
|
39138
|
+
groupChatsToggle.checked = readShowGroupChats();
|
|
39139
|
+
};
|
|
39140
|
+
ownerWindow.addEventListener(HARNESS_PREFERENCES_UPDATED_EVENT, syncGroupChats);
|
|
39141
|
+
groupChatsRow.item.append(groupChatsToggle);
|
|
39142
|
+
card.append(groupChatsRow.item);
|
|
38757
39143
|
context.content.append(heading, description, ...desktopShell ? [desktopShell] : [], group);
|
|
38758
39144
|
const disposeIdleRelease = mountIdleReleaseControls(
|
|
38759
39145
|
context,
|
|
@@ -38762,6 +39148,7 @@ ${error62.stderrTail}`] : []
|
|
|
38762
39148
|
);
|
|
38763
39149
|
return () => {
|
|
38764
39150
|
ownerWindow.removeEventListener(REASONING_SOFT_WRAP_CHANGE_EVENT, sync);
|
|
39151
|
+
ownerWindow.removeEventListener(HARNESS_PREFERENCES_UPDATED_EVENT, syncGroupChats);
|
|
38765
39152
|
disposeIdleRelease();
|
|
38766
39153
|
};
|
|
38767
39154
|
}
|
|
@@ -46868,7 +47255,10 @@ ${error62.stderrTail}`] : []
|
|
|
46868
47255
|
const heading = document2.createElement("h1");
|
|
46869
47256
|
heading.className = "settings-section-label";
|
|
46870
47257
|
heading.textContent = messages.pageLabels.accounts;
|
|
46871
|
-
|
|
47258
|
+
const description = document2.createElement("p");
|
|
47259
|
+
description.className = "settings-page-description";
|
|
47260
|
+
description.textContent = messages.accountsDescription;
|
|
47261
|
+
copy.append(heading, description);
|
|
46872
47262
|
header.append(copy);
|
|
46873
47263
|
const status = document2.createElement("p");
|
|
46874
47264
|
status.className = "settings-account-status";
|
|
@@ -48653,6 +49043,9 @@ ${error62.stderrTail}`] : []
|
|
|
48653
49043
|
deadline = Date.now() + RENDERER_UPDATE_STATUS_WAIT_MS;
|
|
48654
49044
|
schedule(readStatus, previousStatus);
|
|
48655
49045
|
},
|
|
49046
|
+
stop() {
|
|
49047
|
+
clearTimer();
|
|
49048
|
+
},
|
|
48656
49049
|
dispose() {
|
|
48657
49050
|
disposed = true;
|
|
48658
49051
|
clearTimer();
|
|
@@ -48758,7 +49151,9 @@ ${error62.stderrTail}`] : []
|
|
|
48758
49151
|
|
|
48759
49152
|
// src/settings/pages.ts
|
|
48760
49153
|
var CODEXHOST_GITHUB_REPOSITORY_URL = "https://github.com/BytePioneer-AI/codex-host";
|
|
48761
|
-
var
|
|
49154
|
+
var CODEXHOST_RELEASES_URL = `${CODEXHOST_GITHUB_REPOSITORY_URL}/releases`;
|
|
49155
|
+
var CODEXHOST_RELEASES_LATEST_URL = `${CODEXHOST_RELEASES_URL}/latest`;
|
|
49156
|
+
var CODEXHOST_ISSUES_URL = `${CODEXHOST_GITHUB_REPOSITORY_URL}/issues`;
|
|
48762
49157
|
var CODEXHOST_NPM_MANUAL_UPDATE_COMMAND = "npm install -g @codexhost/cli@latest";
|
|
48763
49158
|
function rendererUserAgentData(navigator2) {
|
|
48764
49159
|
return navigator2.userAgentData;
|
|
@@ -48836,17 +49231,25 @@ ${error62.stderrTail}`] : []
|
|
|
48836
49231
|
function consoleSection(document2, messages, client) {
|
|
48837
49232
|
if (!client?.openConsole) return null;
|
|
48838
49233
|
const openConsole = client.openConsole.bind(client);
|
|
48839
|
-
const
|
|
48840
|
-
|
|
49234
|
+
const row = document2.createElement("div");
|
|
49235
|
+
row.className = "settings-about-link-row settings-about-link-row--action";
|
|
49236
|
+
const text2 = document2.createElement("div");
|
|
49237
|
+
text2.className = "settings-about-link-row__text";
|
|
49238
|
+
const title = document2.createElement("span");
|
|
49239
|
+
title.className = "settings-about-link-row__title";
|
|
49240
|
+
title.textContent = messages.aboutConsoleTitle;
|
|
48841
49241
|
const copy = document2.createElement("p");
|
|
49242
|
+
copy.className = "settings-about-link-row__desc";
|
|
48842
49243
|
copy.textContent = messages.aboutConsole;
|
|
49244
|
+
const status = document2.createElement("p");
|
|
49245
|
+
status.className = "settings-update-error";
|
|
49246
|
+
status.setAttribute("role", "status");
|
|
49247
|
+
status.hidden = true;
|
|
49248
|
+
text2.append(title, copy, status);
|
|
48843
49249
|
const button2 = document2.createElement("button");
|
|
48844
49250
|
button2.type = "button";
|
|
48845
49251
|
button2.className = "settings-command-button settings-command-button--secondary";
|
|
48846
49252
|
button2.textContent = messages.aboutConsoleOpen;
|
|
48847
|
-
const status = document2.createElement("p");
|
|
48848
|
-
status.setAttribute("role", "status");
|
|
48849
|
-
status.hidden = true;
|
|
48850
49253
|
button2.addEventListener("click", () => {
|
|
48851
49254
|
button2.disabled = true;
|
|
48852
49255
|
button2.textContent = messages.aboutConsoleOpening;
|
|
@@ -48859,8 +49262,34 @@ ${error62.stderrTail}`] : []
|
|
|
48859
49262
|
button2.textContent = messages.aboutConsoleOpen;
|
|
48860
49263
|
});
|
|
48861
49264
|
});
|
|
48862
|
-
|
|
48863
|
-
return
|
|
49265
|
+
row.append(text2, button2);
|
|
49266
|
+
return row;
|
|
49267
|
+
}
|
|
49268
|
+
function createAboutLinkRow(document2, options) {
|
|
49269
|
+
const link = document2.createElement("a");
|
|
49270
|
+
link.className = "settings-about-link-row settings-about-link-row--interactive";
|
|
49271
|
+
link.href = options.href;
|
|
49272
|
+
link.target = "_blank";
|
|
49273
|
+
link.rel = "noopener noreferrer";
|
|
49274
|
+
const text2 = document2.createElement("div");
|
|
49275
|
+
text2.className = "settings-about-link-row__text";
|
|
49276
|
+
const title = document2.createElement("span");
|
|
49277
|
+
title.className = "settings-about-link-row__title";
|
|
49278
|
+
title.textContent = options.title;
|
|
49279
|
+
const desc = document2.createElement("span");
|
|
49280
|
+
desc.className = "settings-about-link-row__desc";
|
|
49281
|
+
desc.textContent = options.description;
|
|
49282
|
+
text2.append(title, desc);
|
|
49283
|
+
const trailing = document2.createElement("span");
|
|
49284
|
+
trailing.className = "settings-about-link-row__trailing";
|
|
49285
|
+
if (options.meta) {
|
|
49286
|
+
const code = document2.createElement("code");
|
|
49287
|
+
code.textContent = options.meta;
|
|
49288
|
+
trailing.append(code);
|
|
49289
|
+
}
|
|
49290
|
+
trailing.append(createRendererSettingsIcon("external-link", 14));
|
|
49291
|
+
link.append(text2, trailing);
|
|
49292
|
+
return link;
|
|
48864
49293
|
}
|
|
48865
49294
|
function aboutPage(messages, getClient = () => null) {
|
|
48866
49295
|
return Object.freeze({
|
|
@@ -48869,17 +49298,42 @@ ${error62.stderrTail}`] : []
|
|
|
48869
49298
|
icon: "about",
|
|
48870
49299
|
mount(context) {
|
|
48871
49300
|
const document2 = context.content.ownerDocument;
|
|
48872
|
-
const
|
|
49301
|
+
const page = document2.createElement("div");
|
|
49302
|
+
page.className = "settings-about-page";
|
|
49303
|
+
const header = document2.createElement("header");
|
|
49304
|
+
header.className = "settings-about-header";
|
|
49305
|
+
const headerCopy = document2.createElement("div");
|
|
49306
|
+
const heading = document2.createElement("h1");
|
|
48873
49307
|
heading.className = "settings-section-label";
|
|
48874
49308
|
heading.textContent = messages.pageLabels.about;
|
|
49309
|
+
const description = document2.createElement("p");
|
|
49310
|
+
description.className = "settings-page-description";
|
|
49311
|
+
description.textContent = messages.aboutDescription;
|
|
49312
|
+
headerCopy.append(heading, description);
|
|
49313
|
+
header.append(headerCopy);
|
|
48875
49314
|
const panel = document2.createElement("section");
|
|
48876
49315
|
panel.className = "settings-about-panel";
|
|
49316
|
+
const brand = document2.createElement("div");
|
|
49317
|
+
brand.className = "settings-about-brand";
|
|
49318
|
+
const mark = document2.createElement("span");
|
|
49319
|
+
mark.className = "settings-about-brand__mark";
|
|
49320
|
+
mark.append(createRendererSettingsBrandGlyph(24));
|
|
49321
|
+
const brandMeta = document2.createElement("div");
|
|
49322
|
+
brandMeta.className = "settings-about-brand__meta";
|
|
49323
|
+
const titleRow = document2.createElement("div");
|
|
49324
|
+
titleRow.className = "settings-about-brand__title-row";
|
|
48877
49325
|
const product = document2.createElement("strong");
|
|
48878
49326
|
product.className = "settings-about-product";
|
|
48879
49327
|
product.textContent = "CodexHost";
|
|
48880
|
-
const
|
|
49328
|
+
const versionBadge = document2.createElement("span");
|
|
49329
|
+
versionBadge.className = "settings-version-pill";
|
|
49330
|
+
versionBadge.hidden = true;
|
|
49331
|
+
titleRow.append(product, versionBadge);
|
|
49332
|
+
const tagline = document2.createElement("p");
|
|
48881
49333
|
tagline.className = "settings-about-tagline";
|
|
48882
49334
|
tagline.textContent = messages.aboutTagline;
|
|
49335
|
+
brandMeta.append(titleRow, tagline);
|
|
49336
|
+
brand.append(mark, brandMeta);
|
|
48883
49337
|
const introduction = document2.createElement("div");
|
|
48884
49338
|
introduction.className = "settings-about-copy";
|
|
48885
49339
|
for (const paragraphText of messages.aboutParagraphs) {
|
|
@@ -48890,27 +49344,46 @@ ${error62.stderrTail}`] : []
|
|
|
48890
49344
|
const starCallout = document2.createElement("p");
|
|
48891
49345
|
starCallout.className = "settings-about-star-callout";
|
|
48892
49346
|
starCallout.textContent = messages.aboutStarCallout;
|
|
48893
|
-
|
|
48894
|
-
|
|
48895
|
-
|
|
48896
|
-
|
|
48897
|
-
|
|
48898
|
-
|
|
48899
|
-
|
|
48900
|
-
|
|
48901
|
-
|
|
48902
|
-
|
|
48903
|
-
|
|
48904
|
-
|
|
48905
|
-
|
|
48906
|
-
|
|
48907
|
-
|
|
49347
|
+
panel.append(brand, introduction, starCallout);
|
|
49348
|
+
const linksGroup = document2.createElement("section");
|
|
49349
|
+
linksGroup.className = "settings-about-links-section";
|
|
49350
|
+
const linksTitle = document2.createElement("h2");
|
|
49351
|
+
linksTitle.className = "settings-about-links-title";
|
|
49352
|
+
linksTitle.textContent = messages.aboutLinksTitle;
|
|
49353
|
+
const linksCard = document2.createElement("div");
|
|
49354
|
+
linksCard.className = "settings-about-links-card";
|
|
49355
|
+
linksCard.append(
|
|
49356
|
+
createAboutLinkRow(document2, {
|
|
49357
|
+
title: messages.aboutRepository,
|
|
49358
|
+
description: messages.aboutRepositoryDescription,
|
|
49359
|
+
href: CODEXHOST_GITHUB_REPOSITORY_URL,
|
|
49360
|
+
meta: "BytePioneer-AI/codex-host"
|
|
49361
|
+
}),
|
|
49362
|
+
createAboutLinkRow(document2, {
|
|
49363
|
+
title: messages.aboutReleases,
|
|
49364
|
+
description: messages.aboutReleasesDescription,
|
|
49365
|
+
href: CODEXHOST_RELEASES_URL
|
|
49366
|
+
}),
|
|
49367
|
+
createAboutLinkRow(document2, {
|
|
49368
|
+
title: messages.aboutIssues,
|
|
49369
|
+
description: messages.aboutIssuesDescription,
|
|
49370
|
+
href: CODEXHOST_ISSUES_URL
|
|
49371
|
+
})
|
|
48908
49372
|
);
|
|
48909
|
-
|
|
48910
|
-
|
|
48911
|
-
|
|
48912
|
-
|
|
48913
|
-
|
|
49373
|
+
const client = getClient();
|
|
49374
|
+
const consoleEntry = consoleSection(document2, messages, client);
|
|
49375
|
+
if (consoleEntry) linksCard.append(consoleEntry);
|
|
49376
|
+
linksGroup.append(linksTitle, linksCard);
|
|
49377
|
+
page.append(header, panel, linksGroup);
|
|
49378
|
+
context.content.append(page);
|
|
49379
|
+
if (client) {
|
|
49380
|
+
void runBoundedRendererUpdateRequest(() => client.checkUpdate(), context.signal).then((result) => {
|
|
49381
|
+
if (context.signal.aborted || !result?.currentVersion) return;
|
|
49382
|
+
versionBadge.textContent = `v${result.currentVersion}`;
|
|
49383
|
+
versionBadge.hidden = false;
|
|
49384
|
+
}).catch(() => {
|
|
49385
|
+
});
|
|
49386
|
+
}
|
|
48914
49387
|
return void 0;
|
|
48915
49388
|
}
|
|
48916
49389
|
});
|
|
@@ -48940,11 +49413,18 @@ ${error62.stderrTail}`] : []
|
|
|
48940
49413
|
mount(context) {
|
|
48941
49414
|
const document2 = context.content.ownerDocument;
|
|
48942
49415
|
const windows = isWindowsRenderer(document2.defaultView);
|
|
48943
|
-
const
|
|
49416
|
+
const page = document2.createElement("div");
|
|
49417
|
+
page.className = "settings-update-page";
|
|
49418
|
+
const header = document2.createElement("header");
|
|
48944
49419
|
header.className = "settings-update-header";
|
|
48945
|
-
const
|
|
49420
|
+
const headerCopy = document2.createElement("div");
|
|
49421
|
+
const heading = document2.createElement("h1");
|
|
48946
49422
|
heading.className = "settings-section-label";
|
|
48947
49423
|
heading.textContent = messages.pageLabels.updates;
|
|
49424
|
+
const headerDescription = document2.createElement("p");
|
|
49425
|
+
headerDescription.className = "settings-page-description";
|
|
49426
|
+
headerDescription.textContent = messages.updatesDescription;
|
|
49427
|
+
headerCopy.append(heading, headerDescription);
|
|
48948
49428
|
const announcementButton = document2.createElement("button");
|
|
48949
49429
|
announcementButton.type = "button";
|
|
48950
49430
|
announcementButton.className = "settings-command-button settings-command-button--secondary";
|
|
@@ -48953,7 +49433,7 @@ ${error62.stderrTail}`] : []
|
|
|
48953
49433
|
createRendererSettingsIcon("sparkles", 14),
|
|
48954
49434
|
messages.updateViewAnnouncement
|
|
48955
49435
|
);
|
|
48956
|
-
header.append(
|
|
49436
|
+
header.append(headerCopy, announcementButton);
|
|
48957
49437
|
let currentAnnouncement = null;
|
|
48958
49438
|
let announcementDialog = null;
|
|
48959
49439
|
announcementButton.addEventListener("click", () => {
|
|
@@ -48972,25 +49452,68 @@ ${error62.stderrTail}`] : []
|
|
|
48972
49452
|
}
|
|
48973
49453
|
});
|
|
48974
49454
|
});
|
|
49455
|
+
const heroCard = document2.createElement("div");
|
|
49456
|
+
heroCard.className = "settings-update-card";
|
|
49457
|
+
const heroTop = document2.createElement("div");
|
|
49458
|
+
heroTop.className = "settings-update-card__top";
|
|
49459
|
+
const heroIdentity = document2.createElement("div");
|
|
49460
|
+
heroIdentity.className = "settings-update-card__identity";
|
|
49461
|
+
const brandMark = document2.createElement("span");
|
|
49462
|
+
brandMark.className = "settings-update-card__mark";
|
|
49463
|
+
brandMark.append(createRendererSettingsBrandGlyph(20));
|
|
49464
|
+
const identityCopy = document2.createElement("div");
|
|
49465
|
+
identityCopy.className = "settings-update-card__copy";
|
|
49466
|
+
const productName = document2.createElement("strong");
|
|
49467
|
+
productName.className = "settings-update-card__product";
|
|
49468
|
+
productName.textContent = "CodexHost";
|
|
48975
49469
|
const metadata = document2.createElement("div");
|
|
48976
49470
|
metadata.className = "settings-update-metadata";
|
|
48977
|
-
const
|
|
48978
|
-
|
|
48979
|
-
|
|
48980
|
-
|
|
48981
|
-
|
|
48982
|
-
|
|
48983
|
-
|
|
48984
|
-
|
|
48985
|
-
|
|
48986
|
-
|
|
49471
|
+
const currentVersionValue = document2.createElement("strong");
|
|
49472
|
+
currentVersionValue.className = "settings-version-pill";
|
|
49473
|
+
const installationValue = document2.createElement("span");
|
|
49474
|
+
installationValue.className = "settings-install-pill";
|
|
49475
|
+
const latestVersionValue = document2.createElement("strong");
|
|
49476
|
+
latestVersionValue.className = "settings-version-pill settings-version-pill--latest";
|
|
49477
|
+
latestVersionValue.hidden = true;
|
|
49478
|
+
const versionSkeleton = document2.createElement("span");
|
|
49479
|
+
versionSkeleton.className = "settings-skeleton settings-skeleton--pill";
|
|
49480
|
+
versionSkeleton.setAttribute("aria-hidden", "true");
|
|
49481
|
+
const installSkeleton = document2.createElement("span");
|
|
49482
|
+
installSkeleton.className = "settings-skeleton settings-skeleton--pill-sm";
|
|
49483
|
+
installSkeleton.setAttribute("aria-hidden", "true");
|
|
49484
|
+
metadata.append(
|
|
49485
|
+
versionSkeleton,
|
|
49486
|
+
installSkeleton,
|
|
49487
|
+
currentVersionValue,
|
|
49488
|
+
installationValue,
|
|
49489
|
+
latestVersionValue
|
|
49490
|
+
);
|
|
49491
|
+
identityCopy.append(productName, metadata);
|
|
49492
|
+
heroIdentity.append(brandMark, identityCopy);
|
|
49493
|
+
const checkButton = document2.createElement("button");
|
|
49494
|
+
checkButton.type = "button";
|
|
49495
|
+
checkButton.className = "settings-command-button settings-command-button--secondary";
|
|
49496
|
+
checkButton.append(createRendererSettingsIcon("refresh", 14), messages.updateCheckAction);
|
|
49497
|
+
heroTop.append(heroIdentity, checkButton);
|
|
49498
|
+
const setMetadataLoading = (loadingState) => {
|
|
49499
|
+
versionSkeleton.hidden = !loadingState;
|
|
49500
|
+
installSkeleton.hidden = !loadingState;
|
|
49501
|
+
if (loadingState) {
|
|
49502
|
+
currentVersionValue.hidden = true;
|
|
49503
|
+
installationValue.hidden = true;
|
|
49504
|
+
latestVersionValue.hidden = true;
|
|
49505
|
+
}
|
|
49506
|
+
checkButton.disabled = loadingState;
|
|
49507
|
+
};
|
|
49508
|
+
const restoreMetadata = () => {
|
|
49509
|
+
currentVersionValue.hidden = !currentVersionValue.textContent;
|
|
49510
|
+
installationValue.hidden = !installationValue.textContent;
|
|
49511
|
+
latestVersionValue.hidden = !latestVersionValue.textContent;
|
|
48987
49512
|
};
|
|
48988
|
-
const currentVersionValue = createMetadataItem(messages.updateCurrentVersion);
|
|
48989
|
-
const latestVersionValue = createMetadataItem(messages.updateLatestVersion);
|
|
48990
|
-
const installationValue = createMetadataItem(messages.updateInstallation);
|
|
48991
49513
|
const panel = document2.createElement("section");
|
|
48992
49514
|
panel.className = "settings-update-panel";
|
|
48993
49515
|
panel.setAttribute("aria-live", "polite");
|
|
49516
|
+
heroCard.append(heroTop, panel);
|
|
48994
49517
|
const controls = document2.createElement("div");
|
|
48995
49518
|
controls.className = "settings-update-controls";
|
|
48996
49519
|
const manualTitle = document2.createElement("div");
|
|
@@ -49069,15 +49592,8 @@ ${error62.stderrTail}`] : []
|
|
|
49069
49592
|
notes.className = "settings-update-notes-section";
|
|
49070
49593
|
const macosSigning = createMacOsSigningSection(document2, messages, context.signal);
|
|
49071
49594
|
const starBanner = updateStarBanner(document2, messages);
|
|
49072
|
-
|
|
49073
|
-
|
|
49074
|
-
metadata,
|
|
49075
|
-
panel,
|
|
49076
|
-
macosSigning.card,
|
|
49077
|
-
controls,
|
|
49078
|
-
starBanner,
|
|
49079
|
-
notes
|
|
49080
|
-
);
|
|
49595
|
+
page.append(header, heroCard, macosSigning.card, controls, starBanner, notes);
|
|
49596
|
+
context.content.append(page);
|
|
49081
49597
|
const setManualFallback = (fallback) => {
|
|
49082
49598
|
controls.className = fallback ? "settings-update-controls" : "settings-update-controls is-quiet";
|
|
49083
49599
|
manualNpmDescription.textContent = fallback ? messages.updateManualFallbackDescription : messages.updateManualNpmDescription;
|
|
@@ -49090,8 +49606,12 @@ ${error62.stderrTail}`] : []
|
|
|
49090
49606
|
const message2 = statusMessage(status, messages);
|
|
49091
49607
|
if (message2) renderPendingStatus(status, message2);
|
|
49092
49608
|
if (status?.phase === "succeeded") {
|
|
49609
|
+
setMetadataLoading(false);
|
|
49093
49610
|
currentVersionValue.textContent = `v${status.version}`;
|
|
49094
|
-
|
|
49611
|
+
currentVersionValue.hidden = false;
|
|
49612
|
+
latestVersionValue.textContent = "";
|
|
49613
|
+
latestVersionValue.className = "settings-version-pill settings-version-pill--latest";
|
|
49614
|
+
latestVersionValue.hidden = true;
|
|
49095
49615
|
}
|
|
49096
49616
|
},
|
|
49097
49617
|
reconnecting() {
|
|
@@ -49102,10 +49622,14 @@ ${error62.stderrTail}`] : []
|
|
|
49102
49622
|
}
|
|
49103
49623
|
});
|
|
49104
49624
|
const renderUnavailable = (detail) => {
|
|
49105
|
-
|
|
49106
|
-
|
|
49107
|
-
|
|
49108
|
-
|
|
49625
|
+
setMetadataLoading(false);
|
|
49626
|
+
currentVersionValue.textContent = "";
|
|
49627
|
+
currentVersionValue.hidden = true;
|
|
49628
|
+
latestVersionValue.textContent = "";
|
|
49629
|
+
latestVersionValue.hidden = true;
|
|
49630
|
+
installationValue.textContent = "";
|
|
49631
|
+
installationValue.hidden = true;
|
|
49632
|
+
checkButton.hidden = true;
|
|
49109
49633
|
manualTitle.hidden = false;
|
|
49110
49634
|
manualNpm.hidden = true;
|
|
49111
49635
|
manualWindowsInstaller.hidden = true;
|
|
@@ -49246,11 +49770,30 @@ ${error62.stderrTail}`] : []
|
|
|
49246
49770
|
renderUnavailable(messages.runtimeCapabilityNotInstalled);
|
|
49247
49771
|
return;
|
|
49248
49772
|
}
|
|
49773
|
+
setMetadataLoading(false);
|
|
49774
|
+
checkButton.hidden = false;
|
|
49249
49775
|
checkedStatus = result.status;
|
|
49250
49776
|
currentVersionValue.textContent = `v${result.currentVersion}`;
|
|
49251
|
-
|
|
49252
|
-
|
|
49253
|
-
installationValue.textContent =
|
|
49777
|
+
currentVersionValue.hidden = false;
|
|
49778
|
+
const installText = installationLabel(result.installation, messages);
|
|
49779
|
+
installationValue.textContent = installText;
|
|
49780
|
+
installationValue.hidden = !installText;
|
|
49781
|
+
if (result.latestVersion && result.updateAvailable) {
|
|
49782
|
+
latestVersionValue.textContent = messages.updateLatestBadge.replace(
|
|
49783
|
+
"{version}",
|
|
49784
|
+
result.latestVersion
|
|
49785
|
+
);
|
|
49786
|
+
latestVersionValue.className = "settings-version-pill settings-version-pill--latest settings-update-metadata__value--newer";
|
|
49787
|
+
latestVersionValue.hidden = false;
|
|
49788
|
+
} else if (result.latestVersion && result.error) {
|
|
49789
|
+
latestVersionValue.textContent = `v${result.latestVersion}`;
|
|
49790
|
+
latestVersionValue.className = "settings-version-pill";
|
|
49791
|
+
latestVersionValue.hidden = false;
|
|
49792
|
+
} else {
|
|
49793
|
+
latestVersionValue.textContent = "";
|
|
49794
|
+
latestVersionValue.className = "settings-version-pill settings-version-pill--latest";
|
|
49795
|
+
latestVersionValue.hidden = true;
|
|
49796
|
+
}
|
|
49254
49797
|
macosSigning.sync({
|
|
49255
49798
|
installation: result.installation,
|
|
49256
49799
|
client
|
|
@@ -49390,28 +49933,47 @@ ${error62.stderrTail}`] : []
|
|
|
49390
49933
|
notes.append(createReleaseNotesElement(document2, result.releaseNotes));
|
|
49391
49934
|
}
|
|
49392
49935
|
};
|
|
49936
|
+
let loadToken = 0;
|
|
49393
49937
|
const load = () => {
|
|
49394
49938
|
const client = getClient();
|
|
49395
49939
|
if (!client) {
|
|
49396
49940
|
renderUnavailable(messages.runtimeCapabilityNotInstalled);
|
|
49397
49941
|
return Promise.resolve();
|
|
49398
49942
|
}
|
|
49943
|
+
statusPoll.stop();
|
|
49944
|
+
const token = ++loadToken;
|
|
49945
|
+
let settled = false;
|
|
49399
49946
|
pending = true;
|
|
49947
|
+
setMetadataLoading(true);
|
|
49400
49948
|
renderPendingStatus(null, messages.updateChecking);
|
|
49401
49949
|
return context.runLatest(
|
|
49402
49950
|
(signal) => runBoundedRendererUpdateRequest(() => client.checkUpdate(), signal),
|
|
49403
49951
|
{
|
|
49404
49952
|
success(result) {
|
|
49953
|
+
settled = true;
|
|
49405
49954
|
pending = false;
|
|
49406
49955
|
renderCheck(result, client);
|
|
49407
49956
|
},
|
|
49408
49957
|
failure(error62) {
|
|
49958
|
+
settled = true;
|
|
49409
49959
|
pending = false;
|
|
49960
|
+
setMetadataLoading(false);
|
|
49961
|
+
restoreMetadata();
|
|
49410
49962
|
renderRequestFailure(error62);
|
|
49411
49963
|
}
|
|
49412
49964
|
}
|
|
49413
|
-
)
|
|
49965
|
+
).finally(() => {
|
|
49966
|
+
if (!settled && loadToken === token) {
|
|
49967
|
+
pending = false;
|
|
49968
|
+
setMetadataLoading(false);
|
|
49969
|
+
restoreMetadata();
|
|
49970
|
+
}
|
|
49971
|
+
});
|
|
49414
49972
|
};
|
|
49973
|
+
checkButton.addEventListener("click", () => {
|
|
49974
|
+
if (pending) return;
|
|
49975
|
+
void load();
|
|
49976
|
+
});
|
|
49415
49977
|
const loadAnnouncement = () => {
|
|
49416
49978
|
const client = getClient();
|
|
49417
49979
|
if (!client?.getReleaseAnnouncement) return;
|
|
@@ -51080,38 +51642,104 @@ ${error62.stderrTail}`] : []
|
|
|
51080
51642
|
line-height: 19px;
|
|
51081
51643
|
}
|
|
51082
51644
|
|
|
51645
|
+
.settings-about-page,
|
|
51646
|
+
.settings-update-page {
|
|
51647
|
+
display: flex;
|
|
51648
|
+
flex-direction: column;
|
|
51649
|
+
width: 100%;
|
|
51650
|
+
min-width: 0;
|
|
51651
|
+
}
|
|
51652
|
+
|
|
51653
|
+
.settings-about-header,
|
|
51654
|
+
.settings-update-header,
|
|
51655
|
+
.settings-resources-header {
|
|
51656
|
+
display: flex;
|
|
51657
|
+
align-items: flex-start;
|
|
51658
|
+
justify-content: space-between;
|
|
51659
|
+
gap: 12px 16px;
|
|
51660
|
+
flex-wrap: wrap;
|
|
51661
|
+
margin-bottom: 20px;
|
|
51662
|
+
}
|
|
51663
|
+
|
|
51664
|
+
.settings-about-header .settings-section-label,
|
|
51665
|
+
.settings-update-header .settings-section-label,
|
|
51666
|
+
.settings-resources-header .settings-section-label {
|
|
51667
|
+
padding-bottom: 0;
|
|
51668
|
+
}
|
|
51669
|
+
|
|
51670
|
+
.settings-about-header .settings-page-description,
|
|
51671
|
+
.settings-update-header .settings-page-description,
|
|
51672
|
+
.settings-resources-header .settings-page-description {
|
|
51673
|
+
margin: 4px 0 0;
|
|
51674
|
+
}
|
|
51675
|
+
|
|
51083
51676
|
.settings-about-panel {
|
|
51084
51677
|
display: grid;
|
|
51085
|
-
|
|
51086
|
-
|
|
51087
|
-
padding: 24px;
|
|
51678
|
+
gap: 16px;
|
|
51679
|
+
padding: 20px 22px;
|
|
51088
51680
|
background: var(--settings-panel);
|
|
51089
51681
|
border: 1px solid var(--settings-border);
|
|
51090
51682
|
border-radius: 12px;
|
|
51091
51683
|
}
|
|
51092
51684
|
|
|
51093
|
-
.settings-about-
|
|
51685
|
+
.settings-about-brand {
|
|
51686
|
+
display: flex;
|
|
51687
|
+
align-items: flex-start;
|
|
51688
|
+
gap: 14px;
|
|
51689
|
+
min-width: 0;
|
|
51690
|
+
}
|
|
51691
|
+
|
|
51692
|
+
.settings-about-brand__mark {
|
|
51693
|
+
display: inline-flex;
|
|
51694
|
+
align-items: center;
|
|
51695
|
+
justify-content: center;
|
|
51696
|
+
width: 44px;
|
|
51697
|
+
height: 44px;
|
|
51698
|
+
flex: none;
|
|
51094
51699
|
color: var(--settings-text);
|
|
51095
|
-
|
|
51096
|
-
|
|
51097
|
-
|
|
51700
|
+
background: var(--settings-surface);
|
|
51701
|
+
border: 1px solid var(--settings-border);
|
|
51702
|
+
border-radius: 12px;
|
|
51098
51703
|
}
|
|
51099
51704
|
|
|
51100
|
-
.settings-about-
|
|
51705
|
+
.settings-about-brand__meta {
|
|
51706
|
+
display: grid;
|
|
51707
|
+
gap: 4px;
|
|
51708
|
+
min-width: 0;
|
|
51709
|
+
flex: 1;
|
|
51710
|
+
}
|
|
51711
|
+
|
|
51712
|
+
.settings-about-brand__title-row {
|
|
51713
|
+
display: flex;
|
|
51714
|
+
align-items: center;
|
|
51715
|
+
flex-wrap: wrap;
|
|
51716
|
+
gap: 8px;
|
|
51717
|
+
}
|
|
51718
|
+
|
|
51719
|
+
.settings-about-product {
|
|
51101
51720
|
color: var(--settings-text);
|
|
51102
|
-
font-size:
|
|
51721
|
+
font-size: 18px;
|
|
51103
51722
|
font-weight: 600;
|
|
51104
51723
|
line-height: 24px;
|
|
51724
|
+
letter-spacing: -0.02em;
|
|
51725
|
+
}
|
|
51726
|
+
|
|
51727
|
+
.settings-about-tagline {
|
|
51728
|
+
margin: 0;
|
|
51729
|
+
color: var(--settings-muted);
|
|
51730
|
+
font-size: 13px;
|
|
51731
|
+
font-weight: 500;
|
|
51732
|
+
line-height: 20px;
|
|
51105
51733
|
}
|
|
51106
51734
|
|
|
51107
51735
|
.settings-about-copy {
|
|
51108
51736
|
display: grid;
|
|
51109
|
-
|
|
51110
|
-
|
|
51737
|
+
gap: 10px;
|
|
51738
|
+
padding-top: 14px;
|
|
51739
|
+
border-top: 1px solid var(--settings-divider);
|
|
51111
51740
|
}
|
|
51112
51741
|
|
|
51113
|
-
.settings-about-copy p
|
|
51114
|
-
.settings-about-repository p {
|
|
51742
|
+
.settings-about-copy p {
|
|
51115
51743
|
margin: 0;
|
|
51116
51744
|
color: var(--settings-muted);
|
|
51117
51745
|
font-size: 13px;
|
|
@@ -51119,113 +51747,245 @@ ${error62.stderrTail}`] : []
|
|
|
51119
51747
|
}
|
|
51120
51748
|
|
|
51121
51749
|
.settings-about-star-callout {
|
|
51122
|
-
margin: 2px 0;
|
|
51750
|
+
margin: 2px 0 0;
|
|
51123
51751
|
color: var(--settings-warning);
|
|
51124
51752
|
font-size: 14px;
|
|
51125
51753
|
font-weight: 600;
|
|
51126
51754
|
line-height: 22px;
|
|
51127
51755
|
}
|
|
51128
51756
|
|
|
51129
|
-
.settings-about-
|
|
51757
|
+
.settings-about-links-section {
|
|
51130
51758
|
display: grid;
|
|
51131
|
-
gap:
|
|
51132
|
-
|
|
51133
|
-
|
|
51759
|
+
gap: 8px;
|
|
51760
|
+
margin-top: 22px;
|
|
51761
|
+
}
|
|
51762
|
+
|
|
51763
|
+
.settings-about-links-title {
|
|
51764
|
+
margin: 0;
|
|
51765
|
+
color: var(--settings-muted);
|
|
51766
|
+
font-size: 12.5px;
|
|
51767
|
+
font-weight: 600;
|
|
51768
|
+
line-height: 18px;
|
|
51134
51769
|
}
|
|
51135
51770
|
|
|
51136
|
-
.settings-about-
|
|
51771
|
+
.settings-about-links-card {
|
|
51772
|
+
display: flex;
|
|
51773
|
+
flex-direction: column;
|
|
51774
|
+
background: var(--settings-panel);
|
|
51775
|
+
border: 1px solid var(--settings-border);
|
|
51776
|
+
border-radius: 12px;
|
|
51777
|
+
overflow: hidden;
|
|
51778
|
+
}
|
|
51779
|
+
|
|
51780
|
+
.settings-about-link-row {
|
|
51137
51781
|
display: flex;
|
|
51138
51782
|
align-items: center;
|
|
51139
|
-
|
|
51140
|
-
|
|
51141
|
-
|
|
51142
|
-
|
|
51143
|
-
color: var(--settings-
|
|
51144
|
-
font-size: 13px;
|
|
51145
|
-
font-weight: 600;
|
|
51783
|
+
justify-content: space-between;
|
|
51784
|
+
gap: 14px;
|
|
51785
|
+
min-height: 54px;
|
|
51786
|
+
padding: 12px 18px;
|
|
51787
|
+
color: var(--settings-text);
|
|
51146
51788
|
text-decoration: none;
|
|
51789
|
+
transition: background-color 120ms ease;
|
|
51147
51790
|
}
|
|
51148
51791
|
|
|
51149
|
-
.settings-about-
|
|
51150
|
-
|
|
51792
|
+
.settings-about-link-row + .settings-about-link-row {
|
|
51793
|
+
border-top: 1px solid var(--settings-divider);
|
|
51151
51794
|
}
|
|
51152
51795
|
|
|
51153
|
-
.settings-about-
|
|
51796
|
+
.settings-about-link-row--interactive:hover {
|
|
51797
|
+
background: var(--settings-hover);
|
|
51798
|
+
}
|
|
51799
|
+
|
|
51800
|
+
.settings-about-link-row--interactive:focus-visible {
|
|
51801
|
+
outline: 2px solid var(--settings-focus);
|
|
51802
|
+
outline-offset: -2px;
|
|
51803
|
+
}
|
|
51804
|
+
|
|
51805
|
+
.settings-about-link-row__text {
|
|
51806
|
+
display: grid;
|
|
51807
|
+
gap: 2px;
|
|
51154
51808
|
min-width: 0;
|
|
51155
|
-
|
|
51809
|
+
flex: 1;
|
|
51810
|
+
}
|
|
51811
|
+
|
|
51812
|
+
.settings-about-link-row__title {
|
|
51813
|
+
color: var(--settings-text);
|
|
51814
|
+
font-size: 13.5px;
|
|
51815
|
+
font-weight: 500;
|
|
51816
|
+
line-height: 20px;
|
|
51817
|
+
}
|
|
51818
|
+
|
|
51819
|
+
.settings-about-link-row__desc {
|
|
51820
|
+
margin: 0;
|
|
51821
|
+
color: var(--settings-muted);
|
|
51822
|
+
font-size: 12px;
|
|
51823
|
+
line-height: 18px;
|
|
51824
|
+
}
|
|
51825
|
+
|
|
51826
|
+
.settings-about-link-row__trailing {
|
|
51827
|
+
display: inline-flex;
|
|
51828
|
+
align-items: center;
|
|
51829
|
+
gap: 8px;
|
|
51830
|
+
flex: none;
|
|
51831
|
+
color: var(--settings-subtle);
|
|
51832
|
+
}
|
|
51833
|
+
|
|
51834
|
+
.settings-about-link-row__trailing code {
|
|
51156
51835
|
color: var(--settings-muted);
|
|
51157
51836
|
font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
51158
|
-
font-size:
|
|
51159
|
-
|
|
51160
|
-
|
|
51837
|
+
font-size: 11.5px;
|
|
51838
|
+
line-height: 16px;
|
|
51839
|
+
}
|
|
51840
|
+
|
|
51841
|
+
.settings-version-pill,
|
|
51842
|
+
.settings-install-pill {
|
|
51843
|
+
display: inline-flex;
|
|
51844
|
+
align-items: center;
|
|
51845
|
+
height: 22px;
|
|
51846
|
+
padding: 0 8px;
|
|
51847
|
+
border-radius: 999px;
|
|
51848
|
+
font-size: 11.5px;
|
|
51849
|
+
font-weight: 500;
|
|
51850
|
+
line-height: 16px;
|
|
51851
|
+
font-variant-numeric: tabular-nums;
|
|
51161
51852
|
white-space: nowrap;
|
|
51162
51853
|
}
|
|
51163
51854
|
|
|
51855
|
+
.settings-version-pill {
|
|
51856
|
+
color: var(--settings-text);
|
|
51857
|
+
background: var(--settings-surface);
|
|
51858
|
+
border: 1px solid var(--settings-border);
|
|
51859
|
+
font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
51860
|
+
}
|
|
51861
|
+
|
|
51862
|
+
.settings-install-pill {
|
|
51863
|
+
color: var(--settings-muted);
|
|
51864
|
+
background: transparent;
|
|
51865
|
+
border: 1px solid var(--settings-border);
|
|
51866
|
+
}
|
|
51867
|
+
|
|
51868
|
+
.settings-version-pill--latest {
|
|
51869
|
+
color: var(--settings-focus);
|
|
51870
|
+
background: light-dark(rgb(11 117 209 / 8%), rgb(102 170 249 / 14%));
|
|
51871
|
+
border-color: light-dark(rgb(11 117 209 / 24%), rgb(102 170 249 / 34%));
|
|
51872
|
+
}
|
|
51873
|
+
|
|
51874
|
+
@keyframes settings-skeleton-pulse {
|
|
51875
|
+
0%,
|
|
51876
|
+
100% {
|
|
51877
|
+
opacity: 0.45;
|
|
51878
|
+
}
|
|
51879
|
+
50% {
|
|
51880
|
+
opacity: 0.95;
|
|
51881
|
+
}
|
|
51882
|
+
}
|
|
51883
|
+
|
|
51884
|
+
.settings-skeleton {
|
|
51885
|
+
display: inline-block;
|
|
51886
|
+
border-radius: 999px;
|
|
51887
|
+
background: var(--settings-skeleton, var(--settings-surface));
|
|
51888
|
+
animation: settings-skeleton-pulse 1.4s ease-in-out infinite;
|
|
51889
|
+
}
|
|
51890
|
+
|
|
51891
|
+
.settings-skeleton--pill {
|
|
51892
|
+
width: 68px;
|
|
51893
|
+
height: 20px;
|
|
51894
|
+
}
|
|
51895
|
+
|
|
51896
|
+
.settings-skeleton--pill-sm {
|
|
51897
|
+
width: 52px;
|
|
51898
|
+
height: 20px;
|
|
51899
|
+
}
|
|
51900
|
+
|
|
51901
|
+
@media (prefers-reduced-motion: reduce) {
|
|
51902
|
+
.settings-skeleton {
|
|
51903
|
+
animation: none;
|
|
51904
|
+
opacity: 0.7;
|
|
51905
|
+
}
|
|
51906
|
+
}
|
|
51907
|
+
|
|
51164
51908
|
.settings-page-error {
|
|
51165
51909
|
padding: 16px;
|
|
51166
51910
|
color: var(--settings-text);
|
|
51167
51911
|
font-size: 13px;
|
|
51168
51912
|
background: var(--settings-panel);
|
|
51169
51913
|
border: 1px solid var(--settings-border);
|
|
51170
|
-
border-radius:
|
|
51914
|
+
border-radius: 12px;
|
|
51171
51915
|
}
|
|
51172
51916
|
|
|
51173
|
-
.settings-update-
|
|
51917
|
+
.settings-update-card {
|
|
51918
|
+
display: flex;
|
|
51919
|
+
flex-direction: column;
|
|
51920
|
+
background: var(--settings-panel);
|
|
51921
|
+
border: 1px solid var(--settings-border);
|
|
51922
|
+
border-radius: 12px;
|
|
51923
|
+
overflow: hidden;
|
|
51924
|
+
}
|
|
51925
|
+
|
|
51926
|
+
.settings-update-card__top {
|
|
51174
51927
|
display: flex;
|
|
51175
51928
|
align-items: center;
|
|
51176
51929
|
justify-content: space-between;
|
|
51177
|
-
gap: 12px 16px;
|
|
51178
51930
|
flex-wrap: wrap;
|
|
51179
|
-
|
|
51931
|
+
gap: 12px 16px;
|
|
51932
|
+
padding: 16px 18px;
|
|
51180
51933
|
}
|
|
51181
51934
|
|
|
51182
|
-
.settings-update-
|
|
51183
|
-
|
|
51935
|
+
.settings-update-card__identity {
|
|
51936
|
+
display: flex;
|
|
51937
|
+
align-items: center;
|
|
51938
|
+
gap: 12px;
|
|
51939
|
+
min-width: 0;
|
|
51940
|
+
flex: 1 1 220px;
|
|
51184
51941
|
}
|
|
51185
51942
|
|
|
51186
|
-
.settings-update-
|
|
51187
|
-
display: flex;
|
|
51188
|
-
|
|
51189
|
-
|
|
51190
|
-
|
|
51943
|
+
.settings-update-card__mark {
|
|
51944
|
+
display: inline-flex;
|
|
51945
|
+
align-items: center;
|
|
51946
|
+
justify-content: center;
|
|
51947
|
+
width: 38px;
|
|
51948
|
+
height: 38px;
|
|
51949
|
+
flex: none;
|
|
51950
|
+
color: var(--settings-text);
|
|
51951
|
+
background: var(--settings-surface);
|
|
51952
|
+
border: 1px solid var(--settings-border);
|
|
51953
|
+
border-radius: 10px;
|
|
51191
51954
|
}
|
|
51192
51955
|
|
|
51193
|
-
.settings-update-
|
|
51956
|
+
.settings-update-card__copy {
|
|
51194
51957
|
display: grid;
|
|
51958
|
+
gap: 5px;
|
|
51195
51959
|
min-width: 0;
|
|
51196
|
-
gap: 4px;
|
|
51197
|
-
}
|
|
51198
|
-
|
|
51199
|
-
.settings-update-metadata__item span {
|
|
51200
|
-
color: var(--settings-muted);
|
|
51201
|
-
font-size: 12px;
|
|
51202
|
-
line-height: 18px;
|
|
51203
51960
|
}
|
|
51204
51961
|
|
|
51205
|
-
.settings-update-
|
|
51206
|
-
min-width: 0;
|
|
51207
|
-
overflow-wrap: anywhere;
|
|
51962
|
+
.settings-update-card__product {
|
|
51208
51963
|
color: var(--settings-text);
|
|
51209
51964
|
font-size: 15px;
|
|
51210
|
-
font-weight:
|
|
51211
|
-
line-height:
|
|
51965
|
+
font-weight: 600;
|
|
51966
|
+
line-height: 20px;
|
|
51967
|
+
letter-spacing: -0.01em;
|
|
51212
51968
|
}
|
|
51213
51969
|
|
|
51214
|
-
|
|
51215
|
-
|
|
51216
|
-
|
|
51970
|
+
.settings-update-metadata {
|
|
51971
|
+
display: flex;
|
|
51972
|
+
align-items: center;
|
|
51973
|
+
flex-wrap: wrap;
|
|
51974
|
+
gap: 6px;
|
|
51975
|
+
min-height: 22px;
|
|
51217
51976
|
}
|
|
51218
51977
|
|
|
51219
51978
|
.settings-update-panel {
|
|
51220
51979
|
display: grid;
|
|
51221
51980
|
grid-template-columns: minmax(0, 1fr);
|
|
51222
51981
|
min-width: 0;
|
|
51223
|
-
gap:
|
|
51224
|
-
padding:
|
|
51982
|
+
gap: 10px;
|
|
51983
|
+
padding: 14px 18px;
|
|
51225
51984
|
color: var(--settings-text);
|
|
51226
|
-
background:
|
|
51227
|
-
border:
|
|
51228
|
-
border-
|
|
51985
|
+
background: transparent;
|
|
51986
|
+
border: 0;
|
|
51987
|
+
border-top: 1px solid var(--settings-divider);
|
|
51988
|
+
border-radius: 0;
|
|
51229
51989
|
}
|
|
51230
51990
|
|
|
51231
51991
|
/* Update available: status on the left, the one action on the right; wraps cleanly on narrow screens. */
|
|
@@ -51235,7 +51995,7 @@ ${error62.stderrTail}`] : []
|
|
|
51235
51995
|
align-items: center;
|
|
51236
51996
|
justify-content: space-between;
|
|
51237
51997
|
gap: 12px 16px;
|
|
51238
|
-
padding: 14px
|
|
51998
|
+
padding: 14px 18px;
|
|
51239
51999
|
}
|
|
51240
52000
|
|
|
51241
52001
|
.settings-update-panel[data-inline] > .settings-update-panel__head {
|
|
@@ -51534,10 +52294,11 @@ ${error62.stderrTail}`] : []
|
|
|
51534
52294
|
.settings-macos-signing {
|
|
51535
52295
|
display: grid;
|
|
51536
52296
|
gap: 8px;
|
|
51537
|
-
margin-top:
|
|
51538
|
-
padding:
|
|
52297
|
+
margin-top: 14px;
|
|
52298
|
+
padding: 16px 18px;
|
|
52299
|
+
background: var(--settings-panel);
|
|
51539
52300
|
border: 1px solid var(--settings-border);
|
|
51540
|
-
border-radius:
|
|
52301
|
+
border-radius: 12px;
|
|
51541
52302
|
}
|
|
51542
52303
|
|
|
51543
52304
|
.settings-macos-signing[hidden] {
|
|
@@ -51722,17 +52483,18 @@ ${error62.stderrTail}`] : []
|
|
|
51722
52483
|
flex: none;
|
|
51723
52484
|
width: max-content;
|
|
51724
52485
|
max-width: 100%;
|
|
51725
|
-
min-height:
|
|
52486
|
+
min-height: 32px;
|
|
51726
52487
|
gap: 6px;
|
|
51727
|
-
padding:
|
|
52488
|
+
padding: 0 12px;
|
|
51728
52489
|
white-space: nowrap;
|
|
51729
52490
|
color: var(--settings-primary-text);
|
|
51730
52491
|
font: inherit;
|
|
51731
|
-
font-size:
|
|
52492
|
+
font-size: 12.5px;
|
|
52493
|
+
font-weight: 500;
|
|
51732
52494
|
text-decoration: none;
|
|
51733
52495
|
background: var(--settings-primary);
|
|
51734
52496
|
border: 1px solid var(--settings-primary);
|
|
51735
|
-
border-radius:
|
|
52497
|
+
border-radius: 8px;
|
|
51736
52498
|
cursor: pointer;
|
|
51737
52499
|
}
|
|
51738
52500
|
|
|
@@ -55656,7 +56418,7 @@ dialog.settings-extensions-lightbox::backdrop {
|
|
|
55656
56418
|
`;
|
|
55657
56419
|
|
|
55658
56420
|
// src/settings/tailwind.css
|
|
55659
|
-
var tailwind_default = '@layer properties, theme, base, components, utilities;\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-full{top:100%}.left-0{left:0}.z-20{z-index:20}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.ml-\\[45px\\]{margin-left:45px}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-\\[60px\\]{min-height:60px}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.w-px{width:1px}.max-w-64{max-width:calc(var(--spacing) * 64)}.min-w-0{min-width:0}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-settings-border{border-color:var(--settings-border)}.border-settings-divider{border-color:var(--settings-divider)}.bg-settings-panel{background-color:var(--settings-panel)}.bg-settings-subtle{background-color:var(--settings-subtle)}.bg-settings-surface{background-color:var(--settings-surface)}.bg-settings-surface-hover{background-color:var(--settings-surface-hover)}.bg-transparent{background-color:#0000}.p-0{padding:0}.p-4{padding:calc(var(--spacing) * 4)}.\\!px-0{padding-inline:0!important}.px-1{padding-inline:var(--spacing)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-4{padding-left:calc(var(--spacing) * 4)}.\\!text-right{text-align:right!important}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\\[18px\\]{--tw-leading:18px;line-height:18px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-settings-muted{color:var(--settings-muted)}.text-settings-subtle{color:var(--settings-subtle)}.text-settings-text{color:var(--settings-text)}.lowercase{text-transform:lowercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_10px_30px_rgb\\(0_0_0\\/0\\.22\\)\\]{--tw-shadow:0 10px 30px var(--tw-shadow-color,#00000038);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:bg-settings-hover:hover{background-color:var(--settings-hover)}.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
56421
|
+
var tailwind_default = '@layer properties, theme, base, components, utilities;\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-full{top:100%}.left-0{left:0}.z-20{z-index:20}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-7{margin-top:calc(var(--spacing) * 7)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.ml-\\[45px\\]{margin-left:45px}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-\\[60px\\]{min-height:60px}.w-9{width:calc(var(--spacing) * 9)}.w-14{width:calc(var(--spacing) * 14)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.w-px{width:1px}.max-w-64{max-width:calc(var(--spacing) * 64)}.min-w-0{min-width:0}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.appearance-none{appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-settings-border{border-color:var(--settings-border)}.border-settings-divider{border-color:var(--settings-divider)}.bg-settings-panel{background-color:var(--settings-panel)}.bg-settings-subtle{background-color:var(--settings-subtle)}.bg-settings-surface{background-color:var(--settings-surface)}.bg-settings-surface-hover{background-color:var(--settings-surface-hover)}.bg-transparent{background-color:#0000}.p-0{padding:0}.p-4{padding:calc(var(--spacing) * 4)}.\\!px-0{padding-inline:0!important}.px-1{padding-inline:var(--spacing)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pl-4{padding-left:calc(var(--spacing) * 4)}.\\!text-right{text-align:right!important}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\\[18px\\]{--tw-leading:18px;line-height:18px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-pre-wrap{white-space:pre-wrap}.text-settings-muted{color:var(--settings-muted)}.text-settings-subtle{color:var(--settings-subtle)}.text-settings-text{color:var(--settings-text)}.lowercase{text-transform:lowercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_10px_30px_rgb\\(0_0_0\\/0\\.22\\)\\]{--tw-shadow:0 10px 30px var(--tw-shadow-color,#00000038);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-settings-border{--tw-ring-color:var(--settings-border)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}.group-focus-within\\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\\[state\\=failed\\]\\/status\\:bg-settings-danger:is(:where(.group\\/status)[data-state=failed] *){background-color:var(--settings-danger)}.group-data-\\[state\\=unavailable\\]\\/status\\:bg-settings-warning:is(:where(.group\\/status)[data-state=unavailable] *){background-color:var(--settings-warning)}.marker\\:text-settings-subtle ::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle ::-webkit-details-marker{color:var(--settings-subtle)}.marker\\:text-settings-subtle::-webkit-details-marker{color:var(--settings-subtle)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:top-0\\.5:before{content:var(--tw-content);top:calc(var(--spacing) * .5)}.before\\:left-0\\.5:before{content:var(--tw-content);left:calc(var(--spacing) * .5)}.before\\:size-4:before{content:var(--tw-content);width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.before\\:rounded-full:before{content:var(--tw-content);border-radius:3.40282e38px}.before\\:bg-white:before{content:var(--tw-content);background-color:#fff}.before\\:shadow-\\[0_1px_2px_rgb\\(0_0_0\\/0\\.3\\)\\]:before{content:var(--tw-content);--tw-shadow:0 1px 2px var(--tw-shadow-color,#0000004d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.before\\:transition-transform:before{content:var(--tw-content);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.first\\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first-of-type\\:mt-0:first-of-type{margin-top:0}.checked\\:bg-settings-focus:checked{background-color:var(--settings-focus)}.checked\\:ring-transparent:checked{--tw-ring-color:transparent}.checked\\:before\\:translate-x-4:checked:before{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.focus-within\\:border-settings-focus:focus-within{border-color:var(--settings-focus)}@media (hover:hover){.hover\\:bg-settings-hover:hover{background-color:var(--settings-hover)}.hover\\:text-settings-text:hover{color:var(--settings-text)}}.focus-visible\\:text-settings-text:focus-visible{color:var(--settings-text)}.focus-visible\\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-settings-focus:focus-visible{outline-color:var(--settings-focus)}.data-\\[invalid\\=true\\]\\:border-settings-danger[data-invalid=true]{border-color:var(--settings-danger)}.data-\\[invalid\\=true\\]\\:text-settings-danger[data-invalid=true],.data-\\[state\\=failed\\]\\:text-settings-danger[data-state=failed]{color:var(--settings-danger)}.data-\\[state\\=unavailable\\]\\:text-settings-warning[data-state=unavailable]{color:var(--settings-warning)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@layer properties{\n *, ::before, ::after, ::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-drop-shadow-alpha:100%;--tw-content:"";--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}\n';
|
|
55660
56422
|
|
|
55661
56423
|
// src/console/app.ts
|
|
55662
56424
|
function required2(pages, id2) {
|