@deepseek-ai/dsh-client-ui-message-feedback 0.1.7-rc.1 → 0.2.0-rc.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.i18n.yaml CHANGED
@@ -1,6 +1,40 @@
1
- # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
- # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
- # after editing either side, bring the other along and re-record with:
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-message-feedback/README.md
5
- README.md: b6c6f227ebbeb3d6862d10658b1b125517b25581
6
- README.zh.md: a294c73c87e8e2da8139fe965e70d9eaf34096a6
5
+ /:
6
+ en: 8aef97e8b41fcc4b
7
+ zh: 2a28ff708de40cef
8
+ /deepseek-ai-dsh-client-ui-message-feedback:
9
+ en: eef16395a28d7264
10
+ zh: 8b3daf739cdbc512
11
+ /deepseek-ai-dsh-client-ui-message-feedback/summary:
12
+ en: 32b117b659c93b6d
13
+ zh: 88e019f2f682cb6b
14
+ /deepseek-ai-dsh-client-ui-message-feedback/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 09388d293f9be9cb
17
+ /deepseek-ai-dsh-client-ui-message-feedback/use-this-package:
18
+ en: e0127a604ff4aebb
19
+ zh: 38f1b3db30f81b22
20
+ /deepseek-ai-dsh-client-ui-message-feedback/use-this-package/failures:
21
+ en: f060de7d9f44b058
22
+ zh: 60770de36be6e90f
23
+ /deepseek-ai-dsh-client-ui-message-feedback/understand-the-implementation:
24
+ en: 61260495346ceb3e
25
+ zh: 32e05d3eb82fcaf2
26
+ /deepseek-ai-dsh-client-ui-message-feedback/further-exploration:
27
+ en: 47906e09b597c666
28
+ zh: f729475bcc21f4ec
29
+ /deepseek-ai-dsh-client-ui-message-feedback/model-experience:
30
+ en: a063165cbba41ab6
31
+ zh: 0a5ab1eaea93fce9
32
+ /deepseek-ai-dsh-client-ui-message-feedback/model-experience/kv-cache-effect:
33
+ en: 184078637480a33b
34
+ zh: 4016876c67533dee
35
+ /deepseek-ai-dsh-client-ui-message-feedback/known-limitations-and-deferred-work:
36
+ en: 17939bf926bf384b
37
+ zh: d4cb01a03076f761
38
+ /deepseek-ai-dsh-client-ui-message-feedback/known-limitations-and-deferred-work/dev-note:
39
+ en: 9b670f2a6e0fc0b4
40
+ zh: 3eb9ed838ad61571
package/lib/client.js CHANGED
@@ -9,7 +9,7 @@ window.__ModuleLoader__.load({
9
9
  let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
10
10
  let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
11
11
  //#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-message-feedback/src/client/FeedbackDialog.module.css.mjs
12
- const css$1 = "._6_jNJa_dialog._6_jNJa_dialog{border-radius:18px;gap:38px;width:min(488px,100%)}._6_jNJa_categories{flex-wrap:wrap;gap:8px;margin-top:-14px;display:flex}._6_jNJa_chip{border:.5px solid var(--dsw-alias-border-l4);corner-shape:round;height:28px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;background:0 0;border-radius:14px;padding:0 12px;font-size:13px;line-height:18px;transition:background-color .12s,border-color .12s,color .12s}._6_jNJa_chip:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._6_jNJa_chip:disabled{cursor:default;opacity:.4}._6_jNJa_chip:focus-visible{outline:2px solid var(--dsw-alias-button-primary-fill);outline-offset:2px}._6_jNJa_chipActive,._6_jNJa_chipActive:hover:not(:disabled){border-color:var(--dsw-alias-button-primary-fill);background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}._6_jNJa_detail{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:116px;max-height:280px;color:var(--dsw-alias-label-primary);font:inherit;field-sizing:content;resize:none;border-radius:16px;margin-top:18px;padding:12px 14px;font-size:14px;line-height:22px;transition:border-color .12s,box-shadow .12s;display:block}._6_jNJa_detail::placeholder{color:var(--dsw-alias-label-caption)}._6_jNJa_detail:focus{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 1px var(--dsw-alias-border-l3);outline:none}._6_jNJa_submit{border-radius:18px;width:100%;height:44px;font-size:14px;font-weight:500}@media (prefers-reduced-motion:reduce){._6_jNJa_chip,._6_jNJa_detail{transition:none}}";
12
+ const css$1 = "._6_jNJa_dialog._6_jNJa_dialog{border-radius:var(--dsw-radius-panel);gap:38px;width:min(488px,100%)}._6_jNJa_categories{flex-wrap:wrap;gap:8px;margin-top:-14px;display:flex}._6_jNJa_chip{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-sm);height:28px;color:var(--dsw-alias-label-primary);font:inherit;cursor:pointer;background:0 0;padding:0 12px;font-size:13px;line-height:18px;transition:background-color .12s,border-color .12s,color .12s}._6_jNJa_chip:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._6_jNJa_chip:disabled{cursor:default;opacity:.4}._6_jNJa_chip:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._6_jNJa_chipActive,._6_jNJa_chipActive:hover:not(:disabled){border-color:var(--dsw-alias-button-primary-fill);background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}._6_jNJa_detail{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:116px;max-height:280px;color:var(--dsw-alias-label-primary);font:inherit;field-sizing:content;resize:none;margin-top:18px;padding:12px 14px;font-size:14px;line-height:22px;transition:border-color .12s,box-shadow .12s;display:block}._6_jNJa_detail::placeholder{color:var(--dsw-alias-label-caption)}._6_jNJa_detail:focus{border-color:var(--dsw-alias-border-l3);box-shadow:0 0 0 1px var(--dsw-alias-state-business-primary);outline:none}._6_jNJa_submit{border-radius:var(--dsw-radius-lg);width:100%;height:44px;font-size:14px;font-weight:500}@media (prefers-reduced-motion:reduce){._6_jNJa_chip,._6_jNJa_detail{transition:none}}";
13
13
  const tagId$1 = "@deepseek-ai/dsh-client-ui-message-feedback/FeedbackDialog.module.css";
14
14
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
15
15
  const tag = document.createElement("style");
@@ -136,7 +136,7 @@ window.__ModuleLoader__.load({
136
136
  }
137
137
  //#endregion
138
138
  //#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-message-feedback/src/client/MessageFeedbackActions.module.css.mjs
139
- const css = "._8_XoUG_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:28px;justify-content:center;align-items:center;padding:6px;display:inline-flex}._8_XoUG_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}._8_XoUG_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}._8_XoUG_action:disabled{cursor:default;opacity:.4}._8_XoUG_action[data-active]{color:var(--dsw-alias-label-tertiary)}._8_XoUG_failure{color:var(--dsw-alias-label-tertiary);padding-left:4px;font-size:13px;line-height:20px}";
139
+ const css = "._8_XoUG_action{width:calc(28px + var(--dsh-content-font-delta,0px));height:calc(28px + var(--dsh-content-font-delta,0px));border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:6px;display:inline-flex}._8_XoUG_action svg{width:calc(15px + var(--dsh-content-font-delta,0px));height:calc(15px + var(--dsh-content-font-delta,0px))}._8_XoUG_action:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}._8_XoUG_action:disabled{cursor:default;opacity:.4}._8_XoUG_action[data-active]{color:var(--dsw-alias-label-tertiary)}._8_XoUG_failure{color:var(--dsw-alias-label-tertiary);padding-left:4px;font-size:13px;line-height:20px}";
140
140
  const tagId = "@deepseek-ai/dsh-client-ui-message-feedback/MessageFeedbackActions.module.css";
141
141
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
142
142
  const tag = document.createElement("style");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-message-feedback",
3
3
  "description": "The Web feedback surface: per-message Like/Dislike in the assistant-message action strip and the feedback dialog behind both ratings and /feedback, backed by the messageFeedback and sessionFeedback Host Remotes",
4
- "version": "0.1.7-rc.1",
4
+ "version": "0.2.0-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -47,24 +47,24 @@
47
47
  "@types/react-dom": "~18.3.0",
48
48
  "react": "^18.2.0",
49
49
  "react-dom": "^18.2.0",
50
- "@deepseek-ai/dsh-api-remotes": "0.1.7-rc.1",
51
- "@deepseek-ai/dsh-client-locale": "0.1.7-rc.1",
52
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.1",
53
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.1",
54
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.1",
55
- "@deepseek-ai/dsh-client-connection": "0.1.7-rc.1",
56
- "@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.1",
57
- "@deepseek-ai/dsh-message-feedback": "0.1.7-rc.1",
58
- "@deepseek-ai/dsh-remote-mock": "0.1.7-rc.1",
59
- "@deepseek-ai/dsh-session": "0.1.7-rc.1",
60
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.1",
50
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
51
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
52
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
53
+ "@deepseek-ai/dsh-client-test-runtime": "0.2.0-rc.1",
54
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.1",
55
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
56
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
57
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
58
+ "@deepseek-ai/dsh-message-feedback": "0.2.0-rc.1",
59
+ "@deepseek-ai/dsh-remote-mock": "0.2.0-rc.1",
60
+ "@deepseek-ai/dsh-session": "0.2.0-rc.1",
61
+ "@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1",
61
62
  "@deepseek-ai/cordis": "~4.0.4",
62
- "@deepseek-ai/dsh-client-ui-chat": "0.1.7-rc.1",
63
- "@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.1",
64
- "@deepseek-ai/dsh-command-feedback": "0.1.7-rc.1",
65
- "@deepseek-ai/dsh-client-store": "0.1.7-rc.1",
66
- "@deepseek-ai/dsh-client-ui-commands": "0.1.7-rc.1",
67
- "@deepseek-ai/dsh-client-test-runtime": "0.1.7-rc.1"
63
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.1",
64
+ "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
65
+ "@deepseek-ai/dsh-client-ui-commands": "0.2.0-rc.1",
66
+ "@deepseek-ai/dsh-command-feedback": "0.2.0-rc.1",
67
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.1"
68
68
  },
69
69
  "files": [
70
70
  "lib/index.js",