@xrkseek/harness-cli 0.1.1 → 0.1.3
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/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/plugin.js +9 -2
- package/dist/commands/plugin.js.map +1 -1
- package/dist/plugin/index.d.ts +3 -0
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +12 -2
- package/dist/plugin/index.js.map +1 -1
- package/dist/plugin/install-client.d.ts +2 -0
- package/dist/plugin/install-client.d.ts.map +1 -1
- package/dist/plugin/install-client.js +24 -9
- package/dist/plugin/install-client.js.map +1 -1
- package/dist/plugin/staging-reconcile.d.ts +8 -0
- package/dist/plugin/staging-reconcile.d.ts.map +1 -0
- package/dist/plugin/staging-reconcile.js +67 -0
- package/dist/plugin/staging-reconcile.js.map +1 -0
- package/dist/port.d.ts.map +1 -1
- package/dist/port.js +1 -0
- package/dist/port.js.map +1 -1
- package/dist/product-paths.d.ts.map +1 -1
- package/dist/product-paths.js +8 -0
- package/dist/product-paths.js.map +1 -1
- package/package.json +3 -2
- package/product-web/assets/index-C_NG-17x.js +112 -0
- package/product-web/assets/index-C_NG-17x.js.map +1 -0
- package/product-web/boot.json +1 -1
- package/product-web/index.html +1 -1
- package/product-web/plugins/@xrkseek/client-connection/client.js +1276 -326
- package/product-web/plugins/@xrkseek/client-locale/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-runtime/client.js +22 -19
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +39 -39
- package/product-web/plugins/@xrkseek/client-ui-attachment/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +174 -171
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +26 -26
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +8 -8
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-plan/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-settings-general/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-settings-models/client.js +53 -53
- 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 +40 -40
- 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 +21 -21
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +3 -3
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +37 -37
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +142 -142
- package/product-web/plugins/@xrkseek/client-ui-user-questions/client.js +28 -28
- package/product-web/plugins/@xrkseek/client-ui-workflow-run/client.js +14 -14
- package/product-web/plugins/@xrkseek/client-ui-workspace/client.js +55 -55
- package/product-web/assets/index-CHKZdZNt.js +0 -112
- package/product-web/assets/index-CHKZdZNt.js.map +0 -1
|
@@ -884,11 +884,11 @@ window.__ModuleLoader__.load({
|
|
|
884
884
|
document.head.appendChild(tag);
|
|
885
885
|
}
|
|
886
886
|
var LanguageRow_module_css_default = {
|
|
887
|
-
"chevron": "jLfXEq_chevron",
|
|
888
|
-
"rowText": "jLfXEq_rowText",
|
|
889
887
|
"title": "jLfXEq_title",
|
|
890
|
-
"
|
|
891
|
-
"
|
|
888
|
+
"rowText": "jLfXEq_rowText",
|
|
889
|
+
"chevron": "jLfXEq_chevron",
|
|
890
|
+
"row": "jLfXEq_row",
|
|
891
|
+
"selector": "jLfXEq_selector"
|
|
892
892
|
};
|
|
893
893
|
//#endregion
|
|
894
894
|
//#region src/client/LanguageRow.tsx
|
|
@@ -6,7 +6,6 @@ window.__ModuleLoader__.load({
|
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
7
|
let _xrkseek_cordis = require("@xrkseek/cordis");
|
|
8
8
|
let _xrkseek_client_ui_slots = require("@xrkseek/client-ui-slots");
|
|
9
|
-
let _xrkseek_xrk_llm_message = require("@xrkseek/xrk-llm/message");
|
|
10
9
|
//#region src/client/slots.ts
|
|
11
10
|
/**
|
|
12
11
|
* SlotRegistry: the cordis Service layer of the slot system over the pure
|
|
@@ -334,7 +333,7 @@ window.__ModuleLoader__.load({
|
|
|
334
333
|
return this.ctx.effect(() => this["_register"](options, component), "slots.register()");
|
|
335
334
|
};
|
|
336
335
|
//#endregion
|
|
337
|
-
//#region ../../stubs/xrk-host-apiproxy/
|
|
336
|
+
//#region ../../stubs/xrk-host-apiproxy/src/api/rpc.ts
|
|
338
337
|
/**
|
|
339
338
|
* Fold a transport exception into the RpcResult error branch (unified error
|
|
340
339
|
* API; 'internal' as the catch-all code). Lives with RpcResult so every
|
|
@@ -4449,7 +4448,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4449
4448
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
4450
4449
|
}
|
|
4451
4450
|
//#endregion
|
|
4452
|
-
//#region ../../stubs/xrk-host-apiproxy/
|
|
4451
|
+
//#region ../../stubs/xrk-host-apiproxy/src/api/rpc.schema.ts
|
|
4453
4452
|
/**
|
|
4454
4453
|
* Message-layer zod schemas: the four wire full forms + error body +
|
|
4455
4454
|
* carrier receipt. The payload slot is unknown in the full-form schemas — business payloads
|
|
@@ -10236,16 +10235,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10236
10235
|
}
|
|
10237
10236
|
};
|
|
10238
10237
|
//#endregion
|
|
10239
|
-
//#region ../../stubs/xrk-session/
|
|
10240
|
-
/**
|
|
10241
|
-
* Surface layer on top of the session event log: an ordered view of events
|
|
10242
|
-
* that produce LLM messages. The append-only log remains the source of truth.
|
|
10243
|
-
*
|
|
10244
|
-
* Browser-safe: web clients consume this subpath export, so it must stay free
|
|
10245
|
-
* of `node:` imports (they break the vite bundle).
|
|
10246
|
-
*
|
|
10247
|
-
* @module @xrkseek/xrk-session/surface
|
|
10248
|
-
*/
|
|
10238
|
+
//#region ../../stubs/xrk-session/src/surface.ts
|
|
10249
10239
|
/** Runtime counterpart of the message-producing event union. */
|
|
10250
10240
|
const SURFACE_EVENT_TYPES = /* @__PURE__ */ new Set([
|
|
10251
10241
|
"user/message",
|
|
@@ -10359,6 +10349,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10359
10349
|
}
|
|
10360
10350
|
}
|
|
10361
10351
|
//#endregion
|
|
10352
|
+
//#region ../../stubs/xrk-llm/src/message.ts
|
|
10353
|
+
/**
|
|
10354
|
+
* Whether a stream chunk carries visible model output (the first-token
|
|
10355
|
+
* boundary shared by client step timing and the whole-log sessionStats
|
|
10356
|
+
* projection). Empty deltas (heartbeats, empty tool-call frames) do not count
|
|
10357
|
+
* as a first token.
|
|
10358
|
+
* @param chunk - the stream chunk to test.
|
|
10359
|
+
* @returns true when the chunk contains a non-empty text/reasoning/tool delta.
|
|
10360
|
+
*/
|
|
10361
|
+
function isTokenDelta(chunk) {
|
|
10362
|
+
switch (chunk.type) {
|
|
10363
|
+
case "text-delta":
|
|
10364
|
+
case "reasoning-delta": return chunk.text !== "";
|
|
10365
|
+
case "tool-call-delta": return chunk.argumentsDelta !== "" || chunk.name !== void 0;
|
|
10366
|
+
default: return false;
|
|
10367
|
+
}
|
|
10368
|
+
}
|
|
10369
|
+
//#endregion
|
|
10362
10370
|
//#region src/client/sessions/context-provenance.ts
|
|
10363
10371
|
/** One durable source narrowed to the readable-record shape; null for anything else. */
|
|
10364
10372
|
function asRecord(value) {
|
|
@@ -10541,12 +10549,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10541
10549
|
exports.inject = inject;
|
|
10542
10550
|
exports.isAppendSurfaceEvent = isAppendSurfaceEvent;
|
|
10543
10551
|
exports.isReplacementSurfaceEvent = isReplacementSurfaceEvent;
|
|
10544
|
-
|
|
10545
|
-
enumerable: true,
|
|
10546
|
-
get: function() {
|
|
10547
|
-
return _xrkseek_xrk_llm_message.isTokenDelta;
|
|
10548
|
-
}
|
|
10549
|
-
});
|
|
10552
|
+
exports.isTokenDelta = isTokenDelta;
|
|
10550
10553
|
exports.resolveWorkspacePath = resolveWorkspacePath;
|
|
10551
10554
|
exports.scopeOf = scopeOf;
|
|
10552
10555
|
exports.shallowEqual = shallowEqual;
|
|
@@ -151,8 +151,8 @@ window.__ModuleLoader__.load({
|
|
|
151
151
|
document.head.appendChild(tag);
|
|
152
152
|
}
|
|
153
153
|
var AgentPresetLabel_module_css_default = {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"label": "hnfq1a_label",
|
|
155
|
+
"icon": "hnfq1a_icon"
|
|
156
156
|
};
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region src/client/AgentPresetLabel.tsx
|
|
@@ -250,12 +250,12 @@ window.__ModuleLoader__.load({
|
|
|
250
250
|
document.head.appendChild(tag);
|
|
251
251
|
}
|
|
252
252
|
var AgentPresetRow_module_css_default = {
|
|
253
|
+
"desc": "LQ3tzG_desc",
|
|
254
|
+
"title": "LQ3tzG_title",
|
|
255
|
+
"rowText": "LQ3tzG_rowText",
|
|
253
256
|
"selector": "LQ3tzG_selector",
|
|
254
257
|
"chevron": "LQ3tzG_chevron",
|
|
255
|
-
"
|
|
256
|
-
"title": "LQ3tzG_title",
|
|
257
|
-
"row": "LQ3tzG_row",
|
|
258
|
-
"desc": "LQ3tzG_desc"
|
|
258
|
+
"row": "LQ3tzG_row"
|
|
259
259
|
};
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/client/AgentPresetRow.tsx
|
|
@@ -325,17 +325,17 @@ window.__ModuleLoader__.load({
|
|
|
325
325
|
document.head.appendChild(tag);
|
|
326
326
|
}
|
|
327
327
|
var AgentPresetSeat_module_css_default = {
|
|
328
|
-
"
|
|
328
|
+
"seat-char-in": "MwdynW_seat-char-in",
|
|
329
329
|
"item": "MwdynW_item",
|
|
330
|
-
"
|
|
331
|
-
"
|
|
330
|
+
"introChar": "MwdynW_introChar",
|
|
331
|
+
"seatIcon": "MwdynW_seatIcon",
|
|
332
332
|
"introText": "MwdynW_introText",
|
|
333
333
|
"seat": "MwdynW_seat",
|
|
334
|
+
"chevron": "MwdynW_chevron",
|
|
335
|
+
"itemDesc": "MwdynW_itemDesc",
|
|
334
336
|
"itemName": "MwdynW_itemName",
|
|
335
|
-
"seat-
|
|
336
|
-
"
|
|
337
|
-
"seatIcon": "MwdynW_seatIcon",
|
|
338
|
-
"seat-icon-in": "MwdynW_seat-icon-in"
|
|
337
|
+
"seat-icon-in": "MwdynW_seat-icon-in",
|
|
338
|
+
"introIcon": "MwdynW_introIcon"
|
|
339
339
|
};
|
|
340
340
|
//#endregion
|
|
341
341
|
//#region src/client/AgentPresetSeat.tsx
|
|
@@ -943,40 +943,40 @@ window.__ModuleLoader__.load({
|
|
|
943
943
|
document.head.appendChild(tag);
|
|
944
944
|
}
|
|
945
945
|
var AgentPresetSection_module_css_default = {
|
|
946
|
+
"cardBroken": "OFEzwG_cardBroken",
|
|
946
947
|
"cardBrokenReason": "OFEzwG_cardBrokenReason",
|
|
947
|
-
"
|
|
948
|
-
"
|
|
949
|
-
"iconDanger": "OFEzwG_iconDanger",
|
|
950
|
-
"input": "OFEzwG_input",
|
|
951
|
-
"deleteDialog": "OFEzwG_deleteDialog",
|
|
952
|
-
"group": "OFEzwG_group",
|
|
948
|
+
"deleteConfirm": "OFEzwG_deleteConfirm",
|
|
949
|
+
"intro": "OFEzwG_intro",
|
|
953
950
|
"viewerCode": "OFEzwG_viewerCode",
|
|
954
|
-
"badge": "OFEzwG_badge",
|
|
955
|
-
"cardId": "OFEzwG_cardId",
|
|
956
|
-
"creatorButton": "OFEzwG_creatorButton",
|
|
957
951
|
"cardActive": "OFEzwG_cardActive",
|
|
958
|
-
"
|
|
959
|
-
"
|
|
952
|
+
"iconButton": "OFEzwG_iconButton",
|
|
953
|
+
"inUse": "OFEzwG_inUse",
|
|
954
|
+
"cardFoot": "OFEzwG_cardFoot",
|
|
955
|
+
"deleteDialog": "OFEzwG_deleteDialog",
|
|
956
|
+
"title": "OFEzwG_title",
|
|
957
|
+
"creatorButton": "OFEzwG_creatorButton",
|
|
958
|
+
"brokenBadge": "OFEzwG_brokenBadge",
|
|
959
|
+
"secondaryButton": "OFEzwG_secondaryButton",
|
|
960
|
+
"cardHead": "OFEzwG_cardHead",
|
|
961
|
+
"iconDanger": "OFEzwG_iconDanger",
|
|
960
962
|
"field": "OFEzwG_field",
|
|
961
|
-
"
|
|
963
|
+
"dialog": "OFEzwG_dialog",
|
|
962
964
|
"revealedPathLabel": "OFEzwG_revealedPathLabel",
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
+
"group": "OFEzwG_group",
|
|
966
|
+
"fieldLabel": "OFEzwG_fieldLabel",
|
|
965
967
|
"card": "OFEzwG_card",
|
|
966
|
-
"
|
|
967
|
-
"
|
|
968
|
-
"
|
|
969
|
-
"
|
|
970
|
-
"revealedPath": "OFEzwG_revealedPath",
|
|
971
|
-
"deleteConfirm": "OFEzwG_deleteConfirm",
|
|
968
|
+
"cardId": "OFEzwG_cardId",
|
|
969
|
+
"cardName": "OFEzwG_cardName",
|
|
970
|
+
"badge": "OFEzwG_badge",
|
|
971
|
+
"groupHead": "OFEzwG_groupHead",
|
|
972
972
|
"cardDesc": "OFEzwG_cardDesc",
|
|
973
|
-
"inUse": "OFEzwG_inUse",
|
|
974
|
-
"dialogFields": "OFEzwG_dialogFields",
|
|
975
|
-
"cardFoot": "OFEzwG_cardFoot",
|
|
976
|
-
"fieldLabel": "OFEzwG_fieldLabel",
|
|
977
973
|
"cards": "OFEzwG_cards",
|
|
978
|
-
"
|
|
979
|
-
"
|
|
974
|
+
"input": "OFEzwG_input",
|
|
975
|
+
"section": "OFEzwG_section",
|
|
976
|
+
"revealedPath": "OFEzwG_revealedPath",
|
|
977
|
+
"error": "OFEzwG_error",
|
|
978
|
+
"cardMain": "OFEzwG_cardMain",
|
|
979
|
+
"dialogFields": "OFEzwG_dialogFields"
|
|
980
980
|
};
|
|
981
981
|
//#endregion
|
|
982
982
|
//#region src/client/AgentPresetSection.tsx
|
|
@@ -34,14 +34,14 @@ window.__ModuleLoader__.load({
|
|
|
34
34
|
document.head.appendChild(tag);
|
|
35
35
|
}
|
|
36
36
|
var AttachmentRail_module_css_default = {
|
|
37
|
-
"
|
|
37
|
+
"item": "_0JZGoW_item",
|
|
38
38
|
"remove": "_0JZGoW_remove",
|
|
39
|
+
"root": "_0JZGoW_root",
|
|
40
|
+
"rail": "_0JZGoW_rail",
|
|
39
41
|
"arrow": "_0JZGoW_arrow",
|
|
40
|
-
"arrowRight": "_0JZGoW_arrowRight",
|
|
41
42
|
"thumbnail": "_0JZGoW_thumbnail",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"item": "_0JZGoW_item"
|
|
43
|
+
"arrowRight": "_0JZGoW_arrowRight",
|
|
44
|
+
"arrowLeft": "_0JZGoW_arrowLeft"
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/AttachmentRail.tsx
|
|
@@ -203,12 +203,12 @@ window.__ModuleLoader__.load({
|
|
|
203
203
|
document.head.appendChild(tag);
|
|
204
204
|
}
|
|
205
205
|
var DropOverlay_module_css_default = {
|
|
206
|
-
"fade-in": "LWqSoW_fade-in",
|
|
207
|
-
"illustration": "LWqSoW_illustration",
|
|
208
206
|
"wrap": "LWqSoW_wrap",
|
|
209
|
-
"
|
|
207
|
+
"illustration": "LWqSoW_illustration",
|
|
208
|
+
"fade-in": "LWqSoW_fade-in",
|
|
209
|
+
"mask": "LWqSoW_mask",
|
|
210
210
|
"title": "LWqSoW_title",
|
|
211
|
-
"
|
|
211
|
+
"desc": "LWqSoW_desc"
|
|
212
212
|
};
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region src/DropOverlay.tsx
|
|
@@ -389,10 +389,10 @@ window.__ModuleLoader__.load({
|
|
|
389
389
|
document.head.appendChild(tag);
|
|
390
390
|
}
|
|
391
391
|
var ImageLightbox_module_css_default = {
|
|
392
|
-
"image": "_2vpbCW_image",
|
|
393
|
-
"mask": "_2vpbCW_mask",
|
|
394
392
|
"backdrop": "_2vpbCW_backdrop",
|
|
395
|
-
"close": "_2vpbCW_close"
|
|
393
|
+
"close": "_2vpbCW_close",
|
|
394
|
+
"image": "_2vpbCW_image",
|
|
395
|
+
"mask": "_2vpbCW_mask"
|
|
396
396
|
};
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region src/ImageLightbox.tsx
|
|
@@ -627,8 +627,8 @@ window.__ModuleLoader__.load({
|
|
|
627
627
|
var MessageImage_module_css_default = {
|
|
628
628
|
"error": "X-mjFa_error",
|
|
629
629
|
"gallery": "X-mjFa_gallery",
|
|
630
|
-
"
|
|
631
|
-
"
|
|
630
|
+
"frame": "X-mjFa_frame",
|
|
631
|
+
"loading": "X-mjFa_loading"
|
|
632
632
|
};
|
|
633
633
|
//#endregion
|
|
634
634
|
//#region src/MessageImage.tsx
|
|
@@ -855,18 +855,18 @@ window.__ModuleLoader__.load({
|
|
|
855
855
|
document.head.appendChild(tag);
|
|
856
856
|
}
|
|
857
857
|
var PopupSelectView_module_css_default = {
|
|
858
|
+
"error": "_7uhq5a_error",
|
|
858
859
|
"row": "_7uhq5a_row",
|
|
859
|
-
"
|
|
860
|
+
"detail": "_7uhq5a_detail",
|
|
861
|
+
"check": "_7uhq5a_check",
|
|
862
|
+
"status": "_7uhq5a_status",
|
|
863
|
+
"errorText": "_7uhq5a_errorText",
|
|
864
|
+
"retry": "_7uhq5a_retry",
|
|
860
865
|
"label": "_7uhq5a_label",
|
|
866
|
+
"card": "_7uhq5a_card",
|
|
861
867
|
"search": "_7uhq5a_search",
|
|
862
|
-
"error": "_7uhq5a_error",
|
|
863
|
-
"retry": "_7uhq5a_retry",
|
|
864
|
-
"check": "_7uhq5a_check",
|
|
865
|
-
"rowActive": "_7uhq5a_rowActive",
|
|
866
868
|
"viewport": "_7uhq5a_viewport",
|
|
867
|
-
"
|
|
868
|
-
"status": "_7uhq5a_status",
|
|
869
|
-
"errorText": "_7uhq5a_errorText"
|
|
869
|
+
"rowActive": "_7uhq5a_rowActive"
|
|
870
870
|
};
|
|
871
871
|
//#endregion
|
|
872
872
|
//#region src/client/PopupSelectView.tsx
|