@researai/deepscientist 1.5.7 → 1.5.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 +4 -0
- package/bin/ds.js +220 -5
- package/docs/en/07_MEMORY_AND_MCP.md +40 -3
- package/docs/en/99_ACKNOWLEDGEMENTS.md +1 -0
- package/docs/zh/07_MEMORY_AND_MCP.md +40 -3
- package/docs/zh/99_ACKNOWLEDGEMENTS.md +1 -0
- package/install.sh +34 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/src/deepscientist/__init__.py +1 -1
- package/src/deepscientist/acp/envelope.py +1 -0
- package/src/deepscientist/artifact/metrics.py +813 -80
- package/src/deepscientist/artifact/schemas.py +1 -0
- package/src/deepscientist/artifact/service.py +1101 -99
- package/src/deepscientist/bash_exec/monitor.py +1 -1
- package/src/deepscientist/bash_exec/service.py +17 -9
- package/src/deepscientist/channels/qq.py +17 -0
- package/src/deepscientist/channels/relay.py +16 -0
- package/src/deepscientist/config/models.py +6 -0
- package/src/deepscientist/config/service.py +70 -2
- package/src/deepscientist/daemon/api/handlers.py +284 -14
- package/src/deepscientist/daemon/api/router.py +1 -0
- package/src/deepscientist/daemon/app.py +291 -20
- package/src/deepscientist/gitops/diff.py +6 -10
- package/src/deepscientist/mcp/server.py +188 -39
- package/src/deepscientist/prompts/builder.py +51 -18
- package/src/deepscientist/quest/service.py +83 -34
- package/src/deepscientist/quest/stage_views.py +74 -29
- package/src/deepscientist/runners/codex.py +1 -1
- package/src/prompts/connectors/qq.md +1 -1
- package/src/prompts/contracts/shared_interaction.md +14 -0
- package/src/prompts/system.md +106 -32
- package/src/skills/analysis-campaign/SKILL.md +10 -14
- package/src/skills/baseline/SKILL.md +51 -38
- package/src/skills/baseline/references/baseline-plan-template.md +2 -0
- package/src/skills/decision/SKILL.md +12 -8
- package/src/skills/experiment/SKILL.md +28 -16
- package/src/skills/experiment/references/main-experiment-plan-template.md +2 -0
- package/src/skills/figure-polish/SKILL.md +1 -0
- package/src/skills/finalize/SKILL.md +3 -8
- package/src/skills/idea/SKILL.md +2 -8
- package/src/skills/intake-audit/SKILL.md +2 -8
- package/src/skills/rebuttal/SKILL.md +2 -8
- package/src/skills/review/SKILL.md +2 -8
- package/src/skills/scout/SKILL.md +2 -8
- package/src/skills/write/SKILL.md +52 -16
- package/src/skills/write/templates/DEEPSCIENTIST_NOTES.md +21 -0
- package/src/skills/write/templates/README.md +408 -0
- package/src/skills/write/templates/UPSTREAM_LICENSE.txt +21 -0
- package/src/skills/write/templates/aaai2026/README.md +534 -0
- package/src/skills/write/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
- package/src/skills/write/templates/aaai2026/aaai2026-unified-template.tex +952 -0
- package/src/skills/write/templates/aaai2026/aaai2026.bib +111 -0
- package/src/skills/write/templates/aaai2026/aaai2026.bst +1493 -0
- package/src/skills/write/templates/aaai2026/aaai2026.sty +315 -0
- package/src/skills/write/templates/acl/README.md +50 -0
- package/src/skills/write/templates/acl/acl.sty +312 -0
- package/src/skills/write/templates/acl/acl_latex.tex +377 -0
- package/src/skills/write/templates/acl/acl_lualatex.tex +101 -0
- package/src/skills/write/templates/acl/acl_natbib.bst +1940 -0
- package/src/skills/write/templates/acl/anthology.bib.txt +26 -0
- package/src/skills/write/templates/acl/custom.bib +70 -0
- package/src/skills/write/templates/acl/formatting.md +326 -0
- package/src/skills/write/templates/asplos2027/main.tex +459 -0
- package/src/skills/write/templates/asplos2027/references.bib +135 -0
- package/src/skills/write/templates/colm2025/README.md +3 -0
- package/src/skills/write/templates/colm2025/colm2025_conference.bib +11 -0
- package/src/skills/write/templates/colm2025/colm2025_conference.bst +1440 -0
- package/src/skills/write/templates/colm2025/colm2025_conference.sty +218 -0
- package/src/skills/write/templates/colm2025/colm2025_conference.tex +305 -0
- package/src/skills/write/templates/colm2025/fancyhdr.sty +485 -0
- package/src/skills/write/templates/colm2025/math_commands.tex +508 -0
- package/src/skills/write/templates/colm2025/natbib.sty +1246 -0
- package/src/skills/write/templates/iclr2026/fancyhdr.sty +485 -0
- package/src/skills/write/templates/iclr2026/iclr2026_conference.bib +24 -0
- package/src/skills/write/templates/iclr2026/iclr2026_conference.bst +1440 -0
- package/src/skills/write/templates/iclr2026/iclr2026_conference.sty +246 -0
- package/src/skills/write/templates/iclr2026/iclr2026_conference.tex +414 -0
- package/src/skills/write/templates/iclr2026/math_commands.tex +508 -0
- package/src/skills/write/templates/iclr2026/natbib.sty +1246 -0
- package/src/skills/write/templates/icml2026/algorithm.sty +79 -0
- package/src/skills/write/templates/icml2026/algorithmic.sty +201 -0
- package/src/skills/write/templates/icml2026/example_paper.bib +75 -0
- package/src/skills/write/templates/icml2026/example_paper.tex +662 -0
- package/src/skills/write/templates/icml2026/fancyhdr.sty +864 -0
- package/src/skills/write/templates/icml2026/icml2026.bst +1443 -0
- package/src/skills/write/templates/icml2026/icml2026.sty +767 -0
- package/src/skills/write/templates/neurips2025/Makefile +36 -0
- package/src/skills/write/templates/neurips2025/extra_pkgs.tex +53 -0
- package/src/skills/write/templates/neurips2025/main.tex +38 -0
- package/src/skills/write/templates/neurips2025/neurips.sty +382 -0
- package/src/skills/write/templates/nsdi2027/main.tex +426 -0
- package/src/skills/write/templates/nsdi2027/references.bib +151 -0
- package/src/skills/write/templates/nsdi2027/usenix-2020-09.sty +83 -0
- package/src/skills/write/templates/osdi2026/main.tex +429 -0
- package/src/skills/write/templates/osdi2026/references.bib +150 -0
- package/src/skills/write/templates/osdi2026/usenix-2020-09.sty +83 -0
- package/src/skills/write/templates/sosp2026/main.tex +532 -0
- package/src/skills/write/templates/sosp2026/references.bib +148 -0
- package/src/tui/package.json +1 -1
- package/src/ui/dist/assets/{AiManusChatView-BS3V4ZOk.js → AiManusChatView-m2FNtwbn.js} +110 -14
- package/src/ui/dist/assets/{AnalysisPlugin-DLPXQsmr.js → AnalysisPlugin-BMTF8EGL.js} +1 -1
- package/src/ui/dist/assets/{AutoFigurePlugin-C-Fr9knQ.js → AutoFigurePlugin-DxPdMUNb.js} +5 -5
- package/src/ui/dist/assets/{CliPlugin-Dd8AHzFg.js → CliPlugin-BEOWgxCI.js} +9 -9
- package/src/ui/dist/assets/{CodeEditorPlugin-Dg-RepTl.js → CodeEditorPlugin-BCXvjqmb.js} +8 -8
- package/src/ui/dist/assets/{CodeViewerPlugin-D2J_3nyt.js → CodeViewerPlugin-DaJcy3nD.js} +5 -5
- package/src/ui/dist/assets/{DocViewerPlugin-ChRLLKNb.js → DocViewerPlugin-ByfeIq4K.js} +3 -3
- package/src/ui/dist/assets/{GitDiffViewerPlugin-DgHfcved.js → GitDiffViewerPlugin-Cksf3VZ-.js} +830 -86
- package/src/ui/dist/assets/{ImageViewerPlugin-C89GZMBy.js → ImageViewerPlugin-CFz-OsTS.js} +5 -5
- package/src/ui/dist/assets/{LabCopilotPanel-BUfIwUcb.js → LabCopilotPanel-CJ1cJzoX.js} +10 -10
- package/src/ui/dist/assets/{LabPlugin-zvUmQUMq.js → LabPlugin-BF3dVJwa.js} +1 -1
- package/src/ui/dist/assets/{LatexPlugin-C1SSNuWp.js → LatexPlugin-DDkwZ6Sj.js} +7 -7
- package/src/ui/dist/assets/{MarkdownViewerPlugin-D2Mf5tU5.js → MarkdownViewerPlugin-HAuvurcT.js} +4 -4
- package/src/ui/dist/assets/{MarketplacePlugin-CF4LgiS2.js → MarketplacePlugin-BtoTYy2C.js} +3 -3
- package/src/ui/dist/assets/{index-Be0NAmh8.js → NotebookEditor-CSJYx7b-.js} +12 -155
- package/src/ui/dist/assets/{NotebookEditor-BM7Bgwlv.js → NotebookEditor-DQgRezm_.js} +1 -1
- package/src/ui/dist/assets/{PdfLoader-Bc5qfD-Z.js → PdfLoader-DPa_-fv6.js} +1 -1
- package/src/ui/dist/assets/{PdfMarkdownPlugin-sh1-IRcp.js → PdfMarkdownPlugin-BZpXOEjm.js} +3 -3
- package/src/ui/dist/assets/{PdfViewerPlugin-C_a7CpWG.js → PdfViewerPlugin-BT8a6wGR.js} +10 -10
- package/src/ui/dist/assets/{SearchPlugin-L4z3HcLf.js → SearchPlugin-D_blveZi.js} +1 -1
- package/src/ui/dist/assets/{Stepper-Dk4aQ3fN.js → Stepper-DH2k75Vo.js} +1 -1
- package/src/ui/dist/assets/{TextViewerPlugin-BsNtlKVo.js → TextViewerPlugin-Btx0M3hX.js} +4 -4
- package/src/ui/dist/assets/{VNCViewer-BpeDcZ5_.js → VNCViewer-DImJO4rO.js} +9 -9
- package/src/ui/dist/assets/{bibtex-C4QI-bbj.js → bibtex-B-Hqu0Sg.js} +1 -1
- package/src/ui/dist/assets/{code-DuMINRsg.js → code-BUfXGJSl.js} +1 -1
- package/src/ui/dist/assets/{file-content-C3N-432K.js → file-content-VqamwI3X.js} +1 -1
- package/src/ui/dist/assets/{file-diff-panel-CffQ4ZMg.js → file-diff-panel-C_wOoS7a.js} +1 -1
- package/src/ui/dist/assets/{file-socket-CRH59PCO.js → file-socket-D2bTuMVP.js} +1 -1
- package/src/ui/dist/assets/{file-utils-vYGtW2mI.js → file-utils--zJCPN1i.js} +1 -1
- package/src/ui/dist/assets/{image-DBVGaooo.js → image-BZkGJ4mM.js} +1 -1
- package/src/ui/dist/assets/{index-DjSFDmgB.js → index-CxkvSeKw.js} +2 -2
- package/src/ui/dist/assets/{index-BpjYH9Vg.js → index-D9QIGcmc.js} +1 -1
- package/src/ui/dist/assets/{index-Do9N28uB.css → index-DXZ1daiJ.css} +163 -34
- package/src/ui/dist/assets/index-DdRW6RMJ.js +159 -0
- package/src/ui/dist/assets/{index-B1P6hQRJ.js → index-DjggJovS.js} +3029 -1780
- package/src/ui/dist/assets/{message-square-BsPDBhiY.js → message-square-FUIPIhU2.js} +1 -1
- package/src/ui/dist/assets/{monaco-BTkdPojV.js → monaco-DHMc7kKM.js} +1 -1
- package/src/ui/dist/assets/{popover-cWjCk-vc.js → popover-B85oCgCS.js} +1 -1
- package/src/ui/dist/assets/{project-sync-CXn530xb.js → project-sync-DOMCcPac.js} +1 -1
- package/src/ui/dist/assets/{sigma-04Jr12jg.js → sigma-BO2rQrl3.js} +1 -1
- package/src/ui/dist/assets/{tooltip-BdVDl0G5.js → tooltip-B1OspAkx.js} +1 -1
- package/src/ui/dist/assets/{trash-CB_GlQyC.js → trash-BsVEH_dV.js} +1 -1
- package/src/ui/dist/assets/{useCliAccess-BL932NwS.js → useCliAccess-b8L6JuZm.js} +1 -1
- package/src/ui/dist/assets/{useFileDiffOverlay-B2WK7Tvq.js → useFileDiffOverlay-BY7uA9hV.js} +1 -1
- package/src/ui/dist/assets/{wrap-text-YC68g12z.js → wrap-text-BwyVuUIK.js} +1 -1
- package/src/ui/dist/assets/{zoom-out-C0RJvFiJ.js → zoom-out-RDpLugQP.js} +1 -1
- package/src/ui/dist/index.html +5 -2
- /package/src/ui/dist/assets/{index-CccQYZjX.css → NotebookEditor-CccQYZjX.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { z as createLucideIcon, r as reactExports, j as jsxRuntimeExports, b as cn,
|
|
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-DjggJovS.js","assets/index-DXZ1daiJ.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { z as createLucideIcon, r as reactExports, j as jsxRuntimeExports, b as cn, af as RotateCcw, ag as Info, Y as Download, L as LoaderCircle, _ as __vitePreload } from './index-DjggJovS.js';
|
|
3
|
+
import { I as Image } from './image-BZkGJ4mM.js';
|
|
4
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-RDpLugQP.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-DjggJovS.js').then(n => n.el);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 { z as createLucideIcon, r as reactExports,
|
|
2
|
-
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-
|
|
3
|
-
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-
|
|
4
|
-
import './file-content-
|
|
5
|
-
import './file-utils
|
|
1
|
+
import { z as createLucideIcon, r as reactExports, aO as reactDomExports, aP as useReducedMotion, j as jsxRuntimeExports, aQ as useQueryClient, p as useToast, u as useI18n, ay as useLabCopilotStore, aR as useLabGraphSelectionStore, aS as useChatSessionStore, aT as buildAvatarColorMap, aU as isLabWorkingStatus, aV as getLabAgentDirectSession, aW as buildAgentDescriptor, aX as resolveAgentLogo, aD as resolveAgentDisplayName, aE as resolveAgentMentionLabel, aY as AnimatePresence, aZ as motion, a3 as Button, a_ as pickAvatarFrameColor, aF as resolveQuestLabel, d as Check, b as cn, x as useAuthStore, a$ as useCopilotDockHeaderPortal, b0 as assignLabAgent, b1 as ScrollArea, L as LoaderCircle, b2 as likeLabMoment, b3 as unlikeLabMoment, b4 as commentLabMoment, b5 as Ellipsis, b6 as Plus, l as Search, b7 as Select, b8 as SelectTrigger, b9 as SelectValue, ba as SelectContent, bb as SelectItem, bc as Dialog, bd as DialogContent, be as DialogHeader, bf as DialogTitle, bg as DialogFooter, bh as getLabGroupSession, bi as getLabFriendsSession } from './index-DjggJovS.js';
|
|
2
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-B85oCgCS.js';
|
|
3
|
+
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-m2FNtwbn.js';
|
|
4
|
+
import './file-content-VqamwI3X.js';
|
|
5
|
+
import './file-utils--zJCPN1i.js';
|
|
6
6
|
import './file-jump-queue-r5XKgJEV.js';
|
|
7
7
|
import './pdf-effect-queue-DSw_D3RV.js';
|
|
8
|
-
import './file-diff-panel-
|
|
9
|
-
import './message-square-
|
|
10
|
-
import './NotebookEditor-
|
|
11
|
-
import './tooltip-
|
|
12
|
-
import './trash-
|
|
8
|
+
import './file-diff-panel-C_wOoS7a.js';
|
|
9
|
+
import './message-square-FUIPIhU2.js';
|
|
10
|
+
import './NotebookEditor-DQgRezm_.js';
|
|
11
|
+
import './tooltip-B1OspAkx.js';
|
|
12
|
+
import './trash-BsVEH_dV.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as createLucideIcon,
|
|
1
|
+
import { z as createLucideIcon, aL as useQuery, r as reactExports, j as jsxRuntimeExports, bj as Skeleton, bk as Badge, aN as client, bl as ReactFlowProvider, u as useI18n, aD as resolveAgentDisplayName, aX as resolveAgentLogo, a_ as pickAvatarFrameColor, aU as isLabWorkingStatus, bm as normalizeLabStatus, bn as useNodesState, bo as useReactFlow, bp as index, bq as Background, b as cn, br as Handle, bs as Position, bt as CircleHelp, bu as OrbitLogoStatus, bv as Clock, bw as Moon, aG as formatRelativeTime, n as ChevronDown, aQ as useQueryClient, ay as useLabCopilotStore, aR as useLabGraphSelectionStore, bx as resolveLabCanvasSelectionSemantic, a3 as Button, g as RefreshCw, by as LabQuestGraphCanvas, bz as ArrowLeft, b1 as ScrollArea, D as Sparkles, bA as GitBranch, bB as Bot, bC as LAB_CANVAS_SEMANTIC_TONE_META, bD as getLabQuest, bE as getLabQuestSummary, bF as getLabQuestEventPayload, bG as getLabQuestNodeTrace, bH as isQuestRuntimeSurface, bI as getApiBaseUrl, bJ as redirectToLanding, bK as useCliStore, bL as useActiveTab, t as BUILTIN_PLUGINS, bM as listLabTemplates, az as listLabAgents, aA as listLabQuests, bN as getLabOverview, bO as getProject, bP as useMaxEntitlement } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @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 { z as createLucideIcon,
|
|
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-DHMc7kKM.js","assets/index-DjggJovS.js","assets/index-DXZ1daiJ.css","assets/yjs-DncrqiZ8.js","assets/function-B5QZkkHC.js","assets/awareness-C0NPR2Dj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { z as createLucideIcon, x as useAuthStore, u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, f as useFileTreeStore, N as toFilesResourcePath, O as checkProjectAccess, P as listFiles, K as getFileContent, _ as __vitePreload, J as updateFileContent, Q as compileLatex, U as listLatexBuilds, j as jsxRuntimeExports, b as cn, k as FileText, V as Link2, L as LoaderCircle, S as Save, W as Play, T as TriangleAlert, Y as Download, Z as getLatexBuild, $ as getLatexBuildPdfBlob, a0 as getLatexBuildLogText, h as dynamic } from './index-DjggJovS.js';
|
|
3
|
+
import { P as ProjectSyncClient } from './project-sync-DOMCcPac.js';
|
|
4
|
+
import { c as configureMonacoLoader } from './monaco-DHMc7kKM.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-DPa_-fv6.js';
|
|
6
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-RDpLugQP.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-DHMc7kKM.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-D2Mf5tU5.js → MarkdownViewerPlugin-HAuvurcT.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,
|
|
3
|
-
import { C as Code } from './code-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DjggJovS.js","assets/index-DXZ1daiJ.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { u as useI18n, a as useWorkspaceSurfaceStore, r as reactExports, R as React, a1 as getQuestMarkdownContextFromFileId, c as copyToClipboard, j as jsxRuntimeExports, L as LoaderCircle, C as CircleAlert, a2 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-DjggJovS.js';
|
|
3
|
+
import { C as Code } from './code-BUfXGJSl.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-DjggJovS.js').then(n => n.el);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 { z as createLucideIcon, r as reactExports, a5 as useNavigate,
|
|
2
|
-
import { S as Sigma } from './sigma-
|
|
3
|
-
import { I as Image } from './image-
|
|
1
|
+
import { z as createLucideIcon, r as reactExports, a5 as useNavigate, o as useTabsStore, a6 as useOpenFile, f as useFileTreeStore, t as BUILTIN_PLUGINS, j as jsxRuntimeExports, l as Search, D as Sparkles, a7 as Terminal, a8 as Settings, a9 as Puzzle, aa as BookOpen, k as FileText, ab as FileCode2, b as cn } from './index-DjggJovS.js';
|
|
2
|
+
import { S as Sigma } from './sigma-BO2rQrl3.js';
|
|
3
|
+
import { I as Image } from './image-BZkGJ4mM.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { z as createLucideIcon, j as jsxRuntimeExports, a3 as Button, n as ChevronDown, d as Check, b as cn, r as reactExports,
|
|
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 { z as createLucideIcon, j as jsxRuntimeExports, a3 as Button, n as ChevronDown, d as Check, b as cn, r as reactExports, bz as ArrowLeft, c8 as ArrowRight, ce as Separator, cf as ArrowUp, cg as Trash2, u as useI18n, p as useToast, K as getFileContent, L as LoaderCircle, e as Copy, C as CircleAlert, f as useFileTreeStore, a1 as getQuestMarkdownContextFromFileId, ch as rewriteQuestMarkdownForDisplay, ci as rewriteQuestMarkdownForSave, cj as uploadQuestDocumentAsset, J as updateFileContent } from './index-DjggJovS.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-DQgRezm_.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 './index-
|
|
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-DOMCcPac.js';
|
|
6
|
+
import { S as SquareCheckBig } from './index-D9QIGcmc.js';
|
|
7
|
+
import { C as Code } from './code-BUfXGJSl.js';
|
|
8
|
+
import { I as Image } from './image-BZkGJ4mM.js';
|
|
9
|
+
import { P as Popover, a as PopoverTrigger, b as PopoverContent } from './popover-B85oCgCS.js';
|
|
10
|
+
import { T as Trash, A as ArrowDown } from './trash-BsVEH_dV.js';
|
|
11
|
+
import { S as Sigma } from './sigma-BO2rQrl3.js';
|
|
12
|
+
import { u as useFileDiffOverlay } from './useFileDiffOverlay-BY7uA9hV.js';
|
|
13
|
+
import { F as FileDiffPanel } from './file-diff-panel-C_wOoS7a.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -272,142 +272,6 @@ const __iconNode = [
|
|
|
272
272
|
];
|
|
273
273
|
const Youtube = createLucideIcon("youtube", __iconNode);
|
|
274
274
|
|
|
275
|
-
const notebookPluginManifest = {
|
|
276
|
-
// ============================================================
|
|
277
|
-
// Basic Information
|
|
278
|
-
// ============================================================
|
|
279
|
-
id: "@ds/plugin-notebook",
|
|
280
|
-
name: "Notebook Editor",
|
|
281
|
-
description: "Novel-based rich text editor with real-time collaboration",
|
|
282
|
-
version: "1.0.0",
|
|
283
|
-
type: "builtin",
|
|
284
|
-
author: "DeepScientist Team",
|
|
285
|
-
icon: "BookOpen",
|
|
286
|
-
// ============================================================
|
|
287
|
-
// Frontend Configuration
|
|
288
|
-
// ============================================================
|
|
289
|
-
frontend: {
|
|
290
|
-
entry: "./NotebookEditor",
|
|
291
|
-
renderMode: "react",
|
|
292
|
-
fileAssociations: [
|
|
293
|
-
{
|
|
294
|
-
extensions: [".ds", ".notebook", ".dsnb"],
|
|
295
|
-
mimeTypes: ["application/x-blocksuite-notebook"],
|
|
296
|
-
priority: 100
|
|
297
|
-
// Highest priority for notebook files
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
extensions: [".md", ".markdown"],
|
|
301
|
-
mimeTypes: ["text/markdown", "text/x-markdown"],
|
|
302
|
-
priority: 95
|
|
303
|
-
// Prefer notebook editor for markdown files
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
multiInstance: true
|
|
307
|
-
// Allow multiple notebooks open
|
|
308
|
-
},
|
|
309
|
-
// ============================================================
|
|
310
|
-
// Backend Configuration
|
|
311
|
-
// ============================================================
|
|
312
|
-
backend: {
|
|
313
|
-
entry: "app.plugins.builtin.notebook_tools",
|
|
314
|
-
tools: []
|
|
315
|
-
},
|
|
316
|
-
// ============================================================
|
|
317
|
-
// Permissions
|
|
318
|
-
// ============================================================
|
|
319
|
-
permissions: {
|
|
320
|
-
frontend: ["notebook:read", "notebook:write", "file:read", "file:upload"],
|
|
321
|
-
backend: ["database:read", "database:write", "file:read", "file:write"]
|
|
322
|
-
},
|
|
323
|
-
// ============================================================
|
|
324
|
-
// UI Contributions
|
|
325
|
-
// ============================================================
|
|
326
|
-
contributes: {
|
|
327
|
-
// Tab configuration
|
|
328
|
-
tabIcon: "file-text",
|
|
329
|
-
tabTitle: {
|
|
330
|
-
dynamic: "resourceName"
|
|
331
|
-
},
|
|
332
|
-
// Toolbar buttons
|
|
333
|
-
toolbar: [
|
|
334
|
-
{
|
|
335
|
-
id: "notebook-export",
|
|
336
|
-
title: "Export",
|
|
337
|
-
icon: "Download",
|
|
338
|
-
command: "notebook.export",
|
|
339
|
-
position: "right"
|
|
340
|
-
}
|
|
341
|
-
],
|
|
342
|
-
// Context menu items (optional)
|
|
343
|
-
contextMenus: [
|
|
344
|
-
{
|
|
345
|
-
id: "duplicate-block",
|
|
346
|
-
title: "Duplicate Block",
|
|
347
|
-
command: "notebook.duplicateBlock",
|
|
348
|
-
context: "editor",
|
|
349
|
-
group: "edit",
|
|
350
|
-
order: 1
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
id: "delete-block",
|
|
354
|
-
title: "Delete Block",
|
|
355
|
-
command: "notebook.deleteBlock",
|
|
356
|
-
context: "editor",
|
|
357
|
-
group: "edit",
|
|
358
|
-
order: 2
|
|
359
|
-
}
|
|
360
|
-
]
|
|
361
|
-
},
|
|
362
|
-
// ============================================================
|
|
363
|
-
// Configuration Schema
|
|
364
|
-
// ============================================================
|
|
365
|
-
configSchema: {
|
|
366
|
-
type: "object",
|
|
367
|
-
properties: {
|
|
368
|
-
defaultFontFamily: {
|
|
369
|
-
type: "string",
|
|
370
|
-
default: "Inter",
|
|
371
|
-
description: "Default font family"
|
|
372
|
-
},
|
|
373
|
-
autoSaveInterval: {
|
|
374
|
-
type: "number",
|
|
375
|
-
default: 3e3,
|
|
376
|
-
minimum: 1e3,
|
|
377
|
-
maximum: 3e4,
|
|
378
|
-
description: "Auto-save interval in milliseconds"
|
|
379
|
-
},
|
|
380
|
-
enableCollaboration: {
|
|
381
|
-
type: "boolean",
|
|
382
|
-
default: true,
|
|
383
|
-
description: "Enable real-time collaboration"
|
|
384
|
-
},
|
|
385
|
-
showBlockHandles: {
|
|
386
|
-
type: "boolean",
|
|
387
|
-
default: true,
|
|
388
|
-
description: "Show block drag handles on hover"
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
// ============================================================
|
|
393
|
-
// Default Configuration
|
|
394
|
-
// ============================================================
|
|
395
|
-
defaultConfig: {
|
|
396
|
-
defaultFontFamily: "Inter",
|
|
397
|
-
autoSaveInterval: 3e3,
|
|
398
|
-
enableCollaboration: true,
|
|
399
|
-
showBlockHandles: true
|
|
400
|
-
},
|
|
401
|
-
// ============================================================
|
|
402
|
-
// Lifecycle Hooks
|
|
403
|
-
// ============================================================
|
|
404
|
-
lifecycle: {
|
|
405
|
-
activationEvents: ["onFileType:notebook", "onCommand:newNotebook"],
|
|
406
|
-
onActivate: "activate",
|
|
407
|
-
onDeactivate: "deactivate"
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
|
|
411
275
|
/* global requestIdleCallback, requestAnimationFrame, cancelIdleCallback, cancelAnimationFrame */
|
|
412
276
|
|
|
413
277
|
|
|
@@ -4347,11 +4211,4 @@ function NotebookEditor({
|
|
|
4347
4211
|
);
|
|
4348
4212
|
}
|
|
4349
4213
|
|
|
4350
|
-
|
|
4351
|
-
console.log("[NotebookPlugin] Activated");
|
|
4352
|
-
}
|
|
4353
|
-
function deactivate() {
|
|
4354
|
-
console.log("[NotebookPlugin] Deactivated");
|
|
4355
|
-
}
|
|
4356
|
-
|
|
4357
|
-
export { EditorLoading, NotebookEditor, NotebookEditor as NotebookEditorComponent, NotebookToolbar, activate, deactivate, NotebookEditor as default, notebookPluginManifest as notebookManifest, notebookPluginManifest };
|
|
4214
|
+
export { EditorLoading as E, NotebookEditor as N, NotebookToolbar as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as React, r as reactExports,
|
|
1
|
+
import { R as React, r as reactExports, aO as reactDomExports, e9 as ReactDOM, I as create, j as jsxRuntimeExports, ea as createSlot, ak as useId, eb as Root, ec as Portal, ed as Overlay, ee as Content, ah as composeRefs, d9 as getDefaultExportFromCjs$2, ef as clsx, eg as shimExports$1, eh as katex, ei as Slot, y as resolveApiBaseUrl, c2 as uploadFileAuto, ej as nanoid, ek as cx } from './index-DjggJovS.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, d7 as createRoot, d8 as getAugmentedNamespace, aO as reactDomExports, d9 as getDefaultExportFromCjs } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
const PAGE_DIMENSIONS = {
|
|
4
4
|
/** A4 width in points */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defaultExtensions, s as setEditorMarkdown, U, I, r as resolveNotebookAssetUrl } from './NotebookEditor-
|
|
3
|
-
import { g as generateBibTeX, I as InfoTriangleIcon, A as ArxivInfoModal } from './bibtex-
|
|
1
|
+
import { o as useTabsStore, a as useWorkspaceSurfaceStore, p as useToast, q as useArxivStore, r as reactExports, c as copyToClipboard, s as apiClient, t as BUILTIN_PLUGINS, j as jsxRuntimeExports, k as FileText, b as cn, g as RefreshCw, M as MarkdownRenderer } from './index-DjggJovS.js';
|
|
2
|
+
import { d as defaultExtensions, s as setEditorMarkdown, U, I, r as resolveNotebookAssetUrl } from './NotebookEditor-DQgRezm_.js';
|
|
3
|
+
import { g as generateBibTeX, I as InfoTriangleIcon, A as ArxivInfoModal } from './bibtex-B-Hqu0Sg.js';
|
|
4
4
|
|
|
5
5
|
function rewriteMarkdownImages(markdown, fileId) {
|
|
6
6
|
if (!markdown) return markdown;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import { z as createLucideIcon, r as reactExports, u as useI18n, j as jsxRuntimeExports,
|
|
3
|
-
import { a as acquireFileSocket } from './file-socket-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DjggJovS.js","assets/index-DXZ1daiJ.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { z as createLucideIcon, r as reactExports, u as useI18n, j as jsxRuntimeExports, Y as Download, b as cn, k as FileText, l as Search, X, m as ChevronUp, n as ChevronDown, I as create, s as apiClient, aQ as useQueryClient, aL as useQuery, bQ as useMutation, bR as Card, a3 as Button, bS as DropdownMenu, bT as DropdownMenuTrigger, bU as DropdownMenuContent, bV as DropdownMenuLabel, bW as DropdownMenuItem, bX as SegmentedControl, bt as CircleHelp, bY as Textarea, i as isCliFileId, o as useTabsStore, f as useFileTreeStore, a as useWorkspaceSurfaceStore, p as useToast, q as useArxivStore, x as useAuthStore, c as copyToClipboard, N as toFilesResourcePath, t as BUILTIN_PLUGINS, bZ as getFile, b_ as listProjectMembers, _ as __vitePreload, D as Sparkles, T as TriangleAlert, b$ as DropdownMenuRadioGroup, c0 as DropdownMenuRadioItem, c1 as MarkdownPreview } from './index-DjggJovS.js';
|
|
3
|
+
import { a as acquireFileSocket } from './file-socket-D2bTuMVP.js';
|
|
4
4
|
import { i as isPdfEffectHandled, m as markPdfEffectHandled, c as consumePdfEffects } from './pdf-effect-queue-DSw_D3RV.js';
|
|
5
|
-
import { I as InfoTriangleIcon, g as generateBibTeX, A as ArxivInfoModal } from './bibtex-
|
|
6
|
-
import { Z as ZOOM_LEVELS, R as Rnd, g as getPageFromElement, a as PdfLoader, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, d as PdfHighlighter } from './PdfLoader-
|
|
7
|
-
import { M as MessageSquare } from './message-square-
|
|
8
|
-
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-
|
|
9
|
-
import { S as SquareCheckBig } from './index-
|
|
5
|
+
import { I as InfoTriangleIcon, g as generateBibTeX, A as ArxivInfoModal } from './bibtex-B-Hqu0Sg.js';
|
|
6
|
+
import { Z as ZOOM_LEVELS, R as Rnd, g as getPageFromElement, a as PdfLoader, b as PDF_CMAP_URL, c as PDF_WORKER_SRC, d as PdfHighlighter } from './PdfLoader-DPa_-fv6.js';
|
|
7
|
+
import { M as MessageSquare } from './message-square-FUIPIhU2.js';
|
|
8
|
+
import { Z as ZoomOut, a as ZoomIn } from './zoom-out-RDpLugQP.js';
|
|
9
|
+
import { S as SquareCheckBig } from './index-D9QIGcmc.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -2456,7 +2456,7 @@ function PdfViewerPlugin({
|
|
|
2456
2456
|
setCliPdfError(null);
|
|
2457
2457
|
const loadCliPdf = async () => {
|
|
2458
2458
|
try {
|
|
2459
|
-
const { createFileObjectUrl } = await __vitePreload(async () => { const { createFileObjectUrl } = await import('./index-
|
|
2459
|
+
const { createFileObjectUrl } = await __vitePreload(async () => { const { createFileObjectUrl } = await import('./index-DjggJovS.js').then(n => n.el);return { createFileObjectUrl }},true?__vite__mapDeps([0,1]):void 0);
|
|
2460
2460
|
objectUrl = await createFileObjectUrl(fileId);
|
|
2461
2461
|
if (cancelled) {
|
|
2462
2462
|
URL.revokeObjectURL(objectUrl);
|
|
@@ -2877,7 +2877,7 @@ function PdfViewerPlugin({
|
|
|
2877
2877
|
return;
|
|
2878
2878
|
}
|
|
2879
2879
|
(async () => {
|
|
2880
|
-
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-
|
|
2880
|
+
const { downloadFileById } = await __vitePreload(async () => { const { downloadFileById } = await import('./index-DjggJovS.js').then(n => n.el);return { downloadFileById }},true?__vite__mapDeps([0,1]):void 0);
|
|
2881
2881
|
await downloadFileById(fileId, fileName);
|
|
2882
2882
|
})();
|
|
2883
2883
|
}, [fileId, fileName, pdfUrl]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as createLucideIcon, u as useI18n, r as reactExports, f as useFileTreeStore,
|
|
1
|
+
import { z as createLucideIcon, u as useI18n, r as reactExports, f as useFileTreeStore, o as useTabsStore, ay as useLabCopilotStore, a6 as useOpenFile, az as listLabAgents, aA as listLabQuests, aB as searchFiles, aC as searchLabQuest, t as BUILTIN_PLUGINS, aD as resolveAgentDisplayName, aE as resolveAgentMentionLabel, aF as resolveQuestLabel, aG as formatRelativeTime, j as jsxRuntimeExports, l as Search, X, b as cn, aH as FileIcon } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as createLucideIcon, r as reactExports, j as jsxRuntimeExports, d as Check, b as cn, a3 as Button } from './index-
|
|
1
|
+
import { z as createLucideIcon, r as reactExports, j as jsxRuntimeExports, d as Check, b as cn, a3 as Button } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @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 { 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 ChevronUp, n as ChevronDown, X, _ as __vitePreload } from './index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DjggJovS.js","assets/index-DXZ1daiJ.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 ChevronUp, n as ChevronDown, X, _ as __vitePreload } from './index-DjggJovS.js';
|
|
3
3
|
import { c as consumeFileJumpEffects } from './file-jump-queue-r5XKgJEV.js';
|
|
4
|
-
import { H as Hash, W as WrapText } from './wrap-text-
|
|
4
|
+
import { H as Hash, W as WrapText } from './wrap-text-BwyVuUIK.js';
|
|
5
5
|
|
|
6
6
|
const LARGE_FILE_THRESHOLD = 1024 * 1024;
|
|
7
7
|
const MAX_RENDERED_LINES = 1e4;
|
|
@@ -44,7 +44,7 @@ function TextViewerPlugin({
|
|
|
44
44
|
setLoading(false);
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-
|
|
47
|
+
const { getFileContent } = await __vitePreload(async () => { const { getFileContent } = await import('./index-DjggJovS.js').then(n => n.el);return { getFileContent }},true?__vite__mapDeps([0,1]):void 0);
|
|
48
48
|
const text = await getFileContent(context.resourceId);
|
|
49
49
|
setContent(text);
|
|
50
50
|
setFileSize(text.length);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as getVncUrl } from './AiManusChatView-
|
|
3
|
-
import './file-content-
|
|
4
|
-
import './file-utils
|
|
1
|
+
import { d9 as getDefaultExportFromCjs, r as reactExports, j as jsxRuntimeExports } from './index-DjggJovS.js';
|
|
2
|
+
import { g as getVncUrl } from './AiManusChatView-m2FNtwbn.js';
|
|
3
|
+
import './file-content-VqamwI3X.js';
|
|
4
|
+
import './file-utils--zJCPN1i.js';
|
|
5
5
|
import './file-jump-queue-r5XKgJEV.js';
|
|
6
6
|
import './pdf-effect-queue-DSw_D3RV.js';
|
|
7
|
-
import './file-diff-panel-
|
|
8
|
-
import './message-square-
|
|
9
|
-
import './NotebookEditor-
|
|
10
|
-
import './tooltip-
|
|
11
|
-
import './trash-
|
|
7
|
+
import './file-diff-panel-C_wOoS7a.js';
|
|
8
|
+
import './message-square-FUIPIhU2.js';
|
|
9
|
+
import './NotebookEditor-DQgRezm_.js';
|
|
10
|
+
import './tooltip-B1OspAkx.js';
|
|
11
|
+
import './trash-BsVEH_dV.js';
|
|
12
12
|
|
|
13
13
|
var rfb = {};
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as createLucideIcon, j as jsxRuntimeExports, ac as Modal, L as LoaderCircle, b as cn, C as CircleAlert, ad as ModalFooter, ae as ExternalLink } from './index-
|
|
1
|
+
import { z as createLucideIcon, j as jsxRuntimeExports, ac as Modal, L as LoaderCircle, b as cn, C as CircleAlert, ad as ModalFooter, ae as ExternalLink } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.511.0 - ISC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as create, J as updateFileContent, K as getFileContent } from './index-
|
|
1
|
+
import { I as create, J as updateFileContent, K as getFileContent } from './index-DjggJovS.js';
|
|
2
2
|
|
|
3
3
|
function openDb({ dbName, version, storeName }) {
|
|
4
4
|
return new Promise((resolve, reject) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as supportsSocketIo, w as lookup, x as useAuthStore, y as resolveApiBaseUrl } from './index-DjggJovS.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, G as ConnectionState, j as jsxRuntimeExports, H 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, G as ConnectionState, j as jsxRuntimeExports, H as EnhancedTerminal } from './index-DjggJovS.js';
|
|
2
|
+
import { u as useCliAccess, a as useCliSocket, n as nextSeq, b as buildChatSessionId } from './useCliAccess-b8L6JuZm.js';
|
|
3
3
|
|
|
4
4
|
function CliToolTerminal({
|
|
5
5
|
projectId,
|