@xrkseek/harness-cli 0.0.10 → 0.0.11
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 +13 -6
- package/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/plugin.js +4 -3
- package/dist/commands/plugin.js.map +1 -1
- package/dist/commands/restart.d.ts.map +1 -1
- package/dist/commands/restart.js +16 -7
- package/dist/commands/restart.js.map +1 -1
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +15 -3
- package/dist/commands/serve.js.map +1 -1
- package/dist/host-lock.d.ts +15 -0
- package/dist/host-lock.d.ts.map +1 -0
- package/dist/host-lock.js +64 -0
- package/dist/host-lock.js.map +1 -0
- package/dist/parse-args.d.ts.map +1 -1
- package/dist/parse-args.js +13 -10
- package/dist/parse-args.js.map +1 -1
- package/dist/port.d.ts +20 -2
- package/dist/port.d.ts.map +1 -1
- package/dist/port.js +147 -28
- package/dist/port.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/README.md +5 -2
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +2 -2
- package/node_modules/@xrkseek/preset-harness/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js +3 -3
- package/node_modules/@xrkseek/server-face/dist/presets-catalog.js.map +1 -1
- package/package.json +1 -1
- package/product-web/boot.json +1 -1
- package/product-web/plugins/@xrkseek/client-locale/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-runtime/client.js +4 -0
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +62 -79
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +7 -7
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +207 -183
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +29 -29
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +7 -7
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +9 -9
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +6 -6
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +13 -13
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +11 -11
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +54 -54
- package/product-web/plugins/@xrkseek/client-ui-settings-plugin-inventory/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-settings-plugins/client.js +44 -44
- package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-skill/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +18 -18
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +40 -40
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +147 -147
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +27 -27
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +52 -52
|
@@ -16,21 +16,17 @@ window.__ModuleLoader__.load({
|
|
|
16
16
|
loading: "Loading presets…",
|
|
17
17
|
error: "Could not load agent presets.",
|
|
18
18
|
userTrust: "Custom",
|
|
19
|
-
seatHint: "
|
|
20
|
-
headerHint: "
|
|
19
|
+
seatHint: "Tool surface for the session you are about to start",
|
|
20
|
+
headerHint: "Tool surface this session runs, fixed when it started",
|
|
21
21
|
nav: "Agent presets",
|
|
22
|
-
sectionIntro: "
|
|
22
|
+
sectionIntro: "XRK ships two built-in tool surfaces: Minimal and XRK Harness. A session badge picks which tools the agent may call; workspace seeds under .xrk feed personality and rules separately.",
|
|
23
23
|
builtIn: "Built-in",
|
|
24
24
|
setDefault: "Set as default",
|
|
25
25
|
view: "View",
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
presetMinimalName: "Minimal mode",
|
|
31
|
-
presetMinimalDescription: "Two-tool coding agent with persistent bash and str_replace_editor.",
|
|
32
|
-
presetCordisName: "Creator mode",
|
|
33
|
-
presetCordisDescription: "Built for creating custom agent presets, with all Standard mode capabilities plus runtime inspection, plugin experiments, and preset-authoring guidance.",
|
|
26
|
+
presetMinimalName: "Minimal",
|
|
27
|
+
presetMinimalDescription: "Filesystem, skill, and std tools only — no bash, web, lsp, or PTY.",
|
|
28
|
+
presetHarnessName: "XRK Harness",
|
|
29
|
+
presetHarnessDescription: "Full coding agent: filesystem, bash, web search/fetch, lsp, and terminal tools.",
|
|
34
30
|
duplicate: "Duplicate",
|
|
35
31
|
duplicateUnavailable: "This deployment has no writable preset directory",
|
|
36
32
|
delete: "Delete",
|
|
@@ -45,7 +41,7 @@ window.__ModuleLoader__.load({
|
|
|
45
41
|
brokenBadge: "Failed to load",
|
|
46
42
|
brokenNoCopy: "A preset that failed to load cannot be duplicated",
|
|
47
43
|
copyOf: "Copied from",
|
|
48
|
-
composition: "Composition
|
|
44
|
+
composition: "Composition",
|
|
49
45
|
cancel: "Cancel",
|
|
50
46
|
close: "Close",
|
|
51
47
|
retry: "Retry",
|
|
@@ -53,7 +49,7 @@ window.__ModuleLoader__.load({
|
|
|
53
49
|
copyIntro: "The whole preset is copied on this machine. The identifier becomes its directory name and cannot be changed later; everything else is edited in the preset's own files.",
|
|
54
50
|
create: "Create",
|
|
55
51
|
creating: "Creating…",
|
|
56
|
-
creatorDraft: "Draft a custom preset
|
|
52
|
+
creatorDraft: "Draft a custom preset",
|
|
57
53
|
openLocation: "Open folder",
|
|
58
54
|
showLocation: "Show location",
|
|
59
55
|
revealedPathLabel: "Preset files:",
|
|
@@ -72,21 +68,17 @@ window.__ModuleLoader__.load({
|
|
|
72
68
|
loading: "正在加载预设…",
|
|
73
69
|
error: "无法加载 Agent 预设。",
|
|
74
70
|
userTrust: "自定义",
|
|
75
|
-
seatHint: "
|
|
76
|
-
headerHint: "
|
|
71
|
+
seatHint: "即将开始的这个会话所用的工具面",
|
|
72
|
+
headerHint: "本会话的工具面,开始时即固定",
|
|
77
73
|
nav: "Agent 预设",
|
|
78
|
-
sectionIntro: "
|
|
74
|
+
sectionIntro: "XRK 内置两种工具面:Minimal 与 XRK Harness。会话徽章决定 Agent 能调哪些工具;工作区 .xrk 种子则另路喂人格与规则。",
|
|
79
75
|
builtIn: "内置",
|
|
80
76
|
setDefault: "设为默认",
|
|
81
77
|
view: "查看",
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
presetMinimalName: "极简模式",
|
|
87
|
-
presetMinimalDescription: "仅提供持久 bash 与 str_replace_editor 的双工具编码 Agent。",
|
|
88
|
-
presetCordisName: "创造模式",
|
|
89
|
-
presetCordisDescription: "用于创建自定义 Agent preset:具备标准模式的全部能力,并提供运行时检查、插件实验和 preset 创作指导。",
|
|
78
|
+
presetMinimalName: "Minimal",
|
|
79
|
+
presetMinimalDescription: "仅文件系统、skill 与 std 工具;无 bash / 联网 / lsp / PTY。",
|
|
80
|
+
presetHarnessName: "XRK Harness",
|
|
81
|
+
presetHarnessDescription: "完整编码 Agent:文件系统、bash、网页检索/抓取、lsp 与终端工具。",
|
|
90
82
|
duplicate: "复制",
|
|
91
83
|
duplicateUnavailable: "此部署未配置可写的预设目录",
|
|
92
84
|
delete: "删除",
|
|
@@ -101,7 +93,7 @@ window.__ModuleLoader__.load({
|
|
|
101
93
|
brokenBadge: "加载失败",
|
|
102
94
|
brokenNoCopy: "预设加载失败,不能复制",
|
|
103
95
|
copyOf: "复制自",
|
|
104
|
-
composition: "
|
|
96
|
+
composition: "组装",
|
|
105
97
|
cancel: "取消",
|
|
106
98
|
close: "关闭",
|
|
107
99
|
retry: "重试",
|
|
@@ -109,7 +101,7 @@ window.__ModuleLoader__.load({
|
|
|
109
101
|
copyIntro: "整个预设会在本机复制一份。标识符将成为目录名,事后无法更改;其余内容之后直接在预设自己的文件里编辑。",
|
|
110
102
|
create: "创建",
|
|
111
103
|
creating: "正在创建…",
|
|
112
|
-
creatorDraft: "
|
|
104
|
+
creatorDraft: "创作自定义预设",
|
|
113
105
|
openLocation: "打开目录",
|
|
114
106
|
showLocation: "查看路径",
|
|
115
107
|
revealedPathLabel: "预设文件:",
|
|
@@ -121,29 +113,20 @@ window.__ModuleLoader__.load({
|
|
|
121
113
|
deleteConfirm: "删除",
|
|
122
114
|
deleting: "正在删除…"
|
|
123
115
|
};
|
|
116
|
+
/** Only the two Face catalog ids XRK actually ships. */
|
|
124
117
|
const BUILT_IN_PRESET_KEYS = {
|
|
125
|
-
|
|
126
|
-
name: "
|
|
127
|
-
description: "
|
|
128
|
-
},
|
|
129
|
-
code: {
|
|
130
|
-
name: "presetCodeName",
|
|
131
|
-
description: "presetCodeDescription"
|
|
118
|
+
harness: {
|
|
119
|
+
name: "presetHarnessName",
|
|
120
|
+
description: "presetHarnessDescription"
|
|
132
121
|
},
|
|
133
122
|
minimal: {
|
|
134
123
|
name: "presetMinimalName",
|
|
135
124
|
description: "presetMinimalDescription"
|
|
136
|
-
},
|
|
137
|
-
cordis: {
|
|
138
|
-
name: "presetCordisName",
|
|
139
|
-
description: "presetCordisDescription"
|
|
140
125
|
}
|
|
141
126
|
};
|
|
142
127
|
/**
|
|
143
128
|
* Resolve preset display copy without making user-authored metadata translatable.
|
|
144
|
-
*
|
|
145
|
-
* @param t - active Web locale lookup.
|
|
146
|
-
* @returns localized copy for a known shipped preset, otherwise file metadata.
|
|
129
|
+
* Unknown system ids fall through to Face-published name/description.
|
|
147
130
|
*/
|
|
148
131
|
function presetDisplayText(preset, t) {
|
|
149
132
|
const keys = preset.trust === "system" ? BUILT_IN_PRESET_KEYS[preset.id] : void 0;
|
|
@@ -168,8 +151,8 @@ window.__ModuleLoader__.load({
|
|
|
168
151
|
document.head.appendChild(tag);
|
|
169
152
|
}
|
|
170
153
|
var AgentPresetLabel_module_css_default = {
|
|
171
|
-
"
|
|
172
|
-
"
|
|
154
|
+
"icon": "hnfq1a_icon",
|
|
155
|
+
"label": "hnfq1a_label"
|
|
173
156
|
};
|
|
174
157
|
//#endregion
|
|
175
158
|
//#region src/client/AgentPresetLabel.tsx
|
|
@@ -267,12 +250,12 @@ window.__ModuleLoader__.load({
|
|
|
267
250
|
document.head.appendChild(tag);
|
|
268
251
|
}
|
|
269
252
|
var AgentPresetRow_module_css_default = {
|
|
270
|
-
"
|
|
253
|
+
"selector": "LQ3tzG_selector",
|
|
271
254
|
"chevron": "LQ3tzG_chevron",
|
|
255
|
+
"row": "LQ3tzG_row",
|
|
272
256
|
"title": "LQ3tzG_title",
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"rowText": "LQ3tzG_rowText"
|
|
257
|
+
"rowText": "LQ3tzG_rowText",
|
|
258
|
+
"desc": "LQ3tzG_desc"
|
|
276
259
|
};
|
|
277
260
|
//#endregion
|
|
278
261
|
//#region src/client/AgentPresetRow.tsx
|
|
@@ -343,16 +326,16 @@ window.__ModuleLoader__.load({
|
|
|
343
326
|
}
|
|
344
327
|
var AgentPresetSeat_module_css_default = {
|
|
345
328
|
"item": "MwdynW_item",
|
|
346
|
-
"
|
|
347
|
-
"itemName": "MwdynW_itemName",
|
|
348
|
-
"itemDesc": "MwdynW_itemDesc",
|
|
349
|
-
"seat": "MwdynW_seat",
|
|
329
|
+
"introIcon": "MwdynW_introIcon",
|
|
350
330
|
"seatIcon": "MwdynW_seatIcon",
|
|
351
331
|
"introChar": "MwdynW_introChar",
|
|
352
|
-
"
|
|
332
|
+
"itemName": "MwdynW_itemName",
|
|
333
|
+
"itemDesc": "MwdynW_itemDesc",
|
|
353
334
|
"seat-char-in": "MwdynW_seat-char-in",
|
|
354
|
-
"
|
|
355
|
-
"seat-icon-in": "MwdynW_seat-icon-in"
|
|
335
|
+
"chevron": "MwdynW_chevron",
|
|
336
|
+
"seat-icon-in": "MwdynW_seat-icon-in",
|
|
337
|
+
"introText": "MwdynW_introText",
|
|
338
|
+
"seat": "MwdynW_seat"
|
|
356
339
|
};
|
|
357
340
|
//#endregion
|
|
358
341
|
//#region src/client/AgentPresetSeat.tsx
|
|
@@ -960,40 +943,40 @@ window.__ModuleLoader__.load({
|
|
|
960
943
|
document.head.appendChild(tag);
|
|
961
944
|
}
|
|
962
945
|
var AgentPresetSection_module_css_default = {
|
|
946
|
+
"inUse": "OFEzwG_inUse",
|
|
947
|
+
"cardName": "OFEzwG_cardName",
|
|
948
|
+
"title": "OFEzwG_title",
|
|
963
949
|
"intro": "OFEzwG_intro",
|
|
964
|
-
"
|
|
965
|
-
"cardFoot": "OFEzwG_cardFoot",
|
|
966
|
-
"deleteConfirm": "OFEzwG_deleteConfirm",
|
|
950
|
+
"deleteDialog": "OFEzwG_deleteDialog",
|
|
967
951
|
"revealedPathLabel": "OFEzwG_revealedPathLabel",
|
|
968
|
-
"dialogFields": "OFEzwG_dialogFields",
|
|
969
|
-
"fieldLabel": "OFEzwG_fieldLabel",
|
|
970
|
-
"iconDanger": "OFEzwG_iconDanger",
|
|
971
|
-
"inUse": "OFEzwG_inUse",
|
|
972
|
-
"dialog": "OFEzwG_dialog",
|
|
973
|
-
"viewerCode": "OFEzwG_viewerCode",
|
|
974
|
-
"cardId": "OFEzwG_cardId",
|
|
975
|
-
"field": "OFEzwG_field",
|
|
976
952
|
"secondaryButton": "OFEzwG_secondaryButton",
|
|
977
|
-
"
|
|
978
|
-
"revealedPath": "OFEzwG_revealedPath",
|
|
979
|
-
"cardMain": "OFEzwG_cardMain",
|
|
980
|
-
"iconButton": "OFEzwG_iconButton",
|
|
953
|
+
"groupHead": "OFEzwG_groupHead",
|
|
981
954
|
"card": "OFEzwG_card",
|
|
982
|
-
"
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
"deleteDialog": "OFEzwG_deleteDialog",
|
|
986
|
-
"cardHead": "OFEzwG_cardHead",
|
|
987
|
-
"section": "OFEzwG_section",
|
|
955
|
+
"iconDanger": "OFEzwG_iconDanger",
|
|
956
|
+
"group": "OFEzwG_group",
|
|
957
|
+
"creatorButton": "OFEzwG_creatorButton",
|
|
988
958
|
"cards": "OFEzwG_cards",
|
|
989
959
|
"cardBrokenReason": "OFEzwG_cardBrokenReason",
|
|
990
|
-
"
|
|
960
|
+
"fieldLabel": "OFEzwG_fieldLabel",
|
|
961
|
+
"cardMain": "OFEzwG_cardMain",
|
|
962
|
+
"viewerCode": "OFEzwG_viewerCode",
|
|
963
|
+
"badge": "OFEzwG_badge",
|
|
964
|
+
"cardActive": "OFEzwG_cardActive",
|
|
965
|
+
"cardId": "OFEzwG_cardId",
|
|
966
|
+
"dialog": "OFEzwG_dialog",
|
|
991
967
|
"cardDesc": "OFEzwG_cardDesc",
|
|
992
|
-
"
|
|
993
|
-
"
|
|
968
|
+
"deleteConfirm": "OFEzwG_deleteConfirm",
|
|
969
|
+
"input": "OFEzwG_input",
|
|
994
970
|
"cardBroken": "OFEzwG_cardBroken",
|
|
995
|
-
"
|
|
996
|
-
"
|
|
971
|
+
"iconButton": "OFEzwG_iconButton",
|
|
972
|
+
"brokenBadge": "OFEzwG_brokenBadge",
|
|
973
|
+
"field": "OFEzwG_field",
|
|
974
|
+
"error": "OFEzwG_error",
|
|
975
|
+
"section": "OFEzwG_section",
|
|
976
|
+
"cardHead": "OFEzwG_cardHead",
|
|
977
|
+
"cardFoot": "OFEzwG_cardFoot",
|
|
978
|
+
"dialogFields": "OFEzwG_dialogFields",
|
|
979
|
+
"revealedPath": "OFEzwG_revealedPath"
|
|
997
980
|
};
|
|
998
981
|
//#endregion
|
|
999
982
|
//#region src/client/AgentPresetSection.tsx
|
|
@@ -856,16 +856,16 @@ window.__ModuleLoader__.load({
|
|
|
856
856
|
}
|
|
857
857
|
var PopupSelectView_module_css_default = {
|
|
858
858
|
"rowActive": "_7uhq5a_rowActive",
|
|
859
|
-
"status": "_7uhq5a_status",
|
|
860
|
-
"search": "_7uhq5a_search",
|
|
861
|
-
"row": "_7uhq5a_row",
|
|
862
|
-
"errorText": "_7uhq5a_errorText",
|
|
863
|
-
"label": "_7uhq5a_label",
|
|
864
|
-
"card": "_7uhq5a_card",
|
|
865
|
-
"detail": "_7uhq5a_detail",
|
|
866
859
|
"error": "_7uhq5a_error",
|
|
860
|
+
"errorText": "_7uhq5a_errorText",
|
|
867
861
|
"retry": "_7uhq5a_retry",
|
|
862
|
+
"row": "_7uhq5a_row",
|
|
863
|
+
"status": "_7uhq5a_status",
|
|
864
|
+
"card": "_7uhq5a_card",
|
|
865
|
+
"search": "_7uhq5a_search",
|
|
868
866
|
"check": "_7uhq5a_check",
|
|
867
|
+
"detail": "_7uhq5a_detail",
|
|
868
|
+
"label": "_7uhq5a_label",
|
|
869
869
|
"viewport": "_7uhq5a_viewport"
|
|
870
870
|
};
|
|
871
871
|
//#endregion
|