@xrkseek/harness-cli 0.0.7 → 0.0.8
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/node_modules/@xrkseek/core-agent/dist/index.d.ts +6 -1
- package/node_modules/@xrkseek/core-agent/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent/dist/index.js +3 -0
- package/node_modules/@xrkseek/core-agent/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts +11 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js +8 -0
- package/node_modules/@xrkseek/core-agent-loop/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.js +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.d.ts +5 -0
- package/node_modules/@xrkseek/exec-pty/dist/registry.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.js +17 -1
- package/node_modules/@xrkseek/exec-pty/dist/registry.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.d.ts +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.js +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/render.js.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/exec-pty/dist/tools.js +13 -4
- package/node_modules/@xrkseek/exec-pty/dist/tools.js.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts +3 -2
- package/node_modules/@xrkseek/preset-harness/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-harness/dist/preset.js +12 -7
- 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/preset-minimal/dist/preset.d.ts +3 -2
- package/node_modules/@xrkseek/preset-minimal/dist/preset.d.ts.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js +12 -7
- package/node_modules/@xrkseek/preset-minimal/dist/preset.js.map +1 -1
- package/node_modules/@xrkseek/preset-minimal/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/preset-server/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.d.ts +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js +1 -1
- package/node_modules/@xrkseek/protocol/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/json-schema.js +49 -0
- package/node_modules/@xrkseek/protocol/dist/json-schema.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts +48 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/session-events.js +4 -0
- package/node_modules/@xrkseek/protocol/dist/session-events.js.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.d.ts.map +1 -1
- package/node_modules/@xrkseek/protocol/dist/validate.js +127 -0
- package/node_modules/@xrkseek/protocol/dist/validate.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js +1 -1
- package/node_modules/@xrkseek/server-face/dist/adapt/wire-event.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js +5 -1
- package/node_modules/@xrkseek/server-face/dist/projections/units/session-list-metadata.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/runtime.js +4 -2
- package/node_modules/@xrkseek/server-face/dist/runtime.js.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.d.ts.map +1 -1
- package/node_modules/@xrkseek/server-face/dist/skill-list.js +1 -0
- package/node_modules/@xrkseek/server-face/dist/skill-list.js.map +1 -1
- package/node_modules/@xrkseek/session-projection/dist/types.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/README.md +3 -23
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts +62 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.d.ts.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js +146 -0
- package/node_modules/@xrkseek/workspace/dist/durable-inject.js.map +1 -0
- package/node_modules/@xrkseek/workspace/dist/index.d.ts +25 -13
- package/node_modules/@xrkseek/workspace/dist/index.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/index.js +77 -17
- package/node_modules/@xrkseek/workspace/dist/index.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js +6 -0
- package/node_modules/@xrkseek/workspace/dist/skill-tools.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts +12 -1
- package/node_modules/@xrkseek/workspace/dist/skills.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/skills.js +42 -4
- package/node_modules/@xrkseek/workspace/dist/skills.js.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/slash.d.ts.map +1 -1
- package/node_modules/@xrkseek/workspace/dist/slash.js +2 -0
- package/node_modules/@xrkseek/workspace/dist/slash.js.map +1 -1
- package/node_modules/@xrkseek/workspace/package.json +2 -1
- package/package.json +1 -1
- package/product-web/assets/index-CcF0Sxxg.js +297 -0
- package/product-web/assets/index-CcF0Sxxg.js.map +1 -0
- package/product-web/assets/langs/{php-9bx0az3O.js → php-DY2VakOf.js} +2 -2
- package/product-web/assets/langs/{php-9bx0az3O.js.map → php-DY2VakOf.js.map} +1 -1
- package/product-web/assets/langs/{ruby-HDLHRjSL.js → ruby-hwtoiFmS.js} +2 -2
- package/product-web/assets/langs/{ruby-HDLHRjSL.js.map → ruby-hwtoiFmS.js.map} +1 -1
- package/product-web/assets/{vendor-CeMKrCZm.js → vendor-CldRVjca.js} +35 -36
- package/product-web/assets/vendor-CldRVjca.js.map +1 -0
- package/product-web/boot.json +1 -1
- package/product-web/index.html +2 -2
- package/product-web/plugins/@xrkseek/client-locale/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-runtime/client.js +37 -1
- package/product-web/plugins/@xrkseek/client-ui-agent-preset/client.js +37 -37
- package/product-web/plugins/@xrkseek/client-ui-commands/client.js +6 -6
- package/product-web/plugins/@xrkseek/client-ui-conversation/client.js +158 -158
- package/product-web/plugins/@xrkseek/client-ui-deliverables/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-directory-picker-browse/client.js +27 -27
- package/product-web/plugins/@xrkseek/client-ui-goal/client.js +7 -7
- package/product-web/plugins/@xrkseek/client-ui-input-trigger/client.js +6 -6
- package/product-web/plugins/@xrkseek/client-ui-jobs/client.js +9 -9
- package/product-web/plugins/@xrkseek/client-ui-layout/client.js +4 -4
- package/product-web/plugins/@xrkseek/client-ui-message-feedback/client.js +5 -5
- package/product-web/plugins/@xrkseek/client-ui-model-selection/client.js +15 -15
- package/product-web/plugins/@xrkseek/client-ui-permission-presets/client.js +3 -3
- 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 +43 -43
- package/product-web/plugins/@xrkseek/client-ui-sidebar/client.js +12 -12
- package/product-web/plugins/@xrkseek/client-ui-skill/client.js +11 -11
- package/product-web/plugins/@xrkseek/client-ui-subagent/client.js +19 -19
- package/product-web/plugins/@xrkseek/client-ui-theme/client.js +2 -2
- package/product-web/plugins/@xrkseek/client-ui-tool/client.js +41 -41
- package/product-web/plugins/@xrkseek/client-ui-trajectory/client.js +169 -148
- 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 +56 -56
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.d.ts +0 -35
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.js +0 -116
- package/node_modules/@xrkseek/server-face/dist/dsh-schema.js.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/envelope.d.ts +0 -23
- package/node_modules/@xrkseek/server-face/dist/envelope.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/envelope.js +0 -51
- package/node_modules/@xrkseek/server-face/dist/envelope.js.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/rpc-error.d.ts +0 -15
- package/node_modules/@xrkseek/server-face/dist/rpc-error.d.ts.map +0 -1
- package/node_modules/@xrkseek/server-face/dist/rpc-error.js +0 -247
- package/node_modules/@xrkseek/server-face/dist/rpc-error.js.map +0 -1
- package/product-web/assets/index-BwSJq-Ch.js +0 -112
- package/product-web/assets/index-BwSJq-Ch.js.map +0 -1
- package/product-web/assets/vendor-CeMKrCZm.js.map +0 -1
|
@@ -122,15 +122,15 @@ window.__ModuleLoader__.load({
|
|
|
122
122
|
document.head.appendChild(tag);
|
|
123
123
|
}
|
|
124
124
|
var PlanReviewPanel_module_css_default = {
|
|
125
|
-
"
|
|
126
|
-
"
|
|
125
|
+
"footer": "qwZnSa_footer",
|
|
126
|
+
"actions": "qwZnSa_actions",
|
|
127
127
|
"dot": "qwZnSa_dot",
|
|
128
128
|
"body": "qwZnSa_body",
|
|
129
129
|
"discuss": "qwZnSa_discuss",
|
|
130
|
+
"strip": "qwZnSa_strip",
|
|
131
|
+
"card": "qwZnSa_card",
|
|
130
132
|
"frame": "qwZnSa_frame",
|
|
131
|
-
"feedback": "qwZnSa_feedback"
|
|
132
|
-
"footer": "qwZnSa_footer",
|
|
133
|
-
"actions": "qwZnSa_actions"
|
|
133
|
+
"feedback": "qwZnSa_feedback"
|
|
134
134
|
};
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region src/client/PlanReviewPanel.tsx
|
|
@@ -240,37 +240,37 @@ window.__ModuleLoader__.load({
|
|
|
240
240
|
document.head.appendChild(tag);
|
|
241
241
|
}
|
|
242
242
|
var QuestionComposer_module_css_default = {
|
|
243
|
-
"
|
|
244
|
-
"customRow": "_3wP-uG_customRow",
|
|
245
|
-
"optionLine": "_3wP-uG_optionLine",
|
|
246
|
-
"feedback": "_3wP-uG_feedback",
|
|
247
|
-
"pager": "_3wP-uG_pager",
|
|
248
|
-
"card": "_3wP-uG_card",
|
|
243
|
+
"headingBlock": "_3wP-uG_headingBlock",
|
|
249
244
|
"customInput": "_3wP-uG_customInput",
|
|
250
|
-
"footer": "_3wP-uG_footer",
|
|
251
245
|
"optionLabel": "_3wP-uG_optionLabel",
|
|
246
|
+
"frame": "_3wP-uG_frame",
|
|
247
|
+
"optionCopy": "_3wP-uG_optionCopy",
|
|
248
|
+
"feedback": "_3wP-uG_feedback",
|
|
249
|
+
"card": "_3wP-uG_card",
|
|
252
250
|
"number": "_3wP-uG_number",
|
|
251
|
+
"footer": "_3wP-uG_footer",
|
|
252
|
+
"detail": "_3wP-uG_detail",
|
|
253
|
+
"options": "_3wP-uG_options",
|
|
254
|
+
"description": "_3wP-uG_description",
|
|
255
|
+
"body": "_3wP-uG_body",
|
|
256
|
+
"title": "_3wP-uG_title",
|
|
257
|
+
"progress": "_3wP-uG_progress",
|
|
258
|
+
"eyebrow": "_3wP-uG_eyebrow",
|
|
259
|
+
"customTextarea": "_3wP-uG_customTextarea",
|
|
260
|
+
"optionLine": "_3wP-uG_optionLine",
|
|
261
|
+
"footerActions": "_3wP-uG_footerActions",
|
|
262
|
+
"pager": "_3wP-uG_pager",
|
|
263
|
+
"badge": "_3wP-uG_badge",
|
|
253
264
|
"cardMinimized": "_3wP-uG_cardMinimized",
|
|
254
265
|
"header": "_3wP-uG_header",
|
|
255
|
-
"options": "_3wP-uG_options",
|
|
256
266
|
"checkbox": "_3wP-uG_checkbox",
|
|
257
267
|
"headerActions": "_3wP-uG_headerActions",
|
|
258
|
-
"progress": "_3wP-uG_progress",
|
|
259
268
|
"option": "_3wP-uG_option",
|
|
260
|
-
"headingBlock": "_3wP-uG_headingBlock",
|
|
261
|
-
"iconButton": "_3wP-uG_iconButton",
|
|
262
|
-
"optionCopy": "_3wP-uG_optionCopy",
|
|
263
|
-
"frame": "_3wP-uG_frame",
|
|
264
|
-
"badge": "_3wP-uG_badge",
|
|
265
|
-
"customRowActive": "_3wP-uG_customRowActive",
|
|
266
269
|
"optionSelected": "_3wP-uG_optionSelected",
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"body": "_3wP-uG_body",
|
|
272
|
-
"detail": "_3wP-uG_detail",
|
|
273
|
-
"footerActions": "_3wP-uG_footerActions"
|
|
270
|
+
"customRowActive": "_3wP-uG_customRowActive",
|
|
271
|
+
"checkboxChecked": "_3wP-uG_checkboxChecked",
|
|
272
|
+
"iconButton": "_3wP-uG_iconButton",
|
|
273
|
+
"customRow": "_3wP-uG_customRow"
|
|
274
274
|
};
|
|
275
275
|
//#endregion
|
|
276
276
|
//#region src/client/QuestionComposer.tsx
|
|
@@ -19,27 +19,27 @@ window.__ModuleLoader__.load({
|
|
|
19
19
|
document.head.appendChild(tag);
|
|
20
20
|
}
|
|
21
21
|
var WorkflowRunPanel_module_css_default = {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"phaseHeader": "SiHEYG_phaseHeader",
|
|
23
|
+
"phaseLeading": "SiHEYG_phaseLeading",
|
|
24
|
+
"runHeader": "SiHEYG_runHeader",
|
|
24
25
|
"phaseStatus": "SiHEYG_phaseStatus",
|
|
25
|
-
"runTitle": "SiHEYG_runTitle",
|
|
26
|
-
"memberLabel": "SiHEYG_memberLabel",
|
|
27
|
-
"members": "SiHEYG_members",
|
|
28
26
|
"empty": "SiHEYG_empty",
|
|
29
|
-
"
|
|
27
|
+
"dotSlot": "SiHEYG_dotSlot",
|
|
28
|
+
"separator": "SiHEYG_separator",
|
|
29
|
+
"memberLabel": "SiHEYG_memberLabel",
|
|
30
|
+
"root": "SiHEYG_root",
|
|
31
|
+
"phaseTitle": "SiHEYG_phaseTitle",
|
|
30
32
|
"runLeading": "SiHEYG_runLeading",
|
|
31
|
-
"
|
|
33
|
+
"phaseList": "SiHEYG_phaseList",
|
|
34
|
+
"phaseCount": "SiHEYG_phaseCount",
|
|
35
|
+
"memberButton": "SiHEYG_memberButton",
|
|
36
|
+
"members": "SiHEYG_members",
|
|
32
37
|
"statusTail": "SiHEYG_statusTail",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
38
|
+
"phase": "SiHEYG_phase",
|
|
39
|
+
"runTitle": "SiHEYG_runTitle",
|
|
40
|
+
"runSummary": "SiHEYG_runSummary",
|
|
36
41
|
"memberRow": "SiHEYG_memberRow",
|
|
37
42
|
"memberLabelWrap": "SiHEYG_memberLabelWrap",
|
|
38
|
-
"phase": "SiHEYG_phase",
|
|
39
|
-
"dotSlot": "SiHEYG_dotSlot",
|
|
40
|
-
"phaseHeader": "SiHEYG_phaseHeader",
|
|
41
|
-
"memberButton": "SiHEYG_memberButton",
|
|
42
|
-
"root": "SiHEYG_root",
|
|
43
43
|
"memberStatus": "SiHEYG_memberStatus"
|
|
44
44
|
};
|
|
45
45
|
//#endregion
|
|
@@ -341,40 +341,40 @@ window.__ModuleLoader__.load({
|
|
|
341
341
|
document.head.appendChild(tag);
|
|
342
342
|
}
|
|
343
343
|
var Rows_module_css_default = {
|
|
344
|
+
"slot": "X-VPTa_slot",
|
|
345
|
+
"sessionRow": "X-VPTa_sessionRow",
|
|
346
|
+
"chevron": "X-VPTa_chevron",
|
|
347
|
+
"meta": "X-VPTa_meta",
|
|
348
|
+
"dropAfter": "X-VPTa_dropAfter",
|
|
349
|
+
"searchResultHeading": "X-VPTa_searchResultHeading",
|
|
344
350
|
"renameInput": "X-VPTa_renameInput",
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
351
|
+
"searchResultTitle": "X-VPTa_searchResultTitle",
|
|
352
|
+
"flatSessionRowWithoutStatus": "X-VPTa_flatSessionRowWithoutStatus",
|
|
353
|
+
"hoverTime": "X-VPTa_hoverTime",
|
|
354
|
+
"searchResultMeta": "X-VPTa_searchResultMeta",
|
|
348
355
|
"hoverStatus": "X-VPTa_hoverStatus",
|
|
349
|
-
"
|
|
356
|
+
"projectRow": "X-VPTa_projectRow",
|
|
357
|
+
"dot": "X-VPTa_dot",
|
|
358
|
+
"arrowOpen": "X-VPTa_arrowOpen",
|
|
359
|
+
"selected": "X-VPTa_selected",
|
|
360
|
+
"time": "X-VPTa_time",
|
|
361
|
+
"hoverContent": "X-VPTa_hoverContent",
|
|
350
362
|
"iconButton": "X-VPTa_iconButton",
|
|
351
363
|
"folder": "X-VPTa_folder",
|
|
352
|
-
"selected": "X-VPTa_selected",
|
|
353
|
-
"hoverTime": "X-VPTa_hoverTime",
|
|
354
|
-
"meta": "X-VPTa_meta",
|
|
355
|
-
"projectText": "X-VPTa_projectText",
|
|
356
|
-
"flatSessionRowWithoutStatus": "X-VPTa_flatSessionRowWithoutStatus",
|
|
357
|
-
"title": "X-VPTa_title",
|
|
358
364
|
"searchResultRow": "X-VPTa_searchResultRow",
|
|
359
|
-
"sessionRow": "X-VPTa_sessionRow",
|
|
360
|
-
"dropAfter": "X-VPTa_dropAfter",
|
|
361
|
-
"arrowOpen": "X-VPTa_arrowOpen",
|
|
362
|
-
"hoverPath": "X-VPTa_hoverPath",
|
|
363
|
-
"rowActions": "X-VPTa_rowActions",
|
|
364
|
-
"visuallyHidden": "X-VPTa_visuallyHidden",
|
|
365
|
-
"dot": "X-VPTa_dot",
|
|
366
365
|
"searchResultSnippet": "X-VPTa_searchResultSnippet",
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"searchResultTitle": "X-VPTa_searchResultTitle",
|
|
366
|
+
"rowActions": "X-VPTa_rowActions",
|
|
367
|
+
"menuOpen": "X-VPTa_menuOpen",
|
|
370
368
|
"arrow": "X-VPTa_arrow",
|
|
371
|
-
"
|
|
372
|
-
"slot": "X-VPTa_slot",
|
|
373
|
-
"searchResultHeading": "X-VPTa_searchResultHeading",
|
|
374
|
-
"time": "X-VPTa_time",
|
|
375
|
-
"dropBefore": "X-VPTa_dropBefore",
|
|
369
|
+
"projectText": "X-VPTa_projectText",
|
|
376
370
|
"searchResultWorkspace": "X-VPTa_searchResultWorkspace",
|
|
377
|
-
"
|
|
371
|
+
"visuallyHidden": "X-VPTa_visuallyHidden",
|
|
372
|
+
"hoverTitle": "X-VPTa_hoverTitle",
|
|
373
|
+
"dropBefore": "X-VPTa_dropBefore",
|
|
374
|
+
"title": "X-VPTa_title",
|
|
375
|
+
"folderActive": "X-VPTa_folderActive",
|
|
376
|
+
"hoverPath": "X-VPTa_hoverPath",
|
|
377
|
+
"row-in": "X-VPTa_row-in"
|
|
378
378
|
};
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/client/rows/Rows.tsx
|
|
@@ -806,9 +806,9 @@ window.__ModuleLoader__.load({
|
|
|
806
806
|
document.head.appendChild(tag);
|
|
807
807
|
}
|
|
808
808
|
var WorkspacePicker_module_css_default = {
|
|
809
|
-
"
|
|
809
|
+
"modalError": "koU6Pa_modalError",
|
|
810
810
|
"modalAction": "koU6Pa_modalAction",
|
|
811
|
-
"
|
|
811
|
+
"menuStatus": "koU6Pa_menuStatus"
|
|
812
812
|
};
|
|
813
813
|
//#endregion
|
|
814
814
|
//#region src/client/WorkspacePicker.tsx
|
|
@@ -976,42 +976,42 @@ window.__ModuleLoader__.load({
|
|
|
976
976
|
document.head.appendChild(tag);
|
|
977
977
|
}
|
|
978
978
|
var WorkspaceBrowser_module_css_default = {
|
|
979
|
-
"
|
|
980
|
-
"sessionOverflowButton": "HlYf2W_sessionOverflowButton",
|
|
981
|
-
"searchSlotExpanded": "HlYf2W_searchSlotExpanded",
|
|
982
|
-
"searchStatus": "HlYf2W_searchStatus",
|
|
983
|
-
"renameError": "HlYf2W_renameError",
|
|
984
|
-
"sectionLabel": "HlYf2W_sectionLabel",
|
|
985
|
-
"wide-in": "HlYf2W_wide-in",
|
|
986
|
-
"search": "HlYf2W_search",
|
|
987
|
-
"listTopDropActive": "HlYf2W_listTopDropActive",
|
|
988
|
-
"sectionLabelHidden": "HlYf2W_sectionLabelHidden",
|
|
989
|
-
"searchWarning": "HlYf2W_searchWarning",
|
|
990
|
-
"fade": "HlYf2W_fade",
|
|
991
|
-
"searchInput": "HlYf2W_searchInput",
|
|
979
|
+
"groupSection": "HlYf2W_groupSection",
|
|
992
980
|
"listTopDropIndicator": "HlYf2W_listTopDropIndicator",
|
|
993
|
-
"
|
|
994
|
-
"
|
|
981
|
+
"headerActionsHidden": "HlYf2W_headerActionsHidden",
|
|
982
|
+
"sectionLabelHidden": "HlYf2W_sectionLabelHidden",
|
|
983
|
+
"deleteAction": "HlYf2W_deleteAction",
|
|
984
|
+
"search": "HlYf2W_search",
|
|
985
|
+
"flatList": "HlYf2W_flatList",
|
|
986
|
+
"listArea": "HlYf2W_listArea",
|
|
995
987
|
"headerActions": "HlYf2W_headerActions",
|
|
996
|
-
"
|
|
997
|
-
"
|
|
988
|
+
"searchInput": "HlYf2W_searchInput",
|
|
989
|
+
"clearButton": "HlYf2W_clearButton",
|
|
998
990
|
"searchTree": "HlYf2W_searchTree",
|
|
991
|
+
"fade": "HlYf2W_fade",
|
|
992
|
+
"listTopDropActive": "HlYf2W_listTopDropActive",
|
|
993
|
+
"sectionLabel": "HlYf2W_sectionLabel",
|
|
994
|
+
"deleteStatus": "HlYf2W_deleteStatus",
|
|
999
995
|
"workspaceDropBefore": "HlYf2W_workspaceDropBefore",
|
|
1000
|
-
"empty": "HlYf2W_empty",
|
|
1001
|
-
"searchExpanded": "HlYf2W_searchExpanded",
|
|
1002
996
|
"root": "HlYf2W_root",
|
|
1003
|
-
"
|
|
997
|
+
"sectionHeader": "HlYf2W_sectionHeader",
|
|
998
|
+
"sessionOverflowButton": "HlYf2W_sessionOverflowButton",
|
|
999
|
+
"searchSlotExpanded": "HlYf2W_searchSlotExpanded",
|
|
1004
1000
|
"wide": "HlYf2W_wide",
|
|
1005
|
-
"
|
|
1006
|
-
"
|
|
1001
|
+
"wide-in": "HlYf2W_wide-in",
|
|
1002
|
+
"iconButton": "HlYf2W_iconButton",
|
|
1003
|
+
"searchSlot": "HlYf2W_searchSlot",
|
|
1004
|
+
"searchExpanded": "HlYf2W_searchExpanded",
|
|
1007
1005
|
"searchButton": "HlYf2W_searchButton",
|
|
1006
|
+
"treeBody": "HlYf2W_treeBody",
|
|
1007
|
+
"searchWarning": "HlYf2W_searchWarning",
|
|
1008
1008
|
"workspaceDropAfter": "HlYf2W_workspaceDropAfter",
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
1014
|
-
"
|
|
1009
|
+
"searchStatus": "HlYf2W_searchStatus",
|
|
1010
|
+
"empty": "HlYf2W_empty",
|
|
1011
|
+
"rail": "HlYf2W_rail",
|
|
1012
|
+
"renameInput": "HlYf2W_renameInput",
|
|
1013
|
+
"renameError": "HlYf2W_renameError",
|
|
1014
|
+
"list": "HlYf2W_list"
|
|
1015
1015
|
};
|
|
1016
1016
|
//#endregion
|
|
1017
1017
|
//#region src/client/WorkspaceBrowser.tsx
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compact schemastery envelopes (`schema.toJSON()`) for Face `settings.describe`.
|
|
3
|
-
* The captured DSH Web rehydrates these; JSON Schema will not parse.
|
|
4
|
-
*/
|
|
5
|
-
export interface DshSchemaNode {
|
|
6
|
-
readonly type: string;
|
|
7
|
-
readonly value?: unknown;
|
|
8
|
-
readonly list?: readonly number[];
|
|
9
|
-
readonly dict?: Readonly<Record<string, number>>;
|
|
10
|
-
readonly inner?: number;
|
|
11
|
-
readonly meta?: {
|
|
12
|
-
readonly description?: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export interface DshSchemaEnvelope {
|
|
16
|
-
readonly uid: number;
|
|
17
|
-
readonly refs: Readonly<Record<number, DshSchemaNode>>;
|
|
18
|
-
}
|
|
19
|
-
export declare const DSH_EMPTY_OBJECT_SCHEMA: DshSchemaEnvelope;
|
|
20
|
-
export declare const DSH_ONBOARDING_SCHEMA: DshSchemaEnvelope;
|
|
21
|
-
export declare const DSH_LOCALE_SCHEMA: DshSchemaEnvelope;
|
|
22
|
-
export declare const DSH_THEME_SCHEMA: DshSchemaEnvelope;
|
|
23
|
-
/** Same preset ids as DSH permission-presets (settings row enum). */
|
|
24
|
-
export declare const FACE_PERMISSION_PRESETS: readonly ["read-only", "workspace-write", "danger-full-access"];
|
|
25
|
-
export type FacePermissionPreset = (typeof FACE_PERMISSION_PRESETS)[number];
|
|
26
|
-
export declare const DSH_PERMISSION_SCHEMA: DshSchemaEnvelope;
|
|
27
|
-
/**
|
|
28
|
-
* Face MCP desired servers. `connected` is overlay from live plugins.
|
|
29
|
-
* Applies on next Host spawn (not a live supervisor).
|
|
30
|
-
*/
|
|
31
|
-
export declare const DSH_MCP_SCHEMA: DshSchemaEnvelope;
|
|
32
|
-
/** `providers` is a dict so models page can probe `providers/<route>/api`. */
|
|
33
|
-
export declare const DSH_LLM_SCHEMA: DshSchemaEnvelope;
|
|
34
|
-
export declare function isFacePermissionPreset(value: unknown): value is FacePermissionPreset;
|
|
35
|
-
//# sourceMappingURL=dsh-schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dsh-schema.d.ts","sourceRoot":"","sources":["../src/dsh-schema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC;CACxD;AAED,eAAO,MAAM,uBAAuB,EAAE,iBAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,iBAMnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,iBAQ/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,iBAS9B,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,uBAAuB,iEAI1B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E,eAAO,MAAM,qBAAqB,EAAE,iBAqBnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,iBA4B5B,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,cAAc,EAAE,iBAc5B,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,oBAAoB,CAK/B"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compact schemastery envelopes (`schema.toJSON()`) for Face `settings.describe`.
|
|
3
|
-
* The captured DSH Web rehydrates these; JSON Schema will not parse.
|
|
4
|
-
*/
|
|
5
|
-
export const DSH_EMPTY_OBJECT_SCHEMA = {
|
|
6
|
-
uid: 1,
|
|
7
|
-
refs: { 1: { type: "object" } },
|
|
8
|
-
};
|
|
9
|
-
export const DSH_ONBOARDING_SCHEMA = {
|
|
10
|
-
uid: 2,
|
|
11
|
-
refs: {
|
|
12
|
-
1: { type: "string" },
|
|
13
|
-
2: { type: "object", dict: { welcomeNoticeVersion: 1 } },
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
export const DSH_LOCALE_SCHEMA = {
|
|
17
|
-
uid: 4,
|
|
18
|
-
refs: {
|
|
19
|
-
1: { type: "const", value: "zh" },
|
|
20
|
-
2: { type: "const", value: "en" },
|
|
21
|
-
3: { type: "union", list: [1, 2] },
|
|
22
|
-
4: { type: "object", dict: { preference: 3 } },
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
export const DSH_THEME_SCHEMA = {
|
|
26
|
-
uid: 5,
|
|
27
|
-
refs: {
|
|
28
|
-
1: { type: "const", value: "system" },
|
|
29
|
-
2: { type: "const", value: "light" },
|
|
30
|
-
3: { type: "const", value: "dark" },
|
|
31
|
-
4: { type: "union", list: [1, 2, 3] },
|
|
32
|
-
5: { type: "object", dict: { preference: 4 } },
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
/** Same preset ids as DSH permission-presets (settings row enum). */
|
|
36
|
-
export const FACE_PERMISSION_PRESETS = [
|
|
37
|
-
"read-only",
|
|
38
|
-
"workspace-write",
|
|
39
|
-
"danger-full-access",
|
|
40
|
-
];
|
|
41
|
-
export const DSH_PERMISSION_SCHEMA = {
|
|
42
|
-
uid: 5,
|
|
43
|
-
refs: {
|
|
44
|
-
1: {
|
|
45
|
-
type: "const",
|
|
46
|
-
meta: { description: "Read only" },
|
|
47
|
-
value: "read-only",
|
|
48
|
-
},
|
|
49
|
-
2: {
|
|
50
|
-
type: "const",
|
|
51
|
-
meta: { description: "Workspace write" },
|
|
52
|
-
value: "workspace-write",
|
|
53
|
-
},
|
|
54
|
-
3: {
|
|
55
|
-
type: "const",
|
|
56
|
-
meta: { description: "Full access" },
|
|
57
|
-
value: "danger-full-access",
|
|
58
|
-
},
|
|
59
|
-
4: { type: "union", list: [1, 2, 3] },
|
|
60
|
-
5: { type: "object", dict: { defaultPreset: 4 } },
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Face MCP desired servers. `connected` is overlay from live plugins.
|
|
65
|
-
* Applies on next Host spawn (not a live supervisor).
|
|
66
|
-
*/
|
|
67
|
-
export const DSH_MCP_SCHEMA = {
|
|
68
|
-
uid: 9,
|
|
69
|
-
refs: {
|
|
70
|
-
1: { type: "string" },
|
|
71
|
-
2: { type: "array", inner: 1 },
|
|
72
|
-
3: {
|
|
73
|
-
type: "object",
|
|
74
|
-
dict: {
|
|
75
|
-
serverName: 1,
|
|
76
|
-
command: 1,
|
|
77
|
-
url: 1,
|
|
78
|
-
args: 2,
|
|
79
|
-
cwd: 1,
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
4: { type: "array", inner: 3 },
|
|
83
|
-
5: { type: "string" },
|
|
84
|
-
6: {
|
|
85
|
-
type: "object",
|
|
86
|
-
dict: { id: 1, serverName: 1, kind: 1, toolCount: 5 },
|
|
87
|
-
},
|
|
88
|
-
7: { type: "array", inner: 6 },
|
|
89
|
-
8: { type: "string" },
|
|
90
|
-
9: {
|
|
91
|
-
type: "object",
|
|
92
|
-
dict: { servers: 4, connected: 7, note: 8 },
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
};
|
|
96
|
-
/** `providers` is a dict so models page can probe `providers/<route>/api`. */
|
|
97
|
-
export const DSH_LLM_SCHEMA = {
|
|
98
|
-
uid: 8,
|
|
99
|
-
refs: {
|
|
100
|
-
1: { type: "const", value: "openai-chat" },
|
|
101
|
-
2: { type: "union", list: [1] },
|
|
102
|
-
3: { type: "string" },
|
|
103
|
-
4: { type: "string" },
|
|
104
|
-
5: {
|
|
105
|
-
type: "object",
|
|
106
|
-
dict: { api: 2, apiKeyEnv: 3, baseURL: 4 },
|
|
107
|
-
},
|
|
108
|
-
6: { type: "dict", inner: 5 },
|
|
109
|
-
8: { type: "object", dict: { providers: 6 } },
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
export function isFacePermissionPreset(value) {
|
|
113
|
-
return (typeof value === "string" &&
|
|
114
|
-
FACE_PERMISSION_PRESETS.includes(value));
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=dsh-schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dsh-schema.js","sourceRoot":"","sources":["../src/dsh-schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { FaceRpcRequest, FaceRpcResponse, RpcId } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Parse Face unary body. Accepts DeepSeek wire (`type: client-request`) and
|
|
4
|
-
* the thinner XRK shape (`rpcId` + `payload` only).
|
|
5
|
-
*/
|
|
6
|
-
export declare function parseFaceRpcRequest(body: unknown): FaceRpcRequest;
|
|
7
|
-
/** DeepSeek-compatible unary success envelope. */
|
|
8
|
-
export declare function okResponse<T>(rpcId: RpcId, value: T): FaceRpcResponse<T>;
|
|
9
|
-
/**
|
|
10
|
-
* DeepSeek-compatible unary error envelope.
|
|
11
|
-
* Always includes `details` (DSH client Zod requires it).
|
|
12
|
-
*/
|
|
13
|
-
export declare function errResponse(rpcId: RpcId, code: string, message: string, details?: unknown): FaceRpcResponse<never>;
|
|
14
|
-
/** DeepSeek WS downlink frame (`server-request` + method = payload.type). */
|
|
15
|
-
export declare function serverRequestFrame(rpcId: RpcId, payload: {
|
|
16
|
-
readonly type: string;
|
|
17
|
-
} & Record<string, unknown>): {
|
|
18
|
-
readonly type: "server-request";
|
|
19
|
-
readonly rpcId: RpcId;
|
|
20
|
-
readonly method: string;
|
|
21
|
-
readonly payload: typeof payload;
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=envelope.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEzE;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,cAAc,CAejE;AAED,kDAAkD;AAClD,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAMxE;AAED;;;GAGG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,OAAO,GAChB,eAAe,CAAC,KAAK,CAAC,CAOxB;AAED,6EAA6E;AAC7E,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC3D;IACD,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,OAAO,OAAO,CAAC;CAClC,CAOA"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { mapFaceRpcError } from "./rpc-error.js";
|
|
2
|
-
/**
|
|
3
|
-
* Parse Face unary body. Accepts DeepSeek wire (`type: client-request`) and
|
|
4
|
-
* the thinner XRK shape (`rpcId` + `payload` only).
|
|
5
|
-
*/
|
|
6
|
-
export function parseFaceRpcRequest(body) {
|
|
7
|
-
if (!body || typeof body !== "object") {
|
|
8
|
-
throw new Error("face: request body must be an object");
|
|
9
|
-
}
|
|
10
|
-
const o = body;
|
|
11
|
-
if (typeof o.rpcId !== "string" || !o.rpcId.trim()) {
|
|
12
|
-
throw new Error("face: rpcId required");
|
|
13
|
-
}
|
|
14
|
-
if (o.type !== undefined && o.type !== "client-request") {
|
|
15
|
-
throw new Error("face: expected type client-request");
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
rpcId: o.rpcId,
|
|
19
|
-
payload: "payload" in o ? o.payload : {},
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
/** DeepSeek-compatible unary success envelope. */
|
|
23
|
-
export function okResponse(rpcId, value) {
|
|
24
|
-
return {
|
|
25
|
-
type: "server-response",
|
|
26
|
-
rpcId,
|
|
27
|
-
result: { ok: true, value },
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* DeepSeek-compatible unary error envelope.
|
|
32
|
-
* Always includes `details` (DSH client Zod requires it).
|
|
33
|
-
*/
|
|
34
|
-
export function errResponse(rpcId, code, message, details) {
|
|
35
|
-
const error = mapFaceRpcError(code, message, details);
|
|
36
|
-
return {
|
|
37
|
-
type: "server-response",
|
|
38
|
-
rpcId,
|
|
39
|
-
result: { ok: false, error },
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
/** DeepSeek WS downlink frame (`server-request` + method = payload.type). */
|
|
43
|
-
export function serverRequestFrame(rpcId, payload) {
|
|
44
|
-
return {
|
|
45
|
-
type: "server-request",
|
|
46
|
-
rpcId,
|
|
47
|
-
method: payload.type,
|
|
48
|
-
payload,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=envelope.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.js","sourceRoot":"","sources":["../src/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjD;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CAAC,IAAa;IAC/C,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,MAAM,CAAC,GAAG,IAA+B,CAAC;IAC1C,IAAI,OAAO,CAAC,CAAC,KAAK,KAAK,QAAQ,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QACnD,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC1C,CAAC;IACD,IAAI,CAAC,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACxD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IACD,OAAO;QACL,KAAK,EAAE,CAAC,CAAC,KAAK;QACd,OAAO,EAAE,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;KACzC,CAAC;AACJ,CAAC;AAED,kDAAkD;AAClD,MAAM,UAAU,UAAU,CAAI,KAAY,EAAE,KAAQ;IAClD,OAAO;QACL,IAAI,EAAE,iBAAiB;QACvB,KAAK;QACL,MAAM,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;KAC5B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW,CACzB,KAAY,EACZ,IAAY,EACZ,OAAe,EACf,OAAiB;IAEjB,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACtD,OAAO;QACL,IAAI,EAAE,iBAAiB;QACvB,KAAK;QACL,MAAM,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;KAC7B,CAAC;AACJ,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,kBAAkB,CAChC,KAAY,EACZ,OAA4D;IAO5D,OAAO;QACL,IAAI,EAAE,gBAAgB;QACtB,KAAK;QACL,MAAM,EAAE,OAAO,CAAC,IAAI;QACpB,OAAO;KACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map XRK Face error codes onto DeepSeek Web's closed RpcError set.
|
|
3
|
-
* Client Zod requires `details` on every error branch.
|
|
4
|
-
*/
|
|
5
|
-
export type FaceRpcError = {
|
|
6
|
-
readonly code: string;
|
|
7
|
-
readonly message: string;
|
|
8
|
-
readonly details: Record<string, unknown>;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Normalize any Face handler error into a DSH-parseable RpcError.
|
|
12
|
-
* Unknown / XRK-only codes fold to `internal` or the closest DSH code.
|
|
13
|
-
*/
|
|
14
|
-
export declare function mapFaceRpcError(code: string, message: string, details?: unknown): FaceRpcError;
|
|
15
|
-
//# sourceMappingURL=rpc-error.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-error.d.ts","sourceRoot":"","sources":["../src/rpc-error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC3C,CAAC;AAoDF;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,OAAO,GAChB,YAAY,CA2Nd"}
|