dsh-querit 1.1.0 → 1.1.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.md CHANGED
@@ -6,7 +6,7 @@ Querit-backed search and fetch providers for the DeepSeek Harness [web capabilit
6
6
 
7
7
  Sign up on [Querit.ai](https://www.querit.ai) to get an API key with **1,000 free API calls per month** — no credit card required.
8
8
 
9
- Since v1.1.0 the package targets **dsh 0.1.2+**: the host half registers its settings namespace through the `ctx.settings` service (`installSection`), and the settings card reads and writes the API key through the browser `remote.credentials` namespace. On older dsh hosts (0.1.0–0.1.1) install `dsh-querit@1.0.6` instead.
9
+ Since v1.1.0 the package targets **dsh 0.1.2+**: the host half registers its settings namespace through the `ctx.settings` service (`installSection`), and the settings card reads and writes the API key through the browser `remote.credentials` namespace. v1.1.2 keeps those seams and widens the peer range so npm accepts 0.1.5-rc and 0.1.6-alpha hosts (`^0.1.2-rc.1` rejected them under the prerelease-tuple rule). On older dsh hosts (0.1.0–0.1.1) install `dsh-querit@1.0.6` instead.
10
10
 
11
11
  ## Quick start
12
12
 
package/lib/card.js CHANGED
@@ -347,7 +347,7 @@ function makeStore(initial) {
347
347
  var tagId = NS + '/card.css';
348
348
  if (document.querySelector('style[data-plugin-css="' + tagId + '"]') !== null) return;
349
349
  var css = [
350
- '.qr-card{list-style:none;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:12px;transition:border-color .16s,background .16s}',
350
+ '.qr-card{list-style:none;border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-3);border-radius:16px;transition:border-color .16s,background .16s}',
351
351
  '.qr-card:hover{border-color:var(--dsw-alias-label-dimmed)}',
352
352
  '.qr-card.qr-open{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)}',
353
353
  '.qr-header{appearance:none;display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;background:0 0;border:0;border-radius:12px;cursor:pointer;color:inherit;font:inherit;text-align:left}',
@@ -369,7 +369,7 @@ function makeStore(initial) {
369
369
  '.qr-reset{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;line-height:1.5}',
370
370
  '.qr-reset:hover:not(:disabled){color:var(--dsw-alias-label-primary)}',
371
371
  '.qr-reset:disabled{cursor:default}',
372
- '.qr-input{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5;box-sizing:border-box}',
372
+ '.qr-input{border:.5px solid var(--dsw-alias-border-l4);background:var(--dsw-alias-bg-layer-3);height:34px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;padding:0 12px;font-size:13px;line-height:1.5;box-sizing:border-box}',
373
373
  '.qr-input:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}',
374
374
  '.qr-input:disabled{color:var(--dsw-alias-label-tertiary);cursor:default}',
375
375
  '.qr-input-invalid{border-color:var(--dsw-alias-label-error)}',
package/lib/client.js CHANGED
@@ -10,7 +10,7 @@ import { sanitizeUntrustedText } from "./sanitize.js";
10
10
  export const QUERIT_API_BASE_URL = "https://api.querit.ai";
11
11
  export const DEFAULT_REQUEST_TIMEOUT_MS = 70_000;
12
12
  /** Attribution header sent on every request. Bump with the package version. */
13
- const USER_AGENT = "dsh-querit/1.1.0";
13
+ const USER_AGENT = "dsh-querit/1.1.2";
14
14
  const SEARCH_RESPONSE_MAX_BYTES = 2 * 1024 * 1024;
15
15
  const CONTENTS_RESPONSE_MAX_BYTES = 10 * 1024 * 1024;
16
16
  const ERROR_RESPONSE_MAX_BYTES = 8 * 1024;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-querit",
3
3
  "description": "Querit-backed search and fetch providers for the DeepSeek Harness web capability seam (ctx.web)",
4
- "version": "1.1.0",
4
+ "version": "1.1.2",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -63,16 +63,16 @@
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@deepseek-ai/cordis": "^4.0.1",
66
- "@deepseek-ai/dsh-api-remotes": "^0.1.2-rc.1",
67
- "@deepseek-ai/dsh-client-connection": "^0.1.2-rc.1",
68
- "@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
69
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.2-rc.1",
70
- "@deepseek-ai/dsh-credentials": "^0.1.2-rc.1",
71
- "@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
72
- "@deepseek-ai/dsh-launch-environment": "^0.1.2-rc.1",
73
- "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
74
- "@deepseek-ai/dsh-tool-web": "^0.1.2-rc.1",
75
- "@deepseek-ai/dsh-web": "^0.1.2-rc.1",
66
+ "@deepseek-ai/dsh-api-remotes": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
67
+ "@deepseek-ai/dsh-client-connection": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
68
+ "@deepseek-ai/dsh-client-locale": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
69
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
70
+ "@deepseek-ai/dsh-credentials": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
71
+ "@deepseek-ai/dsh-invariants": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
72
+ "@deepseek-ai/dsh-launch-environment": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
73
+ "@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
74
+ "@deepseek-ai/dsh-tool-web": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
75
+ "@deepseek-ai/dsh-web": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-alpha.1 <0.2.0",
76
76
  "react": "^18.2.0"
77
77
  },
78
78
  "peerDependenciesMeta": {
@@ -114,16 +114,16 @@
114
114
  }
115
115
  },
116
116
  "dependencies": {
117
- "@deepseek-ai/schemastery": "^3.18.1"
117
+ "@deepseek-ai/schemastery": "^3.18.2"
118
118
  },
119
119
  "devDependencies": {
120
- "@deepseek-ai/cordis": "^4.0.1",
121
- "@deepseek-ai/dsh-credentials": "^0.1.2-rc.1",
122
- "@deepseek-ai/dsh-invariants": "^0.1.2-rc.1",
123
- "@deepseek-ai/dsh-launch-environment": "^0.1.2-rc.1",
124
- "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
125
- "@deepseek-ai/dsh-tool-web": "^0.1.2-rc.1",
126
- "@deepseek-ai/dsh-web": "^0.1.2-rc.1",
120
+ "@deepseek-ai/cordis": "^4.0.2",
121
+ "@deepseek-ai/dsh-credentials": "^0.1.5-rc.2",
122
+ "@deepseek-ai/dsh-invariants": "^0.1.5-rc.2",
123
+ "@deepseek-ai/dsh-launch-environment": "^0.1.5-rc.2",
124
+ "@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
125
+ "@deepseek-ai/dsh-tool-web": "^0.1.5-rc.2",
126
+ "@deepseek-ai/dsh-web": "^0.1.5-rc.2",
127
127
  "@types/node": "^22.0.0",
128
128
  "react": "^18.2.0",
129
129
  "react-dom": "^18.3.1",