@karlorz/codexhost-cli-win32-x64 0.18.0-1 → 0.19.0-1
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 +59 -2
- package/app/console-web.js +98 -8
- package/app/cpa-live-voice-hook.js +59 -2
- package/app/desktop-controller.mjs +290 -12
- package/app/host-runtime.mjs +12896 -2966
- package/app/plugins/antigravity/plugin.mjs +654 -216
- package/app/plugins/claude-code/plugin.mjs +138 -11
- package/app/plugins/codebuddy/plugin.mjs +152 -20
- package/app/plugins/codex-usage/plugin.mjs +59 -2
- package/app/plugins/copilot/plugin.mjs +59 -2
- package/app/plugins/cursor-cli/plugin.mjs +134 -12
- package/app/plugins/deepseek-harness/manifest.json +2 -2
- package/app/plugins/deepseek-harness/plugin.mjs +86 -7
- package/app/plugins/devin/plugin.mjs +59 -2
- package/app/plugins/grok/plugin.mjs +1093 -970
- package/app/plugins/hermes/plugin.mjs +138 -14
- package/app/plugins/kimi-code/plugin.mjs +59 -2
- package/app/plugins/kiro-cli/plugin.mjs +287 -18
- package/app/plugins/omp/plugin.mjs +789 -628
- package/app/plugins/opencode/plugin.mjs +59 -2
- package/app/plugins/pi/plugin.mjs +786 -660
- package/app/plugins/qoder/plugin.mjs +61 -6
- package/app/plugins/qoder-cn/plugin.mjs +61 -6
- package/app/plugins/qwen-code/plugin.mjs +168 -94
- package/app/plugins/workbuddy/plugin.mjs +152 -20
- package/app/plugins/zcode/plugin.mjs +132 -5
- package/app/renderer-extension.js +434 -39
- package/app/web/assets/{index-py6Ho-Dy.js → index-BCyiiDDL.js} +62 -62
- package/app/web/assets/index-BNQIOOHE.css +1 -0
- package/app/web/codexhost-settings.js +84 -4
- 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-file-upload/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-locale/client.js +3 -3
- 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 +129 -8
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +8 -6
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +95 -93
- package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
- package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/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.excel.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-files/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +16 -16
- 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 +11 -11
- package/app/web-modules/server.mjs +2345 -1518
- package/bin/codexhost.exe +0 -0
- package/libexec/codexhost-node-repl.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-C3lniEH1.css +0 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g @karlorz/codexhost-cli@0.
|
|
10
|
+
npm install -g @karlorz/codexhost-cli@0.19.0-1
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Do not install this package directly. npm selects it through the optional dependencies of `@karlorz/codexhost-cli`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":1,"version":"0.
|
|
1
|
+
{"schemaVersion":1,"version":"0.19.0-1","distribution":"npm","target":"windows-x64"}
|
package/app/console-server.mjs
CHANGED
|
@@ -16482,6 +16482,10 @@ var CLIENT_CHANNEL_VERSION = 1;
|
|
|
16482
16482
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
16483
16483
|
var clientThreadPinsSchema = external_exports.object({ threadIds: external_exports.array(external_exports.string().min(1)) }).strict();
|
|
16484
16484
|
var clientThreadPinParamsSchema = external_exports.object({ threadId: external_exports.string().min(1).max(1024), pinned: external_exports.boolean() }).strict();
|
|
16485
|
+
var clientThreadTreeReadParamsSchema = external_exports.object({}).strict();
|
|
16486
|
+
var clientThreadTreeSchema = external_exports.object({
|
|
16487
|
+
parents: external_exports.record(external_exports.string().min(1), external_exports.string().min(1))
|
|
16488
|
+
}).strict();
|
|
16485
16489
|
var clientProjectlessWorkspaceSchema = external_exports.object({
|
|
16486
16490
|
prompt: external_exports.string().max(16384).optional()
|
|
16487
16491
|
}).strict();
|
|
@@ -16498,6 +16502,11 @@ var clientChannelCursorSchema = external_exports.object({
|
|
|
16498
16502
|
sequence: external_exports.number().int().nonnegative()
|
|
16499
16503
|
});
|
|
16500
16504
|
var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
16505
|
+
external_exports.object({
|
|
16506
|
+
type: external_exports.literal("skills-changed"),
|
|
16507
|
+
cursor: clientChannelCursorSchema,
|
|
16508
|
+
cwd: external_exports.string().optional()
|
|
16509
|
+
}),
|
|
16501
16510
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
16502
16511
|
external_exports.object({
|
|
16503
16512
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -16695,6 +16704,28 @@ var voiceTranscribeResultSchema = external_exports.discriminatedUnion("ok", [
|
|
|
16695
16704
|
external_exports.object({ ok: external_exports.literal(false), error: external_exports.object({ code: voiceErrorCodeSchema }).strict() }).strict()
|
|
16696
16705
|
]);
|
|
16697
16706
|
|
|
16707
|
+
// packages/shared-contracts/dist/skills.js
|
|
16708
|
+
var skillsListParamsSchema = external_exports.object({
|
|
16709
|
+
threadId: hostThreadIdSchema.optional(),
|
|
16710
|
+
cwd: external_exports.string().min(1).optional()
|
|
16711
|
+
}).strict().refine((params) => !(params.threadId && params.cwd), {
|
|
16712
|
+
message: "Specify threadId or cwd, not both"
|
|
16713
|
+
});
|
|
16714
|
+
var librarySkillSchema = external_exports.object({
|
|
16715
|
+
name: external_exports.string().min(1).regex(/^[^\s[\]]+$/u),
|
|
16716
|
+
description: external_exports.string().optional(),
|
|
16717
|
+
path: external_exports.string().min(1),
|
|
16718
|
+
scope: external_exports.enum(["project", "global"]),
|
|
16719
|
+
source: external_exports.string().min(1)
|
|
16720
|
+
}).strict();
|
|
16721
|
+
var skillsListResultSchema = external_exports.object({
|
|
16722
|
+
revision: external_exports.number().int().nonnegative(),
|
|
16723
|
+
complete: external_exports.boolean(),
|
|
16724
|
+
skills: external_exports.array(librarySkillSchema),
|
|
16725
|
+
warnings: external_exports.array(external_exports.string()).optional()
|
|
16726
|
+
}).strict();
|
|
16727
|
+
var skillsChangedParamsSchema = external_exports.object({ cwd: external_exports.string().min(1).optional() }).strict();
|
|
16728
|
+
|
|
16698
16729
|
// packages/shared-contracts/dist/web-access-tokens.js
|
|
16699
16730
|
var webNetworkAccessUrlSchema = external_exports.object({
|
|
16700
16731
|
/**
|
|
@@ -16800,8 +16831,8 @@ var REMOTE_THREAD_REPLY_MAX_BYTES = 16 * 1024 * 1024;
|
|
|
16800
16831
|
var delegationReadParamsSchema = external_exports.strictObject({
|
|
16801
16832
|
threadId: external_exports.string().min(1).max(1024),
|
|
16802
16833
|
view: external_exports.enum(["result", "messages"]),
|
|
16803
|
-
|
|
16804
|
-
|
|
16834
|
+
from: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),
|
|
16835
|
+
to: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()
|
|
16805
16836
|
});
|
|
16806
16837
|
|
|
16807
16838
|
// packages/shared-contracts/dist/credential-imports.js
|
|
@@ -17811,6 +17842,17 @@ var updateStatusResultSchema = external_exports.strictObject({
|
|
|
17811
17842
|
status: updateStatusSchema.nullable()
|
|
17812
17843
|
});
|
|
17813
17844
|
|
|
17845
|
+
// packages/shared-contracts/dist/thread-watch-notice.js
|
|
17846
|
+
var THREAD_WATCH_NOTICE_OUTCOMES = [
|
|
17847
|
+
"completed",
|
|
17848
|
+
"failed",
|
|
17849
|
+
"interrupted",
|
|
17850
|
+
"timedOut",
|
|
17851
|
+
"unreadable",
|
|
17852
|
+
"notFound"
|
|
17853
|
+
];
|
|
17854
|
+
var ENTRY_PATTERN = new RegExp(String.raw`^- \[([^\]\n]+)\]\(thread://([^\s()<>"?#/]+)\): ` + `(${THREAD_WATCH_NOTICE_OUTCOMES.join("|")})(?:. (.+))?$`, "u");
|
|
17855
|
+
|
|
17814
17856
|
// packages/shared-contracts/dist/remote-runtime.js
|
|
17815
17857
|
var remoteUpdatePhaseSchema = external_exports.enum([
|
|
17816
17858
|
"idle",
|
|
@@ -17858,6 +17900,14 @@ var remoteSessionOperationSchema = external_exports.discriminatedUnion("kind", [
|
|
|
17858
17900
|
archived: external_exports.boolean()
|
|
17859
17901
|
}),
|
|
17860
17902
|
external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
|
|
17903
|
+
external_exports.strictObject({
|
|
17904
|
+
kind: external_exports.literal("configure"),
|
|
17905
|
+
...thread,
|
|
17906
|
+
epoch: identity,
|
|
17907
|
+
modelId: identity.optional(),
|
|
17908
|
+
thinkingOptionId: identity.optional(),
|
|
17909
|
+
permissionModeId: identity.optional()
|
|
17910
|
+
}).refine((value) => [value.modelId, value.thinkingOptionId, value.permissionModeId].filter((v) => v !== void 0).length === 1, "Select exactly one remote setting"),
|
|
17861
17911
|
external_exports.strictObject({
|
|
17862
17912
|
kind: external_exports.literal("prompt"),
|
|
17863
17913
|
...thread,
|
|
@@ -17930,6 +17980,13 @@ var remoteConnectionsReplySchema = external_exports.union([
|
|
|
17930
17980
|
external_exports.strictObject({ error: external_exports.strictObject({ code: external_exports.number().int(), message: external_exports.string() }) })
|
|
17931
17981
|
]);
|
|
17932
17982
|
|
|
17983
|
+
// packages/shared-contracts/dist/thread-title.js
|
|
17984
|
+
var threadTitleInputSchema = external_exports.strictObject({
|
|
17985
|
+
prompt: external_exports.string().trim().min(1).max(2e3),
|
|
17986
|
+
cwd: external_exports.string().max(4096).nullable()
|
|
17987
|
+
});
|
|
17988
|
+
var threadTitleResultSchema = external_exports.string().trim().min(1).max(60).nullable();
|
|
17989
|
+
|
|
17933
17990
|
// packages/shared-contracts/dist/web-ui-extensions.js
|
|
17934
17991
|
var webUiExtensionIdSchema = external_exports.string().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u);
|
|
17935
17992
|
var localizedTextSchema2 = external_exports.union([
|
package/app/console-web.js
CHANGED
|
@@ -15634,6 +15634,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15634
15634
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
15635
15635
|
var clientThreadPinsSchema = external_exports.object({ threadIds: external_exports.array(external_exports.string().min(1)) }).strict();
|
|
15636
15636
|
var clientThreadPinParamsSchema = external_exports.object({ threadId: external_exports.string().min(1).max(1024), pinned: external_exports.boolean() }).strict();
|
|
15637
|
+
var clientThreadTreeReadParamsSchema = external_exports.object({}).strict();
|
|
15638
|
+
var clientThreadTreeSchema = external_exports.object({
|
|
15639
|
+
parents: external_exports.record(external_exports.string().min(1), external_exports.string().min(1))
|
|
15640
|
+
}).strict();
|
|
15637
15641
|
var clientProjectlessWorkspaceSchema = external_exports.object({
|
|
15638
15642
|
prompt: external_exports.string().max(16384).optional()
|
|
15639
15643
|
}).strict();
|
|
@@ -15650,6 +15654,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15650
15654
|
sequence: external_exports.number().int().nonnegative()
|
|
15651
15655
|
});
|
|
15652
15656
|
var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
15657
|
+
external_exports.object({
|
|
15658
|
+
type: external_exports.literal("skills-changed"),
|
|
15659
|
+
cursor: clientChannelCursorSchema,
|
|
15660
|
+
cwd: external_exports.string().optional()
|
|
15661
|
+
}),
|
|
15653
15662
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
15654
15663
|
external_exports.object({
|
|
15655
15664
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -15847,6 +15856,30 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15847
15856
|
external_exports.object({ ok: external_exports.literal(false), error: external_exports.object({ code: voiceErrorCodeSchema }).strict() }).strict()
|
|
15848
15857
|
]);
|
|
15849
15858
|
|
|
15859
|
+
// ../shared-contracts/dist/skills.js
|
|
15860
|
+
var SKILLS_LIST_METHOD = "codexhost/skills/list";
|
|
15861
|
+
var SKILLS_CHANGED_METHOD = "codexhost/skills/changed";
|
|
15862
|
+
var skillsListParamsSchema = external_exports.object({
|
|
15863
|
+
threadId: hostThreadIdSchema.optional(),
|
|
15864
|
+
cwd: external_exports.string().min(1).optional()
|
|
15865
|
+
}).strict().refine((params) => !(params.threadId && params.cwd), {
|
|
15866
|
+
message: "Specify threadId or cwd, not both"
|
|
15867
|
+
});
|
|
15868
|
+
var librarySkillSchema = external_exports.object({
|
|
15869
|
+
name: external_exports.string().min(1).regex(/^[^\s[\]]+$/u),
|
|
15870
|
+
description: external_exports.string().optional(),
|
|
15871
|
+
path: external_exports.string().min(1),
|
|
15872
|
+
scope: external_exports.enum(["project", "global"]),
|
|
15873
|
+
source: external_exports.string().min(1)
|
|
15874
|
+
}).strict();
|
|
15875
|
+
var skillsListResultSchema = external_exports.object({
|
|
15876
|
+
revision: external_exports.number().int().nonnegative(),
|
|
15877
|
+
complete: external_exports.boolean(),
|
|
15878
|
+
skills: external_exports.array(librarySkillSchema),
|
|
15879
|
+
warnings: external_exports.array(external_exports.string()).optional()
|
|
15880
|
+
}).strict();
|
|
15881
|
+
var skillsChangedParamsSchema = external_exports.object({ cwd: external_exports.string().min(1).optional() }).strict();
|
|
15882
|
+
|
|
15850
15883
|
// ../shared-contracts/dist/web-access-tokens.js
|
|
15851
15884
|
var webNetworkAccessUrlSchema = external_exports.object({
|
|
15852
15885
|
/**
|
|
@@ -15953,8 +15986,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15953
15986
|
var delegationReadParamsSchema = external_exports.strictObject({
|
|
15954
15987
|
threadId: external_exports.string().min(1).max(1024),
|
|
15955
15988
|
view: external_exports.enum(["result", "messages"]),
|
|
15956
|
-
|
|
15957
|
-
|
|
15989
|
+
from: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),
|
|
15990
|
+
to: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()
|
|
15958
15991
|
});
|
|
15959
15992
|
|
|
15960
15993
|
// ../shared-contracts/dist/credential-imports.js
|
|
@@ -17003,6 +17036,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17003
17036
|
status: updateStatusSchema.nullable()
|
|
17004
17037
|
});
|
|
17005
17038
|
|
|
17039
|
+
// ../shared-contracts/dist/thread-watch-notice.js
|
|
17040
|
+
var THREAD_WATCH_NOTICE_OUTCOMES = [
|
|
17041
|
+
"completed",
|
|
17042
|
+
"failed",
|
|
17043
|
+
"interrupted",
|
|
17044
|
+
"timedOut",
|
|
17045
|
+
"unreadable",
|
|
17046
|
+
"notFound"
|
|
17047
|
+
];
|
|
17048
|
+
var ENTRY_PATTERN = new RegExp(String.raw`^- \[([^\]\n]+)\]\(thread://([^\s()<>"?#/]+)\): ` + `(${THREAD_WATCH_NOTICE_OUTCOMES.join("|")})(?:. (.+))?$`, "u");
|
|
17049
|
+
|
|
17006
17050
|
// ../shared-contracts/dist/remote-runtime.js
|
|
17007
17051
|
var RUNTIME_STATUS_METHOD = "codexhost/runtime/status";
|
|
17008
17052
|
var REMOTE_UPDATE_METHOD = "codexhost/remote/update";
|
|
@@ -17053,6 +17097,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17053
17097
|
archived: external_exports.boolean()
|
|
17054
17098
|
}),
|
|
17055
17099
|
external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
|
|
17100
|
+
external_exports.strictObject({
|
|
17101
|
+
kind: external_exports.literal("configure"),
|
|
17102
|
+
...thread,
|
|
17103
|
+
epoch: identity,
|
|
17104
|
+
modelId: identity.optional(),
|
|
17105
|
+
thinkingOptionId: identity.optional(),
|
|
17106
|
+
permissionModeId: identity.optional()
|
|
17107
|
+
}).refine((value) => [value.modelId, value.thinkingOptionId, value.permissionModeId].filter((v) => v !== void 0).length === 1, "Select exactly one remote setting"),
|
|
17056
17108
|
external_exports.strictObject({
|
|
17057
17109
|
kind: external_exports.literal("prompt"),
|
|
17058
17110
|
...thread,
|
|
@@ -17126,6 +17178,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17126
17178
|
external_exports.strictObject({ error: external_exports.strictObject({ code: external_exports.number().int(), message: external_exports.string() }) })
|
|
17127
17179
|
]);
|
|
17128
17180
|
|
|
17181
|
+
// ../shared-contracts/dist/thread-title.js
|
|
17182
|
+
var threadTitleInputSchema = external_exports.strictObject({
|
|
17183
|
+
prompt: external_exports.string().trim().min(1).max(2e3),
|
|
17184
|
+
cwd: external_exports.string().max(4096).nullable()
|
|
17185
|
+
});
|
|
17186
|
+
var threadTitleResultSchema = external_exports.string().trim().min(1).max(60).nullable();
|
|
17187
|
+
|
|
17129
17188
|
// ../shared-contracts/dist/web-ui-extensions.js
|
|
17130
17189
|
var webUiExtensionIdSchema = external_exports.string().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u);
|
|
17131
17190
|
var localizedTextSchema2 = external_exports.union([
|
|
@@ -19503,6 +19562,10 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
19503
19562
|
missing: "Codex Desktop was not found",
|
|
19504
19563
|
stopped: "codexhost is not running",
|
|
19505
19564
|
stoppedDetail: "Start codexhost to use Codex Desktop with your Harnesses.",
|
|
19565
|
+
desktopStopped: "Codex Desktop is not running",
|
|
19566
|
+
desktopStoppedDetail: "codexhost Host is running. Start Desktop to use Codex Desktop with your Harnesses.",
|
|
19567
|
+
hostRunningDesktopStopped: "Host running \xB7 Desktop stopped",
|
|
19568
|
+
lastStartSucceeded: "Last start succeeded",
|
|
19506
19569
|
start: "Start codexhost",
|
|
19507
19570
|
restart: "Restart codexhost",
|
|
19508
19571
|
restartConfirm: "Restart now",
|
|
@@ -19701,6 +19764,10 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
19701
19764
|
missing: "\u672A\u627E\u5230 Codex Desktop",
|
|
19702
19765
|
stopped: "codexhost \u672A\u8FD0\u884C",
|
|
19703
19766
|
stoppedDetail: "\u542F\u52A8 codexhost \u540E\u5373\u53EF\u5728 Codex Desktop \u4E2D\u4F7F\u7528\u5404\u4E2A Harness\u3002",
|
|
19767
|
+
desktopStopped: "Codex Desktop \u672A\u8FD0\u884C",
|
|
19768
|
+
desktopStoppedDetail: "codexhost \u670D\u52A1\u4ECD\u5728\u8FD0\u884C\u3002\u542F\u52A8 Desktop \u540E\u5373\u53EF\u5728 Codex Desktop \u4E2D\u4F7F\u7528\u5404\u4E2A Harness\u3002",
|
|
19769
|
+
hostRunningDesktopStopped: "\u670D\u52A1\u8FD0\u884C\u4E2D \xB7 Desktop \u672A\u8FD0\u884C",
|
|
19770
|
+
lastStartSucceeded: "\u4E0A\u6B21\u542F\u52A8\u6210\u529F",
|
|
19704
19771
|
start: "\u542F\u52A8 codexhost",
|
|
19705
19772
|
restart: "\u91CD\u65B0\u542F\u52A8 codexhost",
|
|
19706
19773
|
restartConfirm: "\u7ACB\u5373\u91CD\u65B0\u542F\u52A8",
|
|
@@ -21998,6 +22065,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
21998
22065
|
)
|
|
21999
22066
|
);
|
|
22000
22067
|
} else {
|
|
22068
|
+
const current = overview.summary.state === "running" || overview.summary.state === "integration-unavailable";
|
|
22001
22069
|
sections.push(
|
|
22002
22070
|
h(
|
|
22003
22071
|
document2,
|
|
@@ -22011,8 +22079,8 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22011
22079
|
h(
|
|
22012
22080
|
document2,
|
|
22013
22081
|
"span",
|
|
22014
|
-
{ className: "console-badge is-ok" },
|
|
22015
|
-
latest.outcome === "attached" ? messages.outcomeAttached : messages.outcomeReady
|
|
22082
|
+
{ className: current ? "console-badge is-ok" : "console-badge is-info" },
|
|
22083
|
+
latest.outcome === "attached" ? messages.outcomeAttached : current ? messages.outcomeReady : messages.lastStartSucceeded
|
|
22016
22084
|
)
|
|
22017
22085
|
),
|
|
22018
22086
|
h(
|
|
@@ -22075,6 +22143,14 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22075
22143
|
if (state === "desktop-missing") {
|
|
22076
22144
|
return { tone: "bad", icon: "unavailable", title: messages.missing, detail: detail ?? "" };
|
|
22077
22145
|
}
|
|
22146
|
+
if (overview.hostAvailable) {
|
|
22147
|
+
return {
|
|
22148
|
+
tone: "warn",
|
|
22149
|
+
icon: "unavailable",
|
|
22150
|
+
title: messages.desktopStopped,
|
|
22151
|
+
detail: messages.desktopStoppedDetail
|
|
22152
|
+
};
|
|
22153
|
+
}
|
|
22078
22154
|
return { tone: "info", icon: "play", title: messages.stopped, detail: messages.stoppedDetail };
|
|
22079
22155
|
}
|
|
22080
22156
|
function createOverviewPage(messages, state, navigate, locale) {
|
|
@@ -22732,6 +22808,19 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
22732
22808
|
return externalThreadForkResultSchema.parse(result);
|
|
22733
22809
|
},
|
|
22734
22810
|
inspectHarness,
|
|
22811
|
+
async listSkills(params) {
|
|
22812
|
+
return skillsListResultSchema.parse(
|
|
22813
|
+
await manager.sendRequest(SKILLS_LIST_METHOD, skillsListParamsSchema.parse(params))
|
|
22814
|
+
);
|
|
22815
|
+
},
|
|
22816
|
+
subscribeSkillsChanged(listener) {
|
|
22817
|
+
return notificationTarget(source)?.addNotificationCallback?.(SKILLS_CHANGED_METHOD, (value) => {
|
|
22818
|
+
if (!isRecord3(value) || value.method !== SKILLS_CHANGED_METHOD) return;
|
|
22819
|
+
const parsed = skillsChangedParamsSchema.safeParse(value.params);
|
|
22820
|
+
if (parsed.success) listener(parsed.data);
|
|
22821
|
+
}) ?? (() => {
|
|
22822
|
+
});
|
|
22823
|
+
},
|
|
22735
22824
|
async listHarnessPlugins() {
|
|
22736
22825
|
return harnessPluginListResultSchema.parse(
|
|
22737
22826
|
await manager.sendRequest(HARNESS_PLUGIN_LIST_METHOD, {})
|
|
@@ -25349,7 +25438,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
25349
25438
|
grokComputerUseApplyFailed: "Could not apply the saved setting to Grok config.",
|
|
25350
25439
|
connectionOfficialWebsite: "Visit official website",
|
|
25351
25440
|
connectionOpenHarnessWeb: "Open DeepSeek Harness Web",
|
|
25352
|
-
connectionDeepSeekTestedVersions: "Supported DSH versions: 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, 0.2.0-rc.2, 0.2.1-rc.1, 0.2.1-rc.2, 0.2.1-rc.3, 0.2.1-rc.4, 0.2.1-rc.5 and 0.2.2-rc.
|
|
25441
|
+
connectionDeepSeekTestedVersions: "Supported DSH versions: 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, 0.2.0-rc.2, 0.2.1-rc.1, 0.2.1-rc.2, 0.2.1-rc.3, 0.2.1-rc.4, 0.2.1-rc.5, 0.2.2-rc.1 and 0.2.2-rc.2. Versions newer than 0.2.2-rc.2 can be tried, but compatibility may be limited; versions older than 0.1.7-rc.1 must be upgraded first.",
|
|
25353
25442
|
connectionInstall: "Install",
|
|
25354
25443
|
connectionInstallDescription: "This Harness was not detected.",
|
|
25355
25444
|
connectionInstallRunning: "Installing on the selected Host. You can leave this page; login or setup may still be required afterward.",
|
|
@@ -25745,7 +25834,7 @@ th[aria-sort] .console-usage-sort__mark {
|
|
|
25745
25834
|
grokComputerUseApplyFailed: "\u65E0\u6CD5\u5C06\u5DF2\u4FDD\u5B58\u7684\u8BBE\u7F6E\u5199\u5165 Grok \u914D\u7F6E\u3002",
|
|
25746
25835
|
connectionOfficialWebsite: "\u8BBF\u95EE\u5B98\u7F51",
|
|
25747
25836
|
connectionOpenHarnessWeb: "\u6253\u5F00 DeepSeek Harness Web",
|
|
25748
|
-
connectionDeepSeekTestedVersions: "\u652F\u6301 DSH \u7248\u672C\uFF1A0.1.7-rc.1\u30010.1.7-rc.2\u30010.2.0-rc.1\u30010.2.0-rc.2\u30010.2.1-rc.1\u30010.2.1-rc.2\u30010.2.1-rc.3\u30010.2.1-rc.4\u30010.2.1-rc.5 \u548C 0.2.2-rc.
|
|
25837
|
+
connectionDeepSeekTestedVersions: "\u652F\u6301 DSH \u7248\u672C\uFF1A0.1.7-rc.1\u30010.1.7-rc.2\u30010.2.0-rc.1\u30010.2.0-rc.2\u30010.2.1-rc.1\u30010.2.1-rc.2\u30010.2.1-rc.3\u30010.2.1-rc.4\u30010.2.1-rc.5\u30010.2.2-rc.1 \u548C 0.2.2-rc.2\u3002\u9AD8\u4E8E 0.2.2-rc.2 \u7684\u7248\u672C\u53EF\u4EE5\u5C1D\u8BD5\u8FDE\u63A5\uFF0C\u4F46\u9002\u914D\u5EA6\u53EF\u80FD\u6709\u9650\uFF1B\u4F4E\u4E8E 0.1.7-rc.1 \u7684\u7248\u672C\u9700\u8981\u5148\u5347\u7EA7\u3002",
|
|
25749
25838
|
connectionInstall: "\u5B89\u88C5",
|
|
25750
25839
|
connectionInstallDescription: "\u5C1A\u672A\u68C0\u6D4B\u5230\u8BE5 Harness\u3002",
|
|
25751
25840
|
connectionInstallRunning: "\u6B63\u5728\u6240\u9009 Host \u4E0A\u5B89\u88C5\uFF0C\u79BB\u5F00\u9875\u9762\u4E0D\u4F1A\u4E2D\u65AD\u3002\u5B89\u88C5\u540E\u53EF\u80FD\u4ECD\u9700\u767B\u5F55\u6216\u914D\u7F6E\u3002",
|
|
@@ -37920,8 +38009,9 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
37920
38009
|
const render = () => {
|
|
37921
38010
|
const overview = state.overview;
|
|
37922
38011
|
const running = overview?.inspect?.runtime.running ?? false;
|
|
38012
|
+
const hostAvailable = overview?.hostAvailable ?? false;
|
|
37923
38013
|
const summary = overview?.summary.state;
|
|
37924
|
-
const tone = state.offline ? "bad" : summary === "running" ? "ok" : summary === "integration-unavailable" ? "warn" : summary === "startup-failed" || summary === "desktop-missing" ? "bad" : "idle";
|
|
38014
|
+
const tone = state.offline ? "bad" : summary === "running" ? "ok" : summary === "integration-unavailable" || hostAvailable && !running ? "warn" : summary === "startup-failed" || summary === "desktop-missing" ? "bad" : "idle";
|
|
37925
38015
|
const version2 = overview?.console.distribution?.version ?? overview?.console.version ?? "";
|
|
37926
38016
|
card.replaceChildren(
|
|
37927
38017
|
h(
|
|
@@ -37933,7 +38023,7 @@ ${messages.harnessVersionLatest}: ${harnessVersionLabel(version2.state, messages
|
|
|
37933
38023
|
document2,
|
|
37934
38024
|
"span",
|
|
37935
38025
|
{ className: "console-status-card__title" },
|
|
37936
|
-
state.offline ? messages.consoleOffline : !overview ? messages.statusLoading : summary === "starting" ? messages.starting : running ? messages.hostRunning : messages.hostStopped
|
|
38026
|
+
state.offline ? messages.consoleOffline : !overview ? messages.statusLoading : summary === "starting" ? messages.starting : running ? messages.hostRunning : hostAvailable ? messages.hostRunningDesktopStopped : messages.hostStopped
|
|
37937
38027
|
)
|
|
37938
38028
|
),
|
|
37939
38029
|
h(
|
|
@@ -15538,6 +15538,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15538
15538
|
var CLIENT_REQUEST_LIMIT_BYTES = 128 * 1024 * 1024;
|
|
15539
15539
|
var clientThreadPinsSchema = external_exports.object({ threadIds: external_exports.array(external_exports.string().min(1)) }).strict();
|
|
15540
15540
|
var clientThreadPinParamsSchema = external_exports.object({ threadId: external_exports.string().min(1).max(1024), pinned: external_exports.boolean() }).strict();
|
|
15541
|
+
var clientThreadTreeReadParamsSchema = external_exports.object({}).strict();
|
|
15542
|
+
var clientThreadTreeSchema = external_exports.object({
|
|
15543
|
+
parents: external_exports.record(external_exports.string().min(1), external_exports.string().min(1))
|
|
15544
|
+
}).strict();
|
|
15541
15545
|
var clientProjectlessWorkspaceSchema = external_exports.object({
|
|
15542
15546
|
prompt: external_exports.string().max(16384).optional()
|
|
15543
15547
|
}).strict();
|
|
@@ -15554,6 +15558,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15554
15558
|
sequence: external_exports.number().int().nonnegative()
|
|
15555
15559
|
});
|
|
15556
15560
|
var clientChannelEventSchema = external_exports.discriminatedUnion("type", [
|
|
15561
|
+
external_exports.object({
|
|
15562
|
+
type: external_exports.literal("skills-changed"),
|
|
15563
|
+
cursor: clientChannelCursorSchema,
|
|
15564
|
+
cwd: external_exports.string().optional()
|
|
15565
|
+
}),
|
|
15557
15566
|
external_exports.object({ type: external_exports.literal("display-settings-changed"), cursor: clientChannelCursorSchema }),
|
|
15558
15567
|
external_exports.object({
|
|
15559
15568
|
type: external_exports.literal("preferences-changed"),
|
|
@@ -15751,6 +15760,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15751
15760
|
external_exports.object({ ok: external_exports.literal(false), error: external_exports.object({ code: voiceErrorCodeSchema }).strict() }).strict()
|
|
15752
15761
|
]);
|
|
15753
15762
|
|
|
15763
|
+
// ../shared-contracts/dist/skills.js
|
|
15764
|
+
var skillsListParamsSchema = external_exports.object({
|
|
15765
|
+
threadId: hostThreadIdSchema.optional(),
|
|
15766
|
+
cwd: external_exports.string().min(1).optional()
|
|
15767
|
+
}).strict().refine((params) => !(params.threadId && params.cwd), {
|
|
15768
|
+
message: "Specify threadId or cwd, not both"
|
|
15769
|
+
});
|
|
15770
|
+
var librarySkillSchema = external_exports.object({
|
|
15771
|
+
name: external_exports.string().min(1).regex(/^[^\s[\]]+$/u),
|
|
15772
|
+
description: external_exports.string().optional(),
|
|
15773
|
+
path: external_exports.string().min(1),
|
|
15774
|
+
scope: external_exports.enum(["project", "global"]),
|
|
15775
|
+
source: external_exports.string().min(1)
|
|
15776
|
+
}).strict();
|
|
15777
|
+
var skillsListResultSchema = external_exports.object({
|
|
15778
|
+
revision: external_exports.number().int().nonnegative(),
|
|
15779
|
+
complete: external_exports.boolean(),
|
|
15780
|
+
skills: external_exports.array(librarySkillSchema),
|
|
15781
|
+
warnings: external_exports.array(external_exports.string()).optional()
|
|
15782
|
+
}).strict();
|
|
15783
|
+
var skillsChangedParamsSchema = external_exports.object({ cwd: external_exports.string().min(1).optional() }).strict();
|
|
15784
|
+
|
|
15754
15785
|
// ../shared-contracts/dist/web-access-tokens.js
|
|
15755
15786
|
var webNetworkAccessUrlSchema = external_exports.object({
|
|
15756
15787
|
/**
|
|
@@ -15857,8 +15888,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15857
15888
|
var delegationReadParamsSchema = external_exports.strictObject({
|
|
15858
15889
|
threadId: external_exports.string().min(1).max(1024),
|
|
15859
15890
|
view: external_exports.enum(["result", "messages"]),
|
|
15860
|
-
|
|
15861
|
-
|
|
15891
|
+
from: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),
|
|
15892
|
+
to: external_exports.number().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()
|
|
15862
15893
|
});
|
|
15863
15894
|
|
|
15864
15895
|
// ../shared-contracts/dist/credential-imports.js
|
|
@@ -16855,6 +16886,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16855
16886
|
status: updateStatusSchema.nullable()
|
|
16856
16887
|
});
|
|
16857
16888
|
|
|
16889
|
+
// ../shared-contracts/dist/thread-watch-notice.js
|
|
16890
|
+
var THREAD_WATCH_NOTICE_OUTCOMES = [
|
|
16891
|
+
"completed",
|
|
16892
|
+
"failed",
|
|
16893
|
+
"interrupted",
|
|
16894
|
+
"timedOut",
|
|
16895
|
+
"unreadable",
|
|
16896
|
+
"notFound"
|
|
16897
|
+
];
|
|
16898
|
+
var ENTRY_PATTERN = new RegExp(String.raw`^- \[([^\]\n]+)\]\(thread://([^\s()<>"?#/]+)\): ` + `(${THREAD_WATCH_NOTICE_OUTCOMES.join("|")})(?:. (.+))?$`, "u");
|
|
16899
|
+
|
|
16858
16900
|
// ../shared-contracts/dist/remote-runtime.js
|
|
16859
16901
|
var remoteUpdatePhaseSchema = external_exports.enum([
|
|
16860
16902
|
"idle",
|
|
@@ -16902,6 +16944,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16902
16944
|
archived: external_exports.boolean()
|
|
16903
16945
|
}),
|
|
16904
16946
|
external_exports.strictObject({ kind: external_exports.literal("read"), ...thread }),
|
|
16947
|
+
external_exports.strictObject({
|
|
16948
|
+
kind: external_exports.literal("configure"),
|
|
16949
|
+
...thread,
|
|
16950
|
+
epoch: identity,
|
|
16951
|
+
modelId: identity.optional(),
|
|
16952
|
+
thinkingOptionId: identity.optional(),
|
|
16953
|
+
permissionModeId: identity.optional()
|
|
16954
|
+
}).refine((value) => [value.modelId, value.thinkingOptionId, value.permissionModeId].filter((v) => v !== void 0).length === 1, "Select exactly one remote setting"),
|
|
16905
16955
|
external_exports.strictObject({
|
|
16906
16956
|
kind: external_exports.literal("prompt"),
|
|
16907
16957
|
...thread,
|
|
@@ -16974,6 +17024,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16974
17024
|
external_exports.strictObject({ error: external_exports.strictObject({ code: external_exports.number().int(), message: external_exports.string() }) })
|
|
16975
17025
|
]);
|
|
16976
17026
|
|
|
17027
|
+
// ../shared-contracts/dist/thread-title.js
|
|
17028
|
+
var threadTitleInputSchema = external_exports.strictObject({
|
|
17029
|
+
prompt: external_exports.string().trim().min(1).max(2e3),
|
|
17030
|
+
cwd: external_exports.string().max(4096).nullable()
|
|
17031
|
+
});
|
|
17032
|
+
var threadTitleResultSchema = external_exports.string().trim().min(1).max(60).nullable();
|
|
17033
|
+
|
|
16977
17034
|
// ../shared-contracts/dist/web-ui-extensions.js
|
|
16978
17035
|
var webUiExtensionIdSchema = external_exports.string().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u);
|
|
16979
17036
|
var localizedTextSchema2 = external_exports.union([
|