@researai/deepscientist 1.5.14 → 1.5.15

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.
Files changed (119) hide show
  1. package/README.md +8 -0
  2. package/assets/branding/logo-raster.png +0 -0
  3. package/bin/ds.js +134 -49
  4. package/docs/en/00_QUICK_START.md +2 -2
  5. package/docs/en/01_SETTINGS_REFERENCE.md +20 -4
  6. package/docs/en/03_QQ_CONNECTOR_GUIDE.md +19 -0
  7. package/docs/en/10_WEIXIN_CONNECTOR_GUIDE.md +20 -0
  8. package/docs/en/14_PROMPT_SKILLS_AND_MCP_GUIDE.md +2 -0
  9. package/docs/en/16_TELEGRAM_CONNECTOR_GUIDE.md +134 -0
  10. package/docs/en/17_WHATSAPP_CONNECTOR_GUIDE.md +126 -0
  11. package/docs/en/18_FEISHU_CONNECTOR_GUIDE.md +136 -0
  12. package/docs/en/README.md +6 -0
  13. package/docs/zh/00_QUICK_START.md +2 -2
  14. package/docs/zh/01_SETTINGS_REFERENCE.md +20 -4
  15. package/docs/zh/03_QQ_CONNECTOR_GUIDE.md +19 -0
  16. package/docs/zh/10_WEIXIN_CONNECTOR_GUIDE.md +20 -0
  17. package/docs/zh/14_PROMPT_SKILLS_AND_MCP_GUIDE.md +2 -0
  18. package/docs/zh/16_TELEGRAM_CONNECTOR_GUIDE.md +134 -0
  19. package/docs/zh/17_WHATSAPP_CONNECTOR_GUIDE.md +126 -0
  20. package/docs/zh/18_FEISHU_CONNECTOR_GUIDE.md +136 -0
  21. package/docs/zh/README.md +6 -0
  22. package/install.sh +2 -0
  23. package/package.json +1 -1
  24. package/pyproject.toml +1 -1
  25. package/src/deepscientist/__init__.py +1 -1
  26. package/src/deepscientist/artifact/charts.py +567 -0
  27. package/src/deepscientist/artifact/guidance.py +50 -10
  28. package/src/deepscientist/artifact/metrics.py +228 -5
  29. package/src/deepscientist/artifact/schemas.py +3 -0
  30. package/src/deepscientist/artifact/service.py +3534 -191
  31. package/src/deepscientist/bash_exec/models.py +23 -0
  32. package/src/deepscientist/bash_exec/monitor.py +147 -67
  33. package/src/deepscientist/bash_exec/runtime.py +218 -156
  34. package/src/deepscientist/bash_exec/service.py +79 -64
  35. package/src/deepscientist/bash_exec/shells.py +87 -0
  36. package/src/deepscientist/bridges/connectors.py +51 -2
  37. package/src/deepscientist/config/models.py +6 -3
  38. package/src/deepscientist/config/service.py +7 -2
  39. package/src/deepscientist/connector/weixin_support.py +122 -1
  40. package/src/deepscientist/daemon/api/handlers.py +75 -4
  41. package/src/deepscientist/daemon/api/router.py +1 -0
  42. package/src/deepscientist/daemon/app.py +758 -206
  43. package/src/deepscientist/doctor.py +51 -0
  44. package/src/deepscientist/file_lock.py +48 -0
  45. package/src/deepscientist/gitops/diff.py +167 -1
  46. package/src/deepscientist/mcp/server.py +173 -5
  47. package/src/deepscientist/process_control.py +161 -0
  48. package/src/deepscientist/prompts/builder.py +267 -442
  49. package/src/deepscientist/quest/service.py +2255 -163
  50. package/src/deepscientist/quest/stage_views.py +171 -0
  51. package/src/deepscientist/runners/base.py +2 -0
  52. package/src/deepscientist/runners/codex.py +88 -5
  53. package/src/deepscientist/runners/runtime_overrides.py +17 -1
  54. package/src/prompts/contracts/shared_interaction.md +13 -4
  55. package/src/prompts/system.md +916 -72
  56. package/src/skills/analysis-campaign/SKILL.md +31 -2
  57. package/src/skills/analysis-campaign/references/artifact-orchestration.md +1 -1
  58. package/src/skills/analysis-campaign/references/writing-facing-slice-examples.md +65 -0
  59. package/src/skills/baseline/SKILL.md +2 -0
  60. package/src/skills/decision/SKILL.md +19 -2
  61. package/src/skills/experiment/SKILL.md +8 -2
  62. package/src/skills/finalize/SKILL.md +18 -0
  63. package/src/skills/idea/SKILL.md +78 -0
  64. package/src/skills/idea/references/idea-generation-playbook.md +100 -0
  65. package/src/skills/idea/references/outline-seeding-example.md +60 -0
  66. package/src/skills/intake-audit/SKILL.md +1 -1
  67. package/src/skills/optimize/SKILL.md +1644 -0
  68. package/src/skills/rebuttal/SKILL.md +2 -1
  69. package/src/skills/review/SKILL.md +2 -1
  70. package/src/skills/write/SKILL.md +80 -12
  71. package/src/skills/write/references/outline-evidence-contract-example.md +107 -0
  72. package/src/tui/dist/app/AppContainer.js +3 -0
  73. package/src/tui/package.json +1 -1
  74. package/src/ui/dist/assets/{AiManusChatView-DaF9Nge_.js → AiManusChatView-DDjbFnbt.js} +12 -12
  75. package/src/ui/dist/assets/{AnalysisPlugin-BSVx6dXE.js → AnalysisPlugin-Yb5IdmaU.js} +1 -1
  76. package/src/ui/dist/assets/CliPlugin-e64sreyu.js +31037 -0
  77. package/src/ui/dist/assets/{CodeEditorPlugin-DU9G0Tox.js → CodeEditorPlugin-C4D2TIkU.js} +8 -8
  78. package/src/ui/dist/assets/{CodeViewerPlugin-DoX_fI9l.js → CodeViewerPlugin-BVoNZIvC.js} +5 -5
  79. package/src/ui/dist/assets/{DocViewerPlugin-C4FWIXuU.js → DocViewerPlugin-CLChbllo.js} +3 -3
  80. package/src/ui/dist/assets/{GitDiffViewerPlugin-BgfFMgtf.js → GitDiffViewerPlugin-C4xeFyFQ.js} +20 -20
  81. package/src/ui/dist/assets/{ImageViewerPlugin-tcPkfY_x.js → ImageViewerPlugin-OiMUAcLi.js} +5 -5
  82. package/src/ui/dist/assets/{LabCopilotPanel-_dKV60Bf.js → LabCopilotPanel-BjD2ThQF.js} +11 -11
  83. package/src/ui/dist/assets/{LabPlugin-Bje0ayoC.js → LabPlugin-DQPg-NrB.js} +2 -2
  84. package/src/ui/dist/assets/{LatexPlugin-CVsBzAln.js → LatexPlugin-CI05XAV9.js} +7 -7
  85. package/src/ui/dist/assets/{MarkdownViewerPlugin-xjmrqv_8.js → MarkdownViewerPlugin-DpeBLYZf.js} +4 -4
  86. package/src/ui/dist/assets/{MarketplacePlugin-mMM2A8wP.js → MarketplacePlugin-DolE58Q2.js} +3 -3
  87. package/src/ui/dist/assets/{NotebookEditor-3kVDSOBo.js → NotebookEditor-7Qm2rSWD.js} +11 -11
  88. package/src/ui/dist/assets/{NotebookEditor-SoJ8X-MO.js → NotebookEditor-C1kWaxKi.js} +1 -1
  89. package/src/ui/dist/assets/{PdfLoader-DElVuHl9.js → PdfLoader-BfOHw8Zw.js} +1 -1
  90. package/src/ui/dist/assets/{PdfMarkdownPlugin-Bq88XT4G.js → PdfMarkdownPlugin-BulDREv1.js} +2 -2
  91. package/src/ui/dist/assets/{PdfViewerPlugin-CsCXMo9S.js → PdfViewerPlugin-C-daaOaL.js} +10 -10
  92. package/src/ui/dist/assets/{SearchPlugin-oUPvy19k.js → SearchPlugin-CjpaiJ3A.js} +1 -1
  93. package/src/ui/dist/assets/{TextViewerPlugin-CRkT9yNy.js → TextViewerPlugin-BxIyqPQC.js} +5 -5
  94. package/src/ui/dist/assets/{VNCViewer-BgbuvWhR.js → VNCViewer-HAg9mF7M.js} +10 -10
  95. package/src/ui/dist/assets/{bot-v_RASACv.js → bot-0DYntytV.js} +1 -1
  96. package/src/ui/dist/assets/{code-5hC9d0VH.js → code-B20Slj_w.js} +1 -1
  97. package/src/ui/dist/assets/{file-content-D1PxfOrp.js → file-content-DT24KFma.js} +1 -1
  98. package/src/ui/dist/assets/{file-diff-panel-DG1oT_Hj.js → file-diff-panel-DK13YPql.js} +1 -1
  99. package/src/ui/dist/assets/{file-socket-BmdFYQlk.js → file-socket-B4T2o4nR.js} +1 -1
  100. package/src/ui/dist/assets/{image-Dqe2X2tW.js → image-DSeR_sDS.js} +1 -1
  101. package/src/ui/dist/assets/{index-RDlNXXx1.js → index-BrFje2Uk.js} +2 -2
  102. package/src/ui/dist/assets/{index-DVsMKK_y.js → index-BwRJaoTl.js} +1 -1
  103. package/src/ui/dist/assets/{index-Nt9hS4ck.js → index-D_E4281X.js} +5007 -28514
  104. package/src/ui/dist/assets/{index-Duvz8Ip0.js → index-DnYB3xb1.js} +12 -12
  105. package/src/ui/dist/assets/{index-BQG-1s2o.css → index-G7AcWcMu.css} +43 -2
  106. package/src/ui/dist/assets/{monaco-DIXge1CP.js → monaco-LExaAN3Y.js} +1 -1
  107. package/src/ui/dist/assets/{pdf-effect-queue-BBTTQaO-.js → pdf-effect-queue-BJk5okWJ.js} +1 -1
  108. package/src/ui/dist/assets/{popover-BWlolyxo.js → popover-D3Gg_FoV.js} +1 -1
  109. package/src/ui/dist/assets/{project-sync-BM5PkFH4.js → project-sync-C_ygLlVU.js} +1 -1
  110. package/src/ui/dist/assets/{select-D4dAtrA8.js → select-CpAK6uWm.js} +2 -2
  111. package/src/ui/dist/assets/{sigma-CKbE5jJT.js → sigma-DEccaSgk.js} +1 -1
  112. package/src/ui/dist/assets/{square-check-big-CZNGMgiB.js → square-check-big-uUfyVsbD.js} +1 -1
  113. package/src/ui/dist/assets/{trash-DaB37xAz.js → trash-CXvwwSe8.js} +1 -1
  114. package/src/ui/dist/assets/{useCliAccess-C2OmAcWe.js → useCliAccess-Bnop4mgR.js} +1 -1
  115. package/src/ui/dist/assets/{useFileDiffOverlay-Dowd1Ij4.js → useFileDiffOverlay-B8eUAX0I.js} +1 -1
  116. package/src/ui/dist/assets/{wrap-text-BGjAhAUq.js → wrap-text-9vbOBpkW.js} +1 -1
  117. package/src/ui/dist/assets/{zoom-out-dMZQMXzc.js → zoom-out-BgVMmOW4.js} +1 -1
  118. package/src/ui/dist/index.html +2 -2
  119. package/src/ui/dist/assets/CliPlugin-C9gzJX41.js +0 -5905
@@ -1,4 +1,4 @@
1
- import { r as reactExports, R as React } from './index-Nt9hS4ck.js';
1
+ import { r as reactExports, R as React } from './index-D_E4281X.js';
2
2
 
3
3
  function _arrayLikeToArray(r, a) {
4
4
  (null == a || a > r.length) && (a = r.length);
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { r as reactExports, j as jsxRuntimeExports, aj as composeRefs, ak as useControllableState, al as Root2$1, am as useId, an as useComposedRefs, ao as composeEventHandlers, ap as Anchor, aq as createPopperScope, ar as Presence, as as Portal$1, at as hideOthers, au as ReactRemoveScroll, av as useFocusGuards, aw as FocusScope, ax as DismissableLayer, ay as Content, az as Arrow, b as cn } from './index-Nt9hS4ck.js';
1
+ import { r as reactExports, j as jsxRuntimeExports, aj as composeRefs, ak as useControllableState, al as Root2$1, am as useId, an as useComposedRefs, ao as composeEventHandlers, ap as Anchor, aq as createPopperScope, ar as Presence, as as Portal$1, at as hideOthers, au as ReactRemoveScroll, av as useFocusGuards, aw as FocusScope, ax as DismissableLayer, ay as Content, az as Arrow, b as cn } from './index-D_E4281X.js';
2
2
 
3
3
  // packages/react/context/src/create-context.tsx
4
4
  function createContextScope(scopeName, createContextScopeDeps = []) {
@@ -1,4 +1,4 @@
1
- import { G as acquireSocket, H as uint8ArrayToBase64, J as base64ToUint8Array } from './index-Nt9hS4ck.js';
1
+ import { G as acquireSocket, H as uint8ArrayToBase64, J as base64ToUint8Array } from './index-D_E4281X.js';
2
2
 
3
3
  function getErrorMessage(err) {
4
4
  if (err instanceof Error) return err.message;
@@ -1,5 +1,5 @@
1
- import { w as createLucideIcon, r as reactExports, j as jsxRuntimeExports, aj as composeRefs, bN as useDirection, ak as useControllableState, al as Root2$1, am as useId, aq as createPopperScope, bO as createCollection, an as useComposedRefs, ap as Anchor, ao as composeEventHandlers, as as Portal$1, bP as useLayoutEffect2, aR as reactDomExports, bQ as useCallbackRef, at as hideOthers, av as useFocusGuards, au as ReactRemoveScroll, aw as FocusScope, ax as DismissableLayer, ay as Content, az as Arrow, m as ChevronDown, b as cn, d as Check } from './index-Nt9hS4ck.js';
2
- import { C as ChevronUp } from './index-DVsMKK_y.js';
1
+ import { w as createLucideIcon, r as reactExports, j as jsxRuntimeExports, aj as composeRefs, bN as useDirection, ak as useControllableState, al as Root2$1, am as useId, aq as createPopperScope, bO as createCollection, an as useComposedRefs, ap as Anchor, ao as composeEventHandlers, as as Portal$1, bP as useLayoutEffect2, aR as reactDomExports, bQ as useCallbackRef, at as hideOthers, av as useFocusGuards, au as ReactRemoveScroll, aw as FocusScope, ax as DismissableLayer, ay as Content, az as Arrow, m as ChevronDown, b as cn, d as Check } from './index-D_E4281X.js';
2
+ import { C as ChevronUp } from './index-BwRJaoTl.js';
3
3
 
4
4
  /**
5
5
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { x as supportsSocketIo, D as resolveApiBaseUrl, y as lookup, z as useAuthStore, O as ConnectionState, r as reactExports, Y as checkProjectAccess } from './index-Nt9hS4ck.js';
1
+ import { x as supportsSocketIo, D as resolveApiBaseUrl, y as lookup, z as useAuthStore, O as ConnectionState, r as reactExports, Y as checkProjectAccess } from './index-D_E4281X.js';
2
2
 
3
3
  const SOCKET_CACHE = /* @__PURE__ */ new Map();
4
4
  const CLIENT_ID_KEY = "ds_cli_client_id";
@@ -1,4 +1,4 @@
1
- import { r as reactExports } from './index-Nt9hS4ck.js';
1
+ import { r as reactExports } from './index-D_E4281X.js';
2
2
 
3
3
  function matchesTarget(detail, target) {
4
4
  if (target.projectId && detail.projectId && target.projectId !== detail.projectId) {
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -1,4 +1,4 @@
1
- import { w as createLucideIcon } from './index-Nt9hS4ck.js';
1
+ import { w as createLucideIcon } from './index-D_E4281X.js';
2
2
 
3
3
  /**
4
4
  * @license lucide-react v0.511.0 - ISC
@@ -12,8 +12,8 @@
12
12
  <link rel="shortcut icon" href="/ui/logo-small.png" />
13
13
  <link rel="apple-touch-icon" href="/ui/logo-small.png" />
14
14
  <link rel="stylesheet" href="/ui/assets/fonts/ds-fonts.css" />
15
- <script type="module" crossorigin src="/ui/assets/index-Nt9hS4ck.js"></script>
16
- <link rel="stylesheet" crossorigin href="/ui/assets/index-BQG-1s2o.css">
15
+ <script type="module" crossorigin src="/ui/assets/index-D_E4281X.js"></script>
16
+ <link rel="stylesheet" crossorigin href="/ui/assets/index-G7AcWcMu.css">
17
17
  </head>
18
18
  <body>
19
19
  <noscript>DeepScientist Copilot requires JavaScript.</noscript>