@codexhost/cli-win32-x64 0.30.0 → 0.32.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 +1 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +62 -5
- package/app/console-web.js +236 -30
- package/app/desktop-controller.mjs +68 -9
- package/app/host-runtime.mjs +3653 -1136
- package/app/plugins/antigravity/plugin.mjs +64 -27
- package/app/plugins/claude-code/plugin.mjs +73 -13
- package/app/plugins/codebuddy/plugin.mjs +261 -93
- package/app/plugins/codex-usage/plugin.mjs +62 -5
- package/app/plugins/copilot/plugin.mjs +62 -5
- package/app/plugins/cursor-cli/plugin.mjs +62 -5
- package/app/plugins/deepseek-harness/plugin.mjs +62 -5
- package/app/plugins/devin/plugin.mjs +62 -5
- package/app/plugins/grok/plugin.mjs +62 -5
- package/app/plugins/hermes/plugin.mjs +62 -5
- package/app/plugins/kimi-code/plugin.mjs +62 -5
- package/app/plugins/kiro-cli/plugin.mjs +62 -5
- package/app/plugins/omp/plugin.mjs +62 -5
- package/app/plugins/opencode/plugin.mjs +62 -5
- package/app/plugins/pi/plugin.mjs +62 -5
- package/app/plugins/qoder/plugin.mjs +62 -5
- package/app/plugins/qoder-cn/plugin.mjs +62 -5
- package/app/plugins/qwen-code/plugin.mjs +62 -5
- package/app/plugins/workbuddy/plugin.mjs +261 -93
- package/app/plugins/zcode/plugin.mjs +62 -5
- package/app/renderer-extension.js +950 -538
- package/app/web/assets/{abnfDiagram-XWFEHMT6-BdinLox4.js → abnfDiagram-XWFEHMT6-CnJyN70L.js} +1 -1
- package/app/web/assets/{architectureDiagram-CSQXQB3N-DgPBbtvP.js → architectureDiagram-CSQXQB3N-DH0ITYVE.js} +1 -1
- package/app/web/assets/{blockDiagram-BEDRHYPZ-B4ENdwtZ.js → blockDiagram-BEDRHYPZ-WL3ZKoKg.js} +1 -1
- package/app/web/assets/{c4Diagram-M2UUVUY5-DA6Owfyu.js → c4Diagram-M2UUVUY5-XwSPKj5H.js} +1 -1
- package/app/web/assets/{chunk-2Q5K7J3B-Dvh3qOmo.js → chunk-2Q5K7J3B-CKEzexjg.js} +1 -1
- package/app/web/assets/{chunk-3GCGMST5-VIkqueym.js → chunk-3GCGMST5-BdEgLpab.js} +1 -1
- package/app/web/assets/{chunk-5VM5RSS4-DTYof_OI.js → chunk-5VM5RSS4-DyxL5-Ts.js} +1 -1
- package/app/web/assets/{chunk-7U7NFRK5-Dp7s2dg0.js → chunk-7U7NFRK5-FXLb4tYa.js} +1 -1
- package/app/web/assets/{chunk-CNRTWJTD-TKBKxZLU.js → chunk-CNRTWJTD-DcdC1OYr.js} +1 -1
- package/app/web/assets/{chunk-D5HYT7QG-BRZDovSS.js → chunk-D5HYT7QG-BOz9vBX9.js} +1 -1
- package/app/web/assets/{chunk-EBZ3SEQC-C9USZ3tT.js → chunk-EBZ3SEQC-Dmc_Z53x.js} +2 -2
- package/app/web/assets/{chunk-JWPE2WC7-BrdvVNVo.js → chunk-JWPE2WC7-CrFwSwYi.js} +1 -1
- package/app/web/assets/{chunk-KTR4FSNJ-C7qwjGba.js → chunk-KTR4FSNJ-BY3AzFaI.js} +1 -1
- package/app/web/assets/{chunk-XXDRQBXY-DlSrRuwN.js → chunk-XXDRQBXY-CHgNy82n.js} +1 -1
- package/app/web/assets/{classDiagram-v2-KXABOMEV-BFvB4kwX.js → classDiagram-v2-KXABOMEV-ClM3-y5Z.js} +1 -1
- package/app/web/assets/{cose-bilkent-JH36ORCC-UyCAqNvj.js → cose-bilkent-JH36ORCC-I7nd8GgO.js} +1 -1
- package/app/web/assets/{cynefin-EF2NZ3EQ-CwawUbjJ.js → cynefin-EF2NZ3EQ-DzsXmyBH.js} +1 -1
- package/app/web/assets/{cynefinDiagram-NJNITYFG-BaWEIQJ0.js → cynefinDiagram-NJNITYFG-DLHq6igy.js} +1 -1
- package/app/web/assets/{dagre-KIHZ2IZ3-B7ENIjLG.js → dagre-KIHZ2IZ3-BK991Mno.js} +1 -1
- package/app/web/assets/{diagram-7YQZDPLS-CxRMU8xq.js → diagram-7YQZDPLS-C4qiWdQU.js} +1 -1
- package/app/web/assets/{diagram-QBROCOUO-qo7sxm4K.js → diagram-QBROCOUO-C_ZyBohC.js} +1 -1
- package/app/web/assets/{diagram-RJJCUUZO-CQiGMCMe.js → diagram-RJJCUUZO-C5Aezm94.js} +1 -1
- package/app/web/assets/{diagram-WERXNKYE-D0Jps1As.js → diagram-WERXNKYE-Ckc_umlF.js} +1 -1
- package/app/web/assets/{diagram-YHHI257C-p4AB8cqK.js → diagram-YHHI257C-BHjReoZZ.js} +1 -1
- package/app/web/assets/{diagram-YR4HJLHV-Bh6JKT04.js → diagram-YR4HJLHV-DVTGi_y9.js} +1 -1
- package/app/web/assets/{ebnfDiagram-N527522P-DRac0k4W.js → ebnfDiagram-N527522P-getuz1AR.js} +1 -1
- package/app/web/assets/{elk-O5DQBFGD-CWTz5SZP.js → elk-O5DQBFGD-C7mhTIuK.js} +1 -1
- package/app/web/assets/{erDiagram-K3K3BIDK-DE3w4BEY.js → erDiagram-K3K3BIDK-sV-HZvUV.js} +1 -1
- package/app/web/assets/{flowDiagram-Z6JWZHQI-NYs8bi5t.js → flowDiagram-Z6JWZHQI-D0L4wXUs.js} +1 -1
- package/app/web/assets/{ganttDiagram-3PRQTZWP-Bspp9btW.js → ganttDiagram-3PRQTZWP-BNt9Bjjo.js} +1 -1
- package/app/web/assets/{gitGraphDiagram-VXDFKS5L-ByGW1uvv.js → gitGraphDiagram-VXDFKS5L-BABZzhHw.js} +1 -1
- package/app/web/assets/{grid-E2QIVN74-CegebiIw.js → grid-E2QIVN74-DLe2FQ_d.js} +1 -1
- package/app/web/assets/{index-DFPOGLS4.js → index-BLmkBEoq.js} +100 -100
- package/app/web/assets/index-Dwdnvinl.css +1 -0
- package/app/web/assets/{infoDiagram-EZ3ZOAHP-CexmsdZx.js → infoDiagram-EZ3ZOAHP-BKDuUqcr.js} +1 -1
- package/app/web/assets/{ishikawaDiagram-S3EKX5GW-BbWqKhg6.js → ishikawaDiagram-S3EKX5GW-C75EGghg.js} +1 -1
- package/app/web/assets/{journeyDiagram-POQNLL5X-27YlCe-1.js → journeyDiagram-POQNLL5X-q7Obruqa.js} +1 -1
- package/app/web/assets/{kanban-definition-BH5XI6FM-BAhOdeck.js → kanban-definition-BH5XI6FM-CzAqhFED.js} +1 -1
- package/app/web/assets/{mermaid.core-sGgCbv5y.js → mermaid.core-Bysx44LR.js} +4 -4
- package/app/web/assets/{mindmap-definition-WVAN44T4-CsMIX0Lj.js → mindmap-definition-WVAN44T4-Ds5rXTrF.js} +1 -1
- package/app/web/assets/{pegDiagram-D4NLKWP3-Cs3LXqn_.js → pegDiagram-D4NLKWP3-hmdERwtT.js} +1 -1
- package/app/web/assets/{pieDiagram-36ENHN4W-DdQsQX9I.js → pieDiagram-36ENHN4W-DfTnyG8D.js} +1 -1
- package/app/web/assets/{quadrantDiagram-ZQUDMS73-D1jOKqx_.js → quadrantDiagram-ZQUDMS73-CreQWjZQ.js} +1 -1
- package/app/web/assets/{railroadDiagram-JIZHGYPL-XulrgX5n.js → railroadDiagram-JIZHGYPL-Bhc_eO9G.js} +1 -1
- package/app/web/assets/{render-VIF2ZAQL-CSsGw-0I.js → render-VIF2ZAQL-BS1Zgk8K.js} +2 -2
- package/app/web/assets/{requirementDiagram-AXW2TVFA-CT66GXLN.js → requirementDiagram-AXW2TVFA-Dlp7d6QT.js} +1 -1
- package/app/web/assets/{sankeyDiagram-FBCJTAIF-CNRKebNY.js → sankeyDiagram-FBCJTAIF-DGBchL30.js} +1 -1
- package/app/web/assets/{sequenceDiagram-3LA2ROMG-DVl5y64e.js → sequenceDiagram-3LA2ROMG-DauFg5_R.js} +1 -1
- package/app/web/assets/{sizeCapture-2Q2CQKSF-Kg0XxSga.js → sizeCapture-2Q2CQKSF-DR-zy7an.js} +1 -1
- package/app/web/assets/{stateDiagram-v2-ATKHQDJO-DYQnfMsS.js → stateDiagram-v2-ATKHQDJO-BSRBSGUi.js} +1 -1
- package/app/web/assets/{swimlanes-YQL5WMAO-Chqt7pxD.js → swimlanes-YQL5WMAO-BwzOr5Dv.js} +1 -1
- package/app/web/assets/swimlanesDiagram-UCCPES4V-CNV63-us.js +8 -0
- package/app/web/assets/{timeline-definition-7Z437IG3-aHFxjIT6.js → timeline-definition-7Z437IG3-BoZ-mNKc.js} +1 -1
- package/app/web/assets/{usecaseDiagram-RDK6N6HP-DsC5tFe4.js → usecaseDiagram-RDK6N6HP-DikhgH2m.js} +1 -1
- package/app/web/assets/{vennDiagram-SHRQU5PJ-C65oZxFn.js → vennDiagram-SHRQU5PJ-DY_oIxwl.js} +1 -1
- package/app/web/assets/{wardleyDiagram-F3OXNVQS-HTkq7DT0.js → wardleyDiagram-F3OXNVQS-DrRIiB_M.js} +1 -1
- package/app/web/assets/{xychartDiagram-GDYJKCDI-p1LpQ9MH.js → xychartDiagram-GDYJKCDI-CzSPgHV7.js} +1 -1
- package/app/web/codexhost-settings.js +126 -58
- package/app/web/index.html +2 -2
- package/app/web/plugins/deepseek-ai__dsh-api-gateway/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +8 -8
- package/app/web/plugins/deepseek-ai__dsh-api-workspace-controller/client.js +3 -3
- package/app/web/plugins/deepseek-ai__dsh-client-locale/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-attachment/client.js +1 -1
- 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 +12 -12
- package/app/web/plugins/deepseek-ai__dsh-client-ui-commands/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-plan/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +7 -7
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-right/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-user-questions/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +64 -66
- package/app/web/sw.js +230 -16
- package/app/web-modules/node_modules/@deepseek-ai/dsh-client-modules/index.js +7 -7
- package/app/web-modules/server.mjs +1482 -325
- 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-BbmB5VLj.css +0 -1
- package/app/web/assets/swimlanesDiagram-UCCPES4V-BfREktNP.js +0 -8
|
@@ -33572,6 +33572,45 @@ var nativeCodexGoalResultSchema = external_exports.object({
|
|
|
33572
33572
|
// packages/shared-contracts/dist/client-channel.js
|
|
33573
33573
|
var CLIENT_CHANNEL_VERSION = 1;
|
|
33574
33574
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
33575
|
+
var THREAD_SECTION_CAPABILITY = "threadSectionsV1";
|
|
33576
|
+
var threadSectionName = external_exports.string().trim().min(1);
|
|
33577
|
+
var threadSectionId = external_exports.string().min(1);
|
|
33578
|
+
var threadSectionAppearance = external_exports.object({
|
|
33579
|
+
icon: external_exports.string().nullable(),
|
|
33580
|
+
color: external_exports.string().nullable()
|
|
33581
|
+
});
|
|
33582
|
+
var clientThreadSectionAppearanceSchema = threadSectionAppearance.nullable();
|
|
33583
|
+
var CLIENT_THREAD_SECTION_MUTATIONS = {
|
|
33584
|
+
create: {
|
|
33585
|
+
method: "codexhost/thread/sections/create",
|
|
33586
|
+
params: external_exports.object({ name: threadSectionName }).strict()
|
|
33587
|
+
},
|
|
33588
|
+
update: {
|
|
33589
|
+
method: "codexhost/thread/sections/update",
|
|
33590
|
+
params: external_exports.object({
|
|
33591
|
+
sectionId: threadSectionId,
|
|
33592
|
+
name: threadSectionName,
|
|
33593
|
+
appearance: threadSectionAppearance.strict().nullable().optional()
|
|
33594
|
+
}).strict()
|
|
33595
|
+
},
|
|
33596
|
+
delete: {
|
|
33597
|
+
method: "codexhost/thread/sections/delete",
|
|
33598
|
+
params: external_exports.object({ sectionId: threadSectionId }).strict()
|
|
33599
|
+
}
|
|
33600
|
+
};
|
|
33601
|
+
var clientThreadSectionMutationResultSchema = external_exports.discriminatedUnion("status", [
|
|
33602
|
+
external_exports.object({ status: external_exports.literal("unknown") }),
|
|
33603
|
+
external_exports.object({
|
|
33604
|
+
status: external_exports.literal("confirmed"),
|
|
33605
|
+
sectionId: threadSectionId,
|
|
33606
|
+
section: external_exports.object({
|
|
33607
|
+
id: threadSectionId,
|
|
33608
|
+
name: external_exports.string().min(1),
|
|
33609
|
+
appearance: clientThreadSectionAppearanceSchema
|
|
33610
|
+
}).nullable(),
|
|
33611
|
+
syncPending: external_exports.boolean()
|
|
33612
|
+
})
|
|
33613
|
+
]);
|
|
33575
33614
|
var CLIENT_CHANNEL_METHODS = [
|
|
33576
33615
|
"codexhost/skills/list",
|
|
33577
33616
|
"codexhost/voice/status",
|
|
@@ -33582,6 +33621,8 @@ var CLIENT_CHANNEL_METHODS = [
|
|
|
33582
33621
|
"codexhost/harness/preferences/get",
|
|
33583
33622
|
"codexhost/harness/preferences/patch",
|
|
33584
33623
|
"experimentalFeature/list",
|
|
33624
|
+
"collaborationMode/list",
|
|
33625
|
+
"codexhost/thread/collaboration-mode/select",
|
|
33585
33626
|
"thread/list",
|
|
33586
33627
|
"thread/metadata/update",
|
|
33587
33628
|
"codexhost/thread/catalog/read",
|
|
@@ -33618,6 +33659,9 @@ var CLIENT_CHANNEL_METHODS = [
|
|
|
33618
33659
|
"codexhost/thread/pins/list",
|
|
33619
33660
|
"codexhost/thread/sections/list",
|
|
33620
33661
|
"codexhost/thread/sections/move",
|
|
33662
|
+
CLIENT_THREAD_SECTION_MUTATIONS.create.method,
|
|
33663
|
+
CLIENT_THREAD_SECTION_MUTATIONS.update.method,
|
|
33664
|
+
CLIENT_THREAD_SECTION_MUTATIONS.delete.method,
|
|
33621
33665
|
"codexhost/thread/pins/set",
|
|
33622
33666
|
"codexhost/harness/plugins/list",
|
|
33623
33667
|
"codexhost/harness/inspect",
|
|
@@ -33668,16 +33712,21 @@ var CLIENT_CHANNEL_METHODS = [
|
|
|
33668
33712
|
"codexhost/sessions/loaded/list"
|
|
33669
33713
|
];
|
|
33670
33714
|
var clientThreadSectionsSchema = external_exports.object({
|
|
33715
|
+
[THREAD_SECTION_CAPABILITY]: external_exports.literal(true).optional(),
|
|
33716
|
+
complete: external_exports.literal(false).optional(),
|
|
33671
33717
|
sections: external_exports.array(external_exports.object({
|
|
33672
33718
|
id: external_exports.string().min(1),
|
|
33673
33719
|
name: external_exports.string().min(1),
|
|
33720
|
+
appearance: clientThreadSectionAppearanceSchema.optional(),
|
|
33674
33721
|
threads: external_exports.array(jsonObjectSchema)
|
|
33675
|
-
})
|
|
33676
|
-
})
|
|
33722
|
+
}))
|
|
33723
|
+
});
|
|
33677
33724
|
var clientThreadSectionMoveSchema = external_exports.object({
|
|
33678
33725
|
threadId: external_exports.string().min(1).max(1024),
|
|
33679
|
-
sectionId: external_exports.string().min(1).max(1024).nullable()
|
|
33680
|
-
|
|
33726
|
+
sectionId: external_exports.string().min(1).max(1024).nullable(),
|
|
33727
|
+
beforeThreadId: external_exports.string().min(1).max(1024).nullable().optional(),
|
|
33728
|
+
expectedSourceSectionId: external_exports.string().min(1).max(1024).optional()
|
|
33729
|
+
}).refine((move) => move.expectedSourceSectionId === void 0 || move.sectionId === null);
|
|
33681
33730
|
var clientThreadPinsSchema = external_exports.object({ threadIds: external_exports.array(external_exports.string().min(1)) }).strict();
|
|
33682
33731
|
var clientThreadPinParamsSchema = external_exports.object({ threadId: external_exports.string().min(1).max(1024), pinned: external_exports.boolean() }).strict();
|
|
33683
33732
|
var clientThreadTreeReadParamsSchema = external_exports.object({}).strict();
|
|
@@ -33724,6 +33773,7 @@ var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
|
33724
33773
|
harnessId: external_exports.string().min(1)
|
|
33725
33774
|
}),
|
|
33726
33775
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
33776
|
+
external_exports.object({ type: external_exports.literal("sections-changed"), cursor: clientChannelCursorSchema }),
|
|
33727
33777
|
external_exports.object({
|
|
33728
33778
|
type: external_exports.literal("preferences-changed"),
|
|
33729
33779
|
cursor: clientChannelCursorSchema,
|
|
@@ -33865,6 +33915,7 @@ var clientThreadSnapshotSchema = external_exports.object({
|
|
|
33865
33915
|
nextCursor: external_exports.string().nullable()
|
|
33866
33916
|
}),
|
|
33867
33917
|
configuration: external_exports.object({
|
|
33918
|
+
codexCollaborationMode: external_exports.enum(["plan", "default"]).optional(),
|
|
33868
33919
|
/** Native Codex model names are not external Harness transport refs. */
|
|
33869
33920
|
native: external_exports.object({
|
|
33870
33921
|
model: external_exports.string().min(1).max(1024).optional(),
|
|
@@ -33890,7 +33941,8 @@ var clientChannelDescriptorSchema = external_exports.object({
|
|
|
33890
33941
|
startedAt: external_exports.number(),
|
|
33891
33942
|
epoch: external_exports.string().uuid(),
|
|
33892
33943
|
capabilities: external_exports.object({
|
|
33893
|
-
peerDelegation: external_exports.literal(1).optional()
|
|
33944
|
+
peerDelegation: external_exports.literal(1).optional(),
|
|
33945
|
+
threadReferenceContext: external_exports.literal(1).optional()
|
|
33894
33946
|
}).optional()
|
|
33895
33947
|
});
|
|
33896
33948
|
var clientChannelResponseSchema = external_exports.object({
|
|
@@ -34562,6 +34614,11 @@ var harnessDefaultConfigurationSchema = external_exports.strictObject({
|
|
|
34562
34614
|
thinkingOptionId: harnessThinkingOptionIdSchema.optional(),
|
|
34563
34615
|
permissionModeId: harnessPermissionModeIdSchema.optional()
|
|
34564
34616
|
}).refine((value) => Boolean(value.model || value.thinkingOptionId || value.permissionModeId), "A default configuration must contain a preference");
|
|
34617
|
+
var projectHarnessSelectionSchema = external_exports.discriminatedUnion("mode", [
|
|
34618
|
+
external_exports.strictObject({ mode: external_exports.literal("global") }),
|
|
34619
|
+
external_exports.strictObject({ mode: external_exports.literal("last") }),
|
|
34620
|
+
external_exports.strictObject({ mode: external_exports.literal("manual"), harnessId: harnessIdSchema })
|
|
34621
|
+
]);
|
|
34565
34622
|
var newThreadDefaultsSchema = external_exports.strictObject({
|
|
34566
34623
|
lastHarness: harnessIdSchema.optional(),
|
|
34567
34624
|
byHarness: external_exports.record(preferenceHarnessKey, harnessDefaultConfigurationSchema)
|
|
@@ -36957,14 +37014,14 @@ function installRendererHostRouting(root, target2, discover, resolve, createPoli
|
|
|
36957
37014
|
routes.delete(hostId2);
|
|
36958
37015
|
entry?.route.policy.dispose();
|
|
36959
37016
|
};
|
|
36960
|
-
const
|
|
36961
|
-
if (!hostId2.startsWith("remote-control:")) return void 0;
|
|
37017
|
+
const connectionGeneration = (hostId2) => {
|
|
36962
37018
|
try {
|
|
36963
37019
|
return readConnection?.(hostId2);
|
|
36964
37020
|
} catch {
|
|
36965
37021
|
return null;
|
|
36966
37022
|
}
|
|
36967
37023
|
};
|
|
37024
|
+
const connectionFor = (hostId2) => hostId2.startsWith("remote-control:") ? connectionGeneration(hostId2) : void 0;
|
|
36968
37025
|
const sameConnection = (expected, current2) => expected === void 0 ? current2 === void 0 : current2?.owner === expected.owner && current2.revision === expected.revision;
|
|
36969
37026
|
const routeFor = (hostId2, discovery) => {
|
|
36970
37027
|
const manager = lookup(hostId2, discovery);
|
|
@@ -37018,6 +37075,7 @@ function installRendererHostRouting(root, target2, discover, resolve, createPoli
|
|
|
37018
37075
|
return typeof hostId2 === "string" && hostId2 ? hostId2 : null;
|
|
37019
37076
|
};
|
|
37020
37077
|
const routing = {
|
|
37078
|
+
connectionGeneration,
|
|
37021
37079
|
knownHostIds() {
|
|
37022
37080
|
if (disposed) return [];
|
|
37023
37081
|
try {
|
|
@@ -37210,14 +37268,14 @@ function installRendererHostRpcRouting(root, target2, dependencies) {
|
|
|
37210
37268
|
}
|
|
37211
37269
|
return owners;
|
|
37212
37270
|
};
|
|
37213
|
-
const
|
|
37214
|
-
if (!hostId2.startsWith("remote-control:")) return void 0;
|
|
37271
|
+
const connectionGeneration = (hostId2) => {
|
|
37215
37272
|
try {
|
|
37216
37273
|
return dependencies.readConnection?.(hostId2);
|
|
37217
37274
|
} catch {
|
|
37218
37275
|
return null;
|
|
37219
37276
|
}
|
|
37220
37277
|
};
|
|
37278
|
+
const connectionFor = (hostId2) => hostId2.startsWith("remote-control:") ? connectionGeneration(hostId2) : void 0;
|
|
37221
37279
|
const sameConnection = (previous, current2) => previous === void 0 ? current2 === void 0 : current2?.owner === previous.owner && current2.revision === previous.revision;
|
|
37222
37280
|
const isRecord3 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
37223
37281
|
const externalDrafts = /* @__PURE__ */ new Map();
|
|
@@ -37451,6 +37509,7 @@ function installRendererHostRpcRouting(root, target2, dependencies) {
|
|
|
37451
37509
|
return typeof hostId2 === "string" && hostId2 ? hostId2 : null;
|
|
37452
37510
|
};
|
|
37453
37511
|
const routing = {
|
|
37512
|
+
connectionGeneration,
|
|
37454
37513
|
knownHostIds() {
|
|
37455
37514
|
if (disposed) return [];
|
|
37456
37515
|
try {
|