@deepseek-ai/dsh-client-ui-goal 0.1.7-alpha.2 → 0.1.7-rc.2
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.i18n.yaml +42 -5
- package/lib/client.js +8 -2
- package/package.json +15 -15
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-goal/README.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/:
|
|
6
|
+
en: dd1d437b386e4216
|
|
7
|
+
zh: 4b59a2d565d99a0c
|
|
8
|
+
/deepseek-ai-dsh-client-ui-goal:
|
|
9
|
+
en: fde8c9d75ef5c79b
|
|
10
|
+
zh: 177db802d4dac57a
|
|
11
|
+
/deepseek-ai-dsh-client-ui-goal/summary:
|
|
12
|
+
en: 615de8980e1b06c3
|
|
13
|
+
zh: 7fc3284c2bb00f20
|
|
14
|
+
/deepseek-ai-dsh-client-ui-goal/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: 09388d293f9be9cb
|
|
17
|
+
/deepseek-ai-dsh-client-ui-goal/use-this-package:
|
|
18
|
+
en: 8fa7519b40158cdd
|
|
19
|
+
zh: 218cd370f9afec19
|
|
20
|
+
/deepseek-ai-dsh-client-ui-goal/use-this-package/the-command-input-bubble:
|
|
21
|
+
en: 05c5db0eb58dffef
|
|
22
|
+
zh: 54e7bea0b810b1b8
|
|
23
|
+
/deepseek-ai-dsh-client-ui-goal/use-this-package/failures:
|
|
24
|
+
en: 097bbdd748dc17e5
|
|
25
|
+
zh: 867d341d046ba609
|
|
26
|
+
/deepseek-ai-dsh-client-ui-goal/understand-the-implementation:
|
|
27
|
+
en: ab510274586c2d1d
|
|
28
|
+
zh: 4f65fc3b8e367e1e
|
|
29
|
+
/deepseek-ai-dsh-client-ui-goal/further-exploration:
|
|
30
|
+
en: 591a317a4f0af7d9
|
|
31
|
+
zh: b1665ca4f6fb811e
|
|
32
|
+
/deepseek-ai-dsh-client-ui-goal/model-experience:
|
|
33
|
+
en: 53ca3b1f16b1ef44
|
|
34
|
+
zh: 39254d4076e3723d
|
|
35
|
+
/deepseek-ai-dsh-client-ui-goal/model-experience/kv-cache-effect:
|
|
36
|
+
en: 68c9a2a057acb6cf
|
|
37
|
+
zh: baba87876e432666
|
|
38
|
+
/deepseek-ai-dsh-client-ui-goal/known-limitations-and-deferred-work:
|
|
39
|
+
en: bbb97ea1b94eae0f
|
|
40
|
+
zh: 8e6b0e0516746dcf
|
|
41
|
+
/deepseek-ai-dsh-client-ui-goal/known-limitations-and-deferred-work/dev-note:
|
|
42
|
+
en: 4548b53e34e6f005
|
|
43
|
+
zh: ff186c76070b52bd
|
package/lib/client.js
CHANGED
|
@@ -126,7 +126,7 @@ window.__ModuleLoader__.load({
|
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-goal/src/client/GoalBar.module.css.mjs
|
|
129
|
-
const css$1 = ".nLMEza_dock{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));margin:0 auto}.nLMEza_bar{isolation:isolate;box-sizing:border-box;width:100%;max-width:calc(var(--dsh-composer-card-max-width) - 4 * var(--dsh-composer-dock-inset));--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);height:36px;box-shadow:var(--dsw-elevation-panel);border:0;
|
|
129
|
+
const css$1 = ".nLMEza_dock{box-sizing:border-box;width:calc(100% - var(--dsh-composer-side-clearance) - var(--dsh-composer-side-clearance) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset) - var(--dsh-composer-dock-inset));margin:0 auto}.nLMEza_bar{isolation:isolate;box-sizing:border-box;width:100%;max-width:calc(var(--dsh-composer-card-max-width) - 4 * var(--dsh-composer-dock-inset));--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);border-radius:var(--dsw-radius-md);height:36px;box-shadow:var(--dsw-elevation-panel);border:0;align-items:center;gap:10px;margin:0 auto;padding:4px 5px 4px 12px;display:flex;position:relative}.nLMEza_bar:before{z-index:-1;border-radius:inherit;background:var(--dsw-specific-menu);backdrop-filter:var(--dsw-menu-backdrop-filter);content:\"\";pointer-events:none;position:absolute;inset:0}.nLMEza_goalGlyph{color:var(--dsw-alias-label-tertiary);flex:none;display:inline-flex}.nLMEza_label{color:var(--dsw-alias-label-primary);flex:none;font-size:13px;font-weight:500;line-height:24px}.nLMEza_objective{min-width:0;color:var(--dsw-alias-label-primary-dimmed);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;line-height:20px;overflow:hidden}.nLMEza_error{min-width:0;color:var(--dsw-alias-state-error-primary);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px;line-height:20px;overflow:hidden}.nLMEza_objectiveInput{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-base);min-width:0;height:26px;color:var(--dsw-alias-label-primary);outline:none;flex:1;padding:0 8px;font-size:13px;line-height:20px}.nLMEza_objectiveInput:focus{border-color:var(--dsw-alias-state-business-primary)}.nLMEza_objectiveInput::placeholder{color:var(--dsw-alias-label-caption)}.nLMEza_actions{flex:none;align-items:center;gap:10px;display:flex}.nLMEza_iconBtn{corner-shape:round;width:28px;height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.nLMEza_iconBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.nLMEza_iconBtn:disabled{opacity:.4;cursor:default}";
|
|
130
130
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-goal/GoalBar.module.css";
|
|
131
131
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
132
132
|
const tag = document.createElement("style");
|
|
@@ -233,6 +233,7 @@ window.__ModuleLoader__.load({
|
|
|
233
233
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
234
234
|
className: GoalBar_module_css_default.actions,
|
|
235
235
|
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
236
|
+
portal: true,
|
|
236
237
|
label: t("action.save"),
|
|
237
238
|
side: "bottom",
|
|
238
239
|
delayMs: 500,
|
|
@@ -247,6 +248,7 @@ window.__ModuleLoader__.load({
|
|
|
247
248
|
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutlineRegular, { size: 14 })
|
|
248
249
|
})
|
|
249
250
|
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
251
|
+
portal: true,
|
|
250
252
|
label: t("action.cancel"),
|
|
251
253
|
side: "bottom",
|
|
252
254
|
delayMs: 500,
|
|
@@ -296,6 +298,7 @@ window.__ModuleLoader__.load({
|
|
|
296
298
|
className: GoalBar_module_css_default.actions,
|
|
297
299
|
children: [
|
|
298
300
|
goal.phase === "active" && activation === "armed" && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
301
|
+
portal: true,
|
|
299
302
|
label: t("action.pause"),
|
|
300
303
|
side: "bottom",
|
|
301
304
|
delayMs: 500,
|
|
@@ -311,6 +314,7 @@ window.__ModuleLoader__.load({
|
|
|
311
314
|
})
|
|
312
315
|
}),
|
|
313
316
|
showResume && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
317
|
+
portal: true,
|
|
314
318
|
label: t("action.resume"),
|
|
315
319
|
side: "bottom",
|
|
316
320
|
delayMs: 500,
|
|
@@ -326,6 +330,7 @@ window.__ModuleLoader__.load({
|
|
|
326
330
|
})
|
|
327
331
|
}),
|
|
328
332
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
333
|
+
portal: true,
|
|
329
334
|
label: t("action.edit"),
|
|
330
335
|
side: "bottom",
|
|
331
336
|
delayMs: 500,
|
|
@@ -342,6 +347,7 @@ window.__ModuleLoader__.load({
|
|
|
342
347
|
})
|
|
343
348
|
}),
|
|
344
349
|
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
350
|
+
portal: true,
|
|
345
351
|
label: t("action.clear"),
|
|
346
352
|
side: "bottom",
|
|
347
353
|
delayMs: 500,
|
|
@@ -429,7 +435,7 @@ window.__ModuleLoader__.load({
|
|
|
429
435
|
};
|
|
430
436
|
//#endregion
|
|
431
437
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-goal/src/client/GoalCommandInputView.module.css.mjs
|
|
432
|
-
const css = ".oRe1gG_row{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.oRe1gG_stack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;display:flex}.oRe1gG_bubble{overflow-wrap:anywhere;background:var(--dsw-specific-bubble);max-width:100%;color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;
|
|
438
|
+
const css = ".oRe1gG_row{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.oRe1gG_stack{min-width:0;max-width:min(calc(var(--dsh-chat-content-width,748px) * .702), 82%);flex-direction:column;align-items:flex-end;display:flex}.oRe1gG_bubble{overflow-wrap:anywhere;border-radius:var(--dsw-radius-xl);background:var(--dsw-specific-bubble);max-width:100%;color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;padding:10px 16px}";
|
|
433
439
|
const tagId = "@deepseek-ai/dsh-client-ui-goal/GoalCommandInputView.module.css";
|
|
434
440
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
435
441
|
const tag = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-goal",
|
|
3
3
|
"description": "Session goal surface: GoalBar docked above the composer, read from the goal session projection",
|
|
4
|
-
"version": "0.1.7-
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"@types/react": "~18.3.1",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
|
-
"@deepseek-ai/dsh-api-session-controller": "0.1.7-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-client-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-client-
|
|
56
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-
|
|
57
|
-
"@deepseek-ai/dsh-client-
|
|
58
|
-
"@deepseek-ai/dsh-client-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-client-ui-session": "0.1.7-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
51
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.1.7-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-commands": "0.1.7-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-goal": "0.1.7-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
65
65
|
"@deepseek-ai/cordis": "~4.0.4"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|