dsh-grok-provider 0.1.6 → 0.1.9
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/CHANGELOG.md +24 -0
- package/README.en.md +65 -32
- package/README.md +65 -32
- package/SECURITY.md +7 -5
- package/THIRD_PARTY_NOTICES.md +30 -0
- package/dist/client/client.js +348 -19
- package/dist/host/index.mjs +47 -8
- package/dist/internal/auth-controller.mjs +24 -2
- package/dist/internal/auth-rpc.mjs +9 -2
- package/dist/internal/grok-adapter.mjs +10 -14
- package/dist/internal/llm-error.mjs +9 -1
- package/dist/internal/model-catalog.mjs +4 -0
- package/dist/internal/official-auth-driver.mjs +23 -8
- package/dist/internal/official-cli-auth.mjs +189 -47
- package/dist/internal/responses-call.mjs +60 -0
- package/dist/internal/responses-codec.mjs +684 -30
- package/dist/internal/responses-request-compiler.mjs +159 -4
- package/dist/internal/responses-request.mjs +39 -2
- package/dist/internal/runtime-diagnostics.mjs +133 -0
- package/docs/01-product-requirements.md +11 -6
- package/docs/03-security-threat-model.md +18 -2
- package/docs/04-harness-contract.md +9 -1
- package/docs/05-test-plan.md +16 -4
- package/docs/06-release-plan.md +8 -6
- package/docs/09-implementation-status.md +43 -17
- package/docs/10-release-checklist.md +41 -3
- package/docs/11-capability-roadmap.md +30 -15
- package/docs/12-upstream-image-input-evidence.md +5 -1
- package/docs/13-upstream-search-evidence.md +91 -0
- package/docs/README.md +16 -7
- package/docs/adr/0009-runtime-diagnostics-and-login-failures.md +42 -0
- package/docs/adr/0010-default-off-web-x-search.md +101 -0
- package/docs/releases/v0.1.7.md +65 -0
- package/docs/releases/v0.1.8.md +22 -0
- package/docs/releases/v0.1.9.md +76 -0
- package/package.json +3 -2
- package/types/index.d.ts +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.9 - 2026-08-30
|
|
4
|
+
|
|
5
|
+
- Add independent, default-off Web Search and X Search Provider settings for exact `grok-4.6`; keep every other dynamically discovered model Search-disabled until the same fixed-Proxy evidence exists.
|
|
6
|
+
- Compile Harness function tools followed by `web_search` and `x_search` under one 128-tool and 16 MiB request budget, while preserving the byte-identical `0.1.7` request path when both settings are off and disabling Search for non-interactive `purpose` calls.
|
|
7
|
+
- Bind each final request to a private response receipt so undeclared function names, disabled server tools, unknown events, malformed citations, and incomplete or out-of-order Search lifecycles fail closed before they can be projected into Harness.
|
|
8
|
+
- Decode the fixed Proxy's standard Web Search lifecycle and its Grok-Build-specific four-name X Search `custom_tool_call` lifecycle as server-executed activity that emits no Harness tool-call chunks; observing either category suppresses encrypted reasoning replay for that response.
|
|
9
|
+
- Preserve inline citation Markdown as assistant text while bounding and discarding structured citation metadata; never follow, preview, or download citation URLs.
|
|
10
|
+
- Add bilingual Search risk disclosures to the existing Grok Build settings page through Harness `settingsScope`, without a second configuration RPC, renderer-local persistence, a production dependency, a new endpoint, or a new authentication mode.
|
|
11
|
+
|
|
12
|
+
## 0.1.8 - 2026-08-30 (withdrawn)
|
|
13
|
+
|
|
14
|
+
- Briefly published a Grok-only sidebar quota card that moved the sidebar's Grok quota querying and display ownership into the Provider, then withdrew the release by reverting that change.
|
|
15
|
+
- The npm Registry version `dsh-grok-provider@0.1.8` remains permanently reserved and cannot be reused after unpublish; `latest` remains `0.1.7`, and the independent Search slice moves to `0.1.9`.
|
|
16
|
+
|
|
17
|
+
## 0.1.7 - 2026-08-29
|
|
18
|
+
|
|
19
|
+
- Add a separate Host diagnostics RPC that reports the installed package version and a closed Grok Build CLI state/version without exposing executable paths, stderr, environment, proxy data, or OAuth URLs.
|
|
20
|
+
- Disable browser sign-in until the official default CLI executable, bounded version output, and `login --oauth` capability pass; show the official install guide and a re-detection action when the CLI is missing or invalid.
|
|
21
|
+
- End the Web sign-in spinner with actionable, redacted outcomes for known OIDC discovery network timeout, the five-minute login deadline, missing/invalid CLI, and unknown CLI failure while preserving cancellation and cleanup quarantine semantics.
|
|
22
|
+
- Keep runtime diagnostics single-flight and lifecycle-owned: capability teardown cancels and awaits inspection, cleanup failure latches the CLI instance and aborts its in-flight authentication actions, and serial authentication polling uses a request epoch to reject stale responses after user actions, settlement, or unmount.
|
|
23
|
+
- Document the Windows pre-browser OIDC failure boundary and keep runtime diagnostics outside the authentication status polling path; the official CLI still owns sign-in URL generation and external-browser launch, so this release does not claim to repair Windows network/proxy conditions or to have verified network-reachable browser launch on a real Windows device.
|
|
24
|
+
- Render the MIT-licensed `IconThinkOutline16` path geometry from `@deepseek-ai/dsh-client-ui-primitives@0.1.0-rc.7` for the one exact Grok Build settings navigation match through a scoped, lifecycle-owned compatibility layer; ambiguous labels or unexpected DOM structure retain the Host gear, unload removes every injected resource, and the bundled third-party notice preserves attribution.
|
|
25
|
+
- Keep Web/X Search, image generation, new server-tool events, arbitrary URL downloads, API-key mode, and custom endpoints out of this maintenance release; the independent Search slice moves to `0.1.9` because the sidebar-quota `0.1.8` release was withdrawn and its Registry version cannot be reused.
|
|
26
|
+
|
|
3
27
|
## 0.1.6 - 2026-08-28
|
|
4
28
|
|
|
5
29
|
- Accept schema-valid provider-neutral user and system history containing private reasoning blocks, omit that reasoning from the Grok wire, and preserve adjacent visible text and ordered image input; malformed or oversized omitted blocks still fail closed before attachment I/O.
|
package/README.en.md
CHANGED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | [English](README.en.md)
|
|
4
4
|
|
|
5
|
-
Use an already authenticated official Grok Build account from DeepSeek Harness, with dynamic model discovery, streaming reasoning, tool calls, and an account quota/model capability dashboard.
|
|
5
|
+
Use an already authenticated official Grok Build account from DeepSeek Harness, with dynamic model discovery, streaming reasoning, image input, optional Web/X Search, tool calls, and an account quota/model capability dashboard.
|
|
6
6
|
|
|
7
|
-
> Unofficial community project; not affiliated with xAI or DeepSeek Harness. The current source
|
|
7
|
+
> Unofficial community project; not affiliated with xAI or DeepSeek Harness. The current source candidate is `0.1.9`. Version `0.1.8` was published and then withdrawn, and npm version numbers cannot be reused; npm Registry `latest` and the current installable stable baseline remain `0.1.7`. The project no longer publishes prereleases; stable defects are fixed in a new incremented stable version.
|
|
8
8
|
|
|
9
9
|
## What it provides
|
|
10
10
|
|
|
11
11
|
| Capability | Current implementation |
|
|
12
12
|
| --- | --- |
|
|
13
|
-
| Sign-in | Invokes official `grok login --oauth`; the plugin does not implement an OAuth grant |
|
|
13
|
+
| Sign-in | Invokes official `grok login --oauth`; the official CLI owns sign-in URL generation and external-browser launch, while the plugin does not implement an OAuth grant |
|
|
14
14
|
| Credentials | Reuses official CLI session state without creating a second token store |
|
|
15
15
|
| Models | Discovers every model visible to the account at runtime; no static model allowlist |
|
|
16
16
|
| Conversations | Streaming Responses text, reasoning, encrypted reasoning replay, usage, and finish reasons |
|
|
17
17
|
| Images | Only exact `grok-4.6` accepts bounded JPEG/PNG images from Harness attachments; `grok-4.5` and all other models remain text-only |
|
|
18
|
+
| Search | The `0.1.9` candidate provides independent, default-off Web Search and X Search for exact `grok-4.6`; remote lifecycles are never misrepresented as local tools |
|
|
18
19
|
| Tools | Returns function calls to the Harness permission layer; the provider never executes tools |
|
|
19
20
|
| Account dashboard | Login status, weekly/monthly quota, reset time, dynamic model capabilities and reasoning efforts |
|
|
20
21
|
| Surfaces | Bilingual Web settings and a closed `/grok` TUI command set |
|
|
@@ -35,14 +36,14 @@ grok --version
|
|
|
35
36
|
grok models
|
|
36
37
|
```
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
When the network is reachable and OIDC discovery succeeds, the official CLI opens a browser on first use. The provider supports only the official default `~/.grok` directory (`%USERPROFILE%\.grok` on Windows).
|
|
39
40
|
|
|
40
41
|
### 2. Install the provider
|
|
41
42
|
|
|
42
|
-
After `0.1.
|
|
43
|
+
After `0.1.9` is published, install that exact version from npm:
|
|
43
44
|
|
|
44
45
|
```sh
|
|
45
|
-
dsh plugin --profile web add dsh-grok-provider@0.1.
|
|
46
|
+
dsh plugin --profile web add dsh-grok-provider@0.1.9
|
|
46
47
|
dsh web
|
|
47
48
|
```
|
|
48
49
|
|
|
@@ -50,7 +51,7 @@ dsh web
|
|
|
50
51
|
|
|
51
52
|
Open **Settings → Grok Build**:
|
|
52
53
|
|
|
53
|
-
1. Select “Sign in with
|
|
54
|
+
1. Select “Sign in with browser.”
|
|
54
55
|
2. Complete authorization in the page opened by the official Grok CLI.
|
|
55
56
|
3. Return to Harness and refresh the account dashboard.
|
|
56
57
|
4. Select any account-visible Grok model from the model picker.
|
|
@@ -61,25 +62,42 @@ The provider does not take over the login page or ask you to paste an access or
|
|
|
61
62
|
|
|
62
63
|
The Web settings page shows:
|
|
63
64
|
|
|
64
|
-
- login state and sign-in, cancel, and logout actions;
|
|
65
|
+
- login state, Provider/Grok Build CLI versions, and sign-in, cancel, and logout actions;
|
|
66
|
+
- the official installation link and “Check again” recovery when the CLI is missing or invalid;
|
|
65
67
|
- used/remaining quota and the real billing-period reset time;
|
|
66
68
|
- account-visible models, context windows, reasoning efforts, and image-input, streaming, and tool capabilities.
|
|
69
|
+
- independent, default-off Web Search and X Search settings with nearby remote-query, additional-usage, citation, and prompt-injection disclosures.
|
|
67
70
|
|
|
68
71
|
When protobuf-backed billing includes a complete weekly/monthly period but omits a zero-valued percentage, the page restores “0% used / 100% remaining.” Other incomplete responses remain unknown.
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### Account quota and model capabilities
|
|
73
|
-
|
|
74
|
-

|
|
75
|
-
|
|
76
|
-
### Harness model picker
|
|
73
|
+
Harness `0.1.1-rc.2` does not expose an icon field on `settings.section`. The Provider embeds the MIT-licensed `IconThinkOutline16` path geometry from `@deepseek-ai/dsh-client-ui-primitives@0.1.0-rc.7` and displays it only when the `Grok Build` label and settings-dialog DOM structure produce one exact match; otherwise it safely keeps the Host gear. The compatibility observer, marker, and style are all removed when the plugin unloads.
|
|
77
74
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
### Grok conversation context
|
|
75
|
+
## Plugin preview
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
Select a preview to view the full-size image.
|
|
78
|
+
|
|
79
|
+
<table>
|
|
80
|
+
<tr>
|
|
81
|
+
<td colspan="3" width="50%" valign="top" align="center">
|
|
82
|
+
<a href=".github/assets/plugin-preview/image-input.png"><img src=".github/assets/plugin-preview/image-input.png" alt="Grok 4.6 analyzing an image attached to a Harness conversation" width="100%"></a><br>
|
|
83
|
+
<sub><strong>Image input</strong> — Grok 4.6 analyzes Harness attachments directly</sub>
|
|
84
|
+
</td>
|
|
85
|
+
<td colspan="3" width="50%" valign="top" align="center">
|
|
86
|
+
<a href=".github/assets/plugin-preview/model-picker.png"><img src=".github/assets/plugin-preview/model-picker.png" alt="Selecting Grok 4.6 or Grok 4.5 in the DeepSeek Harness model picker" width="100%"></a><br>
|
|
87
|
+
<sub><strong>Model selection</strong> — Choose Grok 4.6 or Grok 4.5 based on account capabilities</sub>
|
|
88
|
+
</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td colspan="4" width="66.67%" valign="top" align="center">
|
|
92
|
+
<a href=".github/assets/plugin-preview/grok-context.png"><img src=".github/assets/plugin-preview/grok-context.png" alt="Context statistics and tool calls for a Grok 4.6 conversation" width="100%"></a><br>
|
|
93
|
+
<sub><strong>Conversation context</strong> — Inspect context statistics and tool calls</sub>
|
|
94
|
+
</td>
|
|
95
|
+
<td colspan="2" width="33.33%" valign="top" align="center">
|
|
96
|
+
<a href=".github/assets/plugin-preview/account-dashboard.png"><img src=".github/assets/plugin-preview/account-dashboard.png" alt="Grok Build account quota, reset time, and dynamic model capabilities" width="100%"></a><br>
|
|
97
|
+
<sub><strong>Account dashboard</strong> — Quota, reset time, and dynamic model capabilities</sub>
|
|
98
|
+
</td>
|
|
99
|
+
</tr>
|
|
100
|
+
</table>
|
|
83
101
|
|
|
84
102
|
TUI commands:
|
|
85
103
|
|
|
@@ -112,8 +130,8 @@ Uninstalling the provider does not remove the official Grok CLI or directly modi
|
|
|
112
130
|
|
|
113
131
|
## Sources and discovery
|
|
114
132
|
|
|
115
|
-
- npm
|
|
116
|
-
- GitHub
|
|
133
|
+
- Current npm stable release: [dsh-grok-provider@0.1.7](https://www.npmjs.com/package/dsh-grok-provider/v/0.1.7)
|
|
134
|
+
- Most recent GitHub release and integrity values: [v0.1.7](https://github.com/yoshino-xiao7/dsh-grok-provider/releases/tag/v0.1.7)
|
|
117
135
|
- GitHub community discovery: the repository carries the DeepSeek Harness-recommended `dsh-plugin` and `dsh` topics
|
|
118
136
|
- YukiRyou managed source: [deepseek-yukiryou-plugin-catalog](https://github.com/yoshino-xiao7/deepseek-yukiryou-plugin-catalog), still pinned to the real-device-accepted `dsh-grok-provider@0.1.0` and marking only `darwin-arm64`
|
|
119
137
|
|
|
@@ -121,19 +139,21 @@ Directory inclusion is not an endorsement by xAI or DeepSeek Harness. [Listing P
|
|
|
121
139
|
|
|
122
140
|
## Compatibility and scope
|
|
123
141
|
|
|
124
|
-
| Item | `0.1.
|
|
142
|
+
| Item | `0.1.9` candidate status |
|
|
125
143
|
| --- | --- |
|
|
126
144
|
| DeepSeek Harness | Exact support for `0.1.1-rc.2` |
|
|
127
145
|
| Node.js | `>=24.19.0` |
|
|
128
|
-
| macOS arm64 |
|
|
129
|
-
| Windows x64 |
|
|
146
|
+
| macOS arm64 | The published `0.1.7` baseline completed real-network acceptance; `0.1.9` Search passed four isolated Web Harness cases under fail-closed fixtures |
|
|
147
|
+
| Windows x64 | Covered by code, slow fakes, and passing `0.1.9` Windows 2022 CI. On a reachable network the official CLI generates the URL and opens the browser, and that path still lacks real-device Windows acceptance |
|
|
130
148
|
| macOS x64 / Linux | Unsupported |
|
|
131
149
|
| Grok CLI | No full-version lock; official path, `login --oauth` capability, and production OIDC credential contract are enforced |
|
|
132
150
|
| Models | Every account catalog model whose backend has a strict codec in this release |
|
|
133
151
|
|
|
134
|
-
`0.1.
|
|
152
|
+
`0.1.9` preserves the image boundary of published `0.1.7`: image input is enabled only for exact `grok-4.6`, while `grok-4.5` and every other dynamically discovered model remain text-only. Image sending has been confirmed in a real Harness conversation. Images must be verified JPEG/PNG projections from the Harness attachment service. Ordinary user content and images nested one level inside a tool result are supported with fixed `detail:"high"`; URLs, filesystem paths, file IDs, and caller-supplied data URLs are rejected. Private reasoning in ordinary user/system history is omitted while adjacent visible text remains ordered.
|
|
153
|
+
|
|
154
|
+
Each projected image is limited to 4 MiB, 16,777,216 pixels, and 8192px per side. A request retains at most eight images and 8 MiB of projected image bytes. When a limit is exceeded, the globally oldest images are offloaded to Harness text placeholders; the final JSON remains capped at 16 MiB.
|
|
135
155
|
|
|
136
|
-
|
|
156
|
+
The `0.1.9` candidate adds two default-off Search settings only for exact `grok-4.6`. Once enabled, ordinary conversation content and model-derived queries are sent to xAI and may incur additional usage. Web/X activity is already executed server-side and is not projected as a Harness-local tool call. Citation Markdown remains ordinary assistant text; bounded structured URL metadata is discarded, and the plugin never opens or downloads a citation. Search results are untrusted remote data, so verify sources before commands or file changes. Image generation, arbitrary downloads, API-key mode, multiple accounts, enterprise OIDC, ACP, and Headless agent wrapping remain out of scope; see the [capability roadmap](docs/11-capability-roadmap.md).
|
|
137
157
|
|
|
138
158
|
## How it works
|
|
139
159
|
|
|
@@ -159,7 +179,7 @@ Model IDs come from the runtime catalog rather than a hardcoded list. Image moda
|
|
|
159
179
|
- The Host must perform a bounded read of the official `auth.json`, whose raw file may contain a refresh token. The parser does not use, cache, or persist that refresh token; it retains only validation metadata and a short-lived access-token lease.
|
|
160
180
|
- The provider does not implement a refresh grant. Near expiry it may invoke one bounded official `grok models`, then reread and revalidate the official credential file.
|
|
161
181
|
- Login subprocesses use fixed argv, a scrubbed environment, output limits, deadlines, cancellation, and no shell.
|
|
162
|
-
- Prompts, tool results,
|
|
182
|
+
- Prompts, tool results, image projections selected for a request, and Search queries when enabled are sent to the xAI Grok Build service; the provider itself does not log that content, source images, projected bytes, or citation URLs.
|
|
163
183
|
|
|
164
184
|
See the full [threat model](docs/03-security-threat-model.md). For vulnerabilities, read the [security policy](SECURITY.md) and never post tokens, `auth.json`, personal data, or full diagnostic logs in a public issue.
|
|
165
185
|
|
|
@@ -167,12 +187,24 @@ See the full [threat model](docs/03-security-threat-model.md). For vulnerabiliti
|
|
|
167
187
|
|
|
168
188
|
### “Grok CLI not found”
|
|
169
189
|
|
|
170
|
-
|
|
190
|
+
Install Grok Build CLI from the official link shown on the page, then click “Detect again.” Confirm that the CLI is in its default location and run `grok --version`. The provider does not install the CLI automatically and will not load an executable from PATH, the workspace, or a UI-selected arbitrary path. The settings page displays both the provider and verified CLI versions.
|
|
171
191
|
|
|
172
192
|
### The page asks you to sign in again
|
|
173
193
|
|
|
174
194
|
Use the settings button or run `grok login --oauth` in a terminal. The provider does not lock the complete CLI version, but fails closed when the path, `--oauth` capability, or production OIDC credential contract does not match.
|
|
175
195
|
|
|
196
|
+
### The browser does not open after clicking sign-in on Windows
|
|
197
|
+
|
|
198
|
+
Run the official CLI directly first:
|
|
199
|
+
|
|
200
|
+
```powershell
|
|
201
|
+
& "$env:USERPROFILE\.grok\bin\grok.exe" login --oauth
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
If it times out at `auth.x.ai/.well-known/openid-configuration`, the failure occurs before a sign-in URL is generated; it is not a broken Provider browser button. Check Windows DNS, outbound HTTPS, firewall, VPN, and proxy settings—especially when the browser uses PAC/system proxy but the CLI process has no `HTTPS_PROXY`. Do not disable TLS verification or post proxy credentials, sign-in URLs, authorization codes, or tokens in an issue.
|
|
205
|
+
|
|
206
|
+
The settings page promptly settles this known discovery timeout and says that browser sign-in has not started. An authentication flow that is still running within the five-minute deadline remains cancellable, while unknown CLI output is reduced to a redacted generic error. This is accurate diagnosis of the failure boundary: the Provider does not open the browser itself and does not repair Windows DNS, proxy, firewall, VPN, or official-CLI behavior.
|
|
207
|
+
|
|
176
208
|
### A model is missing
|
|
177
209
|
|
|
178
210
|
Run `grok models` and verify that the same account can see it. The provider returns every valid catalog record; an unknown backend fails discovery rather than being silently filtered.
|
|
@@ -187,7 +219,7 @@ Versions through `0.1.2` could not convert some third-party tool-call histories
|
|
|
187
219
|
|
|
188
220
|
### Does Windows work?
|
|
189
221
|
|
|
190
|
-
Windows x64 code and
|
|
222
|
+
Windows x64 is covered by code, slow fakes, and passing `0.1.9` Windows 2022 CI. The official CLI still generates the sign-in URL and launches the external browser. Network-reachable browser launch has not yet been confirmed on a real Windows device, so it must not be described as fixed or verified.
|
|
191
223
|
|
|
192
224
|
## Development
|
|
193
225
|
|
|
@@ -221,8 +253,9 @@ Read the [contributing guide](CONTRIBUTING.md) before filing an issue or PR. Cha
|
|
|
221
253
|
- [x] Publish the `0.1.3` cross-provider tool-history compatibility correction
|
|
222
254
|
- [x] Publish `0.1.4`: image input only for exact `grok-4.6`; red/blue user/tool-result Proxy gates and final Harness attachment revalidation passed, while `grok-4.5` fails closed as text-only
|
|
223
255
|
- [x] Publish `0.1.5`: maintenance for release binding, dashboard capability badges, and transactional Provider Runtime installation; the unique artifact, dual-platform CI, signatures, and SLSA provenance are verified
|
|
224
|
-
- [
|
|
225
|
-
- [
|
|
256
|
+
- [x] Publish `0.1.6`: image-history reasoning compatibility and per-stage official-CLI deadline repair for Windows; image sending is confirmed in a real Harness conversation
|
|
257
|
+
- [x] Publish `0.1.7`: Provider/CLI version diagnostics, CLI installation recovery, redacted OIDC discovery-timeout settlement, and the `IconThinkOutline16` settings-navigation compatibility layer
|
|
258
|
+
- [ ] Publish `0.1.9`: opt-in, default-off Web Search / X Search; `0.1.8` was published and then withdrawn, and its npm version number cannot be reused
|
|
226
259
|
- [ ] A subsequent slice: opt-in image generation (inline results only, committed through Harness attachments)
|
|
227
260
|
- [ ] Complete independent Windows x64 acceptance and publish a later stable fix if needed
|
|
228
261
|
|
|
@@ -230,4 +263,4 @@ Slice details, gates, and permanent non-goals are in the [capability roadmap](do
|
|
|
230
263
|
|
|
231
264
|
## License
|
|
232
265
|
|
|
233
|
-
[MIT](LICENSE)
|
|
266
|
+
[MIT](LICENSE). See [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md) for the reused Harness icon geometry and its license.
|
package/README.md
CHANGED
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | [English](README.en.md)
|
|
4
4
|
|
|
5
|
-
让 DeepSeek Harness 使用你已登录的官方 Grok Build
|
|
5
|
+
让 DeepSeek Harness 使用你已登录的官方 Grok Build 账号:动态模型发现、流式推理、图片输入、可选 Web/X Search、工具调用,以及账号额度与模型能力面板。
|
|
6
6
|
|
|
7
|
-
> 非官方社区项目,与 xAI 或 DeepSeek Harness
|
|
7
|
+
> 非官方社区项目,与 xAI 或 DeepSeek Harness 官方无隶属关系。当前源码候选版本为 `0.1.9`。`0.1.8` 曾发布后撤回,npm 版本号不可复用;npm Registry 的 `latest` 与当前可安装的稳定基线仍为 `0.1.7`。项目不再发行预发行版;正式版缺陷通过新的递增稳定版本修复。
|
|
8
8
|
|
|
9
9
|
## 它解决什么问题
|
|
10
10
|
|
|
11
11
|
| 能力 | 当前实现 |
|
|
12
12
|
| --- | --- |
|
|
13
|
-
| 登录 | 调用官方 `grok login --oauth
|
|
13
|
+
| 登录 | 调用官方 `grok login --oauth`;登录 URL 生成与外部浏览器打开均由官方 CLI 负责,插件不实现 OAuth grant |
|
|
14
14
|
| 凭据 | 复用官方 CLI 的登录状态;插件不创建第二份 token 存储 |
|
|
15
15
|
| 模型 | 运行时读取账号可见的全部 Grok Build 模型,不维护静态模型白名单 |
|
|
16
16
|
| 对话 | Responses 流式文本、reasoning、加密 reasoning replay、usage 与 finish reason |
|
|
17
17
|
| 图片 | 仅精确 `grok-4.6` 接收 Harness attachment 中有界的 JPEG/PNG 图片;`grok-4.5` 与其他模型保持 text-only |
|
|
18
|
+
| 搜索 | `0.1.9` 候选为精确 `grok-4.6` 提供默认关闭、可分别开启的 Web Search / X Search;远端 lifecycle 不伪装成本地工具 |
|
|
18
19
|
| 工具 | 将 function call 交回 Harness 权限层;Provider 本身不执行工具 |
|
|
19
20
|
| 账户面板 | 登录状态、每周/月额度、重置时间、动态模型能力与 reasoning 档位 |
|
|
20
21
|
| 界面 | Web 设置页中英文切换;TUI 提供闭合的 `/grok` 命令 |
|
|
@@ -35,14 +36,14 @@ grok --version
|
|
|
35
36
|
grok models
|
|
36
37
|
```
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
当网络可达且 OIDC discovery 成功时,首次运行 Grok CLI 会打开浏览器登录。插件只支持官方默认的 `~/.grok`(Windows 为 `%USERPROFILE%\.grok`)目录。
|
|
39
40
|
|
|
40
41
|
### 2. 安装 Provider
|
|
41
42
|
|
|
42
|
-
`0.1.
|
|
43
|
+
`0.1.9` 发布后,从 npm 安装该精确版本:
|
|
43
44
|
|
|
44
45
|
```sh
|
|
45
|
-
dsh plugin --profile web add dsh-grok-provider@0.1.
|
|
46
|
+
dsh plugin --profile web add dsh-grok-provider@0.1.9
|
|
46
47
|
dsh web
|
|
47
48
|
```
|
|
48
49
|
|
|
@@ -50,7 +51,7 @@ dsh web
|
|
|
50
51
|
|
|
51
52
|
打开 **设置 → Grok Build**:
|
|
52
53
|
|
|
53
|
-
1.
|
|
54
|
+
1. 点击“通过浏览器登录”;
|
|
54
55
|
2. 在官方 Grok CLI 打开的浏览器页面完成授权;
|
|
55
56
|
3. 返回 Harness,刷新账户面板;
|
|
56
57
|
4. 在模型选择器中选择当前账号可见的 Grok 模型。
|
|
@@ -61,25 +62,42 @@ dsh web
|
|
|
61
62
|
|
|
62
63
|
Web 设置页展示:
|
|
63
64
|
|
|
64
|
-
-
|
|
65
|
+
- 当前登录状态、Provider/Grok Build CLI 版本及登录、取消、退出操作;
|
|
66
|
+
- CLI 缺失或无效时的官方安装入口与“重新检测”操作;
|
|
65
67
|
- 已使用/剩余额度和真实周期重置时间;
|
|
66
68
|
- 当前账号可见模型、上下文窗口、reasoning 档位,以及图片输入、streaming 与 tool capability。
|
|
69
|
+
- 默认关闭且相互独立的 Web Search / X Search 开关,以及远端检索、额外用量、citation 和 prompt injection 风险提示。
|
|
67
70
|
|
|
68
71
|
当 protobuf-backed billing 返回完整的 weekly/monthly 周期但省略零值百分比时,页面会恢复为“已使用 0% / 剩余 100%”;其他不完整响应保持未知,不伪造额度。
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
### 账户额度与模型能力
|
|
73
|
-
|
|
74
|
-

|
|
75
|
-
|
|
76
|
-
### Harness 模型选择器
|
|
73
|
+
当前 Harness `0.1.1-rc.2` 的 `settings.section` 没有插件图标字段。Provider 内嵌来自 `@deepseek-ai/dsh-client-ui-primitives@0.1.0-rc.7`、采用 MIT 许可的 `IconThinkOutline16` 路径几何;仅当设置对话框中的标签与 DOM 结构都精确且唯一匹配时,才用它显示 `Grok Build` 导航项,否则安全保留宿主齿轮。兼容层的观察器、标记和样式均随插件卸载清理。
|
|
77
74
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
### Grok 对话上下文
|
|
75
|
+
## 插件预览
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
点击预览图可查看原图。
|
|
78
|
+
|
|
79
|
+
<table>
|
|
80
|
+
<tr>
|
|
81
|
+
<td colspan="3" width="50%" valign="top" align="center">
|
|
82
|
+
<a href=".github/assets/plugin-preview/image-input.png"><img src=".github/assets/plugin-preview/image-input.png" alt="Grok 4.6 分析 Harness 对话中的图片输入" width="100%"></a><br>
|
|
83
|
+
<sub><strong>图片输入</strong> — Grok 4.6 直接分析 Harness 附件</sub>
|
|
84
|
+
</td>
|
|
85
|
+
<td colspan="3" width="50%" valign="top" align="center">
|
|
86
|
+
<a href=".github/assets/plugin-preview/model-picker.png"><img src=".github/assets/plugin-preview/model-picker.png" alt="在 DeepSeek Harness 模型选择器中选择 Grok 4.6 或 Grok 4.5" width="100%"></a><br>
|
|
87
|
+
<sub><strong>模型选择</strong> — 按当前账户能力选择 Grok 4.6 或 Grok 4.5</sub>
|
|
88
|
+
</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td colspan="4" width="66.67%" valign="top" align="center">
|
|
92
|
+
<a href=".github/assets/plugin-preview/grok-context.png"><img src=".github/assets/plugin-preview/grok-context.png" alt="Grok 4.6 对话的上下文统计与工具调用" width="100%"></a><br>
|
|
93
|
+
<sub><strong>对话上下文</strong> — 查看上下文统计与工具调用</sub>
|
|
94
|
+
</td>
|
|
95
|
+
<td colspan="2" width="33.33%" valign="top" align="center">
|
|
96
|
+
<a href=".github/assets/plugin-preview/account-dashboard.png"><img src=".github/assets/plugin-preview/account-dashboard.png" alt="Grok Build 账户额度、重置时间和动态模型能力" width="100%"></a><br>
|
|
97
|
+
<sub><strong>账户面板</strong> — 额度、重置时间与动态模型能力</sub>
|
|
98
|
+
</td>
|
|
99
|
+
</tr>
|
|
100
|
+
</table>
|
|
83
101
|
|
|
84
102
|
TUI 命令:
|
|
85
103
|
|
|
@@ -112,8 +130,8 @@ dsh web
|
|
|
112
130
|
|
|
113
131
|
## 项目来源与发现
|
|
114
132
|
|
|
115
|
-
- npm
|
|
116
|
-
- GitHub
|
|
133
|
+
- npm 当前稳定版:[dsh-grok-provider@0.1.7](https://www.npmjs.com/package/dsh-grok-provider/v/0.1.7)
|
|
134
|
+
- GitHub 最近发行版与校验值:[v0.1.7](https://github.com/yoshino-xiao7/dsh-grok-provider/releases/tag/v0.1.7)
|
|
117
135
|
- GitHub 社区发现:仓库已添加 DeepSeek Harness 官方推荐的 `dsh-plugin` 与 `dsh` Topics
|
|
118
136
|
- YukiRyou 受管来源:[deepseek-yukiryou-plugin-catalog](https://github.com/yoshino-xiao7/deepseek-yukiryou-plugin-catalog),当前仍锁定已完成真机验收的 `dsh-grok-provider@0.1.0`,且只标记 `darwin-arm64`
|
|
119
137
|
|
|
@@ -121,19 +139,21 @@ dsh web
|
|
|
121
139
|
|
|
122
140
|
## 兼容性与范围
|
|
123
141
|
|
|
124
|
-
| 项目 | `0.1.
|
|
142
|
+
| 项目 | `0.1.9` 候选状态 |
|
|
125
143
|
| --- | --- |
|
|
126
144
|
| DeepSeek Harness | 精确支持 `0.1.1-rc.2` |
|
|
127
145
|
| Node.js | `>=24.19.0` |
|
|
128
|
-
| macOS arm64 |
|
|
129
|
-
| Windows x64 | 代码、slow-fake 与 Windows CI
|
|
146
|
+
| macOS arm64 | 已发布的 `0.1.7` 基线已完成真实网络验收;`0.1.9` Search 已完成失败关闭 fixture 下的隔离 Web Harness 四场景验收 |
|
|
147
|
+
| Windows x64 | 代码、slow-fake 与 `0.1.9` Windows 2022 CI 已通过;网络可达时由官方 CLI 生成 URL 并打开浏览器,该路径仍未完成 Windows 真机验收 |
|
|
130
148
|
| macOS x64 / Linux | 不支持 |
|
|
131
149
|
| Grok CLI | 不锁完整版本;严格校验官方路径、`login --oauth` 能力与生产 OIDC 凭据契约 |
|
|
132
150
|
| 模型 | 当前账号目录中 backend 已被严格 codec 支持的全部模型 |
|
|
133
151
|
|
|
134
|
-
`0.1.
|
|
152
|
+
`0.1.9` 沿用已发布 `0.1.7` 的图片边界:只为精确的 `grok-4.6` 开启图片输入;`grok-4.5` 与其他动态发现的模型继续按 text-only 处理。图片发送已在真实 Harness 对话中确认可用。图片只能来自 Harness attachment service 的已验证 JPEG/PNG 投影,支持普通用户内容和一层工具结果中的图片,并固定使用 `detail:"high"`;不接受 URL、文件路径、file ID 或调用方预制的 data URL。普通 user/system 历史中的私有 reasoning 会被省略并保留相邻可见文本。
|
|
153
|
+
|
|
154
|
+
每张投影图片最多 4 MiB、16,777,216 像素且任一边不超过 8192px;每次请求最多保留 8 张、投影字节合计最多 8 MiB。超限时按全局最旧优先移除图片并保留 Harness 的文本占位,最终 JSON 仍受 16 MiB 上限约束。
|
|
135
155
|
|
|
136
|
-
|
|
156
|
+
`0.1.9` 候选只为精确 `grok-4.6` 增加两个默认关闭的 Search 开关。开启后,普通对话内容以及模型据此生成的检索词会交给 xAI,并可能产生额外用量。Web/X 是服务端已执行的检索过程,不会变成 Harness 本地工具调用;回答中的 citation Markdown 保留为普通文本,结构化 URL 元数据有界校验后丢弃,插件不会打开或下载引用。搜索结果属于不可信远端数据,执行命令或修改文件前应核实来源。图片生成、任意文件下载、API Key 模式、多账号、企业 OIDC、ACP 与 Headless agent 封装仍不在本版本范围内;后续切片见[能力路线图](docs/11-capability-roadmap.md)。
|
|
137
157
|
|
|
138
158
|
## 工作原理
|
|
139
159
|
|
|
@@ -159,7 +179,7 @@ dsh-grok-provider Host
|
|
|
159
179
|
- Host 必须有界读取官方 `auth.json`,其原始文件可能包含 refresh token;解析器不使用、不缓存、不持久化 refresh token,只保留闭合校验所需元数据与短期 access-token lease。
|
|
160
180
|
- 插件不实现 refresh grant;凭据临近过期时,只能有界调用一次官方 `grok models`,再重新读取并验证官方文件。
|
|
161
181
|
- 登录子进程使用固定 argv、过滤后的环境、输出上限、deadline 与取消处理,不通过 shell 启动。
|
|
162
|
-
-
|
|
182
|
+
- 提示词、工具结果、用户选择发送的图片投影,以及启用 Search 后的检索词会发往 xAI Grok Build 服务;插件本身不记录这些内容、原图、投影字节或 citation URL。
|
|
163
183
|
|
|
164
184
|
完整边界见[威胁模型](docs/03-security-threat-model.md)。发现安全问题时,请阅读[安全策略](SECURITY.md),不要在公开 Issue 中提交 token、`auth.json`、个人信息或完整诊断日志。
|
|
165
185
|
|
|
@@ -167,12 +187,24 @@ dsh-grok-provider Host
|
|
|
167
187
|
|
|
168
188
|
### 页面显示“找不到 Grok CLI”
|
|
169
189
|
|
|
170
|
-
|
|
190
|
+
按页面中的官方安装入口安装 Grok Build CLI,再点击“重新检测”。确认 CLI 位于默认路径,并在终端执行 `grok --version`。插件不会自动安装 CLI,也不会从 PATH、工作区或 UI 指定的任意路径加载可执行文件。设置页会同时显示 Provider 与已验证 CLI 的版本。
|
|
171
191
|
|
|
172
192
|
### 页面要求重新登录
|
|
173
193
|
|
|
174
194
|
在设置页点击登录,或先在终端运行 `grok login --oauth`。插件不锁完整 CLI 版本,但路径、`--oauth` 能力或生产 OIDC 凭据契约不匹配时会失败关闭。
|
|
175
195
|
|
|
196
|
+
### Windows 点击登录后没有弹出浏览器
|
|
197
|
+
|
|
198
|
+
先直接运行官方 CLI:
|
|
199
|
+
|
|
200
|
+
```powershell
|
|
201
|
+
& "$env:USERPROFILE\.grok\bin\grok.exe" login --oauth
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
如果它在 `auth.x.ai/.well-known/openid-configuration` 超时,失败发生在生成登录链接之前,不是 Provider 的浏览器按钮失效。请检查 Windows 的 DNS、HTTPS 出站、防火墙、VPN 与代理;尤其是浏览器使用 PAC/系统代理、CLI 进程却没有 `HTTPS_PROXY` 的情况。不要关闭 TLS 校验,也不要把代理凭据、登录 URL、授权码或 token 提交到 Issue。
|
|
205
|
+
|
|
206
|
+
设置页会及时结算这个已知 discovery 超时并显示“浏览器登录尚未开始”;实际仍在运行的五分钟登录流程可以取消,未知 CLI 输出只显示脱敏的通用错误。这是对失败边界的准确诊断,不是插件自行打开浏览器,也不修复 Windows 的 DNS、代理、防火墙、VPN 或官方 CLI 行为。
|
|
207
|
+
|
|
176
208
|
### 没有看到某个模型
|
|
177
209
|
|
|
178
210
|
先运行 `grok models`,确认该模型对同一账号可见。Provider 动态返回全部合法目录记录;未知 backend 会让发现失败,而不会被静默过滤。
|
|
@@ -187,7 +219,7 @@ dsh-grok-provider Host
|
|
|
187
219
|
|
|
188
220
|
### Windows 能用吗
|
|
189
221
|
|
|
190
|
-
|
|
222
|
+
代码、slow-fake 与 `0.1.9` Windows 2022 CI 已覆盖 Windows x64。官方 CLI 仍负责生成登录 URL 与打开外部浏览器;网络可达的 Windows 真机浏览器弹出尚未确认,因此不能表述为该问题已经修复或验证。
|
|
191
223
|
|
|
192
224
|
## 开发
|
|
193
225
|
|
|
@@ -221,8 +253,9 @@ npm run pack:check
|
|
|
221
253
|
- [x] 发布 `0.1.3` 跨 Provider 工具调用历史兼容性修正版
|
|
222
254
|
- [x] 发布 `0.1.4`:仅精确 `grok-4.6` 图片输入;user/tool-result 红蓝语义 Proxy 门禁与最终 Harness attachment 复验通过,`grok-4.5` 失败关闭为 text-only
|
|
223
255
|
- [x] 发布 `0.1.5`:发布链路、账户面板能力标签与 Provider Runtime 安装回滚维护版;唯一制品、双平台 CI、签名与 SLSA provenance 均已验证
|
|
224
|
-
- [
|
|
225
|
-
- [
|
|
256
|
+
- [x] 发布 `0.1.6`:图片历史 reasoning 兼容与 Windows 官方 CLI 分阶段 deadline 修复版;图片发送已完成真实 Harness 验证
|
|
257
|
+
- [x] 发布 `0.1.7`:Provider/CLI 双版本诊断、CLI 安装恢复、OIDC discovery 超时脱敏结算与 `IconThinkOutline16` 设置导航兼容层
|
|
258
|
+
- [ ] 发布 `0.1.9`:默认关闭、用户分别开启的 Web Search / X Search;`0.1.8` 已发布后撤回且 npm 版本号不可复用
|
|
226
259
|
- [ ] 再后续独立切片:默认关闭的图片生成(只收内联结果,提交 Harness attachment)
|
|
227
260
|
- [ ] 完成 Windows x64 独立真机验收并按需发布后续稳定修复版
|
|
228
261
|
|
|
@@ -230,4 +263,4 @@ npm run pack:check
|
|
|
230
263
|
|
|
231
264
|
## 许可证
|
|
232
265
|
|
|
233
|
-
[MIT](LICENSE)
|
|
266
|
+
[MIT](LICENSE)。复用的 Harness 图标几何及其许可见 [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md)。
|
package/SECURITY.md
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
## 支持范围
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
本安全策略对应源码候选版本 `0.1.9`。`0.1.8` 曾发布后撤回,npm 版本号不可复用;npm Registry 的 `latest` 与当前可安装的稳定基线仍为 `0.1.7`。DeepSeek Harness、Node.js 与操作系统按发布线明确维护;Grok CLI 不使用完整版本字符串作为信任门禁,而是严格校验官方默认路径、命令能力、生产 OIDC 凭据契约和固定服务端协议。已发布的 `0.1.7` 基线在 macOS arm64 完成真实验收,图片发送也已在真实 Harness 对话中确认可用;`0.1.9` Search 已完成失败关闭 fixture 下的隔离 Web Harness `ctx.llm` 四场景验收。macOS 14 / Windows 2022 CI 已通过,但浏览器手工对话、OAuth、真实账号/真实 xAI Search 请求和网络可达 Windows 真机外部浏览器弹出不在该隔离验收覆盖范围内。
|
|
8
8
|
|
|
9
|
-
`0.1.
|
|
9
|
+
`0.1.9` 沿用已发布 `0.1.7` 的图片边界:只为精确 `grok-4.6` 提供有界图片输入;`grok-4.5` 与所有其他模型保持 text-only。普通 user/system 历史中的私有 reasoning 会被省略并保留相邻可见 text/image;只有有效的同 Provider assistant 历史可进入加密 reasoning replay,一层 tool-result 仍只接受公开 text/image。图片只能来自 Harness attachment service 的已验证 JPEG/PNG 投影,以 `detail:"high"` 发送,并受单图字节、像素、边长、数量、总字节与最终 JSON 上限约束;URL、路径、file ID 和调用方预制 data URL 都会被拒绝。
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
`0.1.7` 的闭合运行时诊断、CLI 安装恢复、OIDC timeout 脱敏结算和 `IconThinkOutline16` 兼容层在本版保持不变。官方 CLI 仍负责生成登录 URL 与打开外部浏览器;插件不修复系统 DNS、代理、防火墙、VPN 或 CLI 行为。
|
|
12
|
+
|
|
13
|
+
`0.1.9` 只为精确 `grok-4.6` 增加两个默认关闭的 Web/X Search 开关。启用后,普通对话内容与模型生成的检索词会交给 xAI,并可能产生额外用量;结果和 citation 属于可能错误或含提示注入的不可信远端数据。Provider 只允许固定 Proxy 实测的 Web lifecycle 与四项 X custom-tool 名称,不把它们映射为 Harness 本地工具,不跟随或下载 citation URL,并在观察到 Search 后放弃该响应的 encrypted reasoning replay。后台 purpose、未验证模型、未启用类别、未知事件和未闭合 lifecycle 均失败关闭。固定路径/argv、最小环境、无 shell、输出上限、凭据、固定 origin 与 URL 拒绝边界不变;本版不新增生成、认证模式或 endpoint。
|
|
12
14
|
|
|
13
15
|
## 私下报告漏洞
|
|
14
16
|
|
|
@@ -25,7 +27,7 @@ CLI executable 解析、只读验证、`--version`、`login --help` 与最终 ac
|
|
|
25
27
|
|
|
26
28
|
## 不属于漏洞的情况
|
|
27
29
|
|
|
28
|
-
- Windows
|
|
30
|
+
- 网络可达 Windows 真机外部浏览器弹出尚未完成验收这一已披露状态;
|
|
29
31
|
- 上游未提供额度字段时 UI 显示 unknown;
|
|
30
32
|
- 不受支持的 CLI/Harness/平台版本被明确拒绝;
|
|
31
33
|
- 官方 CLI 或 xAI 服务自身的行为,且无法由本插件边界缓解的问题。
|
|
@@ -36,4 +38,4 @@ CLI executable 解析、只读验证、`--version`、`login --help` 与最终 ac
|
|
|
36
38
|
|
|
37
39
|
---
|
|
38
40
|
|
|
39
|
-
English summary: GitHub Private vulnerability reporting is enabled and
|
|
41
|
+
English summary: GitHub Private vulnerability reporting is enabled and preferred. The current source candidate is `0.1.9`. Version `0.1.8` was published and then withdrawn, and npm version numbers cannot be reused; npm Registry `latest` and the current installable stable baseline remain `0.1.7`. Bounded JPEG/PNG input with fixed `detail:"high"` remains enabled only for exact `grok-4.6`; browser sign-in diagnostics remain closed and redacted, and the official CLI still owns URL generation and browser launch. The `0.1.9` candidate adds independent, default-off Web/X Search only for exact `grok-4.6`. Its four isolated Web Harness `ctx.llm` cases and macOS 14 / Windows 2022 CI have passed under fail-closed fixtures; this does not cover manual browser conversations, OAuth, a real account, real xAI Search requests, or network-reachable Windows browser launch. When enabled, prompts and model-derived queries reach xAI and may incur additional usage; results and citations are untrusted remote data. The provider accepts only the fixed-Proxy Web lifecycle and four verified X custom-tool names, emits no Harness-local tool calls for server search, never follows citation URLs, and suppresses encrypted reasoning replay after Search. Background-purpose calls, unverified models, disabled categories, unknown events, and incomplete lifecycles fail closed. Fixed path/argv, no-shell, credential, origin, and URL-rejection boundaries remain unchanged; no image generation, new auth mode, or custom endpoint is added. Never send credentials, identity data, prompts, tool arguments, cookies, image bytes, Search contents, or unreviewed diagnostics.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
The Web client includes SVG path geometry from `IconThinkOutline16` in
|
|
4
|
+
`@deepseek-ai/dsh-client-ui-primitives@0.1.0-rc.7`, part of
|
|
5
|
+
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/client/ui-primitives).
|
|
6
|
+
The following license applies to that portion:
|
|
7
|
+
|
|
8
|
+
## @deepseek-ai/dsh-client-ui-primitives
|
|
9
|
+
|
|
10
|
+
MIT License
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2026 DeepSeek
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
|
22
|
+
copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
30
|
+
SOFTWARE.
|