feat: prefill isolated issue-only reporter for clients without Git
This commit is contained in:
1 parent
6c708224d2
commit
e9b77186dc
15 files changed
+435
-20
No files matched your search
@@ -33,7 +33,11 @@ legacy_runtime_datas = [
|
||||
|
||||
# The native assistant loads the official web UI; include its pinned Node runtime.
|
||||
dsh_root = project_root / 'integration' / 'dsh'
|
||||
if (dsh_root / 'issue-bootstrap.json').is_file():
|
||||
legacy_runtime_datas.append((str(dsh_root / 'issue-bootstrap.json'), 'dsh-runtime'))
|
||||
if (dsh_root / 'node_modules' / '@deepseek-ai' / 'dsh' / 'package.json').is_file():
|
||||
if not (dsh_root / 'issue-bootstrap.json').is_file():
|
||||
raise RuntimeError('Provision the DSH issue-only reporter before packaging the native assistant.')
|
||||
legacy_runtime_datas.extend([
|
||||
(str(dsh_root / 'start.mjs'), 'dsh-runtime'),
|
||||
(str(dsh_root / 'package.json'), 'dsh-runtime'),
|
||||
|
||||
Reference in new issue
Block a user