@klarkxy/dsh-zhihu 0.2.4 → 0.2.5

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 (2) hide show
  1. package/lib/client.js +23 -0
  2. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -539,6 +539,29 @@ ${scope} {
539
539
  & .dsh-ui-select:disabled { color: var(--dsw-alias-label-tertiary); cursor: default; }
540
540
  & .dsh-ui-select[aria-invalid='true'] { border-color: var(--dsw-alias-state-error-primary); }
541
541
 
542
+ /* --- Native textarea. The primitives ship no textarea either, so a settings
543
+ * prompt keeps the platform element and the same field shell as the select:
544
+ * 0.5px l4, radius-md, layer-3, 13/1.5 type. It grows vertically instead of
545
+ * locking to the select's 34px row. --- */
546
+ & .dsh-ui-textarea {
547
+ box-sizing: border-box;
548
+ width: 100%;
549
+ min-width: 0;
550
+ resize: vertical;
551
+ padding: 8px 12px;
552
+ border: 0.5px solid var(--dsw-alias-border-l4);
553
+ border-radius: var(--dsw-radius-md);
554
+ background: var(--dsw-alias-bg-layer-3);
555
+ font: inherit;
556
+ font-size: 13px;
557
+ line-height: 1.5;
558
+ color: var(--dsw-alias-label-primary);
559
+ }
560
+ & .dsh-ui-textarea:focus-visible { outline: none; border-color: var(--dsw-alias-state-business-primary); }
561
+ & .dsh-ui-textarea:disabled { color: var(--dsw-alias-label-tertiary); cursor: default; }
562
+ & .dsh-ui-textarea::placeholder { color: var(--dsw-alias-label-dimmed); }
563
+ & .dsh-ui-textarea[aria-invalid='true'] { border-color: var(--dsw-alias-state-error-primary); }
564
+
542
565
  /* Long panels scroll inside themselves instead of growing the host page. */
543
566
  & .dsh-ui-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
544
567
  & .dsh-ui-panel-wide { max-width: 100%; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klarkxy/dsh-zhihu",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Zhihu search, agent tools, knowledge bases, and usage tracking for DeepSeek Harness.",
5
5
  "icon": "./icon.svg",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -96,7 +96,7 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "zod": "^4.1.5",
99
- "@klarkxy/dsh-plugin-kit": "0.3.3"
99
+ "@klarkxy/dsh-plugin-kit": "0.3.4"
100
100
  },
101
101
  "peerDependencies": {
102
102
  "@deepseek-ai/cordis": ">=4.0.4",
@@ -153,6 +153,6 @@
153
153
  "registry": "https://registry.npmjs.org/"
154
154
  },
155
155
  "dshRelease": {
156
- "contentHash": "a199b3487864cc4abb4892192df0016d444c87be0a59319c29255b20e2ecc63c"
156
+ "contentHash": "819033b9306a67d8915959da7c1f64291d8e1f92aa6a0fe5134a213493a6546e"
157
157
  }
158
158
  }