@songtonyli/dsh-cli 0.1.7 → 0.1.8

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
@@ -26,7 +26,7 @@ workspace and no build step. Native packages that ship one build per platform
26
26
  ripgrep, the PTY backend's addons, sharp, koffi, and the Landlock launcher — are
27
27
  ordinary optional dependencies, so npm resolves the right one for your machine.
28
28
 
29
- Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.7; `dsh --version`
29
+ Requires Node `^22.19.0 || >=24.0.0`. Version 0.1.8; `dsh --version`
30
30
  also reports the harness build the package was assembled from.
31
31
 
32
32
  ## License
package/bin/dsh.mjs CHANGED
@@ -18,7 +18,7 @@ const argv = process.argv.slice(2)
18
18
  // version this package publishes. Reporting only one of the two would make an
19
19
  // ordinary `npm install @songtonyli/dsh-cli@x` look like it installed something else.
20
20
  if (argv.length === 1 && (argv[0] === '--version' || argv[0] === '-V')) {
21
- console.log('@songtonyli/dsh-cli 0.1.7 (deepseek-harness 0.1.6-alpha.1)')
21
+ console.log('@songtonyli/dsh-cli 0.1.8 (deepseek-harness 0.1.6-alpha.1)')
22
22
  process.exit(0)
23
23
  }
24
24
 
@@ -33,6 +33,7 @@ window.__ModuleLoader__.load({
33
33
  * @param ctx - Client root context.
34
34
  */
35
35
  function apply(ctx) {
36
+ if ({}.DSH_CLIENT_BUILD_PROFILE !== "official") return;
36
37
  ctx.slots.inject("sidebar.brand.mark", () => ctx.slots.inject("sidebar.brand.name", function* () {
37
38
  yield ctx.slots.register({ name: "sidebar.brand.mark" }, OfficialBrandMark);
38
39
  yield ctx.slots.register({ name: "sidebar.brand.name" }, OfficialBrandName);
@@ -260,7 +260,7 @@ window.__ModuleLoader__.load({
260
260
  const onRightbarDrag = (0, react.useCallback)((dx) => {
261
261
  actions.setRightbar(rightbarBase.current - dx);
262
262
  }, [actions]);
263
- const productTitle = "DeepSeek Harness";
263
+ const productTitle = {}.DSH_CLIENT_TITLE ?? t("brand.localBuild");
264
264
  const sidebar = (0, react.useMemo)(() => renderSlot("sidebar", {
265
265
  collapsed: sidebarCollapsed,
266
266
  width: cols.sidebar
@@ -100,7 +100,7 @@ window.__ModuleLoader__.load({
100
100
  const SCROLLBAR_LINGER_MS = 2e3;
101
101
  /** Format complete-build metadata for the local brand badge. */
102
102
  function localBuildVersion() {
103
- return `0.1.6-alpha.1-e2077a6` + ({}.DSH_CLIENT_GIT_DIRTY === "true" ? "-dirty" : "");
103
+ return `0.1.6-alpha.1-0fd6c65-dirty`;
104
104
  }
105
105
  /** Each panel row subscribes only to its own selection state. */
106
106
  function PanelRow({ id, label, wide, usePanelInfo, selectPanel, renderSlot }) {
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <link rel="manifest" href="./manifest.webmanifest" />
7
7
  <link rel="icon" type="image/svg+xml" href="./favicon.svg" />
8
- <title>DeepSeek Harness</title>
8
+ <title>DSH Local Build</title>
9
9
  <script type="module" crossorigin src="./assets/index-Ly7KS3xS.js"></script>
10
10
  <link rel="modulepreload" crossorigin href="./assets/vendor-CCJJTK99.js">
11
11
  <link rel="stylesheet" crossorigin href="./assets/vendor-BNsW4eBh.css">
@@ -32,6 +32,5 @@
32
32
  "license": "BSD-3-Clause",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
- },
36
- "optionalDependencies": {}
35
+ }
37
36
  }
@@ -21,19 +21,5 @@
21
21
  "url": "https://github.com/microsoft/vscode-ripgrep"
22
22
  },
23
23
  "author": "Rob Lourens",
24
- "license": "MIT",
25
- "optionalDependencies": {
26
- "@vscode/ripgrep-darwin-x64": "1.18.0",
27
- "@vscode/ripgrep-darwin-arm64": "1.18.0",
28
- "@vscode/ripgrep-win32-x64": "1.18.0",
29
- "@vscode/ripgrep-win32-arm64": "1.18.0",
30
- "@vscode/ripgrep-win32-ia32": "1.18.0",
31
- "@vscode/ripgrep-linux-x64": "1.18.0",
32
- "@vscode/ripgrep-linux-arm64": "1.18.0",
33
- "@vscode/ripgrep-linux-arm": "1.18.0",
34
- "@vscode/ripgrep-linux-ppc64": "1.18.0",
35
- "@vscode/ripgrep-linux-riscv64": "1.18.0",
36
- "@vscode/ripgrep-linux-s390x": "1.18.0",
37
- "@vscode/ripgrep-linux-ia32": "1.18.0"
38
- }
24
+ "license": "MIT"
39
25
  }
@@ -29,28 +29,6 @@
29
29
  "napi": 8
30
30
  },
31
31
  "funding": "https://liberapay.com/Koromix",
32
- "optionalDependencies": {
33
- "@koromix/koffi-linux-arm": "3.3.0",
34
- "@koromix/koffi-linux-arm64": "3.3.0",
35
- "@koromix/koffi-linux-ia32": "3.3.0",
36
- "@koromix/koffi-linux-x64": "3.3.0",
37
- "@koromix/koffi-linux-riscv64": "3.3.0",
38
- "@koromix/koffi-freebsd-ia32": "3.3.0",
39
- "@koromix/koffi-freebsd-x64": "3.3.0",
40
- "@koromix/koffi-freebsd-arm64": "3.3.0",
41
- "@koromix/koffi-openbsd-ia32": "3.3.0",
42
- "@koromix/koffi-openbsd-x64": "3.3.0",
43
- "@koromix/koffi-win32-ia32": "3.3.0",
44
- "@koromix/koffi-win32-x64": "3.3.0",
45
- "@koromix/koffi-win32-arm64": "3.3.0",
46
- "@koromix/koffi-darwin-x64": "3.3.0",
47
- "@koromix/koffi-darwin-arm64": "3.3.0",
48
- "@koromix/koffi-linux-loong64": "3.3.0",
49
- "@koromix/koffi-android-arm64": "3.3.0",
50
- "@koromix/koffi-android-x64": "3.3.0",
51
- "@koromix/koffi-linux-ppc64": "3.3.0",
52
- "@koromix/koffi-openbsd-arm64": "3.3.0"
53
- },
54
32
  "type": "module",
55
33
  "main": "./index.cjs",
56
34
  "module": "./index.js",
@@ -27,14 +27,5 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "node-addon-native-custom-loader": "0.1.6"
30
- },
31
- "optionalDependencies": {
32
- "node-addon-require-builtin-darwin-arm64": "0.1.6",
33
- "node-addon-require-builtin-darwin-x64": "0.1.6",
34
- "node-addon-require-builtin-linux-arm64-gnu": "0.1.6",
35
- "node-addon-require-builtin-linux-x64-gnu": "0.1.6",
36
- "node-addon-require-builtin-win32-arm64-msvc": "0.1.6",
37
- "node-addon-require-builtin-win32-x64-msvc": "0.1.6",
38
- "node-addon-require-builtin-win32-ia32-msvc": "0.1.6"
39
30
  }
40
31
  }
@@ -143,33 +143,6 @@
143
143
  "detect-libc": "^2.1.2",
144
144
  "semver": "^7.8.5"
145
145
  },
146
- "optionalDependencies": {
147
- "@img/sharp-darwin-arm64": "0.35.4",
148
- "@img/sharp-darwin-x64": "0.35.4",
149
- "@img/sharp-freebsd-wasm32": "0.35.4",
150
- "@img/sharp-libvips-darwin-arm64": "1.3.3",
151
- "@img/sharp-libvips-darwin-x64": "1.3.3",
152
- "@img/sharp-libvips-linux-arm": "1.3.3",
153
- "@img/sharp-libvips-linux-arm64": "1.3.3",
154
- "@img/sharp-libvips-linux-ppc64": "1.3.3",
155
- "@img/sharp-libvips-linux-riscv64": "1.3.3",
156
- "@img/sharp-libvips-linux-s390x": "1.3.3",
157
- "@img/sharp-libvips-linux-x64": "1.3.3",
158
- "@img/sharp-libvips-linuxmusl-arm64": "1.3.3",
159
- "@img/sharp-libvips-linuxmusl-x64": "1.3.3",
160
- "@img/sharp-linux-arm": "0.35.4",
161
- "@img/sharp-linux-arm64": "0.35.4",
162
- "@img/sharp-linux-ppc64": "0.35.4",
163
- "@img/sharp-linux-riscv64": "0.35.4",
164
- "@img/sharp-linux-s390x": "0.35.4",
165
- "@img/sharp-linux-x64": "0.35.4",
166
- "@img/sharp-linuxmusl-arm64": "0.35.4",
167
- "@img/sharp-linuxmusl-x64": "0.35.4",
168
- "@img/sharp-webcontainers-wasm32": "0.35.4",
169
- "@img/sharp-win32-arm64": "0.35.4",
170
- "@img/sharp-win32-ia32": "0.35.4",
171
- "@img/sharp-win32-x64": "0.35.4"
172
- },
173
146
  "peerDependenciesMeta": {
174
147
  "@types/node": {
175
148
  "optional": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@songtonyli/dsh-cli",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "The dsh terminal agent: an interactive TUI over the DeepSeek Harness, with its whole Node runtime bundled in one install.",
5
5
  "license": "MIT",
6
6
  "type": "module",