@aiwayds/dsh-opentui 0.23.3 → 0.24.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.
package/NOTICE CHANGED
@@ -93,3 +93,38 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
93
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
94
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95
95
  SOFTWARE.
96
+
97
+ --------------------------------------------------------------------------------
98
+
99
+ deepseek-ai/deepseek-harness (CapIR derivation)
100
+ https://github.com/deepseek-ai/deepseek-harness
101
+
102
+ Derived from deepseek-ai/deepseek-harness (MIT, Copyright (c) 2026 DeepSeek)
103
+
104
+ CapIR (capir/capir.json) and its generated artifacts in this repository are
105
+ derived from deepseek-ai/deepseek-harness. Only capability interface shapes
106
+ (artifacts, method ids, endpoint contracts) are represented; no host
107
+ implementation code is copied. The upstream repository carries no NOTICE file;
108
+ its MIT license and copyright notice are reproduced in this section.
109
+
110
+ MIT License
111
+
112
+ Copyright (c) 2026 DeepSeek
113
+
114
+ Permission is hereby granted, free of charge, to any person obtaining a copy
115
+ of this software and associated documentation files (the "Software"), to deal
116
+ in the Software without restriction, including without limitation the rights
117
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
118
+ copies of the Software, and to permit persons to whom the Software is
119
+ furnished to do so, subject to the following conditions:
120
+
121
+ The above copyright notice and this permission notice shall be included in all
122
+ copies or substantial portions of the Software.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
125
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
126
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
127
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
128
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
129
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
130
+ SOFTWARE.
@@ -189,12 +189,8 @@ const validation = validateLauncherArgs(userArgs, { skip: LAUNCHER_TIMEOUT_FLAGS
189
189
  if (validation.unknown.length > 0) {
190
190
  for (const flag of validation.unknown) {
191
191
  console.error(`dsh-opentui: unknown option '${flag}'`)
192
- // P2-4b: the removed --remote flag has a launch-level replacement — point
193
- // users at it instead of leaving a dead end. Other unknown flags get only
194
- // the generic did-you-mean rule (no misleading migration advice).
195
- if (flag === '--remote') {
196
- console.error('dsh-opentui: use DSH_OPENTUI_INPROC=0 for the legacy remote seam')
197
- }
192
+ // S6: --remote is simply an unknown option (the env escape hatch it once
193
+ // pointed to is gone with the legacy seam). No migration advice.
198
194
  if (validation.suggestions[flag]) {
199
195
  console.error(`dsh-opentui: did you mean '${validation.suggestions[flag]}'?`)
200
196
  }
@@ -305,14 +301,12 @@ const opentuiProfileDir = join(dshHome, 'profiles', 'opentui')
305
301
  }
306
302
  }
307
303
 
308
- // --- 3b. In-process bridge profile provisioning (default since 0.23.0) -----
309
- // The bridge is the default, so this runs on EVERY launch; only the explicit
310
- // escape hatch DSH_OPENTUI_INPROC=0 skips it (legacy remote thin client). "1"
311
- // is still accepted and is now a no-op-equivalent (idempotent). The script
312
- // provisions ONLY the `opentui-inproc` profile: bundle manifest + absolute
313
- // symlink to the embedded dist/bridge artifact. A non-zero exit is fatal here
304
+ // --- 3b. In-process bridge profile provisioning ----------------------------
305
+ // S6: the bridge is the sole seam, so this runs on EVERY launch. The script
306
+ // provisions ONLY the `opentui-inproc` profile: bundle manifest + the shipped
307
+ // dist/bridge artifact (real directory copy). A non-zero exit is fatal here
314
308
  // (the bridge cannot work without it), unlike the best-effort path above.
315
- if (process.env.DSH_OPENTUI_INPROC !== '0') {
309
+ {
316
310
  const r = spawnSync(process.execPath, [join(pkgRoot, 'scripts', 'provision-inproc-profile.mjs')], {
317
311
  stdio: 'inherit',
318
312
  })
@@ -327,7 +327,6 @@ export function formatUsage() {
327
327
  ' -h, --help print this help and exit',
328
328
  '',
329
329
  'Environment:',
330
- ' DSH_OPENTUI_INPROC=0 use the legacy remote thin-client seam instead of the default in-process bridge (escape hatch); unset or 1 = bridge',
331
330
  ' DSH_OPENTUI_BOOT_TIMEOUT_MS host cold-start budget in ms (CLI flag wins)',
332
331
  ' DSH_OPENTUI_MUX_TIMEOUT_MS mux readiness budget in ms (CLI flag wins)',
333
332
  ' DSH_OPENTUI_CONNECT_TIMEOUT_MS first-connect budget in ms (CLI flag wins)',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@aiwayds/dsh-opentui-bridge",
3
3
  "version": "0.1.0",
4
- "sha256": "449350ad2f4be20203ca16195eeed30b1ff928f8a13d648fd6342be3623ac53e"
4
+ "sha256": "131e042cda369c7c612c74bb3d9db0e4467cef1b36979527111aa4829b97105f"
5
5
  }