@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.
- package/README.md +8 -0
- package/assets/branding/logo-raster.png +0 -0
- package/bin/ds.js +134 -49
- package/docs/en/00_QUICK_START.md +2 -2
- package/docs/en/01_SETTINGS_REFERENCE.md +20 -4
- package/docs/en/03_QQ_CONNECTOR_GUIDE.md +19 -0
- package/docs/en/10_WEIXIN_CONNECTOR_GUIDE.md +20 -0
- package/docs/en/14_PROMPT_SKILLS_AND_MCP_GUIDE.md +2 -0
- package/docs/en/16_TELEGRAM_CONNECTOR_GUIDE.md +134 -0
- package/docs/en/17_WHATSAPP_CONNECTOR_GUIDE.md +126 -0
- package/docs/en/18_FEISHU_CONNECTOR_GUIDE.md +136 -0
- package/docs/en/README.md +6 -0
- package/docs/zh/00_QUICK_START.md +2 -2
- package/docs/zh/01_SETTINGS_REFERENCE.md +20 -4
- package/docs/zh/03_QQ_CONNECTOR_GUIDE.md +19 -0
- package/docs/zh/10_WEIXIN_CONNECTOR_GUIDE.md +20 -0
- package/docs/zh/14_PROMPT_SKILLS_AND_MCP_GUIDE.md +2 -0
- package/docs/zh/16_TELEGRAM_CONNECTOR_GUIDE.md +134 -0
- package/docs/zh/17_WHATSAPP_CONNECTOR_GUIDE.md +126 -0
- package/docs/zh/18_FEISHU_CONNECTOR_GUIDE.md +136 -0
- package/docs/zh/README.md +6 -0
- package/install.sh +2 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/src/deepscientist/__init__.py +1 -1
- package/src/deepscientist/artifact/charts.py +567 -0
- package/src/deepscientist/artifact/guidance.py +50 -10
- package/src/deepscientist/artifact/metrics.py +228 -5
- package/src/deepscientist/artifact/schemas.py +3 -0
- package/src/deepscientist/artifact/service.py +3534 -191
- package/src/deepscientist/bash_exec/models.py +23 -0
- package/src/deepscientist/bash_exec/monitor.py +147 -67
- package/src/deepscientist/bash_exec/runtime.py +218 -156
- package/src/deepscientist/bash_exec/service.py +79 -64
- package/src/deepscientist/bash_exec/shells.py +87 -0
- package/src/deepscientist/bridges/connectors.py +51 -2
- package/src/deepscientist/config/models.py +6 -3
- package/src/deepscientist/config/service.py +7 -2
- package/src/deepscientist/connector/weixin_support.py +122 -1
- package/src/deepscientist/daemon/api/handlers.py +75 -4
- package/src/deepscientist/daemon/api/router.py +1 -0
- package/src/deepscientist/daemon/app.py +758 -206
- package/src/deepscientist/doctor.py +51 -0
- package/src/deepscientist/file_lock.py +48 -0
- package/src/deepscientist/gitops/diff.py +167 -1
- package/src/deepscientist/mcp/server.py +173 -5
- package/src/deepscientist/process_control.py +161 -0
- package/src/deepscientist/prompts/builder.py +267 -442
- package/src/deepscientist/quest/service.py +2255 -163
- package/src/deepscientist/quest/stage_views.py +171 -0
- package/src/deepscientist/runners/base.py +2 -0
- package/src/deepscientist/runners/codex.py +88 -5
- package/src/deepscientist/runners/runtime_overrides.py +17 -1
- package/src/prompts/contracts/shared_interaction.md +13 -4
- package/src/prompts/system.md +916 -72
- package/src/skills/analysis-campaign/SKILL.md +31 -2
- package/src/skills/analysis-campaign/references/artifact-orchestration.md +1 -1
- package/src/skills/analysis-campaign/references/writing-facing-slice-examples.md +65 -0
- package/src/skills/baseline/SKILL.md +2 -0
- package/src/skills/decision/SKILL.md +19 -2
- package/src/skills/experiment/SKILL.md +8 -2
- package/src/skills/finalize/SKILL.md +18 -0
- package/src/skills/idea/SKILL.md +78 -0
- package/src/skills/idea/references/idea-generation-playbook.md +100 -0
- package/src/skills/idea/references/outline-seeding-example.md +60 -0
- package/src/skills/intake-audit/SKILL.md +1 -1
- package/src/skills/optimize/SKILL.md +1644 -0
- package/src/skills/rebuttal/SKILL.md +2 -1
- package/src/skills/review/SKILL.md +2 -1
- package/src/skills/write/SKILL.md +80 -12
- package/src/skills/write/references/outline-evidence-contract-example.md +107 -0
- package/src/tui/dist/app/AppContainer.js +3 -0
- package/src/tui/package.json +1 -1
- package/src/ui/dist/assets/{AiManusChatView-DaF9Nge_.js → AiManusChatView-DDjbFnbt.js} +12 -12
- package/src/ui/dist/assets/{AnalysisPlugin-BSVx6dXE.js → AnalysisPlugin-Yb5IdmaU.js} +1 -1
- package/src/ui/dist/assets/CliPlugin-e64sreyu.js +31037 -0
- package/src/ui/dist/assets/{CodeEditorPlugin-DU9G0Tox.js → CodeEditorPlugin-C4D2TIkU.js} +8 -8
- package/src/ui/dist/assets/{CodeViewerPlugin-DoX_fI9l.js → CodeViewerPlugin-BVoNZIvC.js} +5 -5
- package/src/ui/dist/assets/{DocViewerPlugin-C4FWIXuU.js → DocViewerPlugin-CLChbllo.js} +3 -3
- package/src/ui/dist/assets/{GitDiffViewerPlugin-BgfFMgtf.js → GitDiffViewerPlugin-C4xeFyFQ.js} +20 -20
- package/src/ui/dist/assets/{ImageViewerPlugin-tcPkfY_x.js → ImageViewerPlugin-OiMUAcLi.js} +5 -5
- package/src/ui/dist/assets/{LabCopilotPanel-_dKV60Bf.js → LabCopilotPanel-BjD2ThQF.js} +11 -11
- package/src/ui/dist/assets/{LabPlugin-Bje0ayoC.js → LabPlugin-DQPg-NrB.js} +2 -2
- package/src/ui/dist/assets/{LatexPlugin-CVsBzAln.js → LatexPlugin-CI05XAV9.js} +7 -7
- package/src/ui/dist/assets/{MarkdownViewerPlugin-xjmrqv_8.js → MarkdownViewerPlugin-DpeBLYZf.js} +4 -4
- package/src/ui/dist/assets/{MarketplacePlugin-mMM2A8wP.js → MarketplacePlugin-DolE58Q2.js} +3 -3
- package/src/ui/dist/assets/{NotebookEditor-3kVDSOBo.js → NotebookEditor-7Qm2rSWD.js} +11 -11
- package/src/ui/dist/assets/{NotebookEditor-SoJ8X-MO.js → NotebookEditor-C1kWaxKi.js} +1 -1
- package/src/ui/dist/assets/{PdfLoader-DElVuHl9.js → PdfLoader-BfOHw8Zw.js} +1 -1
- package/src/ui/dist/assets/{PdfMarkdownPlugin-Bq88XT4G.js → PdfMarkdownPlugin-BulDREv1.js} +2 -2
- package/src/ui/dist/assets/{PdfViewerPlugin-CsCXMo9S.js → PdfViewerPlugin-C-daaOaL.js} +10 -10
- package/src/ui/dist/assets/{SearchPlugin-oUPvy19k.js → SearchPlugin-CjpaiJ3A.js} +1 -1
- package/src/ui/dist/assets/{TextViewerPlugin-CRkT9yNy.js → TextViewerPlugin-BxIyqPQC.js} +5 -5
- package/src/ui/dist/assets/{VNCViewer-BgbuvWhR.js → VNCViewer-HAg9mF7M.js} +10 -10
- package/src/ui/dist/assets/{bot-v_RASACv.js → bot-0DYntytV.js} +1 -1
- package/src/ui/dist/assets/{code-5hC9d0VH.js → code-B20Slj_w.js} +1 -1
- package/src/ui/dist/assets/{file-content-D1PxfOrp.js → file-content-DT24KFma.js} +1 -1
- package/src/ui/dist/assets/{file-diff-panel-DG1oT_Hj.js → file-diff-panel-DK13YPql.js} +1 -1
- package/src/ui/dist/assets/{file-socket-BmdFYQlk.js → file-socket-B4T2o4nR.js} +1 -1
- package/src/ui/dist/assets/{image-Dqe2X2tW.js → image-DSeR_sDS.js} +1 -1
- package/src/ui/dist/assets/{index-RDlNXXx1.js → index-BrFje2Uk.js} +2 -2
- package/src/ui/dist/assets/{index-DVsMKK_y.js → index-BwRJaoTl.js} +1 -1
- package/src/ui/dist/assets/{index-Nt9hS4ck.js → index-D_E4281X.js} +5007 -28514
- package/src/ui/dist/assets/{index-Duvz8Ip0.js → index-DnYB3xb1.js} +12 -12
- package/src/ui/dist/assets/{index-BQG-1s2o.css → index-G7AcWcMu.css} +43 -2
- package/src/ui/dist/assets/{monaco-DIXge1CP.js → monaco-LExaAN3Y.js} +1 -1
- package/src/ui/dist/assets/{pdf-effect-queue-BBTTQaO-.js → pdf-effect-queue-BJk5okWJ.js} +1 -1
- package/src/ui/dist/assets/{popover-BWlolyxo.js → popover-D3Gg_FoV.js} +1 -1
- package/src/ui/dist/assets/{project-sync-BM5PkFH4.js → project-sync-C_ygLlVU.js} +1 -1
- package/src/ui/dist/assets/{select-D4dAtrA8.js → select-CpAK6uWm.js} +2 -2
- package/src/ui/dist/assets/{sigma-CKbE5jJT.js → sigma-DEccaSgk.js} +1 -1
- package/src/ui/dist/assets/{square-check-big-CZNGMgiB.js → square-check-big-uUfyVsbD.js} +1 -1
- package/src/ui/dist/assets/{trash-DaB37xAz.js → trash-CXvwwSe8.js} +1 -1
- package/src/ui/dist/assets/{useCliAccess-C2OmAcWe.js → useCliAccess-Bnop4mgR.js} +1 -1
- package/src/ui/dist/assets/{useFileDiffOverlay-Dowd1Ij4.js → useFileDiffOverlay-B8eUAX0I.js} +1 -1
- package/src/ui/dist/assets/{wrap-text-BGjAhAUq.js → wrap-text-9vbOBpkW.js} +1 -1
- package/src/ui/dist/assets/{zoom-out-dMZQMXzc.js → zoom-out-BgVMmOW4.js} +1 -1
- package/src/ui/dist/index.html +2 -2
- package/src/ui/dist/assets/CliPlugin-C9gzJX41.js +0 -5905
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/monaco-
|
|
2
|
-
import { i as isCliFileId, R as React, f as useFileTreeStore, j as jsxRuntimeExports, b as cn, L as LoaderCircle, S as Save, B as Braces, g as RefreshCw, h as dynamic, _ as __vitePreload } from './index-
|
|
3
|
-
import { u as useFileContentStore, a as useFileContentLoading } from './file-content-
|
|
4
|
-
import { a as acquireFileSocket } from './file-socket-
|
|
5
|
-
import { c as configureMonacoLoader } from './monaco-
|
|
6
|
-
import { u as useFileDiffOverlay } from './useFileDiffOverlay-
|
|
7
|
-
import { F as FileDiffPanel } from './file-diff-panel-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/monaco-LExaAN3Y.js","assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { i as isCliFileId, R as React, f as useFileTreeStore, j as jsxRuntimeExports, b as cn, L as LoaderCircle, S as Save, B as Braces, g as RefreshCw, h as dynamic, _ as __vitePreload } from './index-D_E4281X.js';
|
|
3
|
+
import { u as useFileContentStore, a as useFileContentLoading } from './file-content-DT24KFma.js';
|
|
4
|
+
import { a as acquireFileSocket } from './file-socket-B4T2o4nR.js';
|
|
5
|
+
import { c as configureMonacoLoader } from './monaco-LExaAN3Y.js';
|
|
6
|
+
import { u as useFileDiffOverlay } from './useFileDiffOverlay-B8eUAX0I.js';
|
|
7
|
+
import { F as FileDiffPanel } from './file-diff-panel-DK13YPql.js';
|
|
8
8
|
|
|
9
|
-
const MonacoEditor = dynamic(() => __vitePreload(() => import('./monaco-
|
|
9
|
+
const MonacoEditor = dynamic(() => __vitePreload(() => import('./monaco-LExaAN3Y.js').then(n => n.i),true?__vite__mapDeps([0,1,2]):void 0), { });
|
|
10
10
|
configureMonacoLoader();
|
|
11
11
|
function getLanguageFromName(name) {
|
|
12
12
|
const lower = name.toLowerCase();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, C as CircleAlert, F as FileCode, E as Eye, b as cn, d as Check, e as Copy, _ as __vitePreload } from './index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, C as CircleAlert, F as FileCode, E as Eye, b as cn, d as Check, e as Copy, _ as __vitePreload } from './index-D_E4281X.js';
|
|
3
3
|
import { c as consumeFileJumpEffects } from './file-jump-queue-r5XKgJEV.js';
|
|
4
|
-
import { C as Code } from './code-
|
|
5
|
-
import { H as Hash, W as WrapText } from './wrap-text-
|
|
4
|
+
import { C as Code } from './code-B20Slj_w.js';
|
|
5
|
+
import { H as Hash, W as WrapText } from './wrap-text-9vbOBpkW.js';
|
|
6
6
|
|
|
7
7
|
const EXTENSION_TO_LANGUAGE = {
|
|
8
8
|
// JavaScript/TypeScript
|
|
@@ -416,7 +416,7 @@ function CodeViewerPlugin({
|
|
|
416
416
|
setLoading(false);
|
|
417
417
|
return;
|
|
418
418
|
}
|
|
419
|
-
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-
|
|
419
|
+
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-D_E4281X.js').then(n => n.ep);return { getFileContent }},true?__vite__mapDeps([0,1]):void 0);
|
|
420
420
|
const text = await getFileContent(context.resourceId);
|
|
421
421
|
setContent(text);
|
|
422
422
|
} catch (err) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { w as createLucideIcon, u as useI18n, r as reactExports, j as jsxRuntimeExports, L as LoaderCircle, b as cn, T as TriangleAlert, a3 as Download, _ as __vitePreload, a9 as FileSpreadsheet, k as FileText } from './index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { w as createLucideIcon, u as useI18n, r as reactExports, j as jsxRuntimeExports, L as LoaderCircle, b as cn, T as TriangleAlert, a3 as Download, _ as __vitePreload, a9 as FileSpreadsheet, k as FileText } from './index-D_E4281X.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -228,7 +228,7 @@ function DocViewerPlugin({
|
|
|
228
228
|
if (!context.resourceId) return;
|
|
229
229
|
(async () => {
|
|
230
230
|
try {
|
|
231
|
-
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-
|
|
231
|
+
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-D_E4281X.js').then(n => n.ep);return { downloadFileById }},true?__vite__mapDeps([0,1]):void 0);
|
|
232
232
|
await downloadFileById(context.resourceId, fileName);
|
|
233
233
|
} catch (err) {
|
|
234
234
|
console.error("Failed to download document:", err);
|
package/src/ui/dist/assets/{GitDiffViewerPlugin-BgfFMgtf.js → GitDiffViewerPlugin-C4xeFyFQ.js}
RENAMED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { w as createLucideIcon, aK as inferWorkspaceContentKindFromMetadata, v as BUILTIN_PLUGINS, aL as getPluginIdFromMimeType, aM as getPluginIdFromExtension, r as reactExports, j as jsxRuntimeExports, u as useI18n, b as cn, a as useWorkspaceSurfaceStore, aN as useQuery, k as FileText, aO as Button, g as RefreshCw, aP as buildQuestFileNodeFromDocument, W as toFilesResourcePath, aQ as client } from './index-
|
|
2
|
-
import ImageViewerPlugin from './ImageViewerPlugin-
|
|
3
|
-
import MarkdownViewerPlugin from './MarkdownViewerPlugin-
|
|
4
|
-
import { N as NotebookEditor } from './NotebookEditor-
|
|
5
|
-
import PdfViewerPlugin from './PdfViewerPlugin-
|
|
6
|
-
import './image-
|
|
7
|
-
import './zoom-out-
|
|
8
|
-
import './code-
|
|
9
|
-
import './NotebookEditor-
|
|
1
|
+
import { w as createLucideIcon, aK as inferWorkspaceContentKindFromMetadata, v as BUILTIN_PLUGINS, aL as getPluginIdFromMimeType, aM as getPluginIdFromExtension, r as reactExports, j as jsxRuntimeExports, u as useI18n, b as cn, a as useWorkspaceSurfaceStore, aN as useQuery, k as FileText, aO as Button, g as RefreshCw, aP as buildQuestFileNodeFromDocument, W as toFilesResourcePath, aQ as client } from './index-D_E4281X.js';
|
|
2
|
+
import ImageViewerPlugin from './ImageViewerPlugin-OiMUAcLi.js';
|
|
3
|
+
import MarkdownViewerPlugin from './MarkdownViewerPlugin-DpeBLYZf.js';
|
|
4
|
+
import { N as NotebookEditor } from './NotebookEditor-7Qm2rSWD.js';
|
|
5
|
+
import PdfViewerPlugin from './PdfViewerPlugin-C-daaOaL.js';
|
|
6
|
+
import './image-DSeR_sDS.js';
|
|
7
|
+
import './zoom-out-BgVMmOW4.js';
|
|
8
|
+
import './code-B20Slj_w.js';
|
|
9
|
+
import './NotebookEditor-C1kWaxKi.js';
|
|
10
10
|
import './function-B5QZkkHC.js';
|
|
11
11
|
import './yjs-DncrqiZ8.js';
|
|
12
|
-
import './project-sync-
|
|
13
|
-
import './square-check-big-
|
|
14
|
-
import './popover-
|
|
15
|
-
import './trash-
|
|
16
|
-
import './sigma-
|
|
17
|
-
import './useFileDiffOverlay-
|
|
18
|
-
import './file-diff-panel-
|
|
19
|
-
import './file-socket-
|
|
20
|
-
import './pdf-effect-queue-
|
|
21
|
-
import './PdfLoader-
|
|
22
|
-
import './index-
|
|
12
|
+
import './project-sync-C_ygLlVU.js';
|
|
13
|
+
import './square-check-big-uUfyVsbD.js';
|
|
14
|
+
import './popover-D3Gg_FoV.js';
|
|
15
|
+
import './trash-CXvwwSe8.js';
|
|
16
|
+
import './sigma-DEccaSgk.js';
|
|
17
|
+
import './useFileDiffOverlay-B8eUAX0I.js';
|
|
18
|
+
import './file-diff-panel-DK13YPql.js';
|
|
19
|
+
import './file-socket-B4T2o4nR.js';
|
|
20
|
+
import './pdf-effect-queue-BJk5okWJ.js';
|
|
21
|
+
import './PdfLoader-BfOHw8Zw.js';
|
|
22
|
+
import './index-BwRJaoTl.js';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { w as createLucideIcon, r as reactExports, j as jsxRuntimeExports, b as cn, ah as RotateCcw, ai as Info, a3 as Download, L as LoaderCircle, _ as __vitePreload } from './index-
|
|
3
|
-
import { I as Image } from './image-
|
|
4
|
-
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { w as createLucideIcon, r as reactExports, j as jsxRuntimeExports, b as cn, ah as RotateCcw, ai as Info, a3 as Download, L as LoaderCircle, _ as __vitePreload } from './index-D_E4281X.js';
|
|
3
|
+
import { I as Image } from './image-DSeR_sDS.js';
|
|
4
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-BgVMmOW4.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -280,7 +280,7 @@ function ImageViewerPlugin({
|
|
|
280
280
|
}
|
|
281
281
|
const loadImageUrl = async () => {
|
|
282
282
|
try {
|
|
283
|
-
const { createFileObjectUrl } = await __vitePreload(async () => { const { createFileObjectUrl } = await import('./index-
|
|
283
|
+
const { createFileObjectUrl } = await __vitePreload(async () => { const { createFileObjectUrl } = await import('./index-D_E4281X.js').then(n => n.ep);return { createFileObjectUrl }},true?__vite__mapDeps([0,1]):void 0);
|
|
284
284
|
objectUrl = await createFileObjectUrl(context.resourceId);
|
|
285
285
|
if (cancelled) {
|
|
286
286
|
URL.revokeObjectURL(objectUrl);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { w as createLucideIcon, r as reactExports, aR as reactDomExports, aS as useReducedMotion, j as jsxRuntimeExports, aT as useQueryClient, o as useToast, u as useI18n, aA as useLabCopilotStore, aU as useLabGraphSelectionStore, aV as useChatSessionStore, aW as buildAvatarColorMap, aX as isLabWorkingStatus, aY as getLabAgentDirectSession, aZ as buildAgentDescriptor, a_ as resolveAgentLogo, aF as resolveAgentDisplayName, aG as resolveAgentMentionLabel, a$ as AnimatePresence, b0 as motion, aO as Button, b1 as pickAvatarFrameColor, aH as resolveQuestLabel, d as Check, b as cn, z as useAuthStore, b2 as useCopilotDockHeaderPortal, b3 as assignLabAgent, b4 as ScrollArea, L as LoaderCircle, b5 as likeLabMoment, b6 as unlikeLabMoment, b7 as commentLabMoment, b8 as Ellipsis, b9 as Plus, l as Search, ba as Dialog, bb as DialogContent, bc as DialogHeader, bd as DialogTitle, be as DialogFooter, bf as getLabGroupSession, bg as getLabFriendsSession } from './index-
|
|
2
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-
|
|
3
|
-
import { S as Select, a as SelectTrigger, b as SelectValue, c as SelectContent, d as SelectItem } from './select-
|
|
4
|
-
import { A as AiManusChatView, D as DEFAULT_AGENT_ID, C as ChatBox, a as applyChatEvent, u as useSSESession, b as ChatMessage, r as renderMarkdown } from './AiManusChatView-
|
|
5
|
-
import './index-
|
|
6
|
-
import './file-content-
|
|
1
|
+
import { w as createLucideIcon, r as reactExports, aR as reactDomExports, aS as useReducedMotion, j as jsxRuntimeExports, aT as useQueryClient, o as useToast, u as useI18n, aA as useLabCopilotStore, aU as useLabGraphSelectionStore, aV as useChatSessionStore, aW as buildAvatarColorMap, aX as isLabWorkingStatus, aY as getLabAgentDirectSession, aZ as buildAgentDescriptor, a_ as resolveAgentLogo, aF as resolveAgentDisplayName, aG as resolveAgentMentionLabel, a$ as AnimatePresence, b0 as motion, aO as Button, b1 as pickAvatarFrameColor, aH as resolveQuestLabel, d as Check, b as cn, z as useAuthStore, b2 as useCopilotDockHeaderPortal, b3 as assignLabAgent, b4 as ScrollArea, L as LoaderCircle, b5 as likeLabMoment, b6 as unlikeLabMoment, b7 as commentLabMoment, b8 as Ellipsis, b9 as Plus, l as Search, ba as Dialog, bb as DialogContent, bc as DialogHeader, bd as DialogTitle, be as DialogFooter, bf as getLabGroupSession, bg as getLabFriendsSession } from './index-D_E4281X.js';
|
|
2
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-D3Gg_FoV.js';
|
|
3
|
+
import { S as Select, a as SelectTrigger, b as SelectValue, c as SelectContent, d as SelectItem } from './select-CpAK6uWm.js';
|
|
4
|
+
import { A as AiManusChatView, D as DEFAULT_AGENT_ID, C as ChatBox, a as applyChatEvent, u as useSSESession, b as ChatMessage, r as renderMarkdown } from './AiManusChatView-DDjbFnbt.js';
|
|
5
|
+
import './index-BwRJaoTl.js';
|
|
6
|
+
import './file-content-DT24KFma.js';
|
|
7
7
|
import './file-jump-queue-r5XKgJEV.js';
|
|
8
|
-
import './pdf-effect-queue-
|
|
9
|
-
import './file-diff-panel-
|
|
10
|
-
import './bot-
|
|
11
|
-
import './NotebookEditor-
|
|
12
|
-
import './trash-
|
|
8
|
+
import './pdf-effect-queue-BJk5okWJ.js';
|
|
9
|
+
import './file-diff-panel-DK13YPql.js';
|
|
10
|
+
import './bot-0DYntytV.js';
|
|
11
|
+
import './NotebookEditor-C1kWaxKi.js';
|
|
12
|
+
import './trash-CXvwwSe8.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as createLucideIcon, aN as useQuery, r as reactExports, j as jsxRuntimeExports, bh as Skeleton, bi as Badge, aQ as client, bj as ReactFlowProvider, u as useI18n, aF as resolveAgentDisplayName, a_ as resolveAgentLogo, b1 as pickAvatarFrameColor, aX as isLabWorkingStatus, bk as normalizeLabStatus, bl as useNodesState, bm as useReactFlow, bn as index, bo as Background, b as cn, bp as Handle, bq as Position, br as CircleHelp, bs as OrbitLogoStatus, bt as Clock, bu as Moon, aI as formatRelativeTime, m as ChevronDown, aT as useQueryClient, aA as useLabCopilotStore, aU as useLabGraphSelectionStore, bv as resolveLabCanvasSelectionSemantic, aO as Button, g as RefreshCw, bw as LabQuestGraphCanvas, bx as ArrowLeft, b4 as ScrollArea, N as Sparkles, by as GitBranch, bz as LAB_CANVAS_SEMANTIC_TONE_META, bA as getLabQuest, bB as getLabQuestSummary, bC as getLabQuestEventPayload, bD as getLabQuestNodeTrace, bE as isQuestRuntimeSurface, bF as getApiBaseUrl, bG as redirectToLanding, bH as useCliStore, bI as useActiveTab, v as BUILTIN_PLUGINS, bJ as listLabTemplates, aB as listLabAgents, aC as listLabQuests, bK as getLabOverview, bL as getProject, bM as useMaxEntitlement } from './index-
|
|
2
|
-
import { B as Bot } from './bot-
|
|
1
|
+
import { w as createLucideIcon, aN as useQuery, r as reactExports, j as jsxRuntimeExports, bh as Skeleton, bi as Badge, aQ as client, bj as ReactFlowProvider, u as useI18n, aF as resolveAgentDisplayName, a_ as resolveAgentLogo, b1 as pickAvatarFrameColor, aX as isLabWorkingStatus, bk as normalizeLabStatus, bl as useNodesState, bm as useReactFlow, bn as index, bo as Background, b as cn, bp as Handle, bq as Position, br as CircleHelp, bs as OrbitLogoStatus, bt as Clock, bu as Moon, aI as formatRelativeTime, m as ChevronDown, aT as useQueryClient, aA as useLabCopilotStore, aU as useLabGraphSelectionStore, bv as resolveLabCanvasSelectionSemantic, aO as Button, g as RefreshCw, bw as LabQuestGraphCanvas, bx as ArrowLeft, b4 as ScrollArea, N as Sparkles, by as GitBranch, bz as LAB_CANVAS_SEMANTIC_TONE_META, bA as getLabQuest, bB as getLabQuestSummary, bC as getLabQuestEventPayload, bD as getLabQuestNodeTrace, bE as isQuestRuntimeSurface, bF as getApiBaseUrl, bG as redirectToLanding, bH as useCliStore, bI as useActiveTab, v as BUILTIN_PLUGINS, bJ as listLabTemplates, aB as listLabAgents, aC as listLabQuests, bK as getLabOverview, bL as getProject, bM as useMaxEntitlement } from './index-D_E4281X.js';
|
|
2
|
+
import { B as Bot } from './bot-0DYntytV.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/monaco-
|
|
2
|
-
import { w as createLucideIcon, z as useAuthStore, u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, f as useFileTreeStore, x as supportsSocketIo, W as toFilesResourcePath, Y as checkProjectAccess, Z as listFiles, V as getFileContent, _ as __vitePreload, U as updateFileContent, $ as compileLatex, a0 as listLatexBuilds, j as jsxRuntimeExports, b as cn, k as FileText, a1 as Link2, L as LoaderCircle, S as Save, a2 as Play, T as TriangleAlert, a3 as Download, a4 as getLatexBuild, a5 as getLatexBuildPdfBlob, a6 as getLatexBuildLogText, h as dynamic } from './index-
|
|
3
|
-
import { P as ProjectSyncClient } from './project-sync-
|
|
4
|
-
import { c as configureMonacoLoader } from './monaco-
|
|
5
|
-
import { P as PAGE_DIMENSIONS, a as PdfLoader, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, Z as ZOOM_LEVELS, d as PdfHighlighter } from './PdfLoader-
|
|
6
|
-
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/monaco-LExaAN3Y.js","assets/index-D_E4281X.js","assets/index-G7AcWcMu.css","assets/yjs-DncrqiZ8.js","assets/function-B5QZkkHC.js","assets/awareness-C0NPR2Dj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { w as createLucideIcon, z as useAuthStore, u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, f as useFileTreeStore, x as supportsSocketIo, W as toFilesResourcePath, Y as checkProjectAccess, Z as listFiles, V as getFileContent, _ as __vitePreload, U as updateFileContent, $ as compileLatex, a0 as listLatexBuilds, j as jsxRuntimeExports, b as cn, k as FileText, a1 as Link2, L as LoaderCircle, S as Save, a2 as Play, T as TriangleAlert, a3 as Download, a4 as getLatexBuild, a5 as getLatexBuildPdfBlob, a6 as getLatexBuildLogText, h as dynamic } from './index-D_E4281X.js';
|
|
3
|
+
import { P as ProjectSyncClient } from './project-sync-C_ygLlVU.js';
|
|
4
|
+
import { c as configureMonacoLoader } from './monaco-LExaAN3Y.js';
|
|
5
|
+
import { P as PAGE_DIMENSIONS, a as PdfLoader, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, Z as ZOOM_LEVELS, d as PdfHighlighter } from './PdfLoader-BfOHw8Zw.js';
|
|
6
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-BgVMmOW4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -19,7 +19,7 @@ const __iconNode = [
|
|
|
19
19
|
];
|
|
20
20
|
const AtSign = createLucideIcon("at-sign", __iconNode);
|
|
21
21
|
|
|
22
|
-
const MonacoEditor = dynamic(() => __vitePreload(() => import('./monaco-
|
|
22
|
+
const MonacoEditor = dynamic(() => __vitePreload(() => import('./monaco-LExaAN3Y.js').then(n => n.i),true?__vite__mapDeps([0,1,2]):void 0), { });
|
|
23
23
|
configureMonacoLoader();
|
|
24
24
|
function useIsDarkMode() {
|
|
25
25
|
const [isDark, setIsDark] = reactExports.useState(() => {
|
package/src/ui/dist/assets/{MarkdownViewerPlugin-xjmrqv_8.js → MarkdownViewerPlugin-DpeBLYZf.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, R as React, a7 as getQuestMarkdownContextFromFileId, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, C as CircleAlert, a8 as MARKDOWN_VIEWER_STYLES, k as FileText, E as Eye, b as cn, d as Check, e as Copy, M as MarkdownRenderer, _ as __vitePreload } from './index-
|
|
3
|
-
import { C as Code } from './code-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, R as React, a7 as getQuestMarkdownContextFromFileId, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, C as CircleAlert, a8 as MARKDOWN_VIEWER_STYLES, k as FileText, E as Eye, b as cn, d as Check, e as Copy, M as MarkdownRenderer, _ as __vitePreload } from './index-D_E4281X.js';
|
|
3
|
+
import { C as Code } from './code-B20Slj_w.js';
|
|
4
4
|
|
|
5
5
|
function isMdxDocument(fileName) {
|
|
6
6
|
if (!fileName) return false;
|
|
@@ -217,7 +217,7 @@ function MarkdownViewerPlugin({
|
|
|
217
217
|
setLoading(false);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-
|
|
220
|
+
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-D_E4281X.js').then(n => n.ep);return { getFileContent }},true?__vite__mapDeps([0,1]):void 0);
|
|
221
221
|
const text = await getFileContent(context.resourceId);
|
|
222
222
|
setContent(text);
|
|
223
223
|
} catch (err) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { w as createLucideIcon, r as reactExports, aa as useNavigate, n as useTabsStore, ab as useOpenFile, f as useFileTreeStore, v as BUILTIN_PLUGINS, j as jsxRuntimeExports, l as Search, N as Sparkles, ac as Terminal, ad as Settings, ae as Puzzle, af as BookOpen, k as FileText, ag as FileCode2, b as cn } from './index-
|
|
2
|
-
import { S as Sigma } from './sigma-
|
|
3
|
-
import { I as Image } from './image-
|
|
1
|
+
import { w as createLucideIcon, r as reactExports, aa as useNavigate, n as useTabsStore, ab as useOpenFile, f as useFileTreeStore, v as BUILTIN_PLUGINS, j as jsxRuntimeExports, l as Search, N as Sparkles, ac as Terminal, ad as Settings, ae as Puzzle, af as BookOpen, k as FileText, ag as FileCode2, b as cn } from './index-D_E4281X.js';
|
|
2
|
+
import { S as Sigma } from './sigma-DEccaSgk.js';
|
|
3
|
+
import { I as Image } from './image-DSeR_sDS.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { w as createLucideIcon, j as jsxRuntimeExports, aO as Button, m as ChevronDown, d as Check, b as cn, r as reactExports, bx as ArrowLeft, c6 as ArrowRight, c7 as Separator, c8 as ArrowUp, c9 as Trash2, u as useI18n, o as useToast, V as getFileContent, L as LoaderCircle, e as Copy, C as CircleAlert, f as useFileTreeStore, a7 as getQuestMarkdownContextFromFileId, ca as rewriteQuestMarkdownForDisplay, cb as rewriteQuestMarkdownForSave, cc as uploadQuestDocumentAsset, U as updateFileContent } from './index-
|
|
2
|
-
import { P as PluginKey, a as Plugin, S as Slice, F as Fragment, T as TextSelection, A as AllSelection, N as NodeSelection, E as Extension, m as me, l as le, u as useCurrentEditor, w, b as P, f as findParentNodeClosestToPos, g as getEditorMarkdown, s as setEditorMarkdown, q, c as uploadNotebookAsset, r as resolveNotebookAssetUrl, d as defaultExtensions, J, U, I, e as T, B, O, h as S, K as K$1, G, i as ce, j as isSupportedNotebookAsset } from './NotebookEditor-
|
|
1
|
+
import { w as createLucideIcon, j as jsxRuntimeExports, aO as Button, m as ChevronDown, d as Check, b as cn, r as reactExports, bx as ArrowLeft, c6 as ArrowRight, c7 as Separator, c8 as ArrowUp, c9 as Trash2, u as useI18n, o as useToast, V as getFileContent, L as LoaderCircle, e as Copy, C as CircleAlert, f as useFileTreeStore, a7 as getQuestMarkdownContextFromFileId, ca as rewriteQuestMarkdownForDisplay, cb as rewriteQuestMarkdownForSave, cc as uploadQuestDocumentAsset, U as updateFileContent } from './index-D_E4281X.js';
|
|
2
|
+
import { P as PluginKey, a as Plugin, S as Slice, F as Fragment, T as TextSelection, A as AllSelection, N as NodeSelection, E as Extension, m as me, l as le, u as useCurrentEditor, w, b as P, f as findParentNodeClosestToPos, g as getEditorMarkdown, s as setEditorMarkdown, q, c as uploadNotebookAsset, r as resolveNotebookAssetUrl, d as defaultExtensions, J, U, I, e as T, B, O, h as S, K as K$1, G, i as ce, j as isSupportedNotebookAsset } from './NotebookEditor-C1kWaxKi.js';
|
|
3
3
|
import { a4 as BIT8, ai as BIT30, ab as min, $ as max, y as unexpectedCase, n as methodUnimplemented, aj as keys, u as every, H as setIfUndefined, D as create } from './function-B5QZkkHC.js';
|
|
4
4
|
import { t as toBase64, e as encodeAny, i as isBrowser, d as doc, s as snapshot, D as Doc, a as applyUpdateV2, f as findIndexSS, b as iterateDeletedStructs, c as typeListToArraySnapshot, S as Snapshot, U as UndoManager, g as createSnapshot, h as isDeleted, Y as YXmlElement, j as YXmlText, k as YText, o as oneOf, C as ContentString, l as ContentFormat, m as createDeleteSet, I as Item, n as createRelativePositionFromTypeIndex, R as RelativePosition, p as findRootTypeKey, q as createID, r as createAbsolutePositionFromRelativePosition, u as isParentOf, v as ContentType, w as encodeStateVector, x as applyUpdate, y as mergeUpdates } from './yjs-DncrqiZ8.js';
|
|
5
|
-
import { P as ProjectSyncClient } from './project-sync-
|
|
6
|
-
import { S as SquareCheckBig } from './square-check-big-
|
|
7
|
-
import { C as Code } from './code-
|
|
8
|
-
import { I as Image } from './image-
|
|
9
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-
|
|
10
|
-
import { T as Trash, A as ArrowDown } from './trash-
|
|
11
|
-
import { S as Sigma } from './sigma-
|
|
12
|
-
import { u as useFileDiffOverlay } from './useFileDiffOverlay-
|
|
13
|
-
import { F as FileDiffPanel } from './file-diff-panel-
|
|
5
|
+
import { P as ProjectSyncClient } from './project-sync-C_ygLlVU.js';
|
|
6
|
+
import { S as SquareCheckBig } from './square-check-big-uUfyVsbD.js';
|
|
7
|
+
import { C as Code } from './code-B20Slj_w.js';
|
|
8
|
+
import { I as Image } from './image-DSeR_sDS.js';
|
|
9
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-D3Gg_FoV.js';
|
|
10
|
+
import { T as Trash, A as ArrowDown } from './trash-CXvwwSe8.js';
|
|
11
|
+
import { S as Sigma } from './sigma-DEccaSgk.js';
|
|
12
|
+
import { u as useFileDiffOverlay } from './useFileDiffOverlay-B8eUAX0I.js';
|
|
13
|
+
import { F as FileDiffPanel } from './file-diff-panel-DK13YPql.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as React, r as reactExports, aR as reactDomExports,
|
|
1
|
+
import { R as React, r as reactExports, aR as reactDomExports, dw as ReactDOM, Q as create, j as jsxRuntimeExports, dx as createSlot, am as useId, dy as Root, dz as Portal, dA as Overlay, dB as Content, aj as composeRefs, cf as getDefaultExportFromCjs$2, dC as clsx, dD as shimExports$1, dE as katex, dF as Slot, D as resolveApiBaseUrl, dG as uploadFileAuto, dH as nanoid, dI as cx } from './index-D_E4281X.js';
|
|
2
2
|
|
|
3
3
|
// ::- Persistent data structure representing an ordered mapping from
|
|
4
4
|
// strings to values, with some convenient update methods.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports, r as reactExports, R as React$1, _ as __vitePreload,
|
|
1
|
+
import { j as jsxRuntimeExports, r as reactExports, R as React$1, _ as __vitePreload, cd as createRoot, ce as getAugmentedNamespace, aR as reactDomExports, cf as getDefaultExportFromCjs } from './index-D_E4281X.js';
|
|
2
2
|
|
|
3
3
|
const PAGE_DIMENSIONS = {
|
|
4
4
|
/** A4 width in points */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useTabsStore, a as useWorkspaceSurfaceStore, o as useToast, p as useArxivStore, r as reactExports, q as buildArxivSummaryMarkdown, s as generateBibTeX, c as copyToClipboard, t as apiClient, v as BUILTIN_PLUGINS, j as jsxRuntimeExports, k as FileText, I as InfoTriangleIcon, b as cn, M as MarkdownRenderer, A as ArxivInfoModal, g as RefreshCw } from './index-
|
|
2
|
-
import { d as defaultExtensions, s as setEditorMarkdown, U, I, r as resolveNotebookAssetUrl } from './NotebookEditor-
|
|
1
|
+
import { n as useTabsStore, a as useWorkspaceSurfaceStore, o as useToast, p as useArxivStore, r as reactExports, q as buildArxivSummaryMarkdown, s as generateBibTeX, c as copyToClipboard, t as apiClient, v as BUILTIN_PLUGINS, j as jsxRuntimeExports, k as FileText, I as InfoTriangleIcon, b as cn, M as MarkdownRenderer, A as ArxivInfoModal, g as RefreshCw } from './index-D_E4281X.js';
|
|
2
|
+
import { d as defaultExtensions, s as setEditorMarkdown, U, I, r as resolveNotebookAssetUrl } from './NotebookEditor-C1kWaxKi.js';
|
|
3
3
|
|
|
4
4
|
function rewriteMarkdownImages(markdown, fileId) {
|
|
5
5
|
if (!markdown) return markdown;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { w as createLucideIcon, r as reactExports, u as useI18n, j as jsxRuntimeExports, a3 as Download, I as InfoTriangleIcon, b as cn, k as FileText, l as Search, X, m as ChevronDown, Q as create, t as apiClient, aT as useQueryClient, aN as useQuery, bR as useMutation, bS as Card, aO as Button, bT as DropdownMenu, bU as DropdownMenuTrigger, bV as DropdownMenuContent, bW as DropdownMenuLabel, bX as DropdownMenuItem, bY as SegmentedControl, br as CircleHelp, bZ as Textarea, i as isCliFileId, b_ as isQuestNodeId, b$ as getQuestNodeProjectId, n as useTabsStore, f as useFileTreeStore, a as useWorkspaceSurfaceStore, o as useToast, p as useArxivStore, z as useAuthStore, s as generateBibTeX, c as copyToClipboard, W as toFilesResourcePath, v as BUILTIN_PLUGINS, c0 as getFile, c1 as listProjectMembers, _ as __vitePreload, A as ArxivInfoModal, c2 as createFileObjectUrl, N as Sparkles, T as TriangleAlert, c3 as DropdownMenuRadioGroup, c4 as DropdownMenuRadioItem, c5 as MarkdownPreview } from './index-
|
|
3
|
-
import { a as acquireFileSocket } from './file-socket-
|
|
4
|
-
import { M as MessageSquare, i as isPdfEffectHandled, m as markPdfEffectHandled, c as consumePdfEffects } from './pdf-effect-queue-
|
|
5
|
-
import { Z as ZOOM_LEVELS, R as Rnd, g as getPageFromElement, a as PdfLoader, e as PDF_CMAP_PACKED, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, d as PdfHighlighter } from './PdfLoader-
|
|
6
|
-
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-
|
|
7
|
-
import { C as ChevronUp } from './index-
|
|
8
|
-
import { S as SquareCheckBig } from './square-check-big-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { w as createLucideIcon, r as reactExports, u as useI18n, j as jsxRuntimeExports, a3 as Download, I as InfoTriangleIcon, b as cn, k as FileText, l as Search, X, m as ChevronDown, Q as create, t as apiClient, aT as useQueryClient, aN as useQuery, bR as useMutation, bS as Card, aO as Button, bT as DropdownMenu, bU as DropdownMenuTrigger, bV as DropdownMenuContent, bW as DropdownMenuLabel, bX as DropdownMenuItem, bY as SegmentedControl, br as CircleHelp, bZ as Textarea, i as isCliFileId, b_ as isQuestNodeId, b$ as getQuestNodeProjectId, n as useTabsStore, f as useFileTreeStore, a as useWorkspaceSurfaceStore, o as useToast, p as useArxivStore, z as useAuthStore, s as generateBibTeX, c as copyToClipboard, W as toFilesResourcePath, v as BUILTIN_PLUGINS, c0 as getFile, c1 as listProjectMembers, _ as __vitePreload, A as ArxivInfoModal, c2 as createFileObjectUrl, N as Sparkles, T as TriangleAlert, c3 as DropdownMenuRadioGroup, c4 as DropdownMenuRadioItem, c5 as MarkdownPreview } from './index-D_E4281X.js';
|
|
3
|
+
import { a as acquireFileSocket } from './file-socket-B4T2o4nR.js';
|
|
4
|
+
import { M as MessageSquare, i as isPdfEffectHandled, m as markPdfEffectHandled, c as consumePdfEffects } from './pdf-effect-queue-BJk5okWJ.js';
|
|
5
|
+
import { Z as ZOOM_LEVELS, R as Rnd, g as getPageFromElement, a as PdfLoader, e as PDF_CMAP_PACKED, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, d as PdfHighlighter } from './PdfLoader-BfOHw8Zw.js';
|
|
6
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-BgVMmOW4.js';
|
|
7
|
+
import { C as ChevronUp } from './index-BwRJaoTl.js';
|
|
8
|
+
import { S as SquareCheckBig } from './square-check-big-uUfyVsbD.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -2483,7 +2483,7 @@ function PdfViewerPlugin({
|
|
|
2483
2483
|
setCliPdfError(null);
|
|
2484
2484
|
const loadCliPdf = async () => {
|
|
2485
2485
|
try {
|
|
2486
|
-
const { createFileObjectUrl: createFileObjectUrl2 } = await __vitePreload(async () => { const { createFileObjectUrl: createFileObjectUrl2 } = await import('./index-
|
|
2486
|
+
const { createFileObjectUrl: createFileObjectUrl2 } = await __vitePreload(async () => { const { createFileObjectUrl: createFileObjectUrl2 } = await import('./index-D_E4281X.js').then(n => n.ep);return { createFileObjectUrl: createFileObjectUrl2 }},true?__vite__mapDeps([0,1]):void 0);
|
|
2487
2487
|
objectUrl = await createFileObjectUrl2(fileId);
|
|
2488
2488
|
if (cancelled) {
|
|
2489
2489
|
URL.revokeObjectURL(objectUrl);
|
|
@@ -2941,7 +2941,7 @@ function PdfViewerPlugin({
|
|
|
2941
2941
|
return;
|
|
2942
2942
|
}
|
|
2943
2943
|
(async () => {
|
|
2944
|
-
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-
|
|
2944
|
+
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-D_E4281X.js').then(n => n.ep);return { downloadFileById }},true?__vite__mapDeps([0,1]):void 0);
|
|
2945
2945
|
await downloadFileById(fileId, fileName);
|
|
2946
2946
|
})();
|
|
2947
2947
|
}, [fileId, fileName, pdfUrl]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as createLucideIcon, u as useI18n, r as reactExports, f as useFileTreeStore, n as useTabsStore, aA as useLabCopilotStore, ab as useOpenFile, aB as listLabAgents, aC as listLabQuests, aD as searchFiles, aE as searchLabQuest, v as BUILTIN_PLUGINS, aF as resolveAgentDisplayName, aG as resolveAgentMentionLabel, aH as resolveQuestLabel, aI as formatRelativeTime, j as jsxRuntimeExports, l as Search, X, b as cn, aJ as FileIcon } from './index-
|
|
1
|
+
import { w as createLucideIcon, u as useI18n, r as reactExports, f as useFileTreeStore, n as useTabsStore, aA as useLabCopilotStore, ab as useOpenFile, aB as listLabAgents, aC as listLabQuests, aD as searchFiles, aE as searchLabQuest, v as BUILTIN_PLUGINS, aF as resolveAgentDisplayName, aG as resolveAgentMentionLabel, aH as resolveQuestLabel, aI as formatRelativeTime, j as jsxRuntimeExports, l as Search, X, b as cn, aJ as FileIcon } from './index-D_E4281X.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { r as reactExports, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, T as TriangleAlert, k as FileText, l as Search, b as cn, d as Check, e as Copy, m as ChevronDown, X, _ as __vitePreload } from './index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D_E4281X.js","assets/index-G7AcWcMu.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { r as reactExports, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, T as TriangleAlert, k as FileText, l as Search, b as cn, d as Check, e as Copy, m as ChevronDown, X, _ as __vitePreload } from './index-D_E4281X.js';
|
|
3
3
|
import { c as consumeFileJumpEffects } from './file-jump-queue-r5XKgJEV.js';
|
|
4
|
-
import { H as Hash, W as WrapText } from './wrap-text-
|
|
5
|
-
import { C as ChevronUp } from './index-
|
|
4
|
+
import { H as Hash, W as WrapText } from './wrap-text-9vbOBpkW.js';
|
|
5
|
+
import { C as ChevronUp } from './index-BwRJaoTl.js';
|
|
6
6
|
|
|
7
7
|
const LARGE_FILE_THRESHOLD = 1024 * 1024;
|
|
8
8
|
const MAX_RENDERED_LINES = 1e4;
|
|
@@ -45,7 +45,7 @@ function TextViewerPlugin({
|
|
|
45
45
|
setLoading(false);
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-
|
|
48
|
+
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-D_E4281X.js').then(n => n.ep);return { getFileContent }},true?__vite__mapDeps([0,1]):void 0);
|
|
49
49
|
const text = await getFileContent(context.resourceId);
|
|
50
50
|
setContent(text);
|
|
51
51
|
setFileSize(text.length);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as getVncUrl } from './AiManusChatView-
|
|
3
|
-
import './file-content-
|
|
4
|
-
import './select-
|
|
5
|
-
import './index-
|
|
1
|
+
import { cf as getDefaultExportFromCjs, r as reactExports, j as jsxRuntimeExports } from './index-D_E4281X.js';
|
|
2
|
+
import { g as getVncUrl } from './AiManusChatView-DDjbFnbt.js';
|
|
3
|
+
import './file-content-DT24KFma.js';
|
|
4
|
+
import './select-CpAK6uWm.js';
|
|
5
|
+
import './index-BwRJaoTl.js';
|
|
6
6
|
import './file-jump-queue-r5XKgJEV.js';
|
|
7
|
-
import './pdf-effect-queue-
|
|
8
|
-
import './file-diff-panel-
|
|
9
|
-
import './bot-
|
|
10
|
-
import './NotebookEditor-
|
|
11
|
-
import './trash-
|
|
7
|
+
import './pdf-effect-queue-BJk5okWJ.js';
|
|
8
|
+
import './file-diff-panel-DK13YPql.js';
|
|
9
|
+
import './bot-0DYntytV.js';
|
|
10
|
+
import './NotebookEditor-C1kWaxKi.js';
|
|
11
|
+
import './trash-CXvwwSe8.js';
|
|
12
12
|
|
|
13
13
|
var rfb = {};
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as create, U as updateFileContent, V as getFileContent } from './index-
|
|
1
|
+
import { Q as create, U as updateFileContent, V as getFileContent } from './index-D_E4281X.js';
|
|
2
2
|
|
|
3
3
|
function openDb({ dbName, version, storeName }) {
|
|
4
4
|
return new Promise((resolve, reject) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as supportsSocketIo, y as lookup, z as useAuthStore, D as resolveApiBaseUrl } from './index-
|
|
1
|
+
import { x as supportsSocketIo, y as lookup, z as useAuthStore, D as resolveApiBaseUrl } from './index-D_E4281X.js';
|
|
2
2
|
|
|
3
3
|
const getApiBaseUrl = resolveApiBaseUrl;
|
|
4
4
|
const SOCKET_CACHE = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as reactExports, O as ConnectionState, j as jsxRuntimeExports, P as EnhancedTerminal } from './index-
|
|
2
|
-
import { u as useCliAccess, a as useCliSocket, n as nextSeq, b as buildChatSessionId } from './useCliAccess-
|
|
1
|
+
import { r as reactExports, O as ConnectionState, j as jsxRuntimeExports, P as EnhancedTerminal } from './index-D_E4281X.js';
|
|
2
|
+
import { u as useCliAccess, a as useCliSocket, n as nextSeq, b as buildChatSessionId } from './useCliAccess-Bnop4mgR.js';
|
|
3
3
|
|
|
4
4
|
function CliToolTerminal({
|
|
5
5
|
projectId,
|