dsh-content-search-ad 0.26.2 → 0.27.0

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.
Files changed (3) hide show
  1. package/client.js +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/client.js CHANGED
@@ -19,7 +19,7 @@ window.__ModuleLoader__.load({
19
19
  /** Locale namespace owned by this plugin. */
20
20
  const NS = 'contentSearch'
21
21
  /** Plugin version, shown in the panel so a running build can be identified. */
22
- const PLUGIN_VERSION = '0.26.2'
22
+ const PLUGIN_VERSION = '0.27.0'
23
23
  /** Tab-type identity; the body slot registers under the same key. */
24
24
  const TAB_ID = 'dsh-content-search-ad/panel'
25
25
  /** Page kind opened by the guide card and the strip's add control. */
@@ -798,7 +798,7 @@ window.__ModuleLoader__.load({
798
798
  .dcs-chat{flex:0 0 auto;display:flex;flex-direction:column;max-height:42%;border-top:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1)}
799
799
  .dcs-chat-head{flex:0 0 auto;margin:9px 10px 5px;font-size:.9em;line-height:1.4}
800
800
  .dcs-chat-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 6px 8px;display:flex;flex-direction:column;gap:2px}
801
- .dcs-question{flex:0 0 auto;min-height:2.4em;width:100%;box-sizing:border-box;padding:.45em .6em;border:0;border-radius:var(--dsw-radius-sm);background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;font-size:.95em;line-height:1.55;text-align:left;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
801
+ .dcs-question{flex:0 0 auto;min-height:2.4em;width:100%;box-sizing:border-box;padding:.45em .6em;border:0;border-radius:var(--dsw-radius-sm);background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;font-size:.95em;line-height:1.55;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
802
802
  .dcs-question:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}
803
803
  .dcs-question[data-hit="true"]{background:var(--dsw-alias-interactive-bg-hover-accent,var(--dsw-alias-bg-layer-3));color:var(--dsw-alias-label-primary);font-weight:600}
804
804
  .dcs-version{flex:0 0 auto;font-size:.85em;font-variant-numeric:tabular-nums;opacity:.75}
package/index.js CHANGED
@@ -64,7 +64,7 @@ const FUZZY_MAX_CHARS = 12
64
64
  /** Shortest query, in code points, still worth a fuzzy pass. */
65
65
  const FUZZY_MIN_CHARS = 4
66
66
 
67
- const VERSION = '0.26.2'
67
+ const VERSION = '0.27.0'
68
68
 
69
69
  //#region http helpers
70
70
  function writeJson(res, status, value) {
@@ -573,7 +573,7 @@ async function scanCorpus(ctx, parsed, focusId, scope) {
573
573
  /** How many user messages the panel lists for one conversation. */
574
574
  const QUESTIONS_MAX = 500
575
575
  /** Longest question text sent for display. */
576
- const QUESTION_TEXT_CHARS = 220
576
+ const QUESTION_TEXT_CHARS = 4000
577
577
  /** Longest anchor sent for locating the question in the transcript. */
578
578
  const QUESTION_ANCHOR_CHARS = 80
579
579
  /** How long a complete question list is served before the log is re-read. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-content-search-ad",
3
- "version": "0.26.2",
3
+ "version": "0.27.0",
4
4
  "description": "DeepSeek Harness (DSH) plugin: full-text search over every conversation's prose from a right sidebar tab, with a jump-to-match detail view.",
5
5
  "license": "MIT",
6
6
  "author": "zmq6931",